Search Results pqh_rule_sets_uk
Overview
PQH_RULE_SETS is a table in the HR schema of Oracle E-Business Suite, belonging to the PQH (Public Sector HR) product family. It stores definitions of rule sets, each of which is a container for one or more configurable business rules. In the Oracle EBS framework, rule sets provide the grouping mechanism through which the rules engine evaluates business logic at runtime — for example, determining eligibility, approval routing, or process branching within Public Sector HR flows. A rule set can be scoped to an organization, a business group, or an organization structure, and can also reference another rule set, allowing hierarchical or reuse-oriented composition of rule logic.
From a dimensional modeling perspective, the ETRM metadata classifies this object as satellite-leaning based on its foreign key structure. The table's identity is anchored by a surrogate primary key, while its attributes (names, categorization, applicability, status) describe behavior and scope. This suggests it is best modeled as a satellite attached to an organizational or business-group hub rather than as a standalone hub or a pure link table.
Key Information Stored
The table documents 20 columns in the ETRM 12.2.2 physical schema. The most significant are:
- RULE_SET_ID — the surrogate primary key (PQH_RULE_SETS_PK). This is the internal identifier referenced by dependent tables and rules.
- RULE_SET_NAME and SHORT_NAME — the descriptive name and short identifier for the rule set. SHORT_NAME participates in the unique key PQH_RULE_SETS_UK, making it a business-key candidate alongside RULE_SET_ID.
- REFERENCED_RULE_SET_ID — a self-referencing foreign key allowing one rule set to build upon or inherit from another.
- ORGANIZATION_ID and BUSINESS_GROUP_ID — scope the rule set to a specific organization or business group (both reference HR_ALL_ORGANIZATION_UNITS).
- ORGANIZATION_STRUCTURE_ID — references PER_ORGANIZATION_STRUCTURES, tying the rule set to an organization hierarchy.
- STARTING_ORGANIZATION_ID — identifies the top of the organization scope from which evaluation begins.
- RULE_LEVEL_CD, RULE_CATEGORY, and RULE_APPLICABILITY — classification and applicability attributes that control where and how the rule set is applied.
- SEEDED_RULE_FLAG and STATUS — indicate whether the rule set is Oracle-seeded versus user-defined, and its active/inactive state.
- OBJECT_VERSION_NUMBER — used for optimistic locking during concurrent updates.
- Standard audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) and the ZD_EDITION_NAME column (part of both unique indexes, supporting edition-based redefinition).
Common Use Cases and Queries
Rule sets are typically queried when auditing or troubleshooting rule evaluation, and when reporting on which rules apply to a given organization or business group.
- Listing active rule sets for an organization:
SELECT rule_set_id, rule_set_name, short_name, rule_category FROM pqh_rule_sets WHERE organization_id = :org_id AND status = 'A';
- Finding the rules within a set by joining to PQH_RULES on RULE_SET_ID.
- Resolving rule-set inheritance chains by following REFERENCED_RULE_SET_ID recursively.
- Distinguishing seeded versus custom rule sets for upgrade-impact analysis using SEEDED_RULE_FLAG.
- Reporting on rule applicability by RULE_LEVEL_CD and RULE_APPLICABILITY to identify configuration coverage across business groups.
Related Objects
- PQH_RULES — the primary dependent table; joins via PQH_RULES.RULE_SET_ID = PQH_RULE_SETS.RULE_SET_ID. Each rule set owns one or more rules.
- PQH_RULE_SETS (self) — joined via REFERENCED_RULE_SET_ID to resolve inheritance and reuse.
- HR_ALL_ORGANIZATION_UNITS — joined via ORGANIZATION_ID and BUSINESS_GROUP_ID for organizational scope.
- PER_ORGANIZATION_STRUCTURES — joined via ORGANIZATION_STRUCTURE_ID for hierarchy scope.
- PQH_RULE_SETS_PK / PQH_RULE_SETS_UK — the primary and unique indexes enforcing identity and business-key uniqueness (both include ZD_EDITION_NAME).
-
INDEX: HR.PQH_RULE_SETS_UK
12.1.1
owner:HR, object_type:INDEX, object_name:PQH_RULE_SETS_UK, status:VALID,
-
Table: PQH_RULE_SETS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_RULE_SETS, object_name:PQH_RULE_SETS, status:VALID, product: PQH - Public Sector HR , description: Set of one or more configurable business rule , implementation_dba_data: HR.PQH_RULE_SETS ,
-
INDEX: HR.PQH_RULE_SETS_UK
12.2.2
owner:HR, object_type:INDEX, object_name:PQH_RULE_SETS_UK, status:VALID,
-
TABLE: HR.PQH_RULE_SETS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_RULE_SETS, object_name:PQH_RULE_SETS, status:VALID,
-
Table: PQH_RULE_SETS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_RULE_SETS, object_name:PQH_RULE_SETS, status:VALID, product: PQH - Public Sector HR , description: Set of one or more configurable business rule , implementation_dba_data: HR.PQH_RULE_SETS ,
-
TABLE: HR.PQH_RULE_SETS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_RULE_SETS, object_name:PQH_RULE_SETS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PQH_RST_SHD
12.2.2
-
PACKAGE BODY: APPS.PQH_RST_SHD
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PQH_RST_SHD dependencies on HR_UTILITY
12.1.1
-
APPS.PQH_RST_SHD dependencies on HR_UTILITY
12.2.2
-
APPS.PQH_RST_SHD dependencies on PQH_RULE_SETS
12.2.2
-
APPS.PQH_RST_SHD dependencies on PQH_RULE_SETS
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. ,
-
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. ,
-
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. ,
-
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. ,