Results for “term_rule”

8 results




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

Overview

RA_BATCH_SOURCES_ALL is an Oracle Receivables (AR) foundation table that defines batch sources — the user-defined document sources used when creating invoices, credit memos, debit memos, chargebacks, and commitments in Oracle E-Business Suite. A batch source acts as a template and classification for customer transactions: it controls default transaction types, automatic document numbering, defaulting rules for addresses, salespersons, and terms, and accounting behavior for entire batches. In Release 12.1.1 and 12.2.2 the table exists in the AR schema with 98 documented columns, and is exposed to the multi-org architecture through the ORG_ID column and the _ALL suffix, which indicates that batch sources are defined per operating unit.

From a Data Vault modeling perspective, the metadata's heuristic classification for this object is a hub. Because each row represents a distinct business entity with a surrogate primary key (BATCH_SOURCE_ID) and a pair of business-key unique indexes, it aligns well with a hub construct in a dimensional or Data Vault warehouse model built over EBS data.

Key Information Stored

The table's primary key is enforced by RA_BATCH_SOURCES_PK on BATCH_SOURCE_ID. Two unique indexes provide business-key candidates: RA_BATCH_SOURCES_U1 on (NAME, ORG_ID, ZD_EDITION_NAME) and RA_BATCH_SOURCES_U2 on (BATCH_SOURCE_ID, ORG_ID, ZD_EDITION_NAME), confirming that batch source names must be unique within an operating unit and edition.

The most significant columns include:

Common Use Cases and Queries

Developers and functional consultants query RA_BATCH_SOURCES_ALL to validate setup before AutoInvoice runs, to confirm which source is assigned to a given legal entity, or to audit automatic numbering. A sample query retrieving active sources with their default transaction types is:

  • SELECT bs.batch_source_id, bs.name, bs.org_id, bs.default_inv_trx_type
  • FROM ra_batch_sources_all bs
  • WHERE bs.status = 'A' AND bs.org_id = :org_id;

A second common pattern joins to RA_BATCHES_ALL and RA_CUSTOMER_TRX_ALL to trace transaction volume back to its originating source:

  • SELECT t.trx_number, b.name batch_source, bt.batch_name
  • FROM ra_customer_trx_all t, ra_batch_sources_all b, ra_batches_all bt
  • WHERE t.batch_source_id = b.batch_source_id
  • AND t.batch_id = bt.batch_id;

Related Objects

RA_BATCH_SOURCES_ALL sits at the center of a well-connected set of AR and cross-module tables, based on documented foreign key relationships.