Search Results ec_document
Overview
The APPS.EC_DOCUMENT package is a core component of the Oracle E-Business Suite e-Commerce Gateway (EC) module, which provides the infrastructure for exchanging electronic business documents (EDI) between Oracle applications and external trading partners. The package encapsulates the runtime logic required to transform, assemble, and transmit outbound business documents—such as purchase orders, invoices, acknowledgements, and advance ship notices—that have been staged by the e-Commerce Gateway processing engine. It operates within the APPS schema and is classified under the ETRM API taxonomy as OTHER, indicating it is an internal processing utility rather than a public, end-user-facing API.
In both Oracle EBS 12.1.1 and 12.2.2, EC_DOCUMENT functions as a bridge between the document data stored in the ECE interface tables and the transport mechanism that delivers the finalized document to the trading partner. It depends on FND_API for standard API error and message handling, and on SYS.STANDARD for PL/SQL built-in functionality.
Key Procedures and Functions
The ETRM metadata documents three procedures within this package:
- SEND — Drives the transmission of a prepared outbound document. This procedure orchestrates the handoff of the document payload to the appropriate outbound transport or delivery handler, respecting the destination configuration maintained for the trading partner.
- PROCESS_OUTBOUND — Executes the outbound document processing flow. It assembles document records, applies the relevant mapping rules, and stages the output for delivery. This is the principal entry point invoked during an outbound e-Commerce Gateway run.
- POPULATE_TMP_PARM_STACK — Populates a temporary parameter stack used to pass runtime parameters between processing stages. This internal helper supports the parameterized execution of the outbound document pipeline.
No parameter signatures are documented in the source metadata; callers should treat these as internal procedures invoked through the standard e-Commerce Gateway processing framework rather than as a stable custom-call interface.
Tables Accessed
The package reads and writes the following tables, referenced through APPS synonyms:
- ECE_MAPPINGS — Stores the mapping definitions that translate Oracle application data into the external EDI document format.
- ECE_OUTPUT_RUNS_S — Holds the sequence and run-level information for outbound processing executions, tracking each document generation run.
- ECE_TRAN_PARAMETERS — Contains trading-partner-specific transmission parameters that govern how a document is delivered.
- DBMS_UTILITY, DUAL, and PLITBLM — Utility references used for PL/SQL operations and temporary collection handling.
Usage Notes
EC_DOCUMENT is not intended for direct invocation by end users. It is invoked indirectly by the e-Commerce Gateway processing infrastructure and by other packages that participate in the outbound document lifecycle. The metadata confirms it is referenced by ECE_AP_PAYMENT, IGW_EDI_PROCESSING, WSH_DSNO, and recursively by EC_DOCUMENT itself. In practice, this package fires during concurrent program runs such as the e-Commerce Gateway outbound extract and transmission programs. Custom code should avoid calling these procedures directly, as their behavior is tied to the internal state managed by the ECE processing framework and is subject to change across patch levels in 12.1.1 and 12.2.2.
-
PACKAGE: APPS.EC_DOCUMENT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EC_DOCUMENT, status:VALID,
-
PACKAGE: APPS.EC_DOCUMENT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EC_DOCUMENT, status:VALID,
-
PACKAGE BODY: APPS.EC_DOCUMENT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EC_DOCUMENT, status:VALID,
-
PACKAGE BODY: APPS.EC_DOCUMENT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EC_DOCUMENT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.EC_OUTBOUND
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EC_OUTBOUND, status:VALID,
-
PACKAGE: APPS.EC_OUTBOUND_STAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EC_OUTBOUND_STAGE, status:VALID,
-
PACKAGE: APPS.EC_OUTBOUND_STAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EC_OUTBOUND_STAGE, status:VALID,
-
SYNONYM: APPS.ECE_TRAN_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ECE_TRAN_PARAMETERS, status:VALID,
-
SYNONYM: APPS.ECE_TRAN_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECE_TRAN_PARAMETERS, status:VALID,
-
PACKAGE: APPS.EC_XML_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EC_XML_UTILS, status:VALID,
-
PACKAGE: APPS.EC_OUTBOUND
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EC_OUTBOUND, status:VALID,
-
PACKAGE BODY: APPS.IGW_EDI_PROCESSING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGW_EDI_PROCESSING, status:VALID,
-
PACKAGE: APPS.EC_XML_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EC_XML_UTILS, status:VALID,
-
SYNONYM: APPS.ECE_OUTPUT_RUNS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECE_OUTPUT_RUNS_S, status:VALID,
-
SYNONYM: APPS.ECE_MAPPINGS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ECE_MAPPINGS, status:VALID,
-
SYNONYM: APPS.ECE_MAPPINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECE_MAPPINGS, status:VALID,
-
PACKAGE BODY: APPS.WSH_DSNO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_DSNO, status:VALID,
-
PACKAGE BODY: APPS.WSH_DSNO
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_DSNO, status:VALID,
-
PACKAGE BODY: APPS.ECE_AP_PAYMENT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ECE_AP_PAYMENT, status:VALID,
-
PACKAGE BODY: APPS.ECE_AP_PAYMENT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ECE_AP_PAYMENT, status:VALID,
-
PACKAGE BODY: APPS.IBY_PYO_TRANSACTION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IBY_PYO_TRANSACTION, status:VALID,
-
SYNONYM: APPS.ECE_OUTPUT_RUNS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ECE_OUTPUT_RUNS_S, status:VALID,
-
PACKAGE: APPS.EC_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EC_UTILS, status:VALID,
-
PACKAGE: APPS.EC_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EC_UTILS, status:VALID,
-
PACKAGE: APPS.EC_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EC_DEBUG, status:VALID,
-
PACKAGE: APPS.EC_DEBUG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EC_DEBUG, status:VALID,
-
PACKAGE: APPS.EC_DOCUMENT
12.2.2
-
PACKAGE: APPS.EC_DOCUMENT
12.1.1
-
PACKAGE BODY: APPS.EC_DOCUMENT
12.1.1
-
PACKAGE BODY: APPS.EC_DOCUMENT
12.2.2
-
APPS.EC_DOCUMENT dependencies on EC_DOCUMENT
12.1.1
-
APPS.ECE_AP_PAYMENT dependencies on EC_DOCUMENT
12.1.1
-
APPS.WSH_DSNO dependencies on EC_DOCUMENT
12.2.2
-
APPS.IGW_EDI_PROCESSING dependencies on EC_DOCUMENT
12.1.1
-
APPS.EC_DOCUMENT dependencies on EC_DOCUMENT
12.2.2
-
APPS.WSH_DSNO dependencies on EC_DOCUMENT
12.1.1
-
APPS.ECE_AP_PAYMENT dependencies on EC_DOCUMENT
12.2.2
-
APPS.IBY_PYO_TRANSACTION dependencies on EC_DOCUMENT
12.2.2
-
SYNONYM: PUBLIC.DBMS_UTILITY
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_UTILITY, status:VALID,
-
SYNONYM: PUBLIC.DBMS_UTILITY
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_UTILITY, status:VALID,
-
PACKAGE: APPS.FND_CONCURRENT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CONCURRENT, status:VALID,
-
PACKAGE: APPS.FND_CONCURRENT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_CONCURRENT, status:VALID,
-
PACKAGE: APPS.FND_REQUEST
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_REQUEST, status:VALID,
-
PACKAGE: APPS.FND_REQUEST
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_REQUEST, status:VALID,
-
APPS.EC_DOCUMENT dependencies on FND_API
12.1.1
-
APPS.EC_DOCUMENT dependencies on FND_API
12.2.2