Search Results pref_hierarchy_id
Overview
APPS.HXC_RESOURCE_PERSONAL_PREF_V is a reporting view within the Oracle E-Business Suite (EBS) resource management schema, part of the framework that governs how individual resources — in this case persons — inherit, expose, and edit their personal preferences. In the 12.1.1 and 12.2.2 releases the view serves as the canonical read model for "personal preferences" attached to a resource, resolving the full hierarchy of preference definitions that apply to a given person based on their resource rules and eligibility criteria.
The view is defined over the preference hierarchy model (HXC_PREF_HIERARCHIES and HXC_PREF_DEFINITIONS), the resource rules engine (HXC_RESOURCE_RULES), the EBS user registry (FND_USER), and the HR assignment view (PER_ASSIGNMENTS_F). Its role in EBS reporting and integration is to flatten the otherwise complex relationship between a person's rule-based eligibility and the set of preferences they may view or edit, so that both internal forms and external integrations can retrieve a person's personal preference set with a single query.
Underlying Base Objects
The view is constructed from five principal sources, joined as follows:
- FND_USER (synonym): provides the login-based identity of the resource. The join condition restricts rules by
eligibility_criteria_type = 'LOGIN'and linkshrr.eligibility_criteria_idtofu.user_id. - HXC_RESOURCE_RULES (synonym): supplies the rule identity,
rule_evaluation_order, rule name,resource_type, and the rootpref_hierarchy_idfor that rule. Only rules withresource_type = 'PERSON'are considered. - HXC_PREF_HIERARCHIES (synonym): stores the preference hierarchy nodes. The view walks the hierarchy using a
START WITH ... CONNECT BY PRIORsubquery, starting from the rule's rootpref_hierarchy_idand descending throughparent_pref_hierarchy_id. This is the central mechanism by which the searched attributepref_hierarchy_idis resolved transitively from a rule to all applicable hierarchy nodes. - HXC_PREF_DEFINITIONS (synonym): joined on
pref_definition_id, providingpref_definition_idand the preferencecodeused for ordering and identification. - PER_ASSIGNMENTS_F (view): joined on
fu.employee_id = pa.person_id, providing theperson_idused as the primary resource identifier.
The documented dependencies also include HR_GENERAL and HR_SECURITY (packages), which supply security and date-effective person context, and are invoked through the standard HR security model on the person/assignment relationship.
Key Columns
PERSON_ID— the person resource identifier derived fromPER_ASSIGNMENTS_F; the primary identifier for the returned rows.RULE_EVALUATION_ORDERand ruleNAME— indicate which resource rule matched and the sequence in which rules should be evaluated, allowing consumers to resolve precedence.PREF_DEFINITION_IDandCODE— identify the preference definition;CODEis the business key used for ordering (ORDER BY hpd.code).EDIT_ALLOWEDandDISPLAYED— flags from the hierarchy node that determine whether the preference may be modified and whether it is presented.NAME— the hierarchy node name, i.e., the display name of the preference.ATTRIBUTE_CATEGORYandATTRIBUTE1throughATTRIBUTE30— the descriptive flexfield (DFF) context and columns, carrying extensibility attributes configured per preference.
Common Use Cases and Queries
The view is typically queried to enumerate a person's effective personal preferences, filter editable preferences, or feed integrations that provision user-facing settings. A representative query is:
SELECT person_id, code, name, edit_allowed, displayed FROM apps.hxc_resource_personal_pref_v WHERE person_id = :p_person_id ORDER BY code;- Find editable preferences only:
SELECT * FROM apps.hxc_resource_personal_pref_v WHERE person_id = :p_person_id AND edit_allowed = 'Y'; - Reconcile rule precedence:
SELECT person_id, rule_evaluation_order, code, name FROM apps.hxc_resource_personal_pref_v WHERE person_id = :p_person_id ORDER BY rule_evaluation_order, code; - Inspect extensible attributes:
SELECT code, attribute_category, attribute1, attribute2 FROM apps.hxc_resource_personal_pref_v WHERE person_id = :p_person_id;
Because the connectivity is anchored on pref_hierarchy_id, any customization must be aware that the view already resolves the full subtree beneath the rule's root hierarchy; applications should not re-walk the hierarchy themselves but should filter on the flattened result. Queries should generally be constrained by person_id or by the responsible rule to avoid full-scan cost, since the CONNECT BY subquery is evaluated against HXC_PREF_HIERARCHIES for every qualifying rule. The view is read-only by design and is intended for reporting, integration provisioning, and diagnostics rather than transactional updates.
-
VIEW: APPS.HXC_RESOURCE_PERSONAL_PREF_V
12.2.2
-
VIEW: HXC.HXC_RESOURCE_RULES#
12.2.2
-
APPS.HXC_HPH_SHD SQL Statements
12.1.1
-
VIEW: APPS.HXC_RESOURCE_PERSONAL_PREF_V
12.1.1
-
APPS.HXC_HPH_SHD SQL Statements
12.2.2
-
APPS.HXC_RESOURCE_PERSONAL_PREF_PKG SQL Statements
12.2.2
-
APPS.HXC_HRR_SHD SQL Statements
12.1.1
-
APPS.HXC_HPH_UPD SQL Statements
12.1.1
-
VIEW: HXC.HXC_PREF_HIERARCHIES#
12.2.2
-
VIEW: APPS.HXC_RESOURCE_ALL_ELIG_PREF_V
12.1.1
-
APPS.HXC_HPH_INS SQL Statements
12.1.1
-
View: HXC_RESOURCE_PERSONAL_PREF_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_PERSONAL_PREF_V, object_name:HXC_RESOURCE_PERSONAL_PREF_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_RESOURCE_PERSONAL_PREF_V ,
-
APPS.HXC_HPH_UPD SQL Statements
12.2.2
-
APPS.HXC_RESOURCE_PERSONAL_PREF_PKG SQL Statements
12.1.1
-
APPS.HXC_HRR_SHD SQL Statements
12.2.2
-
View: HXC_RESOURCE_PERSONAL_PREF_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_PERSONAL_PREF_V, object_name:HXC_RESOURCE_PERSONAL_PREF_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_RESOURCE_PERSONAL_PREF_V ,
-
VIEW: APPS.HXC_RESOURCE_ALL_ELIG_PREF_V
12.2.2
-
APPS.HXC_HPH_INS SQL Statements
12.2.2
-
APPS.HXC_HPH_BUS SQL Statements
12.1.1
-
APPS.HXC_HPH_BUS SQL Statements
12.2.2
-
TABLE: HXC.HXC_RESOURCE_RULES
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_RESOURCE_RULES, object_name:HXC_RESOURCE_RULES, status:VALID,
-
VIEW: HXC.HXC_RESOURCE_RULES#
12.2.2
owner:HXC, object_type:VIEW, object_name:HXC_RESOURCE_RULES#, status:VALID,
-
View: HXC_PREF_HIERARCHIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_PREF_HIERARCHIES_V, object_name:HXC_PREF_HIERARCHIES_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_PREF_HIERARCHIES_V ,
-
View: HXC_RESOURCE_ALL_ELIG_PREF_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_ALL_ELIG_PREF_V, object_name:HXC_RESOURCE_ALL_ELIG_PREF_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_RESOURCE_ALL_ELIG_PREF_V ,
-
VIEW: APPS.HXC_PREF_HIERARCHIES_V
12.1.1
-
VIEW: APPS.HXC_PREF_HIERARCHIES_V
12.2.2
-
View: HXC_PREF_HIERARCHIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_PREF_HIERARCHIES_V, object_name:HXC_PREF_HIERARCHIES_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_PREF_HIERARCHIES_V ,
-
View: HXC_RESOURCE_ALL_ELIG_PREF_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_ALL_ELIG_PREF_V, object_name:HXC_RESOURCE_ALL_ELIG_PREF_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_RESOURCE_ALL_ELIG_PREF_V ,
-
TABLE: HXC.HXC_RESOURCE_RULES
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_RESOURCE_RULES, object_name:HXC_RESOURCE_RULES, status:VALID,
-
PACKAGE BODY: APPS.HXC_PREFERENCE_EVALUATION
12.2.2
-
VIEW: APPS.HXC_RESOURCE_RULES_PERSON_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_RULES_PERSON_V, object_name:HXC_RESOURCE_RULES_PERSON_V, status:VALID,
-
APPS.HXC_PREFERENCE_EVALUATION SQL Statements
12.1.1
-
VIEW: APPS.HXC_RESOURCE_RULES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_RULES_V, object_name:HXC_RESOURCE_RULES_V, status:VALID,
-
APPS.HXC_PREFERENCE_EVALUATION SQL Statements
12.2.2
-
TABLE: HXC.HXC_PREF_HIERARCHIES
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_PREF_HIERARCHIES, object_name:HXC_PREF_HIERARCHIES, status:VALID,
-
Table: HXC_PREF_HIERARCHIES
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_PREF_HIERARCHIES, object_name:HXC_PREF_HIERARCHIES, status:VALID, product: HXC - Time and Labor Engine , description: Preference Hierarchies , implementation_dba_data: HXC.HXC_PREF_HIERARCHIES ,
-
Table: HXC_PREF_HIERARCHIES
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_PREF_HIERARCHIES, object_name:HXC_PREF_HIERARCHIES, status:VALID, product: HXC - Time and Labor Engine , description: Preference Hierarchies , implementation_dba_data: HXC.HXC_PREF_HIERARCHIES ,
-
VIEW: APPS.HXC_RESOURCE_RULES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_RULES_V, object_name:HXC_RESOURCE_RULES_V, status:VALID,
-
VIEW: HXC.HXC_PREF_HIERARCHIES#
12.2.2
owner:HXC, object_type:VIEW, object_name:HXC_PREF_HIERARCHIES#, status:VALID,
-
PACKAGE BODY: APPS.HXC_PREFERENCE_EVALUATION
12.1.1
-
PACKAGE BODY: APPS.HXC_HPH_SHD
12.1.1
-
VIEW: APPS.HXC_RESOURCE_RULES_PERSON_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_RULES_PERSON_V, object_name:HXC_RESOURCE_RULES_PERSON_V, status:VALID,
-
TABLE: HXC.HXC_PREF_HIERARCHIES
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_PREF_HIERARCHIES, object_name:HXC_PREF_HIERARCHIES, status:VALID,
-
APPS.HXC_HRR_UPLOAD_PKG SQL Statements
12.1.1
-
APPS.HXC_SEEDDATA_PKG SQL Statements
12.1.1
-
APPS.HXC_SEEDDATA_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.HXC_HPH_SHD
12.2.2
-
APPS.HXC_HRR_UPLOAD_PKG SQL Statements
12.2.2
-
APPS.HXC_LOAD_PKG SQL Statements
12.2.2
-
VIEW: APPS.HXC_PREF_HIERARCHIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_PREF_HIERARCHIES_V, object_name:HXC_PREF_HIERARCHIES_V, status:VALID,