Search Results okc_cle_pvt
Overview
OKC_CLE_PVT is a private PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It belongs to the Oracle Contracts (OKC) module and supports the CLE subsystem, which governs contract line elements and line-level attribute manipulation within the Contracts Core architecture. As a PVT-classified package, it is not intended for direct invocation by external consumers; it provides the internal implementation layer consumed by the OKC public APIs, most notably OKC_API and OKC_OLE_PVT, which expose contract line handling to forms, concurrent programs, and integration code.
The package encapsulates the data manipulation and validation logic required to insert, update, delete, and version contract line records. It centralizes row-level locking, multi-language translation handling, class-operation validation, and version control operations so that higher-level public APIs remain thin wrappers. The body reports a VALID status and references a broad set of FND and OKC utilities, including FND_API for the standard API return-status conventions, FND_GLOBAL for session context, OKC_DEBUG for diagnostic tracing, and OKX and QP objects for list and price list integration.
Key Procedures and Functions
The documented interface exposes eighteen procedures and functions. Their names and purposes are as follows:
- QC — quality-control helper, typically used to assert internal consistency of line data or call parameters before persistence.
- CHANGE_VERSION — coordinates a change of the version context for a contract line, driving the versioning workflow.
- API_COPY — copies line data from a source record to a target, commonly used during contract duplication or line propagation.
- ADD_LANGUAGE — inserts translated descriptive columns for an additional language.
- INSERT_ROW — creates a new contract line record.
- LOCK_ROW — acquires a row-level lock for the identified line prior to modification.
- UPDATE_ROW — modifies an existing contract line record.
- DELETE_ROW — removes a contract line record subject to standard validation.
- FORCE_DELETE_ROW — performs an unconditional delete, bypassing standard referential checks for administrative cleanup.
- VALIDATE_ROW — executes business-rule validation against a line before insert or update.
- INSERT_ROW_UPG — a variant of insert used during upgrade or data-migration processing.
- CREATE_VERSION — establishes a new version of the contract line, writing history records.
- RESTORE_VERSION — reinstates a prior version of the line.
All routines follow the FND_API calling convention, returning status codes and error message stacks to the caller rather than raising unhandled exceptions across the API boundary.
Tables Accessed
The package reads and writes the principal Contracts line tables. OKC_K_LINES_B, OKC_K_LINES_BH, OKC_K_LINES_TL, and OKC_K_LINES_TLH hold the base, history, translated, and translation-history rows for contract lines; OKC_K_LINES_V supplies the joined view used for validation. OKC_K_HEADERS_ALL_B provides the parent contract header context. OKC_CLASS_OPERATIONS and OKC_OPERATION_INSTANCES/OKC_OPERATION_LINES support class-operation rules applied to lines. OKC_STATUSES_B supplies status lookups. FND_LANGUAGES, FND_LOOKUPS, and FND_CURRENCIES_VL provide reference data, while QP_LIST_HEADERS_B, QP_LIST_LINES, OKX_LIST_HEADERS_V, and OKX_QP_LIST_LINES_V link lines to price lists and list headers. DUAL and PLITBLM are utility references.
Usage Notes
OKC_CLE_PVT is invoked indirectly through OKC_API and OKC_OLE_PVT. Contract entry forms, the contract versioning concurrent programs, and upgrade scripts call those public wrappers, which in turn delegate to this body. Because it is a PVT package and is referenced by roughly fifty other packages, customizations should avoid direct calls and instead use the supported public OKC APIs. Developers performing data migration or diagnostics may query the underlying tables directly, but any DML should be routed through the API layer to preserve validation, versioning, and language handling.
-
PACKAGE BODY: APPS.OKC_CLE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CLE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CLE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CLE_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_BH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_BH, status:VALID,
-
PACKAGE: APPS.OKC_CLE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CLE_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_TL, status:VALID,
-
PACKAGE: APPS.OKC_CLE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CLE_PVT, status:VALID,
-
PACKAGE: APPS.OKS_CHANGE_STATUS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_CHANGE_STATUS_PVT, status:VALID,
-
PACKAGE: APPS.OKS_CHANGE_STATUS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_CHANGE_STATUS_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CFG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CFG_PUB, status:VALID,
-
PACKAGE: APPS.OKC_OLE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OLE_PVT, status:VALID,
-
PACKAGE: APPS.OKE_CHANGE_STATUS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKE_CHANGE_STATUS_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PVT_W, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_TLH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_TLH, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_TLH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_TLH, status:VALID,
-
PACKAGE: APPS.OKS_COVERAGES_MIGRATION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
PACKAGE: APPS.OKL_AM_LOAN_TRMNT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_AM_LOAN_TRMNT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_BILL_MIGRATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_BILL_MIGRATION, status:VALID,
-
PACKAGE BODY: APPS.OKS_OC_INT_KTO_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE: APPS.OKS_COVERAGES_MIGRATION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_CONFIG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_CONFIG_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_CHANGE_STATUS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_CHANGE_STATUS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_STATUS_CHANGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_STATUS_CHANGE_PVT, status:VALID,
-
PACKAGE: APPS.OKE_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKE_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PUB, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_TL, status:VALID,
-
PACKAGE: APPS.OKC_CFG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CFG_PUB, status:VALID,
-
PACKAGE: APPS.OKC_OLE_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OLE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_AM_LOAN_TRMNT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_AM_LOAN_TRMNT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_AM_LOAN_TRMNT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_AM_LOAN_TRMNT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_APPROVAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_APPROVAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PVT_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PVT_W, status:VALID,
-
SYNONYM: APPS.OKC_K_LINES_BH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_LINES_BH, status:VALID,
-
PACKAGE BODY: APPS.OKE_IMPORT_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_IMPORT_CONTRACT_PUB, status:VALID,
-
PACKAGE: APPS.OKC_OPER_INST_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_OPER_INST_PUB, status:VALID,
-
PACKAGE: APPS.OKC_OPER_INST_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_OPER_INST_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_PHI_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_PHI_PVT, status:VALID,
-
PACKAGE: APPS.OKL_AM_LEASE_TRMNT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_AM_LEASE_TRMNT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_STATUS_CHANGE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_STATUS_CHANGE_PVT, status:VALID,
-
PACKAGE: APPS.OKC_COPY_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_COPY_CONTRACT_PUB, status:VALID,
-
PACKAGE: APPS.OKL_AM_LEASE_TRMNT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_AM_LEASE_TRMNT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_PROGRAMS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_PM_PROGRAMS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_OC_INT_CONFIG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_OC_INT_CONFIG_PVT, status:VALID,
-
PACKAGE: APPS.OKL_AM_LOAN_TRMNT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_AM_LOAN_TRMNT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_OC_INT_KTO_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_OC_INT_KTO_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_PM_PROGRAMS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_PM_PROGRAMS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_BILL_MIGRATION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_BILL_MIGRATION, status:VALID,
-
PACKAGE: APPS.OKS_RENCPY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_RENCPY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CFG_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CFG_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_COVERAGES_MIGRATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COVERAGES_MIGRATION, status:VALID,