Search Results preference_name
Overview
HXC_PREF_HIERARCHIES_V is an APPS-owned database view in the Oracle E-Business Suite Time and Labor Engine (HXC) product family. It exposes preference hierarchy definitions used by Time and Labor and related modules to organize preference definitions into parent-child structures. Preference hierarchies control how preferences are grouped, inherited, and presented to end users, and they are central to the configuration of timecard, overtime, and rule-based preference processing. The view is documented as VALID and is available in both EBS 12.1.1 and 12.2.2.
Because the object is a view rather than a table, it is intended primarily for read-only reporting and integration. It denormalizes hierarchy rows from HXC_PREF_HIERARCHIES and enriches each row with the resolved preference name drawn from the Descriptive Flexfield context definitions, allowing report authors and interface developers to work with a single queryable source. The PREFERENCE_NAME column, which the user searched for, is a derived column in this view, not a preserved column of the base table.
Underlying Base Objects
Per the documented ETRM metadata, the view is defined over three referenced objects:
- HXC_PREF_HIERARCHIES (synonym) — the driving table, aliased HPH in the view text. It supplies all hierarchy attributes, including identifiers, parent linkage, business group, legislation, and the 30 descriptive flexfield attribute columns.
- HXC_PREF_DEFINITIONS (synonym) — joined to resolve the descriptive flexfield context code for each preference definition.
- FND_DESCR_FLEX_CONTEXTS_VL (view) — the DFF context value set view, filtered to
APPLICATION_ID = 809andDESCRIPTIVE_FLEXFIELD_NAME = 'OTC PREFERENCES'. The context code is matched againstHXC_PREF_DEFINITIONS.CODEto produceDESCRIPTIVE_FLEX_CONTEXT_NAME.
Two scalar subqueries are therefore embedded in the view: a self-referencing lookup for PARENT_PREF_HIERARCHY, and the DFF-based lookup for PREFERENCE_NAME. Both are correlated on the outer HPH row.
Key Columns
The view exposes the full column set of HXC_PREF_HIERARCHIES plus two derived columns.
- PREF_HIERARCHY_ID — primary identifier of the hierarchy row.
- PREF_HIERARCHY — the descriptive name of the hierarchy (aliased from NAME).
- TYPE — classifies the hierarchy record.
- BUSINESS_GROUP_ID — multi-tenant business group ownership.
- LEGISLATION_CODE — the legislative context under which the hierarchy applies.
- PARENT_PREF_HIERARCHY_ID / PARENT_PREF_HIERARCHY — the parent hierarchy identifier and its resolved name, supporting tree traversal.
- PREF_DEFINITION_ID — the linked preference definition.
- PREFERENCE_NAME — the descriptive flexfield context name for the preference, returned by the correlated subquery on FND_DESCR_FLEX_CONTEXTS_VL; this is the column most relevant to the user's search term.
- EDIT_ALLOWED / DISPLAYED — flags governing whether the hierarchy may be edited or shown.
- TOP_LEVEL_PARENT_ID / CODE / ORIG_PREF_HIERARCHY_ID — root, code, and original-source identifiers.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE30 — the descriptive flexfield attribute segment columns.
- OBJECT_VERSION_NUMBER, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard audit and concurrency columns.
Common Use Cases and Queries
The view is typically used to report or validate preference hierarchy configuration, to list hierarchies by legislation or business group, and to resolve the display name of a preference from its DFF context during integration. A representative query filters on the searched column:
SELECT PREF_HIERARCHY_ID, PREF_HIERARCHY, PREFERENCE_NAME, LEGISLATION_CODE
FROM APPS.HXC_PREF_HIERARCHIES_V
WHERE PREFERENCE_NAME IS NOT NULL
AND BUSINESS_GROUP_ID = :p_bg_id;
A second pattern walks the parent linkage to build the hierarchy tree by self-joining on PREF_HIERARCHY_ID and PARENT_PREF_HIERARCHY_ID, using PARENT_PREF_HIERARCHY for display. Because PREFERENCE_NAME depends on a DFF context match, feeds that require a guaranteed value should filter or coalesce accordingly, since the view returns NULL when no matching context exists.
-
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_ELIG_PREF_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_ELIG_PREF_V, object_name:HXC_RESOURCE_ELIG_PREF_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_RESOURCE_ELIG_PREF_V ,
-
View: HXC_RESOURCE_ELIG_PREF_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_RESOURCE_ELIG_PREF_V, object_name:HXC_RESOURCE_ELIG_PREF_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_RESOURCE_ELIG_PREF_V ,
-
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.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 ,
-
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 ,