Search Results pqh_corps_ways
Overview
The APPS.PQH_CORPS_RULES_V view is a read-only reporting and integration object within the Oracle E-Business Suite HRMS (Human Resource Management System) schema, specifically belonging to the Public Sector / Corps component of Oracle Payroll and HR. It exposes a filtered and decoded projection of rule definitions stored in the CORPS extra information repository. As its name suggests, the view isolates rows where INFORMATION_TYPE = 'RULES', providing a semantic layer on top of a generic key-value extra information table. Rather than requiring consumers to interpret raw code values, the view applies HR_GENERAL.DECODE_LOOKUP to translate internal lookup codes into human-readable meanings. This makes it well suited to concurrent program reports, OAF-based pages, Oracle Forms LOVs, and third-party integrations that must present Corps rule configuration in business terminology. The view is defined in the APPS schema and adheres to standard EBS object versioning via the OBJECT_VERSION_NUMBER column, supporting optimistic locking in self-service or ADF-based extensions.
Underlying Base Objects
The view is defined over a single base object and one PL/SQL package, as documented in the ETRM metadata:
- PQH_CORPS_EXTRA_INFO (SYNONYM) — The sole physical source of rows. This is a synonym, typically resolving to the base extra-information table that stores descriptive flexfield-style attribute pairs (INFORMATION1 through INFORMATIONn) keyed by
CORPS_DEFINITION_IDandCORPS_EXTRA_INFO_ID. Only rows bearingINFORMATION_TYPE = 'RULES'are returned. - HR_GENERAL (PACKAGE) — Referenced solely through its
DECODE_LOOKUPfunction. This package call is invoked three times within the SELECT list to decode thePQH_CORPS_WAYS,PQH_CORPS_WAYS_CRITERIA, andFREQUENCYlookup types.
Because the view depends on HR_GENERAL.DECODE_LOOKUP, any lookup type or lookup code maintenance performed in the application's Lookups form immediately affects the values returned. No join to a Corps definition header table is performed inside the view; consumers needing descriptive Corps context must join to the primary definition entity externally on CORPS_DEFINITION_ID.
Key Columns
- CORPS_DEFINITION_ID — Foreign key to the parent Corps definition, grouping all rule rows belonging to a single configuration.
- CORPS_EXTRA_INFO_ID — Primary identifier of the underlying extra-information row. Together with the definition ID this uniquely identifies a rule.
- OBJECT_VERSION_NUMBER — Standard EBS optimistic-locking token.
- INFORMATION_TYPE — Always the literal
'RULES'in this view; included for clarity and union compatibility. - JOINING_WAY / JOINING_WAY_CD — The decoded and coded forms of
INFORMATION3, resolved via thePQH_CORPS_WAYSlookup, indicating the method by which a member joins the Corps rule. - SITUATION / SITUATION_CD — The decoded and coded forms of
INFORMATION4, resolved viaPQH_CORPS_WAYS_CRITERIA, describing the qualifying condition under which the rule applies. - VALUE — The free-form value held in
INFORMATION5, supplying the threshold or parameter tied to the situation. - UOM / UOM_DESC — The coded unit of measure from
INFORMATION6and its decoded description via theFREQUENCYlookup. - MANDATORY_FLAG — Flag stored in
INFORMATION7, indicating whether the rule is mandatory.
Common Use Cases and Queries
Typical applications include Corps eligibility reporting, rule configuration audits, and integration feeds to downstream systems. A representative query listing all decoded rules for a definition follows:
SELECT joining_way, situation, value, uom_desc, mandatory_flag FROM apps.pqh_corps_rules_v WHERE corps_definition_id = :p_def_id ORDER BY situation;- To count mandatory rules per definition:
SELECT corps_definition_id, COUNT(*) FROM apps.pqh_corps_rules_v WHERE mandatory_flag = 'Y' GROUP BY corps_definition_id; - To reconcile raw codes against decoded descriptions during data migration validation:
SELECT joining_way_cd, joining_way, situation_cd, situation FROM apps.pqh_corps_rules_v;
Because the view applies lookup decoding at runtime, performance-sensitive batch processes should consider materializing results or querying the underlying PQH_CORPS_EXTRA_INFO synonym directly when decoding is unnecessary.
-
Lookup Type: PQH_CORPS_WAYS
12.2.2
product: PQH - Public Sector HR , meaning: PQH_CORPS_WAYS ,
-
Lookup Type: PQH_CORPS_WAYS
12.1.1
product: PQH - Public Sector HR , meaning: PQH_CORPS_WAYS ,
-
VIEW: APPS.PQH_CORPS_RULES_V
12.2.2
-
VIEW: APPS.PQH_CORPS_RULES_V
12.1.1
-
VIEW: APPS.PQH_CORPS_EXAMS_V
12.2.2
-
VIEW: APPS.PQH_CORPS_EXAMS_V
12.1.1
-
VIEW: APPS.PQH_CORPS_TRAININGS_V
12.2.2
-
VIEW: APPS.PQH_CORPS_TRAININGS_V
12.1.1
-
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_EXAMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_EXAMS_V, object_name:PQH_CORPS_EXAMS_V, status:VALID, product: PQH - Public Sector HR , description: Corp Exam View , implementation_dba_data: APPS.PQH_CORPS_EXAMS_V ,
-
View: PQH_CORPS_EXAMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_EXAMS_V, object_name:PQH_CORPS_EXAMS_V, status:VALID, product: PQH - Public Sector HR , description: Corp Exam View , implementation_dba_data: APPS.PQH_CORPS_EXAMS_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 ,
-
View: PQH_CORPS_TRAININGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_TRAININGS_V, object_name:PQH_CORPS_TRAININGS_V, status:VALID, product: PQH - Public Sector HR , implementation_dba_data: APPS.PQH_CORPS_TRAININGS_V ,
-
View: PQH_CORPS_TRAININGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PQH.PQH_CORPS_TRAININGS_V, object_name:PQH_CORPS_TRAININGS_V, status:VALID, product: PQH - Public Sector HR , implementation_dba_data: APPS.PQH_CORPS_TRAININGS_V ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.PQH_CORPS_EXTRA_INFO_API
12.1.1
-
PACKAGE BODY: APPS.PQH_CORPS_EXTRA_INFO_API
12.2.2
-
APPS.PQH_CORPS_EXTRA_INFO_API dependencies on HR_MULTI_MESSAGE
12.2.2
-
APPS.PQH_CORPS_EXTRA_INFO_API dependencies on HR_MULTI_MESSAGE
12.1.1
-
APPS.PQH_CORPS_EXTRA_INFO_API dependencies on HR_UTILITY
12.1.1
-
APPS.PQH_CORPS_EXTRA_INFO_API dependencies on HR_UTILITY
12.2.2
-
APPS.PQH_CORPS_EXTRA_INFO_API dependencies on HR_API
12.1.1
-
APPS.PQH_CORPS_EXTRA_INFO_API dependencies on HR_API
12.2.2