Search Results per_gen_hierarchy
Overview
PER_GEN_HIERARCHY is a Human Resources (PER) module table owned by the HR schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores the definition of generic hierarchies used within Oracle HRMS, most notably providing the structural header that calendar entries reference through the HIERARCHY_ID foreign key. The table therefore acts as the parent definition record for time-related hierarchy structures consumed by payroll, absence, and workforce scheduling functionality.
Under the heuristic Data Vault classification derived from its foreign key topology, PER_GEN_HIERARCHY is characterized as satellite-leaning. It holds descriptive attributes and audit information tied to a defined hierarchy rather than serving purely as a link between two business entities. The presence of a small number of inbound references and a single outbound foreign key to HR_ALL_ORGANIZATION_UNITS supports this classification as a modeling suggestion rather than a strict Data Vault designation.
Key Information Stored
The documented physical schema comprises 77 columns. The most operationally significant columns are:
- HIERARCHY_ID — the surrogate primary key, defined by PER_GEN_HIERARCHY_PK. It uniquely identifies each hierarchy record and is the column referenced by dependent tables.
- NAME — the business-meaningful descriptive name of the hierarchy; part of the unique business-key index PER_GEN_HIERARCHY_UK1.
- BUSINESS_GROUP_ID — the foreign key to HR_ALL_ORGANIZATION_UNITS, scoping the hierarchy to a specific business group; also part of the unique business key.
- TYPE — classifies the kind of hierarchy being defined.
- ZD_EDITION_NAME — the editioning column included in the extended primary key, supporting the 12.2 online patching (adop) architecture.
- OBJECT_VERSION_NUMBER — the optimistic locking column used by Oracle Application Framework (OAF) and the HRMS APIs.
- REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE — concurrent program audit columns identifying the request that created or last modified the record.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATION_DATE, CREATED_BY — the standard WHO-column audit trail.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–30 — the descriptive flexfield (DFF) segment storage.
- INFORMATION_CATEGORY, INFORMATION1–30 — the extra information / developer extensibility column set used by HRMS to store additional descriptive details without schema change.
The unique index PER_GEN_HIERARCHY_PK covers (HIERARCHY_ID, ZD_EDITION_NAME), while the business-key candidate PER_GEN_HIERARCHY_UK1 covers NAME and BUSINESS_GROUP_ID. Note that the foreign key relationship is documented from PER_CALENDAR_ENTRIES.HIERARCHY_ID into this table.
Common Use Cases and Queries
Typical scenarios involve resolving a calendar entry to its parent hierarchy, reporting on hierarchy definitions within a business group, and driving validation logic in absence or payroll calendar configuration.
- Retrieving the hierarchy behind a calendar entry:
SELECT h.hierarchy_id, h.name, h.type FROM per_gen_hierarchy h, per_calendar_entries c WHERE c.hierarchy_id = h.hierarchy_id; - Listing all hierarchies for a business group:
SELECT hierarchy_id, name, type FROM per_gen_hierarchy WHERE business_group_id = :p_bg_id ORDER BY name; - Resolving the business group name via the HR_ALL_ORGANIZATION_UNITS join for reporting.
- Auditing records created by a specific concurrent request using REQUEST_ID and PROGRAM_ID.
- Identifying the hierarchy type distribution to support calendar configuration reviews.
Related Objects
- PER_CALENDAR_ENTRIES — references PER_GEN_HIERARCHY through the HIERARCHY_ID foreign key column.
- HR_ALL_ORGANIZATION_UNITS — parent object for the BUSINESS_GROUP_ID foreign key.
- PER_GEN_HIERARCHY_PK / PER_GEN_HIERARCHY_UK1 — primary key and unique indexes enforcing identity and business-key uniqueness.
- HRMS generic hierarchy APIs and the HR_PER_GEN_HIERARCHY combined DFF — process the descriptive and information flexfield columns.
- ZD_EDITION infrastructure objects — support editioning for online patching in 12.2.
-
Table: PER_GEN_HIERARCHY
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.PER_GEN_HIERARCHY, object_name:PER_GEN_HIERARCHY, status:VALID, product: PER - Human Resources , implementation_dba_data: HR.PER_GEN_HIERARCHY ,
-
Table: PER_GEN_HIERARCHY
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.PER_GEN_HIERARCHY, object_name:PER_GEN_HIERARCHY, status:VALID, product: PER - Human Resources , implementation_dba_data: HR.PER_GEN_HIERARCHY ,
-
VIEW: APPS.PER_GEN_HIERARCHY_DFV
12.1.1
-
VIEW: APPS.PER_GEN_HIERARCHY_DFV
12.2.2
-
APPS.PER_PGH_BUS SQL Statements
12.1.1
-
APPS.PER_PGH_BUS SQL Statements
12.2.2
-
SYNONYM: PUBLIC.PER_GEN_HIERARCHY
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PER_GEN_HIERARCHY, status:VALID,
-
TRIGGER: APPS.PER_GEN_HIERARCHY+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PER_GEN_HIERARCHY+, status:VALID,
-
VIEW: APPS.PER_GEN_HIERARCHY1_DFV
12.1.1
-
VIEW: APPS.PER_GEN_HIERARCHY1_DFV
12.2.2
-
TRIGGER: APPS.PER_GEN_HIERARCHY+
12.2.2
-
VIEW: APPS.PQH_DE_CS_GRADES_V
12.1.1
-
VIEW: APPS.PER_CALENDAR_ENTRIES_V
12.1.1
-
VIEW: APPS.PER_CALENDAR_ENTRIES_V
12.2.2
-
VIEW: HR.PER_GEN_HIERARCHY#
12.2.2
owner:HR, object_type:VIEW, object_name:PER_GEN_HIERARCHY#, status:VALID,
-
VIEW: APPS.PQH_DE_CS_GRADES_V
12.2.2
-
VIEW: APPS.HRBV_GEN_HIERARCHY_V
12.1.1
-
VIEW: APPS.PER_CAL_SCOPE_VALUES_V
12.1.1
-
VIEW: APPS.PQH_DE_CIVIL_SERVANTS_V
12.1.1
-
VIEW: APPS.PQH_DE_BLUE_COLLAR_V
12.1.1
-
VIEW: APPS.PQH_DE_WHITE_COLLAR_V
12.2.2
-
VIEW: APPS.PQH_DE_WHITE_COLLAR_V
12.1.1
-
VIEW: APPS.PER_CAL_SCOPE_VALUES_V
12.2.2
-
VIEW: APPS.PQH_DE_CIVIL_SERVANTS_V
12.2.2
-
VIEW: APPS.PQH_DE_BLUE_COLLAR_V
12.2.2
-
VIEW: APPS.HRBV_GEN_HIERARCHY_V
12.2.2
-
APPS.PQH_VER_BUS SQL Statements
12.1.1
-
APPS.PQH_VER_BUS SQL Statements
12.2.2
-
SYNONYM: APPS.PER_GEN_HIERARCHY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_GEN_HIERARCHY, status:VALID,
-
SYNONYM: APPS.PER_GEN_HIERARCHY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PER_GEN_HIERARCHY, status:VALID,
-
FUNCTION: APPS.PER_GEN_HIERARCHY=
12.2.2
-
VIEW: APPS.HRBV_GEN_HIERARCHY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:HRBV_GEN_HIERARCHY_V, status:VALID,
-
Table: PER_CALENDAR_ENTRIES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.PER_CALENDAR_ENTRIES, object_name:PER_CALENDAR_ENTRIES, status:VALID, product: PER - Human Resources , description: Calendar Entries , implementation_dba_data: HR.PER_CALENDAR_ENTRIES ,
-
Table: PER_CALENDAR_ENTRIES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.PER_CALENDAR_ENTRIES, object_name:PER_CALENDAR_ENTRIES, status:VALID, product: PER - Human Resources , description: Calendar Entries , implementation_dba_data: HR.PER_CALENDAR_ENTRIES ,
-
VIEW: APPS.HRIFV_US_FEDREP_GEN_HRCHY
12.1.1
-
VIEW: APPS.HRBV_GEN_HIERARCHY_V
12.2.2
owner:APPS, object_type:VIEW, object_name:HRBV_GEN_HIERARCHY_V, status:VALID,
-
VIEW: APPS.PQH_DE_RR_GRADE1_V
12.2.2
-
FUNCTION: APPS.PER_GEN_HIERARCHY=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:PER_GEN_HIERARCHY=, status:VALID,
-
VIEW: APPS.HRIFV_US_FEDREP_GEN_HRCHY
12.2.2
-
APPS.PQH_DE_OPR_GRP SQL Statements
12.1.1
-
VIEW: APPS.PQH_DE_RR_GRADE1_V
12.1.1
-
APPS.PQH_DE_OPR_GRP SQL Statements
12.2.2
-
VIEW: APPS.PQH_DE_RR_CASE_GROUP1_V
12.1.1
-
VIEW: APPS.PQH_DE_RR_CASE_GROUP1_V
12.2.2
-
VIEW: APPS.PQH_DE_RR_GRADE2_V
12.1.1
-
VIEW: APPS.PQH_DE_RR_GRADE2_V
12.2.2
-
TRIGGER: APPS.PER_GEN_HIERARCHY_WHO
12.1.1
owner:APPS, object_type:TRIGGER, object_name:PER_GEN_HIERARCHY_WHO, status:VALID,
-
PACKAGE BODY: APPS.PER_PGH_SHD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PER_PGH_SHD, status:VALID,
-
View: PQH_DE_CS_GRADES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_DE_CS_GRADES_V, object_name:PQH_DE_CS_GRADES_V, status:VALID, product: PQH - Public Sector HR , implementation_dba_data: APPS.PQH_DE_CS_GRADES_V ,
-
PACKAGE BODY: APPS.PQH_DE_OPR_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_DE_OPR_GRP, status:VALID,