Search Results mgt_seg_value_option_code
Overview
GL_LEDGER_SET_ASSIGNMENTS_V is an APPS-owned view in the Oracle E-Business Suite General Ledger (GL) module, documented and valid in both release 12.1.1 and 12.2.2. It exposes the relationship between ledger sets, the ledgers assigned to them, and the segment value definitions associated with each ledger. Because a ledger set is simply a named grouping of ledgers used to consolidate reporting, transaction entry, and inquiry across multiple charts of accounts or accounting configurations, this view provides a single denormalized access point for that grouping metadata.
The view is read-only by nature and is intended for reporting, integration, and diagnostic queries rather than for direct DML. Implementers and technical consultants use it to resolve which ledgers belong to a given ledger set and to inspect the balance segment and management segment value options defined on the underlying ledgers, without needing to join three separate base tables manually.
Underlying Base Objects
The view is defined over three base objects, all referenced as APPS synonyms:
- GL_LEDGER_SET_ASSIGNMENTS — the primary driving table, supplying the assignment rows linking a ledger to a ledger set, along with WHO columns and the START_DATE/END_DATE effective dating.
- GL_LEDGERS — supplies ledger-level attributes, including the BAL_SEG_VALUE_OPTION_CODE and MGT_SEG_VALUE_OPTION_CODE, and is outer-joined to the assignment table (LDG.LEDGER_ID = LSA.LEDGER_ID(+)).
- GL_LEDGER_SEGMENT_VALUES — supplies the SEGMENT_TYPE_CODE and SEGMENT_VALUE, and is likewise outer-joined (LDG.LEDGER_ID = LSV.LEDGER_ID(+)).
Because both joins to GL_LEDGERS and GL_LEDGER_SEGMENT_VALUES are outer joins, ledger set assignment rows are preserved even when no matching ledger or segment value record exists. The ROW_ID column is derived from GL_LEDGER_SET_ASSIGNMENTS.ROWID, giving each row a unique identifier tied to the assignment record.
Key Columns
- LEDGER_SET_ID — identifier of the ledger set to which the assignment belongs.
- LEDGER_ID — identifier of the ledger assigned to that set.
- BAL_SEG_VALUE_OPTION_CODE — the balance segment value option code defined on the ledger; this is the column directly implicated in the user search term "bal_seg_value_option_code".
- MGT_SEG_VALUE_OPTION_CODE — the equivalent management segment value option code.
- SEGMENT_TYPE_CODE / SEGMENT_VALUE — the segment type and value associated with the ledger via GL_LEDGER_SEGMENT_VALUES.
- START_DATE / END_DATE — effective dating of the ledger set assignment.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN — standard audit (WHO) columns.
Common Use Cases and Queries
Typical scenarios include verifying ledger set membership for cross-ledger reporting, checking the balance segment value option configured on each ledger within a set, and troubleshooting consolidation or inquiry behavior when a ledger appears to be missing from a set.
To list all ledgers in a ledger set with their balance segment option:
SELECT ledger_set_id, ledger_id, bal_seg_value_option_code, segment_type_code, segment_value FROM apps.gl_ledger_set_assignments_v WHERE ledger_set_id = :p_ledger_set_id;
To find assignments currently in effect:
SELECT ledger_set_id, ledger_id, bal_seg_value_option_code FROM apps.gl_ledger_set_assignments_v WHERE TRUNC(SYSDATE) BETWEEN start_date AND NVL(end_date, TRUNC(SYSDATE)+1);
To inspect balance segment value option codes across all assigned ledgers:
SELECT ledger_id, ledger_set_id, bal_seg_value_option_code, mgt_seg_value_option_code FROM apps.gl_ledger_set_assignments_v ORDER BY ledger_set_id, ledger_id;
Because the underlying joins are outer joins, queries should account for possible NULL values in ledger and segment derived columns.
-
View: GL_LEDGER_SET_ASSIGNMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_SET_ASSIGNMENTS_V, object_name:GL_LEDGER_SET_ASSIGNMENTS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGER_SET_ASSIGNMENTS_V ,
-
View: GL_LEDGER_SET_ASSIGNMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_SET_ASSIGNMENTS_V, object_name:GL_LEDGER_SET_ASSIGNMENTS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGER_SET_ASSIGNMENTS_V ,
-
VIEW: APPS.GL_LEDGER_SET_ASSIGNMENTS_V
12.1.1
-
VIEW: GL.GL_XFR_LEDGERS#
12.2.2
-
VIEW: GL.GL_LEDGERS#
12.2.2
-
VIEW: APPS.GL_LEDGER_SET_ASSIGNMENTS_V
12.2.2
-
VIEW: APPS.GL_LEDGER_SET_ASSIGNMENTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_SET_ASSIGNMENTS_V, object_name:GL_LEDGER_SET_ASSIGNMENTS_V, status:VALID,
-
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: APPS.GL_LEDGER_SET_ASSIGNMENTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGER_SET_ASSIGNMENTS_V, object_name:GL_LEDGER_SET_ASSIGNMENTS_V, status:VALID,
-
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_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_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: APPS.GL_LEDGERS_PUBLIC_ALL_V
12.1.1
-
TABLE: XLA.XLA_VALIDATION_HDRS_GT
12.1.1
owner:XLA, object_type:TABLE, object_name:XLA_VALIDATION_HDRS_GT, status:VALID,
-
View: GL_LEDGERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID, product: GL - General Ledger , implementation_dba_data: APPS.GL_LEDGERS_V ,
-
VIEW: APPS.GL_LEDGERS_PUBLIC_ALL_V
12.2.2
-
TABLE: XLA.XLA_VALIDATION_HDRS_GT
12.2.2
owner:XLA, object_type:TABLE, object_name:XLA_VALIDATION_HDRS_GT, status:VALID,
-
VIEW: APPS.GL_LEDGERS_PUBLIC_V
12.1.1
-
VIEW: APPS.GL_LEDGERS_PUBLIC_V
12.2.2
-
VIEW: APPS.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,
-
VIEW: APPS.XLA_SUBLEDGER_OPTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_SUBLEDGER_OPTIONS_V, object_name:XLA_SUBLEDGER_OPTIONS_V, status:VALID,
-
VIEW: APPS.XLA_SUBLEDGER_OPTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_SUBLEDGER_OPTIONS_V, object_name:XLA_SUBLEDGER_OPTIONS_V, status:VALID,
-
VIEW: APPS.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,
-
VIEW: APPS.GL_LEDGERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID,
-
VIEW: GL.GL_XFR_LEDGERS#
12.2.2
owner:GL, object_type:VIEW, object_name:GL_XFR_LEDGERS#, status:VALID,
-
VIEW: APPS.GL_LEDGERS_V
12.1.1
-
VIEW: APPS.GL_LEDGERS_V
12.2.2
-
VIEW: GL.GL_LEDGERS#
12.2.2
owner:GL, object_type:VIEW, object_name:GL_LEDGERS#, status:VALID,
-
VIEW: APPS.GL_LEDGERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_LEDGERS_V, object_name:GL_LEDGERS_V, status:VALID,
-
APPS.GL_FORMSINFO SQL Statements
12.2.2
-
TABLE: GL.GL_XFR_LEDGERS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_XFR_LEDGERS, object_name:GL_XFR_LEDGERS, status:VALID,
-
APPS.GL_FORMSINFO SQL Statements
12.1.1
-
View: XLA_SUBLEDGER_OPTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_SUBLEDGER_OPTIONS_V, object_name:XLA_SUBLEDGER_OPTIONS_V, status:VALID, product: XLA - Subledger Accounting , implementation_dba_data: APPS.XLA_SUBLEDGER_OPTIONS_V ,
-
View: XLA_SUBLEDGER_OPTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_SUBLEDGER_OPTIONS_V, object_name:XLA_SUBLEDGER_OPTIONS_V, status:VALID, product: XLA - Subledger Accounting , implementation_dba_data: APPS.XLA_SUBLEDGER_OPTIONS_V ,
-
VIEW: APPS.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,
-
VIEW: APPS.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,
-
TABLE: GL.GL_LEDGERS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEDGERS, object_name:GL_LEDGERS, status:VALID,
-
APPS.GL_LEDGERS_PKG SQL Statements
12.1.1
-
APPS.GL_LEDGERS_PKG SQL Statements
12.2.2
-
TABLE: GL.GL_LEDGERS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEDGERS, object_name:GL_LEDGERS, status:VALID,
-
APPS.XLA_ACCOUNTING_CACHE_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GL_FORMSINFO
12.1.1
-
PACKAGE BODY: APPS.GL_FORMSINFO
12.2.2
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_CACHE_PKG
12.2.2
-
PACKAGE BODY: APPS.GL_LEDGERS_PKG
12.1.1
-
APPS.XLA_ACCOUNTING_CACHE_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.GL_LEDGERS_PKG
12.2.2
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_CACHE_PKG
12.1.1
-
APPS.XLA_JE_VALIDATION_PKG dependencies on XLA_ACCOUNTING_CACHE_PKG
12.1.1