Search Results okc_cpl_pvt
Overview
OKC_CPL_PVT is a private (PVT) PL/SQL package body in the APPS schema that supports the Oracle Contracts Core module of Oracle E-Business Suite, specifically the party-role and copy/versioning logic used by contract headers, lines, and their associated role assignments. In the EBS architecture, the OKC_CPL_PVT package operates as a supporting implementation layer for the public contract APIs (notably OKC_API), and it is referenced by 26 other packages, indicating its utility is broadly consumed across contract workflows. Its API classification as "PVT" indicates the package is not intended for direct invocation by end users or external integrations; rather it exposes internal helper routines that construct, validate, and maintain contract party-role records.
Key Procedures and Functions
The documented procedures and functions in OKC_CPL_PVT (17 total, with 12 named in the metadata) fall into several functional categories:
- QC — Quality-check routine used to validate data state before processing.
- CHANGE_VERSION, CREATE_VERSION, RESTORE_VERSION — Version management routines that create, restore, or transition contract versions, relying on OKC_VERSION_PVT and OKC_UTIL for versioning logic.
- API_COPY — Copy routine for duplicating contract data, typically invoked when users copy a contract template or an existing contract.
- ADD_LANGUAGE — Adds translated language rows, working with FND_LANGUAGES and the _TL translation tables.
- INSERT_ROW, LOCK_ROW, UPDATE_ROW, DELETE_ROW, VALIDATE_ROW — Standard DML and row-validation primitives for the party-role entity.
- INSERT_ROW_UPG — Upgrade-specific insert routine, used during EBS upgrade installs.
The presence of a RESTORE_VERSION alongside CREATE_VERSION and CHANGE_VERSION indicates the package supports the contract versioning model whereby prior versions can be reinstated.
Tables Accessed
OKC_CPL_PVT reads and writes a focused set of contract tables via APPS synonyms. OKC_K_HEADERS_ALL_B is the base table for contract headers; OKC_K_LINES_B stores contract lines; OKC_K_PARTY_ROLES_B and its translation table OKC_K_PARTY_ROLES_TL, together with the history tables OKC_K_PARTY_ROLES_BH and OKC_K_PARTY_ROLES_TLH, form the core party-role data model. FND_LANGUAGES supplies the installed language list used by ADD_LANGUAGE. OKC_LINE_STYLE_ROLES, OKC_ROLE_SOURCES, and OKC_SUBCLASS_ROLES participate in role derivation and line-level role rules. PLITBLM is an Oracle-supplied index-organized table used by DATE/time utilities. The presence of the history (_BH, _TLH) and translation (_TL) tables confirms the package enforces date-tracked and multilingual-aware writes.
Usage Notes
Because OKC_CPL_PVT is a private package, it is not documented for direct customer invocation. It is called internally by OKC_API and by the 26 dependent packages identified in the ETRM dependency tree. In practice, its routines are triggered from the Contract Management forms (OKC_* forms) when a user creates, copies, or versions a contract and when party roles are added or modified on a contract. The validation and lock-row primitives support concurrency handling typical of the OAF/Forms stack. The INSERT_ROW_UPG routine indicates that the package participates in the EBS upgrade path from 11i through 12.1.1 into 12.2.2. Custom code and integrations should not call OKC_CPL_PVT directly; the public OKC_API and related public interfaces should be used instead, since the private signatures are not guaranteed stable across patch levels.
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_TL, status:VALID,
-
PACKAGE BODY: APPS.OKC_CPL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CPL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_TL, status:VALID,
-
PACKAGE BODY: APPS.OKC_CPL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CPL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CPL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CPL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CPL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CPL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_BH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_BH, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_BH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_BH, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_TLH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_TLH, status:VALID,
-
SYNONYM: APPS.OKC_K_PARTY_ROLES_TLH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_PARTY_ROLES_TLH, status:VALID,
-
SYNONYM: APPS.OKC_LINE_STYLE_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_LINE_STYLE_ROLES, status:VALID,
-
SYNONYM: APPS.OKC_LINE_STYLE_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_LINE_STYLE_ROLES, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PARTY_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PARTY_PUB, status:VALID,
-
PACKAGE: APPS.OKE_CONTRACT_PARTY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKE_CONTRACT_PARTY_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_PARTY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PARTY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PARTY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CONTRACT_PARTY_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CONTRACT_PARTY_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_PARTY_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_PARTY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKE_CONTRACT_PARTY_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_CONTRACT_PARTY_PUB, status:VALID,
-
PACKAGE: APPS.OKS_COVERAGES_MIGRATION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
PACKAGE: APPS.OKS_COVERAGES_MIGRATION
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
SYNONYM: APPS.OKC_ROLE_SOURCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_ROLE_SOURCES, 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 BODY: APPS.OKL_VENDORMERGE_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VENDORMERGE_GRP, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASS_ROLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASS_ROLES, status:VALID,
-
SYNONYM: APPS.OKC_SUBCLASS_ROLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SUBCLASS_ROLES, status:VALID,
-
PACKAGE BODY: APPS.OKS_COVERAGES_MIGRATION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
SYNONYM: APPS.OKC_ROLE_SOURCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ROLE_SOURCES, status:VALID,
-
PACKAGE BODY: APPS.OKL_VENDORMERGE_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VENDORMERGE_GRP, status:VALID,
-
PACKAGE: APPS.OKC_COPY_CONTRACT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_COPY_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_VENDOR_PROGRAM_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VENDOR_PROGRAM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_VENDOR_PROGRAM_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VENDOR_PROGRAM_PVT, status:VALID,
-
PACKAGE: APPS.OKS_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKS_COPY_CONTRACT_PVT, 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.OKS_COVERAGES_MIGRATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COVERAGES_MIGRATION, status:VALID,
-
PACKAGE: APPS.OKS_RENCPY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_RENCPY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_OKC_MIGRATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_OKC_MIGRATION_PVT, status:VALID,
-
PACKAGE: APPS.OKS_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKS_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_PARTY_MERGE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PARTY_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_PARTY_MERGE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_PARTY_MERGE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_OKC_MIGRATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_OKC_MIGRATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CREDIT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CREDIT_PUB, status:VALID,
-
PACKAGE: APPS.OKC_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_PARTY_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_PARTY_PUB, status:VALID,
-
PACKAGE: APPS.OKC_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CREDIT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CREDIT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKE_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKE_CONTRACT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKE_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKS_ATTR_DEFAULTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_ATTR_DEFAULTS_PVT, status:VALID,