Results for “id_flex_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The view APPS.RG_SRS_DSS_HIERARCHIES_V is a reporting and integration object owned by the APPS schema and delivered as part of the RG – Application Report Generator product in Oracle EBS 12.1.1 and 12.2.2. Its documented description is restricted: "10SC ONLY". Despite its classification as a standard database view in the ETRM catalog, the definition is specifically scoped to the 10SC (Tennessee) localization context, meaning it is not intended for general-purpose use across all operating units or legislations.
The view presents a unified list of "hierarchies" usable by the Report Generator for structural report definitions. It combines values drawn from two sources — a literal lookup entry and the customer-side hierarchy repository — exposing each as a consistent four-column shape (NAME, HIERARCHY_ID, ID_FLEX_CODE, ID_FLEX_NUM). This structure lets downstream reporting or integration logic reference hierarchies by their stable numeric identifier rather than by name, which is the key concern when the search term is hierarchy_id.
Underlying Base Objects
The ETRM metadata for 12.2.2 documents two referenced base objects:
- GL_LOOKUPS (VIEW) — the General Ledger lookup view, used here to supply a synthetic "ALL" literal hierarchy row.
- RG_DSS_HIERARCHIES (SYNONYM) — the actual hierarchy repository referenced through a synonym, from which user-defined hierarchies are read.
The view text is a UNION of two SELECT statements. The first branch produces the literal row:
SELECT MEANING NAME, -1 HIERARCHY_ID, 'GL#' ID_FLEX_CODE, -100 ID_FLEX_NUM FROM GL_LOOKUPS WHERE LOOKUP_TYPE = 'LITERAL' AND LOOKUP_CODE = 'ALL'
The second branch reads the genuine hierarchies from RG_DSS_HIERARCHIES:
SELECT NAME, HIERARCHY_ID, ID_FLEX_CODE, ID_FLEX_NUM FROM RG_DSS_HIERARCHIES
The result is a source-independent list where the "ALL" pseudo-hierarchy carries sentinel values (HIERARCHY_ID = -1, ID_FLEX_NUM = -100) so that it can never collide with a real hierarchy identifier.
Key Columns
- NAME — the display name of the hierarchy. For the literal branch this is the lookup
MEANINGfor lookup code 'ALL'; for the repository branch it is the stored hierarchy name. This is the human-readable label presented in Report Generator pick lists. - HIERARCHY_ID — the numeric identifier of the hierarchy. This is the column most frequently referenced in downstream queries and joins. Real hierarchies carry their assigned identifiers; the "ALL" literal row is hard-coded to
-1, serving as a reserved sentinel. Applications filtering by this column should treat-1as the "no specific hierarchy / all hierarchies" selection. - ID_FLEX_CODE — the key flexfield code describing which flexfield the hierarchy applies to. The literal row uses
'GL#', the General Ledger key flexfield. Rows from the repository carry their own flexfield code, allowing a single view to span multiple flexfield contexts. - ID_FLEX_NUM — the numeric identifier of the flexfield structure associated with the hierarchy. The literal "ALL" row uses
-100, another sentinel that cannot match a valid structure number.
Common Use Cases and Queries
The primary use case is populating Report Generator hierarchy selection lists, or driving conditional report logic against a chosen hierarchy. Because HIERARCHY_ID is the stable key, a typical query retrieves the identifier for a named hierarchy:
SELECT hierarchy_id, id_flex_code, id_flex_num FROM apps.rg_srs_dss_hierarchies_v WHERE name = :p_hierarchy_name;
A second pattern collapses the "ALL" case, filtering out the sentinel row when a concrete hierarchy is required:
SELECT hierarchy_id, name FROM apps.rg_srs_dss_hierarchies_v WHERE hierarchy_id > 0 ORDER BY name;
Conversely, code that needs to detect the "all hierarchies" selection checks for the sentinel directly:
SELECT DECODE(hierarchy_id, -1, 'ALL', name) FROM apps.rg_srs_dss_hierarchies_v WHERE id_flex_code = 'GL#';
Because the definition relies on the 10SC localization and on the RG_DSS_HIERARCHIES synonym, usage should be validated against the specific environment and patch level before being embedded in custom concurrent programs or integrations. Where the view is present and valid, it remains the documented, supported means of resolving hierarchy_id values for Report Generator hierarchies.
-
10SC ONLY
APPS.RG_SRS_DSS_HIERARCHIES_V·↳ GL_LOOKUPS·↳ RG_DSS_HIERARCHIES·Explore RG module →
-
Assignment information for flexfield qualifiers
-
Assignment information for flexfield qualifiers
-
View: OKL_FND_APPLICATION_UV 12.2.2
APPS.OKL_FND_APPLICATION_UV·↳ FND_APPLICATION·↳ FND_SHORTHAND_FLEX_ALIASES·Explore OKL module →
-
View: OKL_FND_APPLICATION_UV 12.1.1
APPS.OKL_FND_APPLICATION_UV·↳ FND_APPLICATION·↳ FND_SHORTHAND_FLEX_ALIASES·Explore OKL module →
-
Compiled information about key flexfields
-
A list of existing key flexfield structures
APPS.FND_ID_FLEX_STRUCTURES_V·↳ FND_ID_FLEX_STRUCTURES_VL·Explore FND module →
-
A list of existing key flexfield structures
APPS.FND_ID_FLEX_STRUCTURES_V·↳ FND_ID_FLEX_STRUCTURES_VL·Explore FND module →
-
Compiled information about key flexfield structures
-
Values of flexfield qualifiers for different segments of key flexfield structures
-
Values of flexfield qualifiers for different segments of key flexfield structures
-
View of FND_APPLICATION_UNKNOWN_VIEW, FND_ID_FLEXS, and FND_ID_FLEX_STRUCTURES_VL
APPS.FND_FLEX_SHORTHAND_ALIAS_V·↳ FND_APPLICATION_VL·↳ FND_ID_FLEXS·↳ FND_ID_FLEX_STRUCTURES_VL·Explore FND module →
-
System-defined groupings of related AutoAccounting transactions
-
APPS.RG_REPORT_AXIS_SETS_LOV_V·↳ FND_DATA_SECURITY·↳ FND_GLOBAL·↳ RG_REPORT_AXIS_SETS·Explore RG module →
-
APPS.BIS_FLEX_SEG_MAPPINGS_V·↳ BIS_DIMENSIONS_VL·↳ BIS_FLEX_SEG_MAPPING_LINES·↳ BIS_LEVELS_VL·Explore BIS module →
-
View: RG_REPORT_SET_NAME_V 12.2.2
10SC ONLY
APPS.RG_REPORT_SET_NAME_V·↳ FND_DATA_SECURITY·↳ FND_GLOBAL·↳ RG_REPORT_SETS·Explore RG module →
-
Key flexfield qualifiers
-
View: FND_SEGMENT_NAMES_V 12.2.2
Key flexfield segment names
APPS.FND_SEGMENT_NAMES_V·↳ FND_FLEX_VALUE_SETS·↳ FND_ID_FLEX_SEGMENTS·Explore FND module →
-
View: FND_SEGMENT_NAMES_V 12.1.1
Key flexfield segment names
APPS.FND_SEGMENT_NAMES_V·↳ FND_FLEX_VALUE_SETS·↳ FND_ID_FLEX_SEGMENTS·Explore FND module →
-
10SC ONLY
APPS.RG_SRS_DSS_HIERARCHIES_V·↳ GL_LOOKUPS·↳ RG_DSS_HIERARCHIES·Explore RG module →
-
Translations for FND_FLEX_VALIDATION_RULES
-
Key flexfield cross-validation rules or line detail
-
Translations for FND_FLEX_VALIDATION_RULES
-
EDW_LOCAL_FLEX_SEG_MAPPINGS
-
Cross-validation rule elements for key flexfields
-
Translations for FND_ID_FLEX_SEGMENTS
-
APPS.FND_FLEX_VDATION_RULES_VL·↳ FND_FLEX_VALIDATION_RULES·↳ FND_FLEX_VDATION_RULES_TL·Explore FND module →
-
Workflow to generate flexfield code combinations
-
Flexbuilder functions setup information
-
Statistics on the number of key flexfield cross-validation rules
-
View: RG_REPORT_SET_NAME_V 12.1.1
10SC ONLY
APPS.RG_REPORT_SET_NAME_V·↳ FND_DATA_SECURITY·↳ FND_GLOBAL·↳ RG_REPORT_SETS·Explore RG module →
-
Flexbuilder functions setup information
-
System-defined groupings of related AutoAccounting transactions
-
Key flexfield structure information
-
Compiled information about key flexfields
-
Key flexfield structure information
-
View of FND_VALUE_ATTRIBUTE_TYPES and FND_VAL_ATTRIBUTE_TYPES_TL
APPS.FND_VAL_ATTRIBUTE_TYPES_VL·↳ FND_VALUE_ATTRIBUTE_TYPES·↳ FND_VAL_ATTRIBUTE_TYPES_TL·Explore FND module →
-
Statistics on the number of key flexfield cross-validation rules
-
APPS.RG_REPORT_AXIS_SETS_LOV_V·↳ FND_DATA_SECURITY·↳ FND_GLOBAL·↳ RG_REPORT_AXIS_SETS·Explore RG module →
-
Translations for FND_ID_FLEX_STRUCTURES
-
Translations for FND_VALUE_ATTRIBUTE_TYPES
-
Compiled information about key flexfield structures
-
Key flexfield cross-validation rules or line detail
-
Implementation-defined assignments of AutoAccounting rules to Accounting Flexfield segments
-
Translations for FND_VALUE_ATTRIBUTE_TYPES
-
Key flexfield qualifiers
-
Translations for FND_ID_FLEX_SEGMENTS