Search Results hier_version_status_code




Overview

The view APPS.HRIFV_US_FEDREP_GEN_HRCHY is a reporting and integration object within the Oracle E-Business Suite Human Resources (HR) module. It is documented as part of the FND design data under the product short name HRI (Oracle HRMS Intelligence / HR Reporting) and carries a status of VALID in both the 12.1.1 and 12.2.2 releases. The view presents flattened, denormalized data describing generic hierarchies and their associated hierarchy versions and nodes, with a specific orientation toward United States federal reporting requirements, as indicated by the US_FEDREP component of its name.

The central purpose of this view is to expose hierarchy version metadata — including version number, effective dates, and status — alongside the entity and node structure that those versions describe. Because the view joins hierarchy summaries to organization, location, and node detail sources, it allows consumers to resolve a hierarchy version's HIER_VERSION_STATUS_CODE and its corresponding translated status value without writing complex multi-table joins against the underlying transactional tables.

Per Oracle's standard warning on internal objects, this view is designated Oracle Internal Use Only, and Oracle Corporation does not support direct access to Oracle applications data through it except from standard Oracle Applications programs. Developers and integrators constructing custom reports should therefore treat the view as a convenience read-only projection whose column set and semantics may change between release levels.

Underlying Base Objects

The view is defined over a mixture of synonyms and PL/SQL packages. The documented base objects are:

The presence of the package references explains why several descriptive columns (for example HIER_VERSION_STATUS and NODE_TYPE) carry a length of 4000 — they are computed values rather than stored column lookups.

Key Columns

Common Use Cases and Queries

Typical scenarios involve determining which hierarchy versions are currently active, auditing version history by date, and producing federal reporting extracts that require organization and location context. The following query returns active hierarchy versions and their nodes.

SELECT hierarchy_name, hierarchy_version_number, hier_version_status_code, hier_version_status, node_name, node_long_name FROM apps.hrifv_us_fedrep_gen_hrchy WHERE hier_version_status_code = 'ACTIVE' AND business_group_id = :p_bg_id ORDER BY hierarchy_name, hierarchy_version_number, entity_level;

To identify versions in force on a given date, the non-null end-date column is used for symmetrical comparison:

SELECT hierarchy_id, hierarchy_version_id, hierarchy_version_number, hierarchy_version_date_from, hier_version_date_to_nn FROM apps.hrifv_us_fedrep_gen_hrchy WHERE TRUNC(:p_effective_date) BETWEEN hierarchy_version_date_from AND hier_version_date_to_nn;

When querying this view, exclude the _DF: design-data columns, filter by BUSINESS_GROUP_ID to respect multi-organization security, and rely on the coded columns for logic while using the 4000-length descriptive columns only for display.