Search Results ra_batches_uk1
Overview
The RA_BATCHES_ALL table is a core data repository within the Oracle E-Business Suite Receivables (AR) module. It serves as the master table for storing all transactional batch headers created for invoice entry. This object is fundamental to the batch processing model in AR, where multiple transactions are grouped, validated, and posted collectively. The table's multi-org structure, indicated by the "_ALL" suffix, allows it to store data for multiple operating units, with access governed by the MOAC (Multi-Org Access Control) security model. Each record represents a distinct batch, which acts as a control and audit mechanism for a set of transactions, linking them to a specific batch source and tracking their creation and completion status.
Key Information Stored
The table's primary identifier is the BATCH_ID, which is the primary key for the RA_BATCHES_PK index. Critical business columns include BATCH_SOURCE_ID, a foreign key to RA_BATCH_SOURCES_ALL that defines the journal entry source (e.g., "Manual Invoices," "AutoInvoice"), and NAME, which stores the user-defined batch name. Together, BATCH_SOURCE_ID and NAME form a unique key (RA_BATCHES_UK1), ensuring uniqueness within a source. Other significant columns typically include STATUS, BATCH_DATE, GL_DATE, CURRENCY_CODE, CONTROL_AMOUNT, and CONTROL_COUNT, which manage the batch's financial accounting date, monetary totals, and lifecycle state from "Entered" to "Complete." The table also contains standard WHO columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE) for audit trails.
Common Use Cases and Queries
A primary use case is tracking and reporting on the status of invoice batches. Administrators frequently query this table to identify incomplete or error-prone batches, reconcile control totals, or audit batch creation. Common SQL patterns include joining to RA_BATCH_SOURCES_ALL for descriptive source names and filtering by date range and operating unit (ORG_ID). For example:
- Listing open batches for a specific source:
SELECT rb.name, rb.status, rb.batch_date FROM ra_batches_all rb WHERE rb.batch_source_id = :source_id AND rb.status = 'ENTERED' AND rb.org_id = :org_id; - Reconciling batch control amounts with actual transaction totals by joining to RA_CUSTOMER_TRX_ALL.
- Investigating AutoInvoice execution by querying batches created by the AutoInvoice program, often identifiable by a naming convention or specific batch source.
Related Objects
As per the provided metadata, RA_BATCHES_ALL has defined relationships with several key objects. It is a child table to RA_BATCH_SOURCES_ALL via the BATCH_SOURCE_ID foreign key. It is referenced as a parent table by multiple interface and reporting tables, including AR_RECEIPTS_REP_ITF and AR_TRANSACTIONS_REP_ITF, which use its BATCH_ID. A critical relationship exists with the ZX_LINES_DET_FACTORS table from the E-Business Tax (ZX) module, where TRX_BATCH_ID links tax determinants to their originating batch. In practice, the primary transactional relationship is with RA_CUSTOMER_TRX_ALL, where each transaction stores its associated BATCH_ID, though this common foreign key is not listed in the provided excerpt.
-
Table: RA_BATCHES_ALL
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_BATCHES_ALL, object_name:RA_BATCHES_ALL, status:VALID, product: AR - Receivables , description: Invoice batch information , implementation_dba_data: AR.RA_BATCHES_ALL ,
-
Table: RA_BATCHES_ALL
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.RA_BATCHES_ALL, object_name:RA_BATCHES_ALL, status:VALID, product: AR - Receivables , description: Invoice batch information , implementation_dba_data: AR.RA_BATCHES_ALL ,