Results for “p_attribute”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
HXC_HPH_UPLOAD_PKG is an Oracle E-Business Suite PL/SQL package owned by the APPS schema that supports the upload and maintenance of preference hierarchy (HPH) records within the Oracle Time and Labor / HXC preference framework. It is defined with AUTHID CURRENT_USER, meaning it executes with the privileges of the calling user rather than the package owner, and it is classified as an OTHER API rather than a supported public interface. The package header carries a CVS identifer string (hxchphupl.pkh 115.6, dated 2002/06/10), reflecting its long-standing presence in the EBS code line and its stability across releases 12.1.1 and 12.2.2.
The primary business purpose of the package is to load preference hierarchy rows into the HXC preference model, translating externally supplied data — typically staged rows from a data migration, a spreadsheet-based upload, or an interface file — into valid preference hierarchy definitions. It also exposes helper functions that resolve internal identifiers into their human-readable names and derive parent-child relationships within the hierarchy. In practice this package is used during preference configuration, during bulk setup of Time and Labor preferences, and during upgrades or data conversions where existing preference hierarchies must be recreated in a target environment.
Key Procedures and Functions
- LOAD_HPH_ROW — The core upload procedure. It accepts a preference row consisting of the preference name, legislation code, parent name, type, edit-allowed and displayed flags, the referenced preference definition name, an attribute category, thirty descriptor attributes (attribute1 through attribute30), an owner, and a custom-mode indicator. Its purpose is to validate and persist a single preference hierarchy row, establishing the hierarchy linkage through the parent name and associating the row with its preference definition.
- GET_PREF_DEF_NAME — A function that accepts a preference definition identifier and returns the corresponding preference definition name. This is the object referenced by the search term "get_pref_def_name", and it is used to translate numeric preference definition IDs into the descriptive names expected by LOAD_HPH_ROW and by preference configuration screens.
- GET_ATTRIBUTE — A function that accepts an attribute category and an attribute name and returns the attribute value. It provides a generic mechanism for resolving descriptive flexfield attribute values associated with a preference hierarchy row, allowing callers to look up individual attributes without hard-coding the thirty positional parameters of LOAD_HPH_ROW.
- GET_PARENT — A function that accepts a preference top node, a preference node, a preference level, and a count, and returns the parent value for the node. It is used to resolve hierarchical relationships within the preference tree, typically to determine the correct parent when building or validating a preference hierarchy.
Tables Accessed
The package operates against the core HXC preference and Time and Labor configuration tables through APPS synonyms. The primary target is HXC_PREF_HIERARCHIES, which stores the preference hierarchy rows inserted or updated by LOAD_HPH_ROW. HXC_PREF_DEFINITIONS holds the preference definition records that GET_PREF_DEF_NAME reads and that the upload procedure references by name. HXC_ALIAS_DEFINITIONS supports alias resolution for preference values. HXC_LAYOUTS and HXC_ENTITY_GROUPS, together with HXC_ENTITY_GROUP_COMPS, provide the layout and entity group structure into which preferences are placed. HXC_APPROVAL_STYLES, HXC_APPROVAL_PERIOD_SETS, and HXC_RECURRING_PERIODS supply the approval and period configuration context used when preference definitions are validated. Collectively these tables represent the reference and configuration model that a preference hierarchy must conform to.
Usage Notes
Because the package is classified as OTHER and references only APPS synonyms, it is not part of the documented public API surface and is not referenced by any other package in the ETRM inventory. It is therefore most commonly invoked indirectly — through preference setup forms, through concurrent programs that perform bulk preference uploads, or through custom conversion scripts written to populate preference hierarchies during implementation or upgrade. Developers calling GET_PREF_DEF_NAME, GET_ATTRIBUTE, or GET_PARENT directly should treat the package as an internal utility: parameter lists and behavior may change between patch levels, and the AUTHID CURRENT_USER clause requires that the calling schema hold the necessary privileges on the underlying HXC tables. The thirty-attribute signature of LOAD_HPH_ROW makes it unwieldy for ad hoc calls, so custom code typically wraps it in a driver that reads staged rows and supplies the positional arguments programmatically.
-
PACKAGE: APPS.HXC_LOAD_PKG 12.1.1
-
PACKAGE: APPS.HXC_LOAD_PKG 12.2.2
-
PACKAGE: APPS.PAY_JP_SOE_PKG 12.1.1
-
PACKAGE: APPS.WF_ENTITY_MGR 12.2.2
-
PACKAGE: APPS.HR_GRADE_BK1 12.2.2