Results for “pre_validate”

8 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

POS_ASN_XML is an Oracle E-Business Suite PL/SQL package body owned by the APPS schema, documented as valid in ETRM 12.2.2 and applicable to 12.1.1 and 12.2.2 environments. The package supports the Advanced Shipment Notice (ASN) and receiving inbound processing flow, specifically the validation and derivation logic applied to inbound shipment data before it is committed to the receiving open interface tables. In the Oracle EBS procurement and receiving model, suppliers or external systems transmit ASN and receipt information through Oracle Transportation or XML-based inbound interfaces; POS_ASN_XML performs the field-level checks and column derivations required to transform that raw inbound payload into records suitable for RCV_HEADERS_INTERFACE, RCV_SHIPMENT_HEADERS, and RCV_TRANSACTIONS_INTERFACE.

The package is classified under API classification OTHER. It is a self-contained utility package: documentation states that APPS.POS_ASN_XML is not referenced by any other database object, meaning it is invoked at the top of the call stack rather than nested inside other PL/SQL APIs. Its dependencies span core purchasing, receiving, trading partner, and inventory item tables, confirming its role as an integration-layer validator between external ASN data and Oracle's receiving schema.

Key Procedures and Functions

The package exposes 19 documented procedures and functions, which fall into three functional groups: validation, derivation, and error storage.

Tables Accessed

The package reads and writes across four functional table groups. Purchasing tables—PO_HEADERS_ALL, PO_LINES_ALL, PO_LINE_LOCATIONS_ALL, PO_RELEASES_ALL, PO_LOCATION_ASSOCIATIONS_ALL, and PO_INTERFACE_ERRORS—supply purchase order context and receive validation error records. Receiving tables—RCV_HEADERS_INTERFACE, RCV_SHIPMENT_HEADERS, RCV_TRANSACTIONS_INTERFACE, and RCV_SHIPMENT_OBJECT_SV—are the primary targets for the derived and validated ASN data. Trading partner and location tables—HZ_LOCATIONS, HZ_PARTY_SITES, HZ_CUST_ACCT_SITES_ALL, HR_LOCATIONS_ALL, and PO_VENDOR_SITES_ALL—resolve ship-to and vendor site identifiers. Inventory and reference tables—MTL_SYSTEM_ITEMS_KFV, MTL_UNITS_OF_MEASURE_TL, ORG_FREIGHT, PO_LOOKUP_CODES, FND_USER, and FND_CLIENT_INFO—provide item, UOM, freight, and user context. The package also invokes POS_CREATE_ASN as a dependent program.

Usage Notes

POS_ASN_XML is typically invoked during inbound ASN processing, including Oracle XML Gateway and supplier network inbound flows, and is called ahead of POS_CREATE_ASN, which performs the final creation of shipment and transaction records. It is not referenced by any other database object, so it is not intended for nested invocation from other PL/SQL APIs; instead it is called directly from concurrent programs, interface processing routines, or custom integration code that parses inbound ASN payloads. Because it writes to PO_INTERFACE_ERRORS, any validation failure surfaces through the standard purchasing interface error inquiry, allowing users to correct inbound data and resubmit. Customers extending ASN inbound processing should treat this package as an integration-layer utility rather than a supported public API, and verify behavior against the target EBS release, as dependency lists can vary between 12.1.1 and 12.2.2.