Search Results okc_k_articles_pvt
Overview
OKC_K_ARTICLES_PVT is a private PL/SQL package in the APPS schema that serves as the core data-access and processing layer for contract articles within Oracle E-Business Suite's Enterprise Contracts (OKC / formerly ETRM) module. Articles represent the authored clause and boilerplate text that comprise the body of a contract, and this package encapsulates the procedural logic required to create, maintain, version, and delete that article content. As a "PVT" classified API, it is not intended for direct external invocation; instead, it operates as the private engine consumed by the group-level packages (OKC_K_ARTICLES_GRP), the public API (OKC_K_ARTICLE_PUB), and the terms-processing utilities. It relies on FND_API for the standard Oracle EBS API return-status conventions (success, error, unexpected error), making it consistent with the broader Applications API programming model in release 12.1.1 and 12.2.2.
Key Procedures and Functions
The ETRM metadata documents eleven procedures and functions that together manage the full lifecycle of an article record:
- INSERT_ROW — Inserts a new article row into the underlying base tables, establishing the initial article definition.
- UPDATE_ROW — Modifies an existing article row.
- DELETE_ROW — Deletes a single named article row.
- DELETE_SET — Deletes a set of article rows in a single operation, used for bulk removal.
- LOCK_ROW — Acquires a row-level lock on an article, supporting concurrency control during edits.
- VALIDATE_ROW — Performs validation of article data prior to commit, enforcing business and data-integrity rules.
- GET_REC — Retrieves an article record for read access.
- CREATE_VERSION — Creates a new version of an article, part of the versioning behavior supported by the contracts data model.
- RESTORE_VERSION — Restores a prior article version, allowing reversion of content.
- DELETE_VERSION — Removes a specific article version.
The version-oriented procedures (CREATE_VERSION, RESTORE_VERSION, DELETE_VERSION) reflect the versioning architecture in which article content is tracked in a separate version table while the base definition is held in the _B / _B_S tables. The package also references the OKC_K_ARTICLES_PVT code itself, indicating recursive or shared internal helper routines.
Tables Accessed
Via APPS synonyms, the package reads and writes the following documented tables:
- OKC_K_ARTICLES_B — Base table holding the core article definition.
- OKC_K_ARTICLES_BH — History/archive table capturing prior states of base article rows.
- OKC_K_ARTICLES_B_S — Sequence/primary-key generation source for base article rows.
- OKC_ARTICLE_VERSIONS — Stores article version content, supporting the version procedures.
- OKC_ARTICLES_ALL — The multi-org, entity-visible view over article content.
- OKC_SECTIONS_B — Sections table, defining the structural hierarchy to which articles belong.
- DUAL — Used for single-row utility queries (e.g., sequence/date lookups).
Usage Notes
Because OKC_K_ARTICLES_PVT is a private package, it is not called directly from Oracle Forms or concurrent programs. It is invoked indirectly through OKC_K_ARTICLES_GRP (the group layer), OKC_K_ARTICLE_PUB (the public, published API), OKC_TERMS_UTIL_PVT, OKC_TERMS_VERSION_PVT, and OKC_K_ENTITY_LOCKS_GRP, all of which reference it. Customizations and extensions should therefore target the public API (OKC_K_ARTICLE_PUB) rather than this private layer, since the private signature and internals may change between patch levels and are not covered by Oracle's external API guarantee. In both 12.1.1 and 12.2.2, the dependency chain confirms that article creation, versioning, and deletion flows from the Contracts authoring UI or the public contracts APIs ultimately resolve to these routines.
-
PACKAGE: APPS.OKC_K_ARTICLES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ARTICLES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ARTICLES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ARTICLES_PVT, status:VALID,
-
PACKAGE: APPS.OKC_K_ARTICLES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ARTICLES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ARTICLES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ARTICLES_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_B_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_B_S, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_B_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_B_S, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_BH
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_BH, status:VALID,
-
PACKAGE: APPS.OKC_ARTICLES_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_ARTICLES_GRP, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_BH
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_BH, status:VALID,
-
PACKAGE: APPS.OKC_ARTICLES_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_ARTICLES_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_VERSION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_VERSION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_VERSION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_VERSION_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ARTICLES_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ARTICLES_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ARTICLES_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ARTICLES_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ARTICLE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ARTICLE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ARTICLE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ARTICLE_PUB, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ENTITY_LOCKS_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ENTITY_LOCKS_GRP, status:VALID,
-
SYNONYM: APPS.OKC_SECTIONS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_SECTIONS_B, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_ARTICLES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLES_ALL, 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_ARTICLE_VERSIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLE_VERSIONS, status:VALID,
-
SYNONYM: APPS.OKC_ARTICLE_VERSIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLE_VERSIONS, status:VALID,
-
SYNONYM: APPS.OKC_ARTICLES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLES_ALL, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_B, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_K_ARTICLES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_B, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_UTIL_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_UTIL_GRP, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_UTIL_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_UTIL_GRP, status:VALID,
-
PACKAGE: APPS.OKC_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_DEBUG, 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
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.OKC_K_ARTICLES_PVT
12.2.2
-
PACKAGE: APPS.OKC_K_ARTICLES_PVT
12.1.1
-
VIEW: APPS.OKC_BUS_DOC_TYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_BUS_DOC_TYPES_V, object_name:OKC_BUS_DOC_TYPES_V, status:VALID,
-
VIEW: APPS.OKC_BUS_DOC_TYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_BUS_DOC_TYPES_V, object_name:OKC_BUS_DOC_TYPES_V, status:VALID,
-
APPS.OKC_K_ARTICLES_PVT dependencies on OKC_K_ARTICLES_PVT
12.2.2
-
APPS.OKC_K_ENTITY_LOCKS_GRP dependencies on OKC_K_ARTICLES_PVT
12.2.2
-
APPS.OKC_K_ARTICLE_PUB dependencies on OKC_K_ARTICLES_PVT
12.1.1
-
APPS.OKC_K_ARTICLE_PUB dependencies on OKC_K_ARTICLES_PVT
12.2.2
-
APPS.OKC_K_ARTICLES_PVT dependencies on OKC_K_ARTICLES_PVT
12.1.1
-
APPS.OKC_K_ARTICLES_GRP dependencies on OKC_K_ARTICLES_PVT
12.1.1
-
APPS.OKC_TERMS_VERSION_PVT dependencies on OKC_K_ARTICLES_PVT
12.2.2
-
APPS.OKC_TERMS_VERSION_PVT dependencies on OKC_K_ARTICLES_PVT
12.1.1
-
APPS.OKC_TERMS_UTIL_PVT dependencies on OKC_K_ARTICLES_PVT
12.1.1