Search Results ece_ar_trx_headers_u1




Overview

EC.ECE_AR_TRX_HEADERS is an E-Business Suite interface table that holds outbound Oracle Receivables customer invoice header data used to support the outbound Invoice (810/INVOIC) EDI transaction in Oracle E-Commerce Gateway. The table is owned by the EC schema and resides in the APPS_TS_INTERFACE tablespace with a PCT Free of 10. It is populated primarily from Oracle Receivables source tables, including RA_CUSTOMER_TRX, RA_CUSTOMERS, RA_ADDRESSES, RA_CONTACTS, RA_TERMS, and RA_TERMS_LINE, and serves as the staging area from which invoice header information is flattened, code-converted, and written to the outbound EDI data file.

The object carries a 274-column physical schema in ETRM 12.2.2 and is explicitly described as transient: each row in ECE_AR_TRX_HEADERS is purged after the data is written to the data file. Column naming follows a consistent internal/external convention — columns suffixed with "Int" or "Internal" hold Oracle Applications internal values, while those suffixed with "Ext" or "External" hold the equivalent external value sourced from ECE_XREF_DATA when code conversion is enabled for the column.

From a Data Vault modeling perspective, the metadata classifies this object heuristically as standalone, with no derived hub, link, or satellite role assigned by the mined foreign-key structure. It is best treated as a transient staging/interface entity rather than a persistent modeled entity, since rows are not retained beyond the outbound extract cycle.

Key Information Stored

The table stores invoice header identity, trading partner routing, party address blocks, amounts, and payment terms. The most significant columns are:

The surrogate unique identity is TRANSACTION_RECORD_ID (ECE_AR_TRX_HEADERS_U2); the composite business-key candidate is COMMUNICATION_METHOD + TRANSACTION_ID (ECE_AR_TRX_HEADERS_U1).

Common Use Cases and Queries

Typical use is diagnosing why an outbound 810/INVOIC invoice header failed validation or was excluded from the extract.

  • Locate a specific invoice header staged for the run:
    SELECT TRANSACTION_RECORD_ID, TRANSACTION_ID, TRANSACTION_NUMBER, CURRENCY_CODE, TOTAL_AMOUNT_DUE FROM EC.ECE_AR_TRX_HEADERS WHERE TRANSACTION_NUMBER = :invoice_num;
  • Join header to its extension attributes:
    SELECT h.TRANSACTION_RECORD_ID, h.TRANSACTION_NUMBER, x.* FROM EC.ECE_AR_TRX_HEADERS h, EC.ECE_AR_TRX_HEADERS_X x WHERE h.TRANSACTION_RECORD_ID = x.TRANSACTION_RECORD_ID;
  • Verify the unique keys are intact after a rerun:
    SELECT COMMUNICATION_METHOD, TRANSACTION_ID, COUNT(*) FROM EC.ECE_AR_TRX_HEADERS GROUP BY COMMUNICATION_METHOD, TRANSACTION_ID HAVING COUNT(*) > 1;
  • Troubleshoot extract scope by run:
    SELECT RUN_ID, COUNT(*) FROM EC.ECE_AR_TRX_HEADERS GROUP BY RUN_ID;

Because each row is purged after the data file is written, the table is generally populated only during an active or recently completed extract. Query results are therefore most meaningful immediately after the outbound Invoice concurrent program runs; persisting this data for historical reporting requires an external snapshot.

Related Objects

The following objects are the most significant dependents and source relationships documented for this table:

  • EC.ECE_AR_TRX_HEADERS_X — extension table for the header, joined on TRANSACTION_RECORD_ID.
  • EC.ECE_ADVO_HEADERS_INTERFACE — references ECE_AR_TRX_HEADERS via TP_DOCUMENT_ID; used in advance shipment/invoice document flows.
  • EC.ECE_MVSTO_HEADERS — references ECE_AR_TRX_HEADERS via TP_DOCUMENT_ID; movement/stock transfer header linkage.
  • EC.ECE_XREF_DATA — supplies converted external values for all Ext columns when code conversion is enabled.
  • RA_CUSTOMER_TRX / RA_CUSTOMERS / RA_ADDRESSES / RA_CONTACTS / RA_TERMS / RA_TERMS_LINE — the primary Oracle Receivables source tables from which this header staging data is derived.

Tuning and purge behavior are governed by the APPS_TS_INTERFACE tablespace and the standard E-Commerce Gateway outbound extract machinery, which controls insertion, code conversion, file generation, and subsequent row removal.