Search Results ledger_category_code
Overview
The APPS.GL_LEDGERS_PUBLIC_ALL_V view is a public, security-aware reporting object in the Oracle General Ledger (GL) module. It exposes ledger definition attributes for the ledgers to which the current Oracle E-Business Suite user has access. In Release 12.1.1 and 12.2.2, the Ledger concept consolidated the former Set of Books architecture, and this view functions as the supported public interface through which the accounting setup of a ledger is queried by concurrent programs, forms, and external integrations without requiring direct reads of the underlying GL_LEDGERS table.
Because the view is defined in the APPS schema and is marked VALID, it is safe to consume from custom code, BI Publisher reports, and OAF pages within supported boundaries. Its principal role is to supply ledger metadata — chart of accounts, functional currency, period type, and the code combination identifiers used for system-defined accounts — to any process that must resolve how a given ledger is configured before posting, translating, or reporting.
Underlying Base Objects
The documented referenced base object is GL_LEDGERS (exposed within the APPS schema as a synonym). The view is a direct column projection over that table: each attribute listed in the view text is selected one-for-one from the corresponding GL_LEDGERS column, with no joins in the documented definition. The one transformation present is on the ledger type, where ALC_LEDGER_TYPE_CODE is decoded into the legacy multi-reporting-currency (MRC) convention: 'SOURCE' is returned as 'P', 'TARGET' as 'R', and all other values as 'N', exposed under the alias MRC_LEDGER_TYPE_CODE. The "PUBLIC" designation in the view name indicates that row-level security is applied through the standard ledger security mechanism, so results are automatically filtered to the ledgers the requesting user is authorized to see.
Key Columns
- LEDGER_ID / NAME / SHORT_NAME – Primary identity and descriptive attributes of the accounting ledger.
- CHART_OF_ACCOUNTS_ID – Chart of accounts the ledger is built upon; used to join to accounting flexfield structures.
- CURRENCY_CODE – The functional (ledger) currency in which balances are maintained.
- PERIOD_SET_NAME / ACCOUNTED_PERIOD_TYPE – The accounting calendar and period type governing the ledger.
- ROUNDING_CCID – Alias for GL_LEDGERS.ROUNDING_CODE_COMBINATION_ID. This is the code combination identifier of the account that absorbs rounding imbalances when the TRACK_ROUNDING_IMBALANCE_FLAG is enabled.
- TRACK_ROUNDING_IMBALANCE_FLAG – Indicates whether rounding differences are tracked and posted to the rounding account.
- RET_EARN_CODE_COMBINATION_ID, CUM_TRANS_CODE_COMBINATION_ID, NET_INCOME_CODE_COMBINATION_ID – System account CCIDs for retained earnings, cumulative translation adjustment, and net income.
- RES_ENCUMB_CODE_COMBINATION_ID – Reserved encumbrance account for budgetary control.
- ENABLE_JE_APPROVAL_FLAG, ENABLE_BUDGETARY_CONTROL_FLAG, ENABLE_AUTOMATIC_TAX_FLAG – Functional control flags governing journal approval, budget checking, and automatic tax calculation.
- MRC_LEDGER_TYPE_CODE – Decoded ledger role (Primary, Reporting, or Non-MRC) for multi-reporting-currency compatibility.
- LATEST_OPENED_PERIOD_NAME, FUTURE_ENTERABLE_PERIODS_LIMIT – Period control attributes exposing the current open period and the forward entry limit.
Common Use Cases and Queries
The most frequent requirement is resolving the rounding account for a ledger, which the search term "rounding_ccid" reflects. A typical query joins the view to GL_CODE_COMBINATIONS to return the fully qualified rounding account:
SELECT l.ledger_id, l.name, l.rounding_ccid, gcc.concatenated_segments
FROM gl_ledgers_public_all_v l, gl_code_combinations_kfv gcc
WHERE l.rounding_ccid = gcc.code_combination_id;
Additional scenarios include retrieving a ledger's functional currency and calendar for report parameters, validating whether budgetary control or journal approval is enabled before submitting interfaces, and enumerating accessible ledgers for a multi-org reporting LOV. When querying, note that ROUNDING_CCID may be null if rounding imbalance tracking is not enabled, and that the view returns only ledgers permitted by the user's ledger security profile — a behavior that must be accounted for when the same query is executed by different users or by SYSADMIN-owned concurrent programs.
-
View: GL_LEDGERS_PUBLIC_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_PUBLIC_ALL_V, object_name:GL_LEDGERS_PUBLIC_ALL_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_PUBLIC_ALL_V ,
-
View: GL_LEDGERS_PUBLIC_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_PUBLIC_ALL_V, object_name:GL_LEDGERS_PUBLIC_ALL_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_PUBLIC_ALL_V ,
-
View: GL_LEDGERS_PUBLIC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_PUBLIC_V, object_name:GL_LEDGERS_PUBLIC_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_PUBLIC_V ,
-
View: GL_LEDGERS_PUBLIC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_PUBLIC_V, object_name:GL_LEDGERS_PUBLIC_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_PUBLIC_V ,
-
View: GL_LEDGER_LE_BSV_SPECIFIC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_BSV_SPECIFIC_V, object_name:GL_LEDGER_LE_BSV_SPECIFIC_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGER_LE_BSV_SPECIFIC_V ,
-
View: GL_LEDGER_LE_BSV_SPECIFIC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_BSV_SPECIFIC_V, object_name:GL_LEDGER_LE_BSV_SPECIFIC_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGER_LE_BSV_SPECIFIC_V ,
-
View: GL_LEDGER_LE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGER_LE_V ,
-
View: GL_LEDGER_LE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_LE_V, object_name:GL_LEDGER_LE_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGER_LE_V ,