Search Results pqh_corps_rules_v
Overview
PQH_CORPS_RULES_V is an APPS-owned database view within the Public Sector HR (PQH) module of Oracle E-Business Suite, available in both 12.1.1 and 12.2.2. The view exposes a decoded, presentation-ready projection of the Corps rules configuration stored in the underlying extra information table. Its status is VALID and it is documented in ETRM as the "Corp Rules View."
Functionally, the view provides a business-friendly abstraction over raw code-based configuration. Rather than requiring consumers to interpret lookup codes directly, PQH_CORPS_RULES_V translates stored codes into descriptive values using the HR_GENERAL.DECODE_LOOKUP API. The view filters the base data so that only rows of INFORMATION_TYPE = 'RULES' are returned, isolating the rules-configured attributes from the other extra-information categories that share the same table. This makes the view suitable for reporting, OBIEE/BI Publisher extracts, custom concurrent programs, and integration layers that need to surface corps rule definitions without embedding decode logic in each consumer.
Underlying Base Objects
The view is defined over a single synonym, PQH_CORPS_EXTRA_INFO, which resolves to the extra-information entity in the PQH schema, in combination with the HR_GENERAL package. The ETRM metadata lists the referenced base objects as HR_GENERAL (PACKAGE) and PQH_CORPS_EXTRA_INFO (SYNONYM).
The HR_GENERAL package participates through its DECODE_LOOKUP function, which is invoked three times in the view text to resolve lookup meanings for the joining way, situation, and frequency/UOM columns. The PQH_CORPS_EXTRA_INFO table supplies the core attribute columns (CORPS_DEFINITION_ID, CORPS_EXTRA_INFO_ID, OBJECT_VERSION_NUMBER, INFORMATION_TYPE, and INFORMATION3 through INFORMATION7). Because the view joins to the lookup decode logic rather than storing redundant descriptive columns, the descriptive values always reflect the current lookup configuration at query time.
Key Columns
The view exposes twelve columns. The primary identifiers and versioning columns are:
CORPS_DEFINITION_ID— foreign key linking the rule row to its parent Corps definition.CORPS_EXTRA_INFO_ID— the unique identifier of the extra-information record.OBJECT_VERSION_NUMBER— optimistic locking/versioning indicator used by the underlying entity.INFORMATION_TYPE— always'RULES'for rows visible through this view.
The decoded rule attributes, paired with their source codes, include:
JOINING_WAYandJOINING_WAY_CD— the descriptive and coded values of the joining method, decoded from thePQH_CORPS_WAYSlookup applied toINFORMATION3. This is the column that corresponds to the user's search term "pqh_corps_ways."SITUATIONandSITUATION_CD— the descriptive and coded values of the rule situation, decoded from thePQH_CORPS_WAYS_CRITERIAlookup applied toINFORMATION4.VALUE— the rule value held inINFORMATION5.UOMandUOM_DESC— the unit-of-measure code (INFORMATION6) and its descriptive meaning decoded from theFREQUENCYlookup.MANDATORY_FLAG— indicates whether the rule is mandatory, held inINFORMATION7.
Common Use Cases and Queries
The view is typically queried to report or extract the rules governing a Corps definition. A basic query retrieves all decoded rules for a given definition:
SELECT corps_definition_id, joining_way, situation, value, uom_desc, mandatory_flag FROM apps.pqh_corps_rules_v WHERE corps_definition_id = :p_definition_id;
A common validation scenario filters on mandatory rules to confirm configuration completeness:
SELECT joining_way, situation, value, uom_desc FROM apps.pqh_corps_rules_v WHERE mandatory_flag = 'Y' ORDER BY joining_way, situation;
Because the descriptive columns are resolved through HR_GENERAL.DECODE_LOOKUP, results reflect current lookup values; integration consumers that require stability should key off the coded columns (JOINING_WAY_CD, SITUATION_CD, UOM) rather than the decoded text. Typical uses include BI Publisher rule reports, custom concurrent program extracts into staging tables, and diagnostic queries that verify that a Corps definition carries the expected set of joining ways and criteria.
-
View: PQH_CORPS_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_RULES_V, object_name:PQH_CORPS_RULES_V, status:VALID, product: PQH - Public Sector HR , description: Corp Rules View , implementation_dba_data: APPS.PQH_CORPS_RULES_V ,
-
View: PQH_CORPS_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_RULES_V, object_name:PQH_CORPS_RULES_V, status:VALID, product: PQH - Public Sector HR , description: Corp Rules View , implementation_dba_data: APPS.PQH_CORPS_RULES_V ,
-
SYNONYM: PUBLIC.PQH_CORPS_RULES_V
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PQH_CORPS_RULES_V, status:VALID,
-
VIEW: APPS.PQH_CORPS_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_RULES_V, object_name:PQH_CORPS_RULES_V, status:VALID,
-
SYNONYM: APPS.PQH_CORPS_EXTRA_INFO
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_CORPS_EXTRA_INFO, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.PQH_CORPS_EXTRA_INFO
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_CORPS_EXTRA_INFO, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.PQH_CORPS_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_RULES_V, object_name:PQH_CORPS_RULES_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
eTRM - PQH Tables and Views
12.1.1
description: This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process. ,
-
PACKAGE: APPS.HR_GENERAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
PACKAGE: APPS.HR_GENERAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_GENERAL, status:VALID,
-
eTRM - PQH Tables and Views
12.2.2
description: This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process. ,
-
eTRM - PQH Tables and Views
12.1.1
description: This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - PQH Tables and Views
12.2.2
description: This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process. ,