Search Results delete_template
Overview
The APPS.HXC_TEMPLATE_SUMMARY_API package is a public Application Programming Interface belonging to the Oracle Time and Labor (OTL) schema family, identified by the HXC object prefix. It provides a controlled, programmatic mechanism for creating, maintaining, and removing template summary definitions used within the Time and Labor timecard and template infrastructure. Templates in Oracle Time and Labor act as reusable structures that predefine timecard layout, applicable blocks, and associated time attributes, enabling consistent time entry across groups of employees. The package encapsulates the business logic required to manipulate the HXC_TEMPLATE_SUMMARY entity so that callers need not perform direct data manipulation against the underlying tables. By exposing a formal API classification, Oracle permits both internal components and customer extensions to interact with template summary data in a supported manner that preserves data integrity and the integrity of the summary records themselves. The package is documented in ETRM for both the 12.1.1 and 12.2.2 releases, and is referenced by three other packages, indicating it plays a supporting role in a broader set of time and labor operations. It is owned by the APPS schema and is not intended for direct ad hoc invocation outside the prescribed API entry points.
Key Procedures and Functions
The documented interface exposes three procedures, two of which are overloaded under the same name.
- DELETE_TEMPLATE — Removes a template summary identified by its template identifier. This is the procedure most directly associated with the user's search term "delete_template," and it is the supported method for eliminating a template summary record rather than issuing a direct SQL delete against HXC_TEMPLATE_SUMMARY.
- TEMPLATE_DEPOSIT (block and attribute variant) — Persists a template summary using collections of blocks and attributes supplied by the caller. This variant accepts table-type parameters that carry the block and attribute structures to be associated with the template.
- TEMPLATE_DEPOSIT (template identifier variant) — A second overload that performs the deposit operation using a template identifier together with the template object version number, supporting the standard optimistic locking pattern used throughout Oracle EBS APIs.
No additional parameter signatures should be assumed beyond those documented; the overloads exist to accommodate different calling contexts for the same logical deposit operation.
Tables Accessed
The package operates against several documented tables, accessed through APPS synonyms.
- HXC_TEMPLATE_SUMMARY — The primary entity table holding template summary definitions. It is read and written by the deposit procedures and used to locate the record targeted by DELETE_TEMPLATE.
- HXC_BLD_BLK_INFO_TYPES — Supplies block information type definitions referenced when assembling template block content during deposit.
- HXC_TIME_ATTRIBUTES — Holds time attribute definitions associated with templates.
- HXC_TIME_ATTRIBUTE_USAGES — Records where and how time attributes are used, supporting validation and association logic.
- PLITBLM — The standard Oracle Applications PL/SQL table and index-by table storage object, used internally for collection handling.
Usage Notes
HXC_TEMPLATE_SUMMARY_API is typically invoked from Oracle Time and Labor forms, from concurrent programs that build or refresh template definitions, or from custom PL/SQL extensions that must create or delete template summaries in a supported fashion. Developers should never bypass the API to modify HXC_TEMPLATE_SUMMARY directly, as the package maintains dependent block and attribute relationships and enforces the object version number convention. When integrating custom code, callers should supply the correct template identifier and, for the deposit overload, the current object version number to avoid concurrent update conflicts. Because DELETE_TEMPLATE permanently removes the summary, it should be invoked only after confirming that no active timecards or dependent configurations rely on the template. The package's role as a referenced component of three other packages means changes to its behavior can cascade through time and labor processing, warranting careful testing in any upgrade from 12.1.1 to 12.2.2.
-
APPS.PAY_ELEMENT_TEMPLATE_API SQL Statements
12.1.1
-
APPS.PAY_ELEMENT_TEMPLATE_API SQL Statements
12.2.2
-
APPS.OKL_TMPT_SET_PUB SQL Statements
12.1.1
-
APPS.OKL_TMPT_SET_PUB SQL Statements
12.2.2
-
APPS.OKC_TERMS_TEMPLATES_GRP SQL Statements
12.1.1
-
APPS.OKC_TERMS_TEMPLATES_GRP SQL Statements
12.2.2
-
APPS.HXC_TEMPLATE_SUMMARY_API SQL Statements
12.2.2
-
APPS.OKL_TMPT_SET_PVT SQL Statements
12.2.2
-
APPS.OKL_PROCESS_TMPT_SET_PUB SQL Statements
12.1.1
-
APPS.HXC_TEMPLATE_SUMMARY_API SQL Statements
12.1.1
-
APPS.OKL_TMPT_SET_PVT SQL Statements
12.1.1
-
APPS.OKL_PROCESS_TMPT_SET_PUB SQL Statements
12.2.2
-
APPS.HR_FORM_TEMPLATES_API SQL Statements
12.1.1
-
APPS.HR_FORM_TEMPLATES_API SQL Statements
12.2.2
-
APPS.RRS_SITES_PKG SQL Statements
12.1.1
-
APPS.RRS_SITES_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.HXC_TEMPLATE_SUMMARY_API
12.1.1
-
PACKAGE: APPS.HXC_TEMPLATE_SUMMARY_API
12.2.2
-
PACKAGE BODY: APPS.PAY_ELEMENT_TEMPLATE_API
12.1.1
-
PACKAGE: APPS.RRS_SITES_PKG
12.2.2
-
PACKAGE: APPS.RRS_SITES_PKG
12.1.1
-
PACKAGE BODY: APPS.PAY_ELEMENT_TEMPLATE_API
12.2.2
-
PACKAGE: APPS.HZ_PURGE
12.2.2
-
PACKAGE BODY: APPS.OKC_TERMS_TEMPLATES_GRP
12.2.2
-
PACKAGE: APPS.HZ_PURGE
12.1.1
-
APPS.PAY_ELEMENT_TEMPLATE_UTIL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OKC_TERMS_TEMPLATES_GRP
12.1.1
-
APPS.PAY_ELEMENT_TEMPLATE_UTIL SQL Statements
12.1.1
-
PACKAGE: SYS.XS_NAMESPACE
12.1.1
-
PACKAGE: SYS.XS_NAMESPACE
12.2.2
-
PACKAGE BODY: APPS.HXC_TEMPLATE_SUMMARY_API
12.1.1
-
PACKAGE BODY: APPS.HXC_TEMPLATE_SUMMARY_API
12.2.2
-
APPS.OKL_PROCESS_TMPT_SET_PVT SQL Statements
12.2.2
-
APPS.OKL_PROCESS_TMPT_SET_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.RRS_SITES_PKG
12.1.1
-
PACKAGE BODY: APPS.RRS_SITES_PKG
12.2.2
-
APPS.ZPB_DC_OBJECTS_PVT SQL Statements
12.1.1
-
PACKAGE: APPS.POR_IFT_ADMIN_PKG
12.2.2
-
PACKAGE: APPS.POR_IFT_ADMIN_PKG
12.1.1
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PVT
12.2.2
-
APPS.POR_IFT_ADMIN_PKG SQL Statements
12.1.1
-
PACKAGE: APPS.OKL_PROCESS_TMPT_SET_PUB
12.1.1
-
APPS.POR_IFT_ADMIN_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.OKL_PROCESS_TMPT_SET_PUB
12.2.2
-
PACKAGE: APPS.OKL_PROCESS_TMPT_SET_PVT
12.2.2
-
PACKAGE: APPS.PAY_ELEMENT_TEMPLATE_UTIL
12.2.2
-
PACKAGE: APPS.PAY_ELEMENT_TEMPLATE_UTIL
12.1.1
-
PACKAGE: APPS.OKL_PROCESS_TMPT_SET_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PVT
12.1.1
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB
12.2.2