Search Results okc_copy_contract_pvt
Overview
OKC_RMP_PVT is a private PL/SQL package in the APPS schema that supports the Oracle E-Business Suite Contracts module. It provides the internal implementation logic for the management of contract rule groups and party roles, and it underpins the versioning, copying, and deletion operations performed against contracts and their associated rule structures. As a PVT (private) package, it is not intended for direct external invocation; it is called by the public Contracts APIs and other private packages that require low-level manipulation of rule group records and party role assignments.
In the ETRM metadata for 12.2.2, the package is documented with fifteen procedures and functions and classified as a private (PVT) API. It is referenced by seven other packages, confirming its role as a shared internal service layer rather than a standalone entry point. The business purpose centres on maintaining the integrity of the rule groups that govern how contract terms, party roles, and subclass definitions behave throughout the contract lifecycle.
Key Procedures and Functions
The documented procedures and functions fall into three broad categories:
- API_COPY — Copies rule group and party role data as part of the broader contract copy operation driven by OKC_COPY_CONTRACT_PVT.
- INSERT_ROW, LOCK_ROW, UPDATE_ROW, DELETE_ROW, VALIDATE_ROW — Standard row-level data manipulation and validation routines used to create, lock, modify, remove, and validate records in the underlying rule group and party role tables.
- CREATE_VERSION, RESTORE_VERSION, CHANGE_VERSION — Version management routines that create, restore, and transition versions of rule group data, supporting the contract versioning framework.
- QC — A quality-check style helper, commonly used within Oracle's internal package conventions to assert correctness or pre/post conditions.
Parameter lists are intentionally not reproduced here; callers should consult the package specification for exact signatures. Each routine is designed to be invoked only from within the Contracts private API layer.
Tables Accessed
The package reads and writes the following documented tables via APPS synonyms:
- OKC_RG_PARTY_ROLES, OKC_RG_PARTY_ROLES_H — Rule group party role assignments and their history, managed during insert, update, delete, and versioning operations.
- OKC_K_HEADERS_B, OKC_K_PARTY_ROLES_B — Contract header and contract party role base tables, providing context for rule group application.
- OKC_RG_ROLE_DEFS, OKC_RULE_GROUPS_B — Rule group definitions and role definitions that drive validation and copy logic.
- OKC_SUBCLASSES_B, OKC_SUBCLASS_RG_DEFS, OKC_SUBCLASS_ROLES — Subclass hierarchy and their associated rule group and role configuration.
- PLITBLM — A generic PL/SQL index-by table used internally for bulk processing.
Usage Notes
OKC_RMP_PVT is never called directly by end users. It is invoked from the Contracts forms and from concurrent programs through the public Contracts APIs, notably OKC_COPY_CONTRACT_PVT, OKC_DELETE_CONTRACT_PVT, OKC_RULE_PUB, OKC_RULE_PVT, OKC_VERSION_PVT, OKL_CONTRACT_PVT, and OKL_OKC_MIGRATION_PVT. This dependency chain means the package is active during contract copy, contract deletion, contract versioning, rule evaluation, and migration from Oracle Lease Management. Customisations should interface with the public APIs rather than this private package, because its behaviour supports internal consistency checks and versioning semantics that public callers assume. In the 12.1.1 and 12.2.2 architecture, the package resides in APPS and depends on FND_API, OKC_API, and STANDARD.
-
PACKAGE: APPS.OKC_RMP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_RMP_PVT, status:VALID,
-
PACKAGE: APPS.OKC_ATN_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_ATN_PVT, status:VALID,
-
PACKAGE: APPS.OKC_K_ARTICLE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ARTICLE_PUB, status:VALID,
-
PACKAGE: APPS.OKC_RMP_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_RMP_PVT, status:VALID,
-
PACKAGE: APPS.OKC_K_ARTICLE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ARTICLE_PUB, status:VALID,
-
PACKAGE: APPS.OKC_ATN_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_ATN_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CAT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CAT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CAC_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CAC_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CGC_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CGC_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CGC_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CGC_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CAT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CAT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CAC_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CAC_PVT, 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: APPS.OKC_CONTRACT_GROUP_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_GROUP_PUB, 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: APPS.OKC_CNH_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CNH_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CNL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CNL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CNL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CNL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_RGP_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_RGP_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONDITIONS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONDITIONS_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_GROUP_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_GROUP_PUB, 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.OKC_CONDITIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONDITIONS_PUB, status:VALID,
-
PACKAGE: APPS.OKC_RUL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_RUL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_RGP_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_RGP_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CPL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CPL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_RULE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_RULE_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_RULE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_RULE_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CNH_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CNH_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.OKC_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_RUL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_RUL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CTC_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CTC_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CPS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CPS_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CPS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CPS_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CIM_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CIM_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_ITEM_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_ITEM_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CTC_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CTC_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_PARTY_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_PARTY_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CIM_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CIM_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CONTRACT_ITEM_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CONTRACT_ITEM_PUB, status:VALID,
-
PACKAGE: APPS.OKC_CPL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CPL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_CONC_REQUESTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_CONC_REQUESTS, status:VALID,
-
SYNONYM: APPS.OKC_CONC_REQUESTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_CONC_REQUESTS_S, 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_CONDITION_HEADERS_BH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_CONDITION_HEADERS_BH, 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_CONC_REQUESTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_CONC_REQUESTS, status:VALID,