Search Results okl_copy_contract_pub
Overview
OKL_COPY_CONTRACT_PUB is the public application programming interface (API) package body for contract duplication within the Oracle Enterprise Trading and Risk Management (ETRM) module of Oracle E-Business Suite. It is owned by the APPS schema and classified as a PUB API, which designates it as the supported, externally callable entry point for the contract copy business process. In Oracle EBS 12.1.1 and 12.2.2, this package enables users and calling programs to create a new lease or service contract by replicating the structure, lines, components, rules, party roles, and articles of a source contract.
The package body contains the implementation logic for the procedures declared in the corresponding specification. It acts as a thin, validated wrapper over the private package OKL_COPY_CONTRACT_PVT, delegating the substantive copy operations while exposing a stable, governed interface. Its status is VALID, confirming that the compiled body is free of errors and that all dependencies resolve successfully.
Key Procedures and Functions
The package exposes 16 documented procedures and functions, of which the following are the principal ones:
- COPY_CONTRACT — the primary entry point that orchestrates the full contract duplication, including header, lines, and associated attributes.
- COPY_LEASE_CONTRACT and COPY_LEASE_CONTRACT_NEW — variants that copy a lease contract, with the newer version reflecting revised copy semantics.
- COPY_CONTRACT_LINES — replicates the line-level detail of the source contract.
- COPY_COMPONENTS — copies the pricing or financial components attached to contract lines.
- COPY_RULES — duplicates the rule sets associated with the source contract.
- COPY_PARTY_ROLES — reproduces the party role assignments on the target contract.
- COPY_ARTICLES and COPY_LATEST_ARTICLES — replicate contract articles, the latter targeting the most recent article versions.
- IS_COPY_ALLOWED and IS_SUBCONTRACT_ALLOWED — validation functions that determine whether a given contract may be copied or subcontracted.
- DERIVE_LINE_STYLE — computes the line style to be applied on the newly created contract lines.
- UPDATE_TARGET_CONTRACT — applies post-copy updates to the target contract record.
Tables Accessed
Per the documented dependency metadata, OKL_COPY_CONTRACT_PUB itself does not directly reference base tables; the underlying table access is performed through OKL_COPY_CONTRACT_PVT and its supporting packages. The package depends on OKL_API and FND_API for standard ETRM and Oracle Application Object Library error-handling and messaging, on OKC_CVM_PVT for contract version management, and on the private copy package for the physical replication of contract data. Together these dependencies read and write the OKL contract header, line, component, rule, party role, and article tables during a copy operation.
Usage Notes
OKL_COPY_CONTRACT_PUB is not referenced by any other database object, confirming its role as a top-level public interface rather than an internal utility. It is typically invoked from ETRM contract forms when a user selects the copy action, and from custom PL/SQL or concurrent programs that automate contract duplication. Callers should invoke the procedures in this package rather than the private package to ensure supported, upgrade-safe behavior. Validation functions such as IS_COPY_ALLOWED should be called before initiating a copy to confirm business eligibility.
-
PACKAGE BODY: APPS.OKL_COPY_CONTRACT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_CONTRACT_PUB, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_CONTRACT_PUB, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_COPY_CONTRACT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_CONTRACT_PUB_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_CONTRACT_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_CONTRACT_PUB_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_CONTRACT_PUB_W, status:VALID,
-
PACKAGE BODY: APPS.OKL_CS_LEASE_RENEWAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CS_LEASE_RENEWAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CS_LEASE_RENEWAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CS_LEASE_RENEWAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_VP_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VP_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_MLA_CREATE_UPDATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_MLA_CREATE_UPDATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_MLA_CREATE_UPDATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_MLA_CREATE_UPDATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_VP_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VP_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CVM_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_CVM_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_VP_SYNC_CR_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VP_SYNC_CR_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_ASSET_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_ASSET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_ASSET_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_ASSET_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CVM_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CVM_PVT, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKL_VP_SYNC_CR_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_VP_SYNC_CR_PVT, status:VALID,
-
PACKAGE: APPS.OKL_COPY_CONTRACT_PUB
12.2.2
-
PACKAGE BODY: APPS.OKL_CONTRACT_REBOOK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_REBOOK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SPLIT_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SPLIT_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREAT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREAT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREAT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_DEAL_CREATE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_DEAL_CREATE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKL_RELEASE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RELEASE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_RELEASE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_RELEASE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SPLIT_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SPLIT_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CREATE_KLE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CREATE_KLE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CONTRACT_REBOOK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CONTRACT_REBOOK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CREATE_KLE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CREATE_KLE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_QUOTE_TO_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_QUOTE_TO_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_QUOTE_TO_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_QUOTE_TO_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CS_PRINCIPAL_PAYDOWN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CS_PRINCIPAL_PAYDOWN_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_CS_PRINCIPAL_PAYDOWN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_CS_PRINCIPAL_PAYDOWN_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SPLIT_ASSET_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SPLIT_ASSET_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKL_SPLIT_ASSET_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKL_SPLIT_ASSET_PVT, status:VALID,
-
PACKAGE: APPS.OKL_OKC_MIGRATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKL_OKC_MIGRATION_PVT, status:VALID,
-
PACKAGE: APPS.OKL_OKC_MIGRATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKL_OKC_MIGRATION_PVT, status:VALID,
-
APPS.OKL_MLA_CREATE_UPDATE_PUB dependencies on OKL_COPY_CONTRACT_PUB
12.1.1
-
APPS.OKL_QUOTE_TO_CONTRACT_PVT dependencies on OKL_COPY_CONTRACT_PUB
12.2.2
-
APPS.OKL_COPY_CONTRACT_PUB dependencies on OKL_COPY_CONTRACT_PUB
12.2.2
-
APPS.OKL_COPY_CONTRACT_PUB_W dependencies on OKL_COPY_CONTRACT_PUB
12.1.1
-
APPS.OKL_SPLIT_CONTRACT_PVT dependencies on OKL_COPY_CONTRACT_PUB
12.2.2
-
APPS.OKL_SPLIT_ASSET_PVT dependencies on OKL_COPY_CONTRACT_PUB
12.1.1