Search Results okl_tmpt_set_pub
Overview
The OKL_TMPT_SET_PVT package is a private PL/SQL API within the Oracle E-Business Suite Oracle Lease and Finance Management (OKL/ETRM) module, owned by the APPS schema. It provides the underlying implementation logic for the management of lease templates and template sets — reusable definitions that govern how lease and finance contracts are structured, defaulted, and generated during contract authoring.
As a private (PVT) API, this package is not intended to be called directly by external or customer code. Instead, it functions as the internal workhorse behind the public wrapper OKL_TMPT_SET_PUB, which exposes the supported entry points to forms, concurrent programs, and integration code. The package is validated in both EBS 12.1.1 and 12.2.2, and it depends on several peer APIs, including OKC_API (the common contract core API), OKL_AES_PVT, OKL_ATL_PVT, and OKL_AVL_PVT, which together cover the contract terms, line, and value-layer operations that template processing requires.
Key Procedures and Functions
The package exposes 33 documented procedures and functions grouped into logical processing domains. Each domain follows the standard Oracle EBS private API pattern of create, lock, update, delete, and validate.
- Template Set operations — CREATE_TMPT_SET, LOCK_TMPT_SET, UPDATE_TMPT_SET, DELETE_TMPT_SET, and VALIDATE_TMPT_SET manage the header-level template set record, including concurrency locking and business-rule validation before persistence.
- Template operations — CREATE_TEMPLATE, LOCK_TEMPLATE, UPDATE_TEMPLATE, DELETE_TEMPLATE, and VALIDATE_TEMPLATE handle individual template definitions within a set.
- Template Line operations — CREATE_TMPT_LINES, LOCK_TMPT_LINES, UPDATE_TMPT_LINES, DELETE_TMPT_LINES, and VALIDATE_TMPT_LINES manage the detailed line-level attributes that make up each template.
Collectively, these procedures implement the full lifecycle of template maintenance, enforcing validation rules and maintaining referential and concurrency integrity across the header, template, and line levels.
Tables Accessed
The package reads and writes the following tables through APPS synonyms:
- OKL_AE_TEMPLATES — stores template header and template-set definitions; the primary target of the set and template procedures.
- OKL_AE_TMPT_LNES — stores the individual template lines, accessed by the TMPT_LINES procedures.
- PLITBLM — a standard Oracle/APPS utility table used for PL/SQL messaging, temporary identifiers, or error handling support during processing.
Usage Notes
OKL_TMPT_SET_PVT is invoked indirectly. The ETRM Template Setup forms and related maintenance screens call OKL_TMPT_SET_PUB, which in turn delegates to this private package. The metadata confirms OKL_TMPT_SET_PVT is referenced by OKL_TMPT_SET_PUB, OKL_TMPT_SET_PVT_W, and itself, and that it is referenced by two other packages overall.
Developers performing customizations or integrations should always call the public wrapper OKL_TMPT_SET_PUB rather than this package, since private APIs are not guaranteed to remain stable across patches or version upgrades. Direct invocation risks breakage and bypasses the supported validation and locking conventions enforced by the public layer.
-
APPS.OKL_TMPT_SET_PUB SQL Statements
12.2.2
-
APPS.OKL_TMPT_SET_PUB SQL Statements
12.1.1
-
PACKAGE: APPS.OKL_TMPT_SET_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_TMPT_SET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_TMPT_SET_PUB, status:VALID,
-
PACKAGE: APPS.OKL_TMPT_SET_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_TMPT_SET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_TMPT_SET_PUB, status:VALID,
-
PACKAGE: APPS.OKL_TMPT_SET_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_TMPT_SET_PUB, status:VALID,
-
PACKAGE: APPS.OKL_ATL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_ATL_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ATL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_ATL_PVT, status:VALID,
-
PACKAGE: APPS.OKL_TMPT_SET_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_TMPT_SET_PUB, status:VALID,
-
PACKAGE: APPS.OKL_AES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_AES_PVT, status:VALID,
-
PACKAGE: APPS.OKL_AES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_AES_PVT, status:VALID,
-
PACKAGE: APPS.OKL_AVL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_AVL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_TEMPLATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKL_AVL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_AVL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_TMPT_SET_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_PROCESS_TMPT_SET_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PROCESS_TMPT_SET_PVT, status:VALID,
-
PACKAGE: APPS.OKL_COPY_TEMPLATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKL_COPY_TEMPLATE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKL_PROCESS_TMPT_SET_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_PROCESS_TMPT_SET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_TEMPLATE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_TEMPLATE_PVT, status:VALID,
-
PACKAGE: APPS.OKL_PROCESS_TMPT_SET_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_PROCESS_TMPT_SET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_TMPT_SET_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_PROCESS_TMPT_SET_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PROCESS_TMPT_SET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB
12.1.1
-
PACKAGE BODY: APPS.OKL_TMPT_SET_PUB
12.2.2
-
PACKAGE BODY: APPS.OKL_BPD_TERMINATION_ADJ_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_BPD_TERMINATION_ADJ_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_BPD_TERMINATION_ADJ_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_BPD_TERMINATION_ADJ_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_MISC_TRANS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_MISC_TRANS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_MISC_TRANS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_MISC_TRANS_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ACCOUNT_DIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_ACCOUNT_DIST_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ACCOUNT_DIST_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_ACCOUNT_DIST_PUB, status:VALID,
-
PACKAGE: APPS.OKL_ACCOUNT_DIST_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_ACCOUNT_DIST_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_INTEREST_CALC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_INTEREST_CALC_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_INTEREST_CALC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_INTEREST_CALC_PVT, status:VALID,
-
PACKAGE: APPS.OKL_ACCOUNT_DIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_ACCOUNT_DIST_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_PAY_CURE_REFUNDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PAY_CURE_REFUNDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_PAY_CURE_REFUNDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PAY_CURE_REFUNDS_PVT, status:VALID,
-
PACKAGE: APPS.OKL_TMPT_SET_PUB
12.1.1
-
PACKAGE: APPS.OKL_TMPT_SET_PUB
12.2.2
-
APPS.OKL_TMPT_SET_PUB_W dependencies on OKL_TMPT_SET_PUB
12.1.1
-
APPS.OKL_INTEREST_CALC_PVT dependencies on OKL_TMPT_SET_PUB
12.2.2
-
APPS.OKL_COPY_TEMPLATE_PVT dependencies on OKL_TMPT_SET_PUB
12.2.2
-
APPS.OKL_PAY_CURE_REFUNDS_PVT dependencies on OKL_TMPT_SET_PUB
12.1.1
-
APPS.OKL_INTEREST_CALC_PVT dependencies on OKL_TMPT_SET_PUB
12.1.1
-
APPS.OKL_PAY_CURE_REFUNDS_PVT dependencies on OKL_TMPT_SET_PUB
12.2.2
-
APPS.OKL_BPD_TERMINATION_ADJ_PVT dependencies on OKL_TMPT_SET_PUB
12.2.2
-
APPS.OKL_COPY_TEMPLATE_PVT dependencies on OKL_TMPT_SET_PUB
12.1.1
-
APPS.OKL_ACCOUNT_DIST_PVT dependencies on OKL_TMPT_SET_PUB
12.1.1
-
APPS.OKL_TMPT_SET_PUB_W dependencies on OKL_TMPT_SET_PUB
12.2.2