Search Results ecx_outbound_logs_pk




Overview

The ECX_OUTBOUND_LOGS table is a core data repository within the XML Gateway (ECX) module of Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. It functions as the primary audit and tracking mechanism for all outbound XML transactions initiated from the EBS instance. Whenever an outbound message is generated—such as a purchase order sent to a supplier, an invoice to a customer, or any other B2B document—a corresponding log entry is created in this table. Its role is critical for monitoring transaction flow, diagnosing transmission failures, and providing a historical record of all outbound electronic data interchange (EDI) and XML-based communications.

Key Information Stored

The table logs comprehensive metadata for each outbound transaction. While the full column list is extensive, key fields include the unique TRIGGER_ID (the table's primary key), which identifies the specific transaction instance. The PARTY_ID column stores the identifier for the trading partner (supplier or customer) involved, linking to the Trading Community Architecture (HZ_PARTIES) or Suppliers (PO_VENDORS) tables. The ERROR_ID column is pivotal for troubleshooting, as it links to the ECX_ERROR_MSGS table when a transaction encounters a processing or transmission error. Other significant data points typically captured include the transaction type, document type, payload details, transmission status (e.g., SENT, ERROR, PENDING), and timestamps for creation and last update.

Common Use Cases and Queries

The primary use case is operational support and troubleshooting for failed or stuck outbound transactions. Administrators frequently query this table to identify errors, monitor queue backlogs, and verify successful document delivery. Common reporting needs include generating daily transmission summaries and investigating specific document failures. Sample SQL patterns include:

  • Identifying recent failed transactions: SELECT * FROM ECX_OUTBOUND_LOGS WHERE STATUS = 'ERROR' AND creation_date > SYSDATE -1;
  • Finding transactions for a specific trading partner: SELECT * FROM ECX_OUTBOUND_LOGS WHERE PARTY_ID = <party_id> ORDER BY creation_date DESC;
  • Joining with error messages for diagnostics: SELECT eol.*, eem.error_message FROM ECX_OUTBOUND_LOGS eol, ECX_ERROR_MSGS eem WHERE eol.error_id = eem.error_id(+);

Related Objects

The ECX_OUTBOUND_LOGS table has defined foreign key relationships with several other EBS objects, as documented in the ETRM. These relationships are essential for constructing complete diagnostic and reporting queries.

  • ECX_ERROR_MSGS: Joined via ECX_OUTBOUND_LOGS.ERROR_ID = ECX_ERROR_MSGS.ERROR_ID. This is the most critical join for obtaining descriptive error text when a transaction fails.
  • HZ_PARTIES: Joined via ECX_OUTBOUND_LOGS.PARTY_ID = HZ_PARTIES.PARTY_ID. This link provides the full trading partner details for customers and other TCA entities.
  • PO_VENDORS: Also joined via ECX_OUTBOUND_LOGS.PARTY_ID = PO_VENDORS.VENDOR_ID. This relationship provides supplier-specific information for outbound documents like purchase orders.

The table's primary key, ECX_OUTBOUND_LOGS_PK, on the TRIGGER_ID column, is referenced by other ECX components and internal APIs that manage the transaction lifecycle.