Search Results ra_customer_trx_lines_all
Overview
RA_CUSTOMER_TRX_LINES_ALL is the core transactional line table in the Oracle Receivables (AR) module. It stores the individual invoice, debit memo, chargeback, credit memo, and commitment lines that make up the header records held in RA_CUSTOMER_TRX_ALL. Every receivable document created in Oracle E-Business Suite, whether entered manually, imported through AutoInvoice, or generated by an external source such as Order Management, decomposes into one or more rows in this table. The table is owned by the AR schema and is classified as VALID in the ETRM repository for both Release 12.1.1 and 12.2.2, where it is documented with 158 columns.
The heuristic Data Vault classification mined from the foreign key structure is hub-leaning. This suggests that, in a dimensional or Data Vault style model, RA_CUSTOMER_TRX_LINES_ALL is best treated as the central hub for transaction line events, with satellites capturing descriptive, tax, revenue, and accounting attributes that change over time. The table participates in a dense network of relationships, both as a child of RA_CUSTOMER_TRX_ALL and as a parent to numerous downstream AR, subledger accounting, and external application tables.
Key Information Stored
The surrogate primary key is CUSTOMER_TRX_LINE_ID, enforced by the RA_CUSTOMER_TRX_LINES_PK constraint and the unique index RA_CUSTOMER_TRX_LINES_U1. This column uniquely identifies each line and is the join key used across nearly every dependent table. The business-key candidate is the composite of CUSTOMER_TRX_ID and LINE_NUMBER, enforced by the RA_CUSTOMER_TRX_LINES_UK1 unique index, which ties the line to its parent transaction in document-number sequence.
- CUSTOMER_TRX_ID – foreign key to RA_CUSTOMER_TRX_ALL, identifying the parent invoice or memo header.
- LINE_NUMBER – sequence of the line within the transaction, forming the business key with CUSTOMER_TRX_ID.
- LINE_TYPE – classifies the line as LINE, TAX, FREIGHT, or CHARGES, driving downstream accounting and reporting behavior.
- INVENTORY_ITEM_ID – the item being billed, where applicable.
- DESCRIPTION – free-text description printed on the transaction line.
- QUANTITY_ORDERED, QUANTITY_INVOICED, QUANTITY_CREDITED – quantity metrics used for revenue, returns, and credit memo processing.
- UNIT_SELLING_PRICE, EXTENDED_AMOUNT, REVENUE_AMOUNT – the core monetary values for the line.
- UNIT_STANDARD_PRICE – the standard cost or list price reference.
- TAXABLE_FLAG, TAX_RATE, TAX_EXEMPT_FLAG, TAX_EXEMPT_NUMBER – tax determination attributes.
- ACCOUNTING_RULE_ID, ACCOUNTING_RULE_DURATION, RULE_START_DATE, RULE_END_DATE – revenue recognition scheduling references from RA_RULES.
- SET_OF_BOOKS_ID, ORG_ID – the ledger and operating unit context for Multi-Org and subledger accounting.
- PREVIOUS_CUSTOMER_TRX_LINE_ID, LINK_TO_CUST_TRX_LINE_ID, INITIAL_CUSTOMER_TRX_LINE_ID – self-referencing lineage columns that trace credits, chargebacks, and adjustments back to original lines.
Common Use Cases and Queries
The table is central to receivables reporting, revenue analysis, tax reconciliation, and integration reconciliation. A typical pattern joins the line table back to the transaction header to obtain customer and document context:
- Transaction detail reporting: join RA_CUSTOMER_TRX_LINES_ALL to RA_CUSTOMER_TRX_ALL on CUSTOMER_TRX_ID to retrieve invoice number, customer, and line amounts for a given period.
- Revenue recognition review: join to RA_RULES on ACCOUNTING_RULE_ID and to the distribution table RA_CUST_TRX_LINE_GL_DIST_ALL on CUSTOMER_TRX_LINE_ID to analyze deferred versus recognized revenue.
- Credit and adjustment lineage: self-joins on PREVIOUS_CUSTOMER_TRX_LINE_ID or LINK_TO_CUST_TRX_LINE_ID trace credit memos and chargebacks to the original invoice line, essential for returns analysis.
- Tax reconciliation: join to ZX_LINES on TAX_LINE_ID and to AR_SALES_TAX on SALES_TAX_ID to reconcile calculated tax against recorded tax.
- AutoInvoice validation: compare lines staged in RA_INTERFACE_LINES_ALL against inserted RA_CUSTOMER_TRX_LINES_ALL rows to detect import failures.
Related Objects
- RA_CUSTOMER_TRX_ALL – parent header table, joined on CUSTOMER_TRX_ID.
- RA_CUST_TRX_LINE_GL_DIST_ALL – distributions per line, joined on CUSTOMER_TRX_LINE_ID.
- RA_CUST_TRX_LINE_SALESREPS_ALL – sales credit assignments per line, joined on CUSTOMER_TRX_LINE_ID.
- AR_ADJUSTMENTS_ALL – adjustments referencing CUSTOMER_TRX_LINE_ID.
- AR_RECEIVABLE_APPLICATIONS_ALL – cash applications referencing APPLIED_CUSTOMER_TRX_LINE_ID.
- AR_REVENUE_ADJUSTMENTS_ALL – revenue adjustments via FROM_CUST_TRX_LINE_ID and TO_CUST_TRX_LINE_ID.
- OE_ORDER_LINES_ALL – order lines referencing REFERENCE_CUSTOMER_TRX_LINE_ID.
- RA_CM_REQUEST_LINES_ALL – credit memo request lines joined on CUSTOMER_TRX_LINE_ID.
- AR_INTERFACE_LINES_ALL / RA_INTERFACE_LINES_ALL – AutoInvoice staging tables that feed this table.
-
Table: RA_CUSTOMER_TRX_LINES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_TRX_LINES_ALL, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID, product: AR - Receivables , description: Invoice, debit memo, chargeback, credit memo and commitment lines , implementation_dba_data: AR.RA_CUSTOMER_TRX_LINES_ALL ,
-
Table: RA_CUSTOMER_TRX_LINES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_TRX_LINES_ALL, object_name:RA_CUSTOMER_TRX_LINES_ALL, status:VALID, product: AR - Receivables , description: Invoice, debit memo, chargeback, credit memo and commitment lines , implementation_dba_data: AR.RA_CUSTOMER_TRX_LINES_ALL ,
-
PACKAGE: APPS.JAI_RACTL_TRG_PKG
12.1.1
-
PACKAGE BODY: APPS.JAI_RACTL_TRG_PKG
12.2.2
-
PACKAGE: APPS.JAI_RACTL_TRG_PKG
12.2.2
-
PACKAGE BODY: APPS.JAI_RACTL_TRG_PKG
12.1.1
-
VIEW: APPS.ARFV_TAXES
12.1.1
-
VIEW: APPS.ARFV_TAXES
12.2.2
-
APPS.OKL_BILLING_UTIL_PVT SQL Statements
12.2.2
-
APPS.OKL_BILLING_UTIL_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKL_RCPT_INVOICE_LINES_UV
12.1.1
-
VIEW: APPS.OKL_RCPT_INVOICE_LINES_UV
12.2.2
-
VIEW: APPS.AR_IDEP_ACTIONS_TAKEN
12.1.1
-
VIEW: APPS.OKL_CS_ACCOUNT_CONT_INV_UV
12.2.2
-
VIEW: APPS.AR_IDEP_ACTIONS_TAKEN
12.2.2
-
View: OKL_RCPT_INVOICE_LINES_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_RCPT_INVOICE_LINES_UV, object_name:OKL_RCPT_INVOICE_LINES_UV, status:VALID, product: OKL - Leasing and Finance Management , description: This view is used to fetch the open invoice lines for a contract or investor agreement or termination quote or non OKL invoices. , implementation_dba_data: APPS.OKL_RCPT_INVOICE_LINES_UV ,
-
View: OKL_RCPT_INVOICE_LINES_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_RCPT_INVOICE_LINES_UV, object_name:OKL_RCPT_INVOICE_LINES_UV, status:VALID, product: OKL - Lease and Finance Management , description: This view is used to fetch the open invoice lines for a contract or investor agreement or termination quote or non OKL invoices. , implementation_dba_data: APPS.OKL_RCPT_INVOICE_LINES_UV ,
-
VIEW: APPS.OKL_AR_TAX_LINES_ALL_UV
12.2.2
-
VIEW: APPS.OKL_CS_ACCOUNT_CONT_INV_UV
12.1.1
-
VIEW: APPS.OKL_CS_AR_TAX_LINES_UV
12.1.1
-
VIEW: APPS.OKL_CS_AR_TAX_LINES_UV
12.2.2
-
VIEW: APPS.IBE_INVOICE_DETAIL_V
12.1.1
-
VIEW: APPS.OKL_RECEIPT_APPLICATIONS_UV
12.1.1
-
VIEW: APPS.IBE_INVOICE_DETAIL_V
12.2.2
-
VIEW: APPS.OKL_RECEIPT_APPLICATIONS_UV
12.2.2
-
VIEW: APPS.OKL_RCPT_ARINV_BALANCES_UV
12.2.2
-
VIEW: APPS.OKL_AR_TAX_LINES_ALL_UV
12.1.1
-
View: ARFV_TAXES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.ARFV_TAXES, object_name:ARFV_TAXES, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.ARFV_TAXES ,
-
VIEW: APPS.OKL_RCPT_ARINV_BALANCES_UV
12.1.1
-
View: ARFV_TAXES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.ARFV_TAXES, object_name:ARFV_TAXES, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.ARFV_TAXES ,
-
VIEW: APPS.OKL_RCPT_CUST_CONT_BALANCES_UV
12.2.2
-
View: AR_IDEP_ACTIONS_TAKEN
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_IDEP_ACTIONS_TAKEN, object_name:AR_IDEP_ACTIONS_TAKEN, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_IDEP_ACTIONS_TAKEN ,
-
View: AR_IDEP_ACTIONS_TAKEN
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_IDEP_ACTIONS_TAKEN, object_name:AR_IDEP_ACTIONS_TAKEN, status:VALID, product: AR - Receivables , implementation_dba_data: APPS.AR_IDEP_ACTIONS_TAKEN ,
-
VIEW: APPS.OKL_CS_CONT_VENDOR_INVOICES_UV
12.2.2
-
VIEW: APPS.OKL_CS_VENDOR_INVOICE_DTLS_UV
12.2.2
-
VIEW: APPS.OKL_CS_BPD_INV_DTL_V
12.1.1
-
VIEW: APPS.OKL_CS_BPD_INV_DTL_V
12.2.2
-
VIEW: APPS.OKL_RCPT_CUST_CONT_BALANCES_UV
12.1.1
-
APPS.JAI_AR_TAX_PROCESSING_PKG SQL Statements
12.2.2
-
View: OKL_RECEIPT_APPLICATIONS_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_RECEIPT_APPLICATIONS_UV, object_name:OKL_RECEIPT_APPLICATIONS_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_RECEIPT_APPLICATIONS_UV ,
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_ALL1_DFV
12.1.1
-
View: OKL_RECEIPT_APPLICATIONS_UV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_RECEIPT_APPLICATIONS_UV, object_name:OKL_RECEIPT_APPLICATIONS_UV, status:VALID, product: OKL - Leasing and Finance Management , implementation_dba_data: APPS.OKL_RECEIPT_APPLICATIONS_UV ,
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_ALL_DFV
12.1.1
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_ALL1_DFV
12.2.2
-
VIEW: APPS.ARBPA_CUSTOMER_TRX_HEADER
12.1.1
-
VIEW: APPS.OKL_BPD_TLD_AR_LINES_V
12.2.2
-
PACKAGE: APPS.GMF_AR_GET_INVOICE_LINES_ID
12.1.1
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_ALL_DFV
12.2.2
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_ALL2_DFV
12.2.2
-
VIEW: APPS.RA_CUSTOMER_TRX_LINES_ALL2_DFV
12.1.1