Search Results okc_scn_pvt
Overview
The OKC_SCN_PVT package body in the APPS schema is a private (PVT) implementation package within the Oracle E-Business Suite Contract Management (OKC) module. It serves as the low-level data access and manipulation layer for contract sections — the structured clauses, articles, and text segments that comprise the body of a contract document. The package encapsulates the DML logic, concurrency control, versioning, and multilingual handling required to maintain section data consistently across the OKC_SECTIONS tables, shielding callers from direct table operations. Its "PVT" classification indicates it is invoked by the public OKC_API layer rather than by external consumers directly.
Key Procedures and Functions
The package exposes the following documented procedures:
- INSERT_ROW — Creates a new section record, populating the base, translated, and history tables as required.
- UPDATE_ROW — Modifies existing section attributes with appropriate locking and audit-trail maintenance.
- DELETE_ROW — Removes a section record, coordinating deletes across dependent translated and historical rows.
- LOCK_ROW — Obtains a row-level lock to serialize concurrent updates and preserve data integrity.
- VALIDATE_ROW — Applies business validation rules prior to persistence, raising errors via the FND_API and APP_EXCEPTIONS framework.
- ADD_LANGUAGE — Inserts translated section content into the TL tables for additional installed languages.
- CREATE_VERSION — Snapshots current section data into the version history to support contract versioning.
- RESTORE_VERSION — Reinstates a previously captured section version, supporting rollback and amendment workflows.
Tables Accessed
The package reads and writes the following tables through APPS synonyms:
- OKC_SECTIONS_B — Base table holding language-independent section attributes.
- OKC_SECTIONS_TL — Translation table storing language-specific section text.
- OKC_SECTIONS_BH / OKC_SECTIONS_TLH — History tables used by the versioning procedures.
- OKC_K_HEADERS_B — Contract header data, referenced to associate sections with their parent contract.
- FND_LANGUAGES — Installed language definitions used by ADD_LANGUAGE.
- FND_LOOKUP_VALUES — Reference values for validation of coded section attributes.
- PLITBLM — The standard PL/SQL table/index-by structure used for in-memory processing.
Helper packages referenced include FND_API, FND_GLOBAL, FND_PROFILE, OKC_API, OKC_UTIL, OKC_P_UTIL, OKC_VERSION_PVT, OKC_DEBUG, and APP_EXCEPTIONS. OKC_SECTIONS_V is also referenced.
Usage Notes
OKC_SCN_PVT is not invoked directly by end users or external integrations. It is called from within the OKC public API layer (notably OKC_API) and is referenced by five other packages. Typical invocation paths include the Contract Authoring forms, where section edits, insertions, and deletions trigger the corresponding procedures; concurrent programs and versioning activities that call CREATE_VERSION and RESTORE_VERSION; and multilingual deployments where ADD_LANGUAGE backfills translated content. Because the package leverages FND_API for error handling, callers should expect standard EBS API error and message conventions. Direct custom calls should be avoided in favor of the supported public OKC_API interfaces to preserve validation, locking, and versioning behavior across releases 12.1.1 and 12.2.2.
-
SYNONYM: APPS.OKC_SECTIONS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_TL, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_TL, status:VALID,
-
PACKAGE BODY: APPS.OKC_SCN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_SCN_PVT, status:VALID,
-
PACKAGE: APPS.OKC_SCN_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_SCN_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_SCN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_SCN_PVT, status:VALID,
-
PACKAGE: APPS.OKC_SCN_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_SCN_PVT, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_B, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_B, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_TLH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_TLH, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_BH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_BH, status:VALID,
-
PACKAGE BODY: APPS.OKC_SECTIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_SECTIONS_PVT, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_TLH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_TLH, status:VALID,
-
PACKAGE: APPS.OKC_SECTIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_SECTIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_SECTIONS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_SECTIONS_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_SECTIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_SECTIONS_PVT, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_BH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_BH, status:VALID,
-
PACKAGE: APPS.OKC_SECTIONS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_SECTIONS_PUB, status:VALID,
-
PACKAGE: APPS.OKC_SECTIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_SECTIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_SECTIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_SECTIONS_PUB, status:VALID,
-
PACKAGE: APPS.OKC_SECTIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_SECTIONS_PUB, status:VALID,
-
VIEW: APPS.OKC_SECTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_SECTIONS_V, object_name:OKC_SECTIONS_V, status:VALID,
-
PACKAGE BODY: APPS.OKC_SCN_PVT
12.1.1
-
PACKAGE: APPS.OKC_SCN_PVT
12.1.1
-
VIEW: APPS.OKC_SECTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_SECTIONS_V, object_name:OKC_SECTIONS_V, status:VALID,
-
PACKAGE: APPS.OKC_SCN_PVT
12.2.2
-
PACKAGE BODY: APPS.OKC_SCN_PVT
12.2.2
-
PACKAGE: APPS.OKC_VERSION_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_VERSION_PVT, status:VALID,
-
PACKAGE: APPS.OKC_VERSION_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_VERSION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_RENCPY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_RENCPY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_RENCPY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_RENCPY_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKS_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKS_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE: APPS.OKC_DEBUG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_DEBUG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OKC_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_DEBUG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.OKC_COPY_CONTRACT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_COPY_CONTRACT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_COPY_CONTRACT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_COPY_CONTRACT_PVT, status:VALID,
-
APPS.OKS_RENCPY_PVT dependencies on OKC_SCN_PVT
12.1.1
-
APPS.OKC_SCN_PVT dependencies on OKC_SCN_PVT
12.2.2
-
APPS.OKC_SECTIONS_PVT dependencies on OKC_SCN_PVT
12.1.1
-
APPS.OKC_SECTIONS_PUB dependencies on OKC_SCN_PVT
12.2.2
-
PACKAGE: APPS.OKC_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_UTIL, status:VALID,
-
PACKAGE: APPS.OKC_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_UTIL, status:VALID,
-
APPS.OKC_COPY_CONTRACT_PVT dependencies on OKC_SCN_PVT
12.1.1
-
APPS.OKC_SECTIONS_PVT dependencies on OKC_SCN_PVT
12.1.1
-
APPS.OKC_COPY_CONTRACT_PVT dependencies on OKC_SCN_PVT
12.2.2
-
APPS.OKC_SCN_PVT dependencies on OKC_SCN_PVT
12.1.1