Search Results person_num




Overview

EDW_HR_PERSON_PERSONS_LCV is a reporting view in the PER (Human Resources) module of Oracle E-Business Suite, intended for use by the Oracle E-Business Suite Embedded Data Warehouse (EDW) and associated HR analytics. It consolidates person-centric records from multiple source populations — employees, sales representatives, and planners — into a single, denormalized row set suitable for dimensional reporting. The "_LCV" suffix indicates a "List of Values / Consolidated View" style construct used by EDW extraction routines rather than by core application forms.

The view is documented as not implemented in the baseline database. It is therefore a metadata artifact defined for EDW/ETRM reference purposes and is materialized only in environments where the EDW schemas have been deployed. Its role is to present a unified person picture — with display names, instance codes, and role classification flags — for downstream warehouse loading and HR LOV population.

Underlying Base Objects

The ETRM metadata documents no explicit base object list, but the view text reveals its dependents through its UNION ALL structure. The primary sources are:

The view also calls EDW_HR_PERSON_PKG functions — BUYER_FLAG, PLANNER_FLAG, and SALES_REP_FLAG — to derive role indicators per person.

Key Columns

Common Use Cases and Queries

The view is typically queried when building HR person LOVs, warehouse extracts, or role-based population reports. It is especially relevant to searches for planner_flag, since PLANNER_FLAG identifies persons designated as planners.

Example — list all planners in the current instance:

SELECT PERSON_ID, PERSON_NAME, ORGANIZATION_NAME
FROM   EDW_HR_PERSON_PERSONS_LCV
WHERE  PLANNER_FLAG = 'Y';

Example — count persons by role:

SELECT SUM(CASE WHEN BUYER_FLAG      = 'Y' THEN 1 END) AS buy,
       SUM(CASE WHEN PLANNER_FLAG    = 'Y' THEN 1 END) AS plan,
       SUM(CASE WHEN SALES_REP_FLAG  = 'Y' THEN 1 END) AS sales
FROM   EDW_HR_PERSON_PERSONS_LCV;

Planners are joined via MTL_PLANNERS.PLANNER_CODE, so the PLANNER branch yields rows where the planner code, organization, instance code, and literal 'PLANNER' form the composite key. Querying this view avoids writing the multi-branch UNION manually and ensures consistent role flags across HR and inventory reporting.