Results for “ra_interface_lines_all”

50+ results




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

Overview

RA_INTERFACE_LINES_ALL is the AutoInvoice line-level interface table in the Oracle Receivables (AR) module. It stores the information for each invoice line imported using AutoInvoice, serving as the staging area where external source systems, legacy feeds, order management extracts, and third-party applications deposit transactional line data before the Receivables AutoInvoice concurrent program validates, derives, and transfers that data into the production transaction tables (RA_CUSTOMER_TRX_ALL, RA_CUSTOMER_TRX_LINES_ALL, and related distribution tables). Every row in the table carries a completeness and validation status through the INTERFACE_STATUS column, allowing the AutoInvoice process to identify which lines are eligible for transfer, which must be rejected, and which must be corrected and retried.

The table is owned by the AR schema and, as of ETRM 12.2.2 documentation, contains 342 columns. This makes it one of the broadest staging tables in the E-Business Suite, reflecting the enormous range of attributes required to fully describe an invoice line: customer, address, item, pricing, tax, revenue recognition, sales credit, and contract references.

From a dimensional modeling perspective, the heuristic Data Vault classification derived from the foreign key structure is satellite-leaning. This suggests the table behaves primarily as an attribute-bearing structure clustered around a transactional hub keyed on INTERFACE_LINE_ID, with numerous descriptive and contextual columns, rather than as a pure association (link) table. The heavy concentration of descriptive attributes, flexfield context columns, and GDF/attribute columns reinforces the satellite characterization.

Key Information Stored

The surrogate primary key is INTERFACE_LINE_ID, enforced by the RA_INTERFACE_LINES_PK constraint and further supported by the unique index RA_INTERFACE_LINES_U1 (also on INTERFACE_LINE_ID). Because the only documented unique index is on this surrogate column, there is no exposed natural business key at the table level; the "business key" for AutoInvoice import is effectively the combination of BATCH_SOURCE_NAME, ORIG_SYSTEM_BATCH_NAME, and the customer/original system reference columns, but these are captured as foreign references and descriptive data rather than as a documented unique constraint.

The most operationally significant columns include:

Common Use Cases and Queries

RA_INTERFACE_LINES_ALL is queried most frequently for pre-transfer troubleshooting, post-import reconciliation, and purge management. A typical diagnostic query isolates lines that AutoInvoice has rejected:

  • Rejection triage: SELECT interface_line_id, trx_number, line_number, interface_status, request_id FROM ra_interface_lines_all WHERE interface_status = 'REJECTED';
  • Batch-level reconciliation: count and sum line amounts grouped by batch and interface status to confirm the source system's totals match what the interface holds before and after transfer.
  • Request correlation: join REQUEST_ID to FND_CONCURRENT_REQUESTS to correlate imported lines with the specific AutoInvoice run that processed them.
  • Tax cross-check: join INTERFACE_LINE_ID to ZX_LINES.INTERFACE_TAX_LINE_ID to inspect calculated tax lines for a given staged line.
  • Purge / cleanup: identify rows whose corresponding CUSTOMER_TRX_ID is non-null (successfully transferred) versus null (still pending) to decide what may be safely purged.
  • Source integrity audit: group by BATCH_SOURCE_NAME and ORIG_SYSTEM_BATCH_NAME to detect duplicate or orphaned feeds from upstream systems.

Reporting typically centers on exception handling: items that failed validation, missing customer or address references, tax mismatches, and lines held in correction status.

Related Objects

The most significant related objects, based on documented foreign key relationships, are:

In practical terms, the AutoInvoice execution path moves data from RA_INTERFACE_LINES_ALL into RA_CUSTOMER_TRX_ALL and RA_CUSTOMER_TRX_LINES_ALL, so those production tables are the primary downstream consumers, while the HZ and ZX families provide the reference and tax detail surrounding each staged line.