Search Results hxc_resource_rules_pk




Overview

HXC_RESOURCE_RULES is a table in the HXC schema of Oracle E-Business Suite, belonging to the Time and Labor Engine product. It stores Resource Rules, the configuration records that determine how resources — most commonly people, but potentially other resource types — are evaluated, filtered, and sequenced during time and labor processing. In the Oracle Time and Labor (OTL) architecture, these rules drive eligibility decisions: which resources qualify for a given preference hierarchy, in what evaluation order, and under what effective-dating constraints.

From a heuristic Data Vault modeling perspective, the mined foreign-key structure suggests a satellite-leaning classification. The table's dominant dependency is a single parent reference to HXC_PREF_HIERARCHIES through PREF_HIERARCHY_ID, which is characteristic of descriptive, attribute-bearing detail that hangs off a core parent rather than a many-to-many link construct. This classification should be treated as a modeling suggestion rather than a definitive architectural statement.

Key Information Stored

The documented physical schema in 12.2.2 carries 18 columns, of which the following are the most significant:

Common Use Cases and Queries

Resource rules are queried primarily to diagnose why a resource qualified for (or was excluded from) a preference hierarchy, and to report on active rule configuration. A typical retrieval of active rules for a hierarchy is:

  • SELECT rr.resource_rule_id, rr.name, rr.rule_evaluation_order, rr.resource_type FROM hxc_resource_rules rr WHERE rr.pref_hierarchy_id = :p_id AND trunc(sysdate) BETWEEN rr.start_date AND rr.end_date ORDER BY rr.rule_evaluation_order;
  • Joining to HXC_PREF_HIERARCHIES to resolve the parent hierarchy name for a configuration listing.
  • Filtering by BUSINESS_GROUP_ID and LEGISLATION_CODE for multi-org and localization-aware reporting.
  • Reconciling ELIGIBILITY_CRITERIA_ID values against their criteria source to explain evaluation outcomes.

Because the table is effective-dated, reporting queries should always constrain on START_DATE and END_DATE unless historical rule state is explicitly required. In 12.2.2 environments, queries that must span editions should account for ZD_EDITION_NAME.

Related Objects

  • HXC_PREF_HIERARCHIES — the parent object, joined via HXC_RESOURCE_RULES.PREF_HIERARCHY_ID = HXC_PREF_HIERARCHIES.PREF_HIERARCHY_ID. This is the sole documented foreign-key relationship.
  • HXC_RESOURCE_RULES_PK — the primary key index on (RESOURCE_RULE_ID, ZD_EDITION_NAME), used for direct row retrieval.
  • Preference and eligibility criteria tables referenced indirectly through ELIGIBILITY_CRITERIA_TYPE and ELIGIBILITY_CRITERIA_ID.
  • Time and Labor rule-processing APIs that consume resource rule rows during preference evaluation.
  • Standard OTL concurrent programs and BI Publisher reports that read preference hierarchy configuration.