Search Results gl_batch_id
Overview
The ORG_GL_BATCHES table is a core data object within the Oracle E-Business Suite Inventory (INV) module. It serves as a critical junction table that tracks the General Ledger (GL) transfer status for accounting batches generated from inventory and work-in-process (WIP) transactions. Its primary role is to maintain a unique identifier (GL_BATCH_ID) for each batch of accounting entries created during the posting process, linking transactional data in subledgers to the General Ledger. This linkage is essential for ensuring financial integrity, audit trails, and the successful completion of the transfer to GL, a fundamental step in the period-end closing process.
Key Information Stored
The table's structure is defined by its composite primary key and its relationships to other inventory entities. The most critical columns are the primary key components: ORGANIZATION_ID, which identifies the specific inventory organization, and GL_BATCH_ID, the unique identifier for the batch of accounting entries. Another significant column is ACCT_PERIOD_ID, which links the batch to the specific accounting period in which the transactions were recorded, enforcing period control. The table's primary function is to store this relationship metadata; it does not typically store the detailed journal lines themselves, which reside in the GL interface tables.
Common Use Cases and Queries
A primary use case is troubleshooting the "Transfer to General Ledger" process. Consultants often query this table to identify batches that are pending transfer or to investigate errors. A common reporting need is to list all GL batches created for a specific organization within a date range, which requires joining to related period tables. For a user searching specifically for 'gl_batch_id', a typical diagnostic query would be:
- SELECT organization_id, gl_batch_id, acct_period_id FROM inv.org_gl_batches WHERE gl_batch_id = :input_batch_id;
This query helps verify the existence of a batch and its associated organization and accounting period. Furthermore, the table is frequently joined to MTL_TRANSACTION_ACCOUNTS or WIP_TRANSACTION_ACCOUNTS to trace the detailed accounting distributions back to their source transactions.
Related Objects
As indicated by the foreign key metadata, ORG_GL_BATCHES is centrally connected to several key Inventory and WIP tables. MTL_PARAMETERS (via ORGANIZATION_ID) provides the organizational context. ORG_ACCT_PERIODS (via ACCT_PERIOD_ID and ORGANIZATION_ID) provides the period accounting control. Most importantly, the table has a direct one-to-many relationship with the detailed accounting distribution tables: MTL_TRANSACTION_ACCOUNTS and WIP_TRANSACTION_ACCOUNTS. These distribution tables store the actual accounting segments (debit/credit amounts, accounts) and reference the GL_BATCH_ID to group distributions into a postable batch. This design ensures that all accounting entries for a given batch share a common identifier for GL interface processing.
-
Table: ORG_GL_BATCHES
12.1.1
owner:INV, object_type:TABLE, fnd_design_data:INV.ORG_GL_BATCHES, object_name:ORG_GL_BATCHES, status:VALID, product: INV - Inventory , description: General Ledger transfer information for each batch , implementation_dba_data: INV.ORG_GL_BATCHES ,
-
Table: ORG_GL_BATCHES
12.2.2
owner:INV, object_type:TABLE, fnd_design_data:INV.ORG_GL_BATCHES, object_name:ORG_GL_BATCHES, status:VALID, product: INV - Inventory , description: General Ledger transfer information for each batch , implementation_dba_data: INV.ORG_GL_BATCHES ,
-
View: ORG_GL_BATCHES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.ORG_GL_BATCHES_V, object_name:ORG_GL_BATCHES_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.ORG_GL_BATCHES_V ,
-
View: ORG_GL_BATCHES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.ORG_GL_BATCHES_V, object_name:ORG_GL_BATCHES_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.ORG_GL_BATCHES_V ,