Search Results update_std_article




Overview

OKC_STD_ARTICLE_PVT is a private (PVT) API package in the Oracle EBS Contracts (OKC) module, owned by APPS. It provides the internal processing layer for the setup and maintenance of standard articles, which are reusable clause or article definitions that can be attached to contract templates, contract terms, and contract documents. The package was introduced under the OKC Contracts Standard Article entity and exposes a structured set of procedures for creating, updating, validating, locking, and deleting standard articles and their associated versions and incomplete states.

The package is declared AUTHID CURRENT_USER, meaning it executes with the privileges of the calling schema rather than the defining schema — a standard convention for private APIs that are intended to be invoked only through public wrapper APIs or internal concurrent processing, not directly by end users. It is a foundational private package; the ETRM metadata indicates it is referenced by one other package and relies on the public OKC_API package for shared global constants such as G_APP_NAME, G_COL_NAME_TOKEN, and message-handling tokens.

Key Procedures and Functions

Of the 75 documented procedures and functions, the most significant include:

Tables Accessed

The package operates against the following base tables via APPS synonyms:

  • OKC_K_ARTICLES_B — the contract articles base table, holding the master article definition.
  • OKC_ARTICLE_VERSIONS — versioned article content, supporting multi-version article lifecycles.
  • OKC_STD_ART_VERSIONS_B — standard article version base table, the primary target of version-level procedures.
  • OKC_STD_ART_INCMPTS — stores incomplete standard articles during staged authoring.
  • OKC_STD_ART_SET_MEMS — standard article set membership, supporting grouping of articles into sets.
  • DBMS_LOB and PLITBLM — Oracle-supplied packages used for large object (CLOB/BLOB) handling of article text and for PL/SQL index-by table management, respectively.

Usage Notes

OKC_STD_ARTICLE_PVT is a private package and should not be invoked directly from custom code. In standard Oracle EBS usage it is called by the public OKC standard article APIs (typically in the OKC_STD_ARTICLE or OKC_API family) and by the Contracts Authoring forms that manage standard article setup. The presence of ADD_LANGUAGE and the validation token constants confirms it is also driven by Oracle's NLS installation and patch utilities.

Concurrent programs that load, migrate, or seed standard articles rely on this package indirectly through the public API layer. Custom integrators requiring programmatic creation of standard articles should call the corresponding public API, which in turn delegates to OKC_STD_ARTICLE_PVT. Because the package declares G_EXCEPTION_HALT_VALIDATION and uses OKC_API error tokens, callers can expect standardized FND message propagation through the OKC error stack.