Search Results pqh_prvcalc
Overview
APPS.PQH_PRVCALC is a PL/SQL package body in the Oracle E-Business Suite HRMS schema. Its name derives from the Public Sector "PRV" (privilege) calculation domain, and it functions as part of the Public Sector/Recruitment template engine managed by the PQH (Oracle Advanced Benefits/Human Resources Public Sector) product family. In EBS 12.1.1 and 12.2.2 the package is documented as VALID with an API classification of OTHER, indicating it is an internal supporting package rather than a published open interface.
The package centralizes privilege, eligibility, and attribute-mode evaluation logic that drives how template-driven task and domain configurations are interpreted at runtime. It determines whether a given attribute is required, whether a task or domain mode comparison flag is satisfied, and how privilege values are derived and counted against a user or organizational context. This logic underpins the personalized rendering of HR/Public Sector self-service pages and the validation of transactions raised against configured templates.
Key Procedures and Functions
Twelve documented program units are catalogued in the ETRM metadata. Consistent with an internal utility package, they fall into three functional clusters:
- DOMAIN_RESULT_CALC — evaluates and returns the computed result for a domain definition.
- DOMAIN_TASK_MODE_COMP_FLAG and TASK_TASK_MODE_COMP_FLAG — compare task or domain mode flags, used to reconcile configuration versus runtime mode settings.
- TASK_REFERENCES — resolves the references associated with a task.
- TASK_RESULT_UPDATE — writes or refreshes the result value attached to a task.
- ATTRIBUTE_FLAG_RESULT — returns the indicator outcome for a given attribute.
- PRIVILEDGE_CALC, CHECK_PRIV_CALC, and PRIVILEDGE_CALC_COUNT — compute, verify, and count privilege outcomes respectively.
- TEMPLATE_ATTRIB_REQD_CALC — determines whether a template attribute is required.
- GET_ROW_PRV — retrieves the privilege value for a row-level context.
- GET_ATTRIBUTE_MODE — returns the operating mode configured for an attribute.
Collectively these units implement the privilege-evaluation and attribute-requirement rules that the template framework calls during page and transaction processing.
Tables Accessed
The package reads and writes a small, well-defined set of configuration tables, accessed through APPS synonyms:
- PQH_TEMPLATE_ATTRIBUTES — the definition of attributes belonging to a template; the source for requirement and mode calculations.
- PQH_ATTRIBUTES — the master attribute definitions referenced by template attributes.
- PQH_TXN_CATEGORY_ATTRIBUTES — links transaction categories to attributes, supporting transaction-level privilege checks.
- PQH_REF_TEMPLATES — the reference template definitions that tie templates to their using contexts.
- PLITBLM — the standard Oracle PL/SQL table-of-varchar2 type used for in-memory collections.
Additionally, APPS.PQH_PRVCALC depends on APPS.HR_UTILITY, PQH_PRVCALC itself (recursive or overloaded internal calls), and the SYS.STANDARD package. The metadata records that the package body is not referenced by any database object, while the parent package is referenced by five other packages — confirming that callers depend on the specification, not the body.
Usage Notes
PQH_PRVCALC is an internal engine package and is normally invoked indirectly. Typical invocations originate from HR/Public Sector OAF or Forms-based pages that render template-driven attributes, from the transaction-validation path that verifies privileges against PQH_TXN_CATEGORY_ATTRIBUTES, and from other PQH packages that call the package specification. Because the body is not referenced externally, its implementation may change without breaking dependent objects as long as the specification remains stable.
Customizers should avoid calling undocumented internals directly and instead extend behavior through supported template configuration. When debugging privilege or attribute-mode discrepancies in 12.1.1 or 12.2.2, the documented procedures listed above are the appropriate diagnostic entry points.
-
PACKAGE BODY: APPS.PQH_PRVCALC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_PRVCALC, status:VALID,
-
SYNONYM: APPS.PQH_TEMPLATE_ATTRIBUTES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_TEMPLATE_ATTRIBUTES, status:VALID,
-
PACKAGE BODY: APPS.PQH_PRVCALC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_PRVCALC, status:VALID,
-
SYNONYM: APPS.PQH_TEMPLATE_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_TEMPLATE_ATTRIBUTES, status:VALID,
-
PACKAGE: APPS.PQH_PRVCALC
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQH_PRVCALC, status:VALID,
-
PACKAGE: APPS.PQH_PRVCALC
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQH_PRVCALC, status:VALID,
-
SYNONYM: APPS.PQH_TXN_CATEGORY_ATTRIBUTES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_TXN_CATEGORY_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.PQH_TXN_CATEGORY_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_TXN_CATEGORY_ATTRIBUTES, status:VALID,
-
PACKAGE: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQH_TEMPLATE_ATTRIBUTES_API, status:VALID,
-
PACKAGE: APPS.PQH_PTX_UTL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQH_PTX_UTL, status:VALID,
-
SYNONYM: APPS.PQH_REF_TEMPLATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_REF_TEMPLATES, status:VALID,
-
PACKAGE BODY: APPS.PQH_TAT_BUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_TAT_BUS, status:VALID,
-
SYNONYM: APPS.PQH_REF_TEMPLATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_REF_TEMPLATES, status:VALID,
-
PACKAGE: APPS.PQH_TAT_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQH_TAT_BUS, status:VALID,
-
PACKAGE: APPS.PQH_PTX_UTL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQH_PTX_UTL, status:VALID,
-
PACKAGE: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQH_TEMPLATE_ATTRIBUTES_API, status:VALID,
-
PACKAGE BODY: APPS.PQH_REFRESH_DATA
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_REFRESH_DATA, status:VALID,
-
PACKAGE BODY: APPS.PQH_REFRESH_DATA
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_REFRESH_DATA, status:VALID,
-
PACKAGE BODY: APPS.PQH_TAT_BUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_TAT_BUS, status:VALID,
-
PACKAGE BODY: APPS.PQH_RFT_SHD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_RFT_SHD, status:VALID,
-
PACKAGE BODY: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_TEMPLATE_ATTRIBUTES_API, status:VALID,
-
PACKAGE: APPS.PQH_TAT_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQH_TAT_BUS, status:VALID,
-
PACKAGE BODY: APPS.PQH_RFT_SHD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_RFT_SHD, status:VALID,
-
PACKAGE: APPS.PQH_REFRESH_DATA
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PQH_REFRESH_DATA, status:VALID,
-
PACKAGE BODY: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_TEMPLATE_ATTRIBUTES_API, status:VALID,
-
PACKAGE: APPS.PQH_REFRESH_DATA
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PQH_REFRESH_DATA, status:VALID,
-
PACKAGE: APPS.PQH_PRVCALC
12.1.1
-
PACKAGE: APPS.PQH_PRVCALC
12.2.2
-
SYNONYM: APPS.PQH_ATTRIBUTES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.PQH_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_ATTRIBUTES, status:VALID,
-
PACKAGE BODY: APPS.PQH_PTX_UTL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_PTX_UTL, status:VALID,
-
PACKAGE BODY: APPS.PQH_PTX_UTL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PQH_PTX_UTL, status:VALID,
-
APPS.PQH_TAT_BUS dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_PTX_UTL dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_RFT_SHD dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_TAT_BUS dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_RFT_SHD dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_TAT_BUS dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_REFRESH_DATA dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_REFRESH_DATA dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_PTX_UTL dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_TAT_BUS dependencies on PQH_PRVCALC
12.2.2
-
APPS.PQH_REFRESH_DATA dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_PTX_UTL dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_PTX_UTL dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_PRVCALC dependencies on PQH_PRVCALC
12.1.1
-
APPS.PQH_REFRESH_DATA dependencies on PQH_PRVCALC
12.1.1