Search Results ra_customer_trx_all
Overview
RA_CUSTOMER_TRX_ALL is the header-level transaction table in the Oracle Receivables (AR) module of Oracle E-Business Suite, owned by the AR schema. It stores the header information for every customer transaction generated within Receivables, including invoices, debit memos, chargebacks, commitments, and credit memos. Each row represents a single transaction document identified by a system-generated transaction number and links to customer, site, terms, and legal entity data required for billing and collections processing.
From a Data Vault modeling perspective, the heuristic classification for this table is hub, reflecting its role as a central entity anchoring transaction identities. Line-level and distribution-level detail is stored in subordinate tables such as RA_CUSTOMER_TRX_LINES_ALL and RA_CUST_TRX_LINE_GL_DIST_ALL, while accounting and payment information is captured in AR_PAYMENT_SCHEDULES_ALL and AR_RECEIVABLE_APPLICATIONS_ALL. The table is documented with 187 columns in the 12.2.2 ETRM schema and is marked VALID, making it a critical object for AR reporting, reconciliation, and integration.
Key Information Stored
The primary surrogate key is CUSTOMER_TRX_ID, enforced by RA_CUSTOMER_TRX_PK. Several business-key candidates are also documented through unique indexes: RA_CUSTOMER_TRX_U1 (CUSTOMER_TRX_ID), RA_CUSTOMER_TRX_U2 (REVERSED_CASH_RECEIPT_ID), and RA_CUSTOMER_TRX_U3 (DOC_SEQUENCE_ID, DOC_SEQUENCE_VALUE), the latter supporting document sequencing for legal numbering. A composite unique constraint RA_CUSTOMER_TRX_UK1 spans BATCH_SOURCE_ID and TRX_NUMBER.
The most significant columns include:
- CUSTOMER_TRX_ID — surrogate primary key and foreign-key target for most AR child tables.
- TRX_NUMBER — user-visible transaction number, unique within a batch source.
- CUST_TRX_TYPE_ID — identifies the transaction type (invoice, credit memo, debit memo, chargeback, commitment) from RA_CUST_TRX_TYPES_ALL.
- TRX_DATE — accounting date used for GL posting and aging.
- SET_OF_BOOKS_ID — the ledger context for the transaction.
- BILL_TO_CUSTOMER_ID / BILL_TO_SITE_USE_ID / BILL_TO_CONTACT_ID — billing party references to HZ tables.
- SHIP_TO_CUSTOMER_ID / SHIP_TO_SITE_USE_ID — shipping party references.
- SOLD_TO_CUSTOMER_ID — sold-to party, distinct from bill-to for intercompany scenarios.
- TERM_ID and TERM_DUE_DATE — payment terms and computed due date.
- INVOICE_CURRENCY_CODE / EXCHANGE_RATE / EXCHANGE_DATE — currency and conversion details.
- PREVIOUS_CUSTOMER_TRX_ID and INITIAL_CUSTOMER_TRX_ID — self-referencing chain that tracks credit memos, reversals, and chargebacks back to the original transaction.
- PURCHASE_ORDER / CUSTOMER_REFERENCE — customer-supplied references for reconciliation.
- COMPLETE_FLAG and POSTING_CONTROL_ID — transaction status and posting governance.
- LEGAL_ENTITY_ID — the registering legal entity for the transaction.
- DOC_SEQUENCE_ID / DOC_SEQUENCE_VALUE — legal document sequence tracking.
- ORG_ID — multi-org operating unit identifier.
Common Use Cases and Queries
Typical reporting scenarios include open receivables aging, invoice and credit memo reconciliation, tax and revenue analysis, and document sequencing audits. A common query joins the header to customer data and payment schedules:
SELECT rct.trx_number, rct.trx_date, rct.invoice_currency_code,
hca.account_number, aps.amount_due_remaining
FROM ra_customer_trx_all rct,
hz_cust_accounts hca,
ar_payment_schedules_all aps
WHERE rct.bill_to_customer_id = hca.cust_account_id
AND rct.customer_trx_id = aps.customer_trx_id
AND rct.set_of_books_id = :ledger_id
AND rct.trx_date BETWEEN :from_date AND :to_date;
Self-joins on PREVIOUS_CUSTOMER_TRX_ID or INITIAL_CUSTOMER_TRX_ID are used to trace credit memo chains against originating invoices. Filtering by COMPLETE_FLAG = 'Y' restricts results to completed transactions, and ORG_ID is a standard multi-org predicate when running in a multi-org environment. Integration use cases typically extract transaction headers via the AR AutoInvoice interface or query this table alongside RA_CUSTOMER_TRX_LINES_ALL to feed downstream analytics and data warehouses.
Related Objects
The table is central to the AR data model, with numerous inbound and outbound foreign-key relationships:
- RA_CUSTOMER_TRX_LINES_ALL — child table holding line-level invoice detail, joined via CUSTOMER_TRX_ID.
- AR_PAYMENT_SCHEDULES_ALL — captures due dates and payment schedules per transaction.
- AR_RECEIVABLE_APPLICATIONS_ALL — records application of receipts and credit memos, referenced by CUSTOMER_TRX_ID and APPLIED_CUSTOMER_TRX_ID.
- AR_ADJUSTMENTS_ALL — stores adjustments applied against transactions through CUSTOMER_TRX_ID.
- RA_CUST_TRX_LINE_GL_DIST_ALL — accounting distributions tied to the transaction header.
- HZ_CUST_ACCOUNTS — the billing, ship-to, sold-to, and paying customer references.
- HZ_CUST_SITE_USES_ALL — site-use references for billing, shipping, and remit-to locations.
- RA_CUST_TRX_TYPES_ALL — defines transaction type attributes such as class and automatic numbering.
- RA_TERMS_B — payment terms applied to the transaction.
- RA_CUSTOMER_TRX_ALL (self-reference) — via PREVIOUS_CUSTOMER_TRX_ID and INITIAL_CUSTOMER_TRX_ID.
Other significant references include OKC_K_HEADERS_B (CONTRACT_ID), SO_AGREEMENTS_B (AGREEMENT_ID), FV_LEGAL_ENTITIES (LEGAL_ENTITY_ID), and FND_DOCUMENT_SEQUENCES (DOC_SEQUENCE_ID). The breadth of these relationships confirms the table's position as a core AR hub.
-
Table: RA_CUSTOMER_TRX_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_TRX_ALL, object_name:RA_CUSTOMER_TRX_ALL, status:VALID, product: AR - Receivables , description: Header-level information about invoices, debit memos, chargebacks, commitments and credit memos , implementation_dba_data: AR.RA_CUSTOMER_TRX_ALL ,
-
Table: RA_CUSTOMER_TRX_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CUSTOMER_TRX_ALL, object_name:RA_CUSTOMER_TRX_ALL, status:VALID, product: AR - Receivables , description: Header-level information about invoices, debit memos, chargebacks, commitments and credit memos , implementation_dba_data: AR.RA_CUSTOMER_TRX_ALL ,
-
PACKAGE: APPS.JAI_RACT_TRG_PKG
12.2.2
-
PACKAGE: APPS.JAI_RACT_TRG_PKG
12.1.1
-
PACKAGE BODY: APPS.JAI_RACT_TRG_PKG
12.2.2
-
PACKAGE BODY: APPS.JAI_RACT_TRG_PKG
12.1.1
-
APPS.JG_ZZ_AR_AUTO_INVOICE SQL Statements
12.2.2
-
VIEW: APPS.ARFV_TAXES
12.1.1
-
VIEW: APPS.ARFV_TAXES
12.2.2
-
VIEW: APPS.AR_IDEP_COMMITMENT_USAGE
12.1.1
-
VIEW: APPS.AR_IDEP_COMMITMENT_USAGE
12.2.2
-
APPS.JG_ZZ_AR_AUTO_INVOICE SQL Statements
12.1.1
-
Table: AR_RECEIVABLE_APPLICATIONS_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.AR_RECEIVABLE_APPLICATIONS_ALL, object_name:AR_RECEIVABLE_APPLICATIONS_ALL, status:VALID, product: AR - Receivables , description: Accounting information for cash and credit memo applications , implementation_dba_data: AR.AR_RECEIVABLE_APPLICATIONS_ALL ,
-
Table: LNS_AMORTIZATION_SCHEDS
12.2.2
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_AMORTIZATION_SCHEDS, object_name:LNS_AMORTIZATION_SCHEDS, status:VALID, product: LNS - Loans , description: Amortizations Table - Records installments due for a loan as billing generates them. Also stores any reversal and re-amortization information , implementation_dba_data: LNS.LNS_AMORTIZATION_SCHEDS ,
-
Table: LNS_AMORTIZATION_SCHEDS
12.1.1
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_AMORTIZATION_SCHEDS, object_name:LNS_AMORTIZATION_SCHEDS, status:VALID, product: LNS - Loans , description: Amortizations Table - Records installments due for a loan as billing generates them. Also stores any reversal and re-amortization information , implementation_dba_data: LNS.LNS_AMORTIZATION_SCHEDS ,
-
Table: HZ_CUST_ACCOUNT_ROLES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNT_ROLES, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID, product: AR - Receivables , description: Roles that parties perform in customer accounts , implementation_dba_data: AR.HZ_CUST_ACCOUNT_ROLES ,
-
Table: HZ_CUST_ACCOUNT_ROLES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCOUNT_ROLES, object_name:HZ_CUST_ACCOUNT_ROLES, status:VALID, product: AR - Receivables , description: Roles that parties perform in customer accounts , implementation_dba_data: AR.HZ_CUST_ACCOUNT_ROLES ,
-
Table: HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_SITES_ALL, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID, product: AR - Receivables , description: Stores all customer account sites across all operating units , implementation_dba_data: AR.HZ_CUST_ACCT_SITES_ALL ,
-
Table: HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_CUST_ACCT_SITES_ALL, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID, product: AR - Receivables , description: Stores all customer account sites across all operating units , implementation_dba_data: AR.HZ_CUST_ACCT_SITES_ALL ,
-
VIEW: APPS.OKL_RCPT_FREIGHT_LINES_UV
12.2.2
-
APPS.JAI_AR_TRX_LINES_PKG SQL Statements
12.2.2
-
VIEW: APPS.OKL_RCPT_FREIGHT_LINES_UV
12.1.1
-
VIEW: APPS.RA_CUSTOMER_TRX_ALL_DFV
12.2.2
-
VIEW: APPS.RA_CUSTOMER_TRX_ALL_DFV
12.1.1
-
VIEW: APPS.RA_CUSTOMER_TRX_ALL1_DFV
12.1.1
-
VIEW: APPS.RA_CUSTOMER_TRX_ALL1_DFV
12.2.2
-
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: 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 ,
-
APPS.ZX_TAX_STR_PKG SQL Statements
12.1.1
-
APPS.ARP_TAX_STR_PKG SQL Statements
12.2.2
-
APPS.ARP_TAX_STR_PKG SQL Statements
12.1.1
-
Table: RA_CM_REQUESTS_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CM_REQUESTS_ALL, object_name:RA_CM_REQUESTS_ALL, status:VALID, product: AR - Receivables , description: Pending and approved credit memo requests , implementation_dba_data: AR.RA_CM_REQUESTS_ALL ,
-
APPS.ZX_TAX_STR_PKG SQL Statements
12.2.2
-
Table: RA_CM_REQUESTS_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_CM_REQUESTS_ALL, object_name:RA_CM_REQUESTS_ALL, status:VALID, product: AR - Receivables , description: Pending and approved credit memo requests , implementation_dba_data: AR.RA_CM_REQUESTS_ALL ,
-
VIEW: APPS.AR_OEX_CM_VIEW
12.1.1
-
VIEW: APPS.AR_OEX_CM_VIEW
12.2.2
-
PACKAGE: APPS.GMF_AR_GET_INVOICE_LINES_ID
12.2.2
-
VIEW: APPS.JAI_AR_TRX_DTLS_V
12.2.2
-
VIEW: APPS.OKX_CUSTOMER_TRX_V
12.1.1
-
VIEW: APPS.JAI_AR_TRX_DTLS_V
12.1.1
-
PACKAGE: APPS.GMF_AR_GET_INVOICE_LINES_ID
12.1.1
-
VIEW: APPS.OKX_CUSTOMER_TRX_V
12.2.2
-
APPS.JA_JAINARDR_XMLP_PKG SQL Statements
12.1.1
-
APPS.JA_JAINARDR_XMLP_PKG SQL Statements
12.2.2
-
VIEW: APPS.AR_CM_LINES_BASE_V
12.2.2
-
APPS.AR_IDEP_UTILS SQL Statements
12.2.2
-
APPS.AR_IDEP_UTILS SQL Statements
12.1.1
-
VIEW: APPS.FIIBV_AR_ARDN_DOC_NUM_LCV
12.1.1
-
Table: JAI_AR_TRX_CM_T
12.1.1
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AR_TRX_CM_T, object_name:JAI_AR_TRX_CM_T, status:VALID, product: JA - Asia/Pacific Localizations , description: This table holds the details of the st forms details for an AR credit memo. , implementation_dba_data: JA.JAI_AR_TRX_CM_T ,
-
Table: JAI_AR_TRX_CM_T
12.2.2
owner:JA, object_type:TABLE, fnd_design_data:JA.JAI_AR_TRX_CM_T, object_name:JAI_AR_TRX_CM_T, status:VALID, product: JA - Asia/Pacific Localizations , description: This table holds the details of the st forms details for an AR credit memo. , implementation_dba_data: JA.JAI_AR_TRX_CM_T ,