Search Results update_template_attribute
Overview
The APPS.PQH_TEMPLATE_ATTRIBUTES_API package body is a public Oracle E-Business Suite API that manages the association between attributes and templates within the HR/Payroll template framework. Templates in Oracle EBS define reusable layouts and behaviors (for example, for forms, self-service pages, or administrative processes), and each template is composed of one or more template attributes. This package provides the programmatic interface for creating, updating, and deleting those template attribute records, as well as for copying attributes when a template is duplicated. It is classified as an API and belongs to the PQH (Public Sector/HR) product family. The package follows the standard EBS API conventions, including a validation-only mode, an object_version_number for optimistic locking, and user-hook extension points (via the _bk1 before-process hook, as shown in the source excerpt). The header comment (pqtatapi.pkb) indicates this is a long-standing, shipped (noship) component.
Key Procedures and Functions
The documented procedures are:
- CREATE_TEMPLATE_ATTRIBUTE — Inserts a new template attribute record associating an attribute with a template. It accepts the required/optional behavioral flags (required, view, edit), the attribute identifier, the template identifier, and an effective date, and returns the generated
template_attribute_idandobject_version_number. It supports a validate-only mode using a savepoint, and invokes the before-process user hook prior to performing the insert logic. - UPDATE_TEMPLATE_ATTRIBUTE — Modifies an existing template attribute record, allowing the behavioral flags (required, view, edit) and related values to be changed. This is the procedure most commonly targeted by searches for
update_template_attribute, and is the standard supported mechanism for programmatic updates to thePQH_TEMPLATE_ATTRIBUTEStable. - DELETE_TEMPLATE_ATTRIBUTE — Removes a template attribute association, typically invoked when an attribute is disassociated from a template or when a template is being restructured.
- CREATE_UPDATE_COPIED_ATTRIBUTE — Creates or updates a template attribute as part of a copy operation, used when duplicating an existing template and its attribute set to a new template.
No parameter lists are invented here; parameter signatures and defaults should be confirmed against the package specification in the target release.
Tables Accessed
- PQH_TEMPLATE_ATTRIBUTES — The primary table holding the attribute-to-template association, including the behavioral flags and version/effective-date columns.
- PQH_ATTRIBUTES — Provides the attribute definitions referenced by template attributes.
- PQH_TEMPLATES — Provides the parent template records to which attributes are linked.
- PQH_TXN_CATEGORY_ATTRIBUTES — Referenced for transaction-category-to-attribute relationships tied to the template framework.
- PLITBLM — A standard EBS utility table used by the API infrastructure (commonly for message/lookup or temporary processing).
Usage Notes
This API is typically invoked from Oracle Forms that maintain template and attribute configuration, from concurrent programs that copy or generate templates, or from custom PL/SQL that provisions template attributes during implementation or data migration. Callers should supply an effective_date, honor the p_validate flag for dry-run validation, and always capture and persist the returned object_version_number for subsequent updates to avoid concurrent-modification conflicts. Direct DML against PQH_TEMPLATE_ATTRIBUTES should be avoided in favor of this API, since it enforces validation, optimistic locking, and user-hook extensibility. The API is referenced by no other shipped packages, so it is normally called directly by forms or custom code rather than as an internal dependency.
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API SQL Statements
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.2.2
-
APPS.EGO_TEMPL_ATTRS_PUB SQL Statements
12.1.1
-
APPS.EGO_TEMPL_ATTRS_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.1.1
-
PACKAGE BODY: APPS.EGO_TEMPL_ATTRS_PUB
12.1.1
-
APPS.POR_IFT_ADMIN_PKG SQL Statements
12.1.1
-
APPS.POR_IFT_ADMIN_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.EGO_TEMPL_ATTRS_PUB
12.2.2
-
PACKAGE: APPS.POR_IFT_ADMIN_PKG
12.2.2
-
PACKAGE: APPS.EGO_TEMPL_ATTRS_PUB
12.2.2
-
PACKAGE: APPS.POR_IFT_ADMIN_PKG
12.1.1
-
PACKAGE: APPS.EGO_TEMPL_ATTRS_PUB
12.1.1
-
PACKAGE: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.1.1
-
PACKAGE: APPS.PQH_TEMPLATE_ATTRIBUTES_API
12.2.2
-
PACKAGE BODY: APPS.POR_IFT_ADMIN_PKG
12.1.1
-
PACKAGE BODY: APPS.POR_IFT_ADMIN_PKG
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_TEMPLATE_ATTRIBUTES_BK2
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_TEMPLATE_ATTRIBUTES_BK2
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on HR_API
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on HR_API
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_TAT_UPD
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_TAT_UPD
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on HR_API
12.2.2
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on HR_API
12.1.1
-
APPS.EGO_TEMPL_ATTRS_PUB dependencies on EGO_TEMPL_ATTRIBUTES
12.2.2
-
APPS.EGO_TEMPL_ATTRS_PUB dependencies on EGO_TEMPL_ATTRIBUTES
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_TEMPLATE_ATTRIBUTES
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on PQH_TEMPLATE_ATTRIBUTES
12.2.2
-
APPS.POR_IFT_ADMIN_PKG dependencies on PO_MESSAGE_S
12.2.2
-
APPS.POR_IFT_ADMIN_PKG dependencies on PO_MESSAGE_S
12.1.1
-
APPS.POR_IFT_ADMIN_PKG dependencies on APP_EXCEPTION
12.1.1
-
APPS.POR_IFT_ADMIN_PKG dependencies on APP_EXCEPTION
12.2.2
-
APPS.POR_IFT_ADMIN_PKG dependencies on POR_IFT_ADMIN_PKG
12.2.2
-
APPS.POR_IFT_ADMIN_PKG dependencies on POR_IFT_ADMIN_PKG
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on HR_UTILITY
12.1.1
-
APPS.PQH_TEMPLATE_ATTRIBUTES_API dependencies on HR_UTILITY
12.2.2