Search Results xtr_batches
Overview
The XTR_BATCHES table is a core data object within the Oracle E-Business Suite Treasury (XTR) module, serving as the central repository for batch process metadata. In the context of Oracle EBS 12.1.1 and 12.2.2, it functions as the master control table for numerous automated and periodic financial operations. Its primary role is to provide an audit trail and a point of reference for critical treasury processes, including revaluations, accruals, amortizations, journal postings, and bank balance reconciliations. Each record in this table represents a distinct execution instance of a batch job, enabling traceability and integrity for downstream financial data.
Key Information Stored
While the provided ETRM excerpt does not list specific columns beyond the primary and foreign keys, the table's structure is designed to catalog essential batch execution details. The primary key, BATCH_ID, uniquely identifies each batch run. A critical foreign key, COMPANY_CODE, links to the XTR_PARTY_INFO table, scoping the batch to a specific legal entity or company within the treasury structure. Based on its described purpose and related objects, the table likely stores additional metadata such as the batch process type (e.g., 'REVALUATION', 'ACCRUAL'), execution date and time, status (e.g., 'RUNNING', 'COMPLETED', 'ERROR'), the initiating user, and potentially descriptive information about the batch's parameters or scope.
Common Use Cases and Queries
This table is pivotal for audit reporting, troubleshooting, and understanding the lineage of financial figures. Common operational and reporting queries include identifying batches for a specific process type within a date range, tracing the origin of journal entries or revaluation figures, and investigating errors. A typical SQL pattern involves joining XTR_BATCHES to transaction detail tables.
- Batch Audit Report:
SELECT batch_id, company_code, creation_date FROM xtr_batches WHERE batch_type = 'REVALUATION' AND TRUNC(creation_date) = :p_date ORDER BY creation_date DESC; - Tracing Journal Entries to a Batch:
SELECT j.* FROM xtr_journals j, xtr_batches b WHERE j.batch_id = b.batch_id AND b.batch_id = :p_batch_id; - Finding the Latest Revaluation for a Deal:
SELECT d.deal_number, b.* FROM xtr_deals d, xtr_batches b WHERE d.last_reval_batch_id = b.batch_id AND d.deal_id = :p_deal_id;
Related Objects
The XTR_BATCHES table has extensive relationships throughout the Treasury schema, as evidenced by its numerous foreign key dependencies. It is a parent table to many transactional and reporting tables, including XTR_ACCRLS_AMORT, XTR_BATCH_EVENTS, XTR_DEAL_DATE_AMOUNTS, XTR_JOURNALS, and XTR_REVALUATION_DETAILS. It also serves as a reference point for first and last batch identifiers in key ledger tables such as XTR_BANK_BALANCES, XTR_DEALS, XTR_INTERGROUP_TRANSFERS, and XTR_ROLLOVER_TRANSACTIONS. This network of relationships underscores its role as the foundational control point for batch-processed financial data, ensuring referential integrity across the module.
-
Table: XTR_BATCHES
12.1.1
owner:XTR, object_type:TABLE, fnd_design_data:XTR.XTR_BATCHES, object_name:XTR_BATCHES, status:VALID, product: XTR - Treasury , description: This table stores the fundamental information for each batch process. , implementation_dba_data: XTR.XTR_BATCHES ,
-
Table: XTR_BATCHES
12.2.2
owner:XTR, object_type:TABLE, fnd_design_data:XTR.XTR_BATCHES, object_name:XTR_BATCHES, status:VALID, product: XTR - Treasury , description: This table stores the fundamental information for each batch process. , implementation_dba_data: XTR.XTR_BATCHES ,
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_ACCRUAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_UPDATE_SETTLEMENT_ACCOUNTS dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_FPS2_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_UPDATE_SETTLEMENT_ACCOUNTS dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_STREAMLINE_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_DNM_PKG dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_WRAPPER_API_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_IG_TRANSFERS_PKG dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_XTRREVGL_XMLP_PKG dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_REPLICATE_BANK_BALANCES dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_FPS2_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_REVAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_DNM_PKG dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_NI_TRANSFERS_PKG dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_ORACLE_FIN_INTERFACES_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_ACCRUAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_REPLICATE_BANK_BALANCES dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_XTRCCYGL_XMLP_PKG dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_STREAMLINE_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_HEDGE_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_ACCRUAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_XTRCCYGL_XMLP_PKG dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_WRAPPER_API_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_JOURNAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_REVAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_NI_TRANSFERS_PKG dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_IG_TRANSFERS_PKG dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_COMMON_FUNCTIONS dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_ACCRUAL_PROCESS_P dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_XTRREVGL_XMLP_PKG dependencies on XTR_BATCHES
12.1.1
-
APPS.XTR_COMMON_FUNCTIONS dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_ORACLE_FIN_INTERFACES_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_HEDGE_PROCESS_P dependencies on XTR_BATCHES
12.2.2
-
APPS.XTR_STREAMLINE_P SQL Statements
12.2.2
-
APPS.XTR_CLEAR_JOURNAL_PROCESS_P SQL Statements
12.1.1
-
APPS.XTR_NI_TRANSFERS_PKG dependencies on XTR_BATCH_EVENTS
12.2.2
-
APPS.XTR_STREAMLINE_P SQL Statements
12.1.1
-
APPS.XTR_COMMON_FUNCTIONS dependencies on XTR_BATCH_EVENTS
12.1.1
-
APPS.XTR_REPLICATE_BANK_BALANCES dependencies on XTR_BATCH_EVENTS
12.1.1
-
APPS.XTR_REPLICATE_BANK_BALANCES dependencies on XTR_BATCH_EVENTS
12.2.2
-
APPS.XTR_COMMON_FUNCTIONS dependencies on XTR_BATCH_EVENTS
12.2.2