Results for “valid_code”

14 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The view APPS.HRI_CL_GB_ETHNC_X_V is a Human Resources Intelligence (HRI) extraction view published in the APPS schema. Its role within Oracle E-Business Suite 12.1.1 and 12.2.2 is to supply a cleansed, extraction-ready list of United Kingdom ethnicity codes for downstream HR analytics, data warehousing, and legislative reporting. HRI views of this naming convention (HRI_CL_<country>_<attribute>_X_V) typically feed Oracle HRMS Intelligence and external ETL processes that require a stable, denormalized lookup surface rather than direct access to the transactional lookup table.

The view projects lookup rows into a generic key/value shape (ID, VALUE, DATE_FROM, DATE_TO, VALID_CODE), which allows consuming reports and interfaces to treat ethnicity as a simple dimension. It is important to note that this object is not a transactional entity; it presents reference data only. Any change to the underlying lookup configuration is immediately reflected in the view output, so historical reporting must rely on dated effective ranges rather than the current state alone.

Underlying Base Objects

The view is defined over HR_LOOKUPS (documented as a view), with supporting references to the HR_GENERAL package and DUAL. HR_API is also listed among the referenced base objects.

  • HR_LOOKUPS — the primary source of the ethnicity values, filtered on LOOKUP_TYPE = 'ETH_TYPE' and restricted to enabled rows.
  • HR_GENERAL — supplies the sentinel date constants START_OF_TIME and END_OF_TIME, used to replace null effective dates with wide-boundary values.
  • DUAL — used to synthesize the single hard-coded 'NA_EDW' row representing an unknown or not-applicable ethnicity for the enterprise data warehouse.

The dependence on HR_LOOKUPS means the view inherits the security and configuration behaviour of the lookup framework, while the UNION ALL against DUAL guarantees a permanent default row regardless of lookup maintenance.

Key Columns

  • ID — the lookup code from HR_LOOKUPS.LOOKUP_CODE. This is the business identifier used to key ethnicity in downstream extracts.
  • VALUE — the lookup meaning (HR_LOOKUPS.MEANING), the descriptive label presented to end users and reports. For the synthetic row this is an empty string.
  • DATE_FROM — the effective start date, defaulted to HR_GENERAL.START_OF_TIME when the lookup start date is null.
  • DATE_TO — the effective end date, defaulted to HR_GENERAL.END_OF_TIME when the lookup end date is null.
  • VALID_CODE — derived from ENABLED_FLAG; the synthetic 'NA_EDW' row is always 'Y'.

Common Use Cases and Queries

Typical scenarios include populating an ethnicity dimension in the HR warehouse, validating ethnicity values held on employee records, and driving UK statutory returns where ethnicity is a required attribute. A simple extraction of currently effective codes:

  • SELECT id, value FROM apps.hri_cl_gb_ethnc_x_v WHERE valid_code = 'Y';
  • SELECT id, value, date_from, date_to FROM apps.hri_cl_gb_ethnc_x_v ORDER BY id;
  • Point-in-time reconciliation: SELECT id, value FROM apps.hri_cl_gb_ethnc_x_v WHERE TRUNC(SYSDATE) BETWEEN date_from AND date_to;

Because the view is read-only, it should be consumed rather than modified. Users searching on eth_type should understand that the string is the internal lookup type governing which rows qualify for this view.