Search Results po_inbound_xml
Overview
PO_INBOUND_XML is a PL/SQL package in the APPS schema that supports the inbound processing of Oracle Purchasing documents delivered through XML and EDI-style integration channels. Its principal business function is to receive externally originated purchasing transactions — most notably supplier acknowledgements and buyer-driven quantity, price, and schedule updates — and to apply them reliably against existing purchase orders in the Oracle E-Business Suite database. The package is compiled with AUTHID CURRENT_USER, meaning that privilege resolution occurs under the invoking schema rather than unconditionally as APPS, which is consistent with its role as a conduit invoked from integration and workflow contexts.
The package is catalogued under the API classification OTHER in ETRM for release 12.2.2 and its header comment identifies source file POSYNCIS.pls. It exposes twelve documented program units and references no other packages; it is self-contained in terms of reverse dependencies, acting as a lower-level building block for inbound purchasing document flows.
Key Procedures and Functions
- TRACE — Writes diagnostic messages at a caller-specified level, providing the debug instrumentation used throughout the package's processing paths.
- UPDATE_PO — The central function of the package and the target of the "update_po" search. It applies an inbound change to a specific purchasing document, identified by purchase order number down to shipment level, and returns a status number together with API errors. Its parameters carry the new quantity, new price, new promised date, new need-by date, approval launch flag, update source, version, buyer name, secondary quantity, preferred grade, and organization identifier, along with override date handling. This signature shows that it is intended to process supplier acknowledgement data, including changes requested by the supplier and optionally routed to the approval workflow.
- CANCEL_PO — Cancels a purchasing document or a lower-level document component such as a line, shipment, or release, supporting cancellation against document type, subtype, and identifiers, with action, action date, cancel reason, requisition cancellation flag, print flag, and note-to-vendor.
- LOG_ERR_MSG — Persists error information collected during processing into the interface error tables, keyed to user, application, responsibility, batch, interface header, and interface line.
- PROCESS_PO_INBOUND_XML — The orchestration entry point, structured to run as an Oracle Workflow activity (itemtype, itemkey, activity, and function mode), which drives the inbound XML processing lifecycle.
- IS_PO_NUMBER_EXISTS — Validation utility that confirms whether a purchase order number is already known to the system.
- GET_OPERATING_UNIT — Resolves the operating unit associated with the inbound document.
- GET_CLIENT_CODE — Returns the client code used to distinguish inbound message originators.
- GET_LINE_TYPE — Determines the purchasing line type applicable to the transaction.
- INITIALISE — Performs setup and initialization before processing begins.
- GET_TERM_ID — Retrieves the payment terms identifier for the document.
Tables Accessed
Documented table references fall into three groups. First, interface and staging tables: PO_HEADERS_INTERFACE, PO_LINES_INTERFACE, PO_DISTRIBUTIONS_INTERFACE, and PO_INTERFACE_ERRORS with its PO_INTERFACE_ERRORS_S sequence, which hold inbound data and errors prior to and during validation. Second, base purchasing tables that are updated or queried: PO_HEADERS and PO_HEADERS_ALL, PO_LINES, and the PO_DOCUMENT_TYPES and PO_LINE_TYPES lookups that govern document and line classification. Third, supporting reference tables: AP_TERMS for payment terms, ECX_TP_HEADERS and ECX_TP_DETAILS for trading partner identification, FND_USER for user resolution, and MTL_CLIENT_PARAMETERS for client-level configuration.
Usage Notes
PO_INBOUND_XML is not normally invoked directly by end users. It is driven by inbound integration channels, typically the Purchasing Documents Open Interface or the XML/EDI gateway, and PROCESS_PO_INBOUND_XML is designed to execute as a workflow activity, allowing asynchronous, message-based processing of supplier acknowledgements and responses. UPDATE_PO and CANCEL_PO may also be called from custom PL/SQL integrations and concurrent programs that need to apply controlled changes to live purchase orders while honoring approval routing. Because the package listens for and logs errors into PO_INTERFACE_ERRORS, implementors should always inspect the returned API errors record and the interface error tables after invocation. Custom callers should supply the organization identifier explicitly to avoid cross-operating-unit ambiguity.
-
PACKAGE: APPS.PO_INBOUND_XML
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_INBOUND_XML, status:VALID,
-
PACKAGE BODY: APPS.PO_INBOUND_XML
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_INBOUND_XML, status:VALID,
-
TYPE: APPS.PO_API_ERRORS_REC_TYPE
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_API_ERRORS_REC_TYPE, status:VALID,
-
SYNONYM: APPS.PO_INTERFACE_ERRORS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_INTERFACE_ERRORS_S, status:VALID,
-
PACKAGE: APPS.PO_DOCUMENT_CONTROL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_DOCUMENT_CONTROL_PUB, status:VALID,
-
PACKAGE: APPS.PO_CHANGE_API1_S
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_CHANGE_API1_S, status:VALID,
-
PACKAGE: APPS.PO_INBOUND_XML
12.2.2
-
SYNONYM: APPS.PO_DOCUMENT_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DOCUMENT_TYPES, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_INTERFACE, status:VALID,
-
VIEW: APPS.FND_USER_RESP_GROUPS_ALL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FND_USER_RESP_GROUPS_ALL, object_name:FND_USER_RESP_GROUPS_ALL, status:VALID,
-
SYNONYM: APPS.ECX_TP_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECX_TP_DETAILS, status:VALID,
-
SYNONYM: APPS.MTL_CLIENT_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_CLIENT_PARAMETERS, status:VALID,
-
SYNONYM: APPS.ECX_TP_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECX_TP_HEADERS, status:VALID,
-
SYNONYM: APPS.PO_LINES_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_INTERFACE_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_INTERFACE_ERRORS, status:VALID,
-
SYNONYM: APPS.PO_HEADERS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_INTERFACE, status:VALID,
-
SYNONYM: APPS.PO_SYSTEM_PARAMETERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_SYSTEM_PARAMETERS_ALL, status:VALID,
-
PACKAGE: APPS.WMS_DEPLOY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WMS_DEPLOY, status:VALID,
-
SYNONYM: APPS.AP_TERMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_TERMS, status:VALID,
-
SYNONYM: APPS.PO_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINES, status:VALID,
-
SYNONYM: APPS.PO_LINE_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_TYPES, status:VALID,
-
SYNONYM: APPS.PO_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS, status:VALID,
-
TYPE: APPS.PO_TBL_VARCHAR2000
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_TBL_VARCHAR2000, status:VALID,
-
PACKAGE: APPS.INV_LOG_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_LOG_UTIL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
TYPE: APPS.PO_TBL_VARCHAR30
12.2.2
owner:APPS, object_type:TYPE, object_name:PO_TBL_VARCHAR30, status:VALID,
-
PACKAGE BODY: APPS.PO_INBOUND_XML
12.2.2
-
APPS.PO_INBOUND_XML dependencies on PO_INBOUND_XML
12.2.2
-
VIEW: APPS.ORG_ORGANIZATION_DEFINITIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.ORG_ORGANIZATION_DEFINITIONS, object_name:ORG_ORGANIZATION_DEFINITIONS, status:VALID,
-
VIEW: APPS.HR_LOCATIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_LOCATIONS, object_name:HR_LOCATIONS, status:VALID,
-
APPS.PO_INBOUND_XML dependencies on FND_PROFILE
12.2.2
-
SYNONYM: APPS.PO_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_HEADERS_ALL, status:VALID,
-
PACKAGE: APPS.FND_REQUEST
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_REQUEST, status:VALID,
-
PACKAGE: APPS.MO_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MO_GLOBAL, status:VALID,
-
SYNONYM: APPS.FND_USER
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_USER, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,