Search Results xla_accounting_errors




Overview

GL_LEDGERS is the ledger definition table in the Oracle General Ledger (GL) module of Oracle E-Business Suite, owned by the GL schema. In EBS 12.1.1 and 12.2.2, a "ledger" replaces the earlier concept of a "set of books" and represents the fundamental accounting container that binds together a chart of accounts, an accounting calendar, a functional currency, and a subledger accounting (SLA) method. Every journal entry, account balance, budget, and intercompany transaction in the General Ledger ultimately resolves to a row in this table through its LEDGER_ID surrogate key.

From a Data Vault modeling perspective, the heuristic classification for GL_LEDGERS is a hub. It is a master-level entity keyed by a single surrogate identifier (LEDGER_ID), and it is referenced by a large number of satellite-style and link-style tables (journal headers, journal lines, ledger relationships, ledger set assignments, and reporting tables) rather than depending on them. This makes it a natural anchor point for a dimensional or Data Vault model of GL master data.

Key Information Stored

The table contains 89 documented columns in the 12.2.2 schema. The most operationally significant are:

Common Use Cases and Queries

The most frequent query pattern resolves the current ledger context from the session or from a known SET_OF_BOOKS_ID / LEDGER_ID value. A typical reporting query joins GL_LEDGERS to FND_CURRENCIES to confirm functional currency and to GL_JE_HEADERS to aggregate journal activity:

A representative join is:

SELECT gl.ledger_id, gl.name, gl.currency_code, gl.period_set_name
FROM gl_ledgers gl
WHERE gl.completion_status_code = 'C'
AND gl.ledger_category_code = 'P';

Related Objects

GL_LEDGERS is referenced by a broad set of downstream tables. The most significant, based on the documented foreign key relationships, include: