Results for “gl_je_batches”

50+ results




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

Overview

GL_JE_BATCHES is the master table for journal entry batches in the Oracle E-Business Suite General Ledger module (schema GL). Every journal entry processed by Oracle General Ledger is grouped into a batch, and this table stores the batch header information that governs the grouping, control totals, posting status, and accounting context for the individual journal headers and lines that belong to it. In Oracle EBS 12.1.1 and 12.2.2, GL_JE_BATCHES acts as the entry point for the entire journal lifecycle: import from subledgers, manual creation, approval, posting, reversal, and archiving.

The batch record carries the Set of Books (11i) and Chart of Accounts / period set context that determines which ledger the journals belong to, the actual versus budget indicator, and the running control totals used to validate that the batch is balanced before posting. Because posted and unposted journals, subsidiary batches, and multi-period activity all reference batches, GL_JE_BATCHES is one of the most heavily referenced objects in the EBS financial data model.

From a data modeling perspective, the documented foreign key structure—with GL_JE_BATCHES referencing GL_SETS_OF_BOOKS_11I, FND_CONCURRENT_REQUESTS, and itself via PARENT_JE_BATCH_ID—supports classification of this table as a hub in a Data Vault model. The batch identity (JE_BATCH_ID) is the durable business key around which descriptive attributes and downstream relationships (headers, lines, imports, reversals) are organized.

Key Information Stored

GL_JE_BATCHES contains 73 documented columns. The most operationally significant are:

Common Use Cases and Queries

Typical scenarios include identifying unposted or unbalanced batches, tracing journal sources to concurrent requests, reporting posted activity by ledger and period, and reconciling subledger transfers. Representative query patterns:

  • List all unposted batches for a ledger and period:
    SELECT b.je_batch_id, b.name, b.default_period_name, b.status
    FROM gl_je_batches b
    WHERE b.set_of_books_id_11i = :sob AND b.status = 'U';
  • Detect unbalanced batches by comparing control totals to running totals:
    SELECT je_batch_id, name, control_total,
      running_total_dr, running_total_cr
    FROM gl_je_batches
    WHERE control_total <> (running_total_dr - running_total_cr);
  • Trace batch activity to the concurrent request that generated it:
    SELECT b.je_batch_id, b.name, r.request_id, r.phase_code
    FROM gl_je_batches b, fnd_concurrent_requests r
    WHERE b.request_id = r.request_id;
  • Report batch totals by period and ledger for financial close:
    SELECT set_of_books_id_11i, default_period_name,
      sum(running_total_accounted_dr), sum(running_total_accounted_cr)
    FROM gl_je_batches
    WHERE actual_flag = 'A'
    GROUP BY set_of_books_id_11i, default_period_name;

These patterns support close-cycle monitoring, audit reporting, and interfaces that push balanced batches through the GL posting programs (e.g., Journal Posting, Journal Import, and the Journal Reversal processes).

Related Objects

GL_JE_BATCHES is referenced by a broad set of financial tables. The most significant relationships include: