Search Results gl_legal_entities_bsvs
Overview
GL_LEGAL_ENTITIES_BSVS is a General Ledger (GL) schema table that stores the assignment of balancing segment values to legal entities within Oracle E-Business Suite. In Oracle EBS, a legal entity represents a distinct organization for legal and tax reporting purposes, and each legal entity must be associated with one or more balancing segment values (typically the company segment of the Accounting Flexfield). This table captures those associations, together with effective dating, so that transactions and journal entries can be attributed to the correct legal entity based on the balancing segment value entered.
The object resides in the GL schema and is marked VALID in the referenced release metadata. The table contains ten documented columns and is referenced by foreign keys pointing to FND_FLEX_VALUE_SETS (via FLEX_VALUE_SET_ID) and FV_LEGAL_ENTITIES (via LEGAL_ENTITY_ID). Under a heuristic Data Vault classification, the mined FK structure suggests a satellite-leaning pattern: the table records descriptive, effective-dated attributes attached to a legal entity business key rather than acting as a pure hub or link.
Key Information Stored
The table’s business-key candidate is defined by the unique index GL_LEGAL_ENTITIES_BSVS_U1, comprising three columns: LEGAL_ENTITY_ID, FLEX_VALUE_SET_ID, and FLEX_SEGMENT_VALUE. Together these identify the specific balancing segment value assigned to a legal entity within a given value set.
- LEGAL_ENTITY_ID – Identifies the legal entity; foreign key to FV_LEGAL_ENTITIES.
- FLEX_VALUE_SET_ID – Identifies the key flexfield value set containing the balancing segment; foreign key to FND_FLEX_VALUE_SETS.
- FLEX_SEGMENT_VALUE – The balancing segment value (company code) assigned to the legal entity.
- START_DATE and END_DATE – Effective dating range during which the assignment is active.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN – Audit columns capturing the most recent modification.
- CREATION_DATE, CREATED_BY – Audit columns capturing initial insertion.
No separate single-column surrogate primary key is documented; the uniqueness guarantee is provided by the composite unique index above. The table functions primarily as a satellite of the legal entity, holding the balancing segment assignment attributes.
Common Use Cases and Queries
Typical uses include validating that a balancing segment value maps to a legal entity, reporting legal entity assignments for a period, and resolving the legal entity for posted journals. The following pattern lists active assignments for a value set:
- SELECT b.legal_entity_id, b.flex_segment_value, b.start_date, b.end_date FROM gl_legal_entities_bsvs b WHERE b.flex_value_set_id = :value_set_id AND TRUNC(SYSDATE) BETWEEN b.start_date AND NVL(b.end_date, TRUNC(SYSDATE));
- Joining to FV_LEGAL_ENTITIES to retrieve entity names for reporting.
- Joining to FND_FLEX_VALUE_SETS (or FND_FLEX_VALUES) to translate segment values into descriptions.
- Reconciling journals in GL_JE_LINES to the legal entity via the balancing segment value.
Because the table is effective-dated, queries should constrain START_DATE and END_DATE to avoid returning multiple historical rows for the same legal entity and value combination.
Related Objects
- FV_LEGAL_ENTITIES – Referenced via LEGAL_ENTITY_ID; provides the legal entity master definition.
- FND_FLEX_VALUE_SETS – Referenced via FLEX_VALUE_SET_ID; defines the value set containing the balancing segment.
- FND_FLEX_VALUES – Holds the individual segment values and their descriptions.
- GL_JE_LINES and GL_JE_HEADERS – Journal data attributed to legal entities through the balancing segment.
- GL_LEDGERS – Defines ledgers whose balancing segment assignments relate to legal entities.
- XLE_ENTITY_PROFILES – Legal entity profile information in the legal entity model.
Together these objects support the mapping between accounting flexfield balancing segments and the legal entities used for statutory and management reporting in Oracle EBS 12.1.1 and 12.2.2.
-
Table: GL_LEGAL_ENTITIES_BSVS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEGAL_ENTITIES_BSVS, object_name:GL_LEGAL_ENTITIES_BSVS, status:VALID, product: GL - General Ledger , description: Legal entity balancing segment value assignments. , implementation_dba_data: GL.GL_LEGAL_ENTITIES_BSVS ,
-
Table: GL_LEGAL_ENTITIES_BSVS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEGAL_ENTITIES_BSVS, object_name:GL_LEGAL_ENTITIES_BSVS, status:VALID, product: GL - General Ledger , description: Legal entity balancing segment value assignments. , implementation_dba_data: GL.GL_LEGAL_ENTITIES_BSVS ,
-
VIEW: GL.GL_LEGAL_ENTITIES_BSVS#
12.2.2
owner:GL, object_type:VIEW, object_name:GL_LEGAL_ENTITIES_BSVS#, status:VALID,
-
SYNONYM: APPS.GL_LEGAL_ENTITIES_BSVS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_LEGAL_ENTITIES_BSVS, status:VALID,
-
SYNONYM: APPS.GL_LEGAL_ENTITIES_BSVS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_LEGAL_ENTITIES_BSVS, status:VALID,
-
TABLE: GL.GL_LEGAL_ENTITIES_BSVS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEGAL_ENTITIES_BSVS, object_name:GL_LEGAL_ENTITIES_BSVS, status:VALID,
-
VIEW: GL.GL_LEGAL_ENTITIES_BSVS#
12.2.2
-
TABLE: GL.GL_LEGAL_ENTITIES_BSVS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEGAL_ENTITIES_BSVS, object_name:GL_LEGAL_ENTITIES_BSVS, status:VALID,
-
APPS.JA_CN_SYSOPS_BANK_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.JA_CN_SYSOPS_BANK_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_CN_SYSOPS_BANK_PKG, status:VALID,
-
Table: FND_FLEX_VALUE_SETS
12.1.1
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.FND_FLEX_VALUE_SETS, object_name:FND_FLEX_VALUE_SETS, status:VALID, product: FND - Application Object Library , description: Value sets used by both key and descriptive flexfields , implementation_dba_data: APPLSYS.FND_FLEX_VALUE_SETS ,
-
Table: FND_FLEX_VALUE_SETS
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.FND_FLEX_VALUE_SETS, object_name:FND_FLEX_VALUE_SETS, status:VALID, product: FND - Application Object Library , description: Value sets used by both key and descriptive flexfields , implementation_dba_data: APPLSYS.FND_FLEX_VALUE_SETS ,
-
PACKAGE BODY: APPS.GL_LEDGERS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GL_LEDGERS_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.JA_CN_SYSOPS_BANK_PKG
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.JA_CN_SYSOPS_BANK_PKG dependencies on GL_LEGAL_ENTITIES_BSVS
12.2.2
-
APPS.GL_LEDGERS_PKG dependencies on GL_LEGAL_ENTITIES_BSVS
12.2.2
-
APPS.JA_CN_SYSOPS_BANK_PKG dependencies on FND_FLEX_VALUE_SETS
12.2.2
-
APPS.JA_CN_SYSOPS_BANK_PKG dependencies on FND_FLEX_VALUES_VL
12.2.2
-
APPS.GL_LEDGERS_PKG SQL Statements
12.2.2
-
APPS.GL_LEDGERS_PKG dependencies on GL_LEDGER_NORM_SEG_VALS
12.2.2
-
APPS.GL_LEDGERS_PKG dependencies on GL_LEDGERS
12.2.2
-
PACKAGE BODY: APPS.GL_LEDGERS_PKG
12.2.2
-
eTRM - SQLGL Tables and Views
12.2.2
description: This table contains the tracking information that Golden Gate will use to launch Journal Import. ,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
12.2.2 DBA Data
12.2.2
-
eTRM - SQLGL Tables and Views
12.2.2
description: This table contains the tracking information that Golden Gate will use to launch Journal Import. ,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
12.1.1 DBA Data
12.1.1