Search Results ra_customer_trx_all
Overview
The RA_CUSTOMER_TRX_ALL table is the central transactional header table within Oracle E-Business Suite Receivables (AR) for versions 12.1.1 and 12.2.2. It serves as the master repository for all customer-facing transaction documents, including invoices, debit memos, chargebacks, commitments, and credit memos. As a multi-organization enabled table (indicated by the "_ALL" suffix), it stores data for all operating units, making it the primary source for querying and reporting on the complete lifecycle of a transaction from its creation. Its role is fundamental to the AR module's core functions of billing, revenue recognition, and collections.
Key Information Stored
The table's primary key is CUSTOMER_TRX_ID, a unique system-generated identifier for each transaction header. A unique key constraint also exists on the combination of BATCH_SOURCE_ID and TRX_NUMBER, enforcing business-level uniqueness for transaction numbers within a given source. Key columns define the transaction's business context: CUST_TRX_TYPE_ID classifies the document type; BILL_TO_CUSTOMER_ID, SHIP_TO_CUSTOMER_ID, and their related site use and contact IDs define the customer and location; TERM_ID governs payment terms; and PRIMARY_SALESREP_ID captures the responsible party. Critical financial attributes include INVOICE_CURRENCY_CODE, the document currency, and POSTING_CONTROL_ID, which links to the AR_POSTING_CONTROL table for tracking General Ledger transfer status. The table also supports document relationships through columns like PREVIOUS_CUSTOMER_TRX_ID and INITIAL_CUSTOMER_TRX_ID for credit memos and adjustments.
Common Use Cases and Queries
This table is integral for operational reporting, data extracts, and troubleshooting. Common use cases include generating open invoice listings, analyzing transaction volumes by type or customer, and creating audit trails for document sequences. A fundamental query pattern joins to related detail and customer tables:
- Retrieving a basic transaction header:
SELECT trx_number, bill_to_customer_id, invoice_currency_code, term_id FROM ra_customer_trx_all WHERE customer_trx_id = :p_trx_id; - Listing invoices for a customer:
SELECT rct.trx_number, rct.creation_date, rcttt.name type_name, rct.invoice_currency_code, rct.term_id FROM ra_customer_trx_all rct, ra_cust_trx_types_all rcttt WHERE rct.bill_to_customer_id = :p_cust_id AND rct.cust_trx_type_id = rcttt.cust_trx_type_id AND rcttt.type = 'INV'; - Analyzing transaction posting status:
SELECT posting_control_id, COUNT(*) FROM ra_customer_trx_all WHERE creation_date > SYSDATE - 30 GROUP BY posting_control_id;
Related Objects
RA_CUSTOMER_TRX_ALL has extensive relationships with other core AR and Trading Community Architecture (TCA) objects. The primary child table is RA_CUSTOMER_TRX_LINES_ALL, which stores the line-level details for each header. For customer and site information, it references HZ_CUST_ACCOUNTS, HZ_CUST_SITE_USES_ALL, and HZ_CUST_ACCOUNT_ROLES. Transaction types are defined in RA_CUST_TRX_TYPES_ALL. The table is also referenced by key interfaces and summary tables, such as RA_CUST_TRX_LINE_GL_DIST_ALL for accounting distributions. For programmatic access, the AR_INVOICE_API_PUB package provides public APIs for creating and updating transactions, which internally manipulate this table.
-
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 ,
-
APPS.PSA_MFAR_VAL_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.JMF_GTA_TXT_OPERATOR_PROC dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_JAR_TL_TRIGGER_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_OM_RG_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.PSA_MFAR_ADJUSTMENTS dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JMF_GTA_REPORTS_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.CSC_ROUTING_UTL dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JE_IT_LISTING_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.OKL_BPD_ADVANCED_BILLING_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JA_JAINAR3R_XMLP_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_AR_SUP_TRX_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_AR_RGM_PROCESSING_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.ARP_XLA_UPGRADE dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_AR_RGM_PROCESSING_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.OKL_PAY_INVOICES_DISB_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.GMF_AR_GET_INVOICE_LINES_ID dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.GMF_AR_GET_INVOICE_HEADER dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.ARP_REVENUE_ASSIGNMENTS dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.CLN_INV_REJECT_NOTIF_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.PSA_MFAR_UTILS dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.AR_TP_STMT_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_AR_RCTA_TRIGGER_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.LNS_DISTRIBUTIONS_PUB dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.PSA_MFAR_VAL_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.1.1
-
APPS.JAI_TAX_PROCESSING_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.JG_ZZ_AR_AUTO_INVOICE dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OE_INVOICE_PUB dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.PSA_MFAR_RECEIPTS dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OKL_BPD_ADVANCED_CASH_APP_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.AR_IDEP_UTILS dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.AR_BPA_BFPRI_CONC dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.LNS_BILLING_BATCH_PUB dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.JAI_AR_IMPORT_SYNC_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.JL_ZZ_TAX dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.ARI_UTILITIES dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OZF_OM_VALIDATION_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.FV_SLA_AR_PROCESSING_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OE_RETROBILL_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.ARP_XLA_EVENTS dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OKL_PAYMENT_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.AR_BUS_EVENT_COVER dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.JAI_OPEN_API_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.ARP_PROCESS_CREDIT_INS_COVER dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OKS_ARFEEDER_PUB dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.ZX_TAXWARE_USER_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OKL_CNTRCT_FIN_EXTRACT_PVT dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.ZX_ON_DEMAND_TRX_UPGRADE_PKG dependencies on RA_CUSTOMER_TRX_ALL
12.2.2
-
APPS.OKL_BPD_ADVANCED_CASH_APP_PUB dependencies on RA_CUSTOMER_TRX_ALL
12.2.2