Results for “create_non_std_article”

8 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The APPS.OKC_K_NON_STD_ART_GRP package body is a component of the Oracle E-Business Suite Contract Core (OKC) module, which underpins the Oracle Contracts and Oracle Service Contracts applications. It provides the runtime implementation for managing non-standard articles within contract terms and conditions. In a standard contract flow, article text is sourced from predefined, reusable article templates stored in the articles repository. From time to time, a business user must override that boilerplate with negotiated or deal-specific wording at the individual contract level. This package encapsulates the logic that permits such overrides while preserving the integrity of the underlying standard article structure, versioning, and variable substitution framework. It is classified as a "GRP" (group) API, meaning it aggregates several related operations into a single cohesive programmatic interface rather than exposing a single atomic operation.

Key Procedures and Functions

The documented interface exposes three procedures:

  • CREATE_NON_STD_ARTICLE — Creates a non-standard (contract-specific) article instance. It derives its structure from the referenced standard article, captures the user-supplied override text, and associates the resulting artifact with the appropriate contract document and article group. It coordinates with the contract articles and article-version tables to maintain a consistent lineage from the standard source to the non-standard copy.
  • UPDATE_NON_STD_ARTICLE — Modifies an existing non-standard article, for example to reflect revised negotiated language or to refresh the values substituted into the article's variables. Version handling ensures that prior wording is retained in the article version history rather than being lost.
  • REVERT_TO_STANDARD — Discards the contract-level override and re-establishes the link to the original standard article, effectively restoring the template-derived text. This is typically invoked when a negotiation falls through or a deviation is no longer required.

Tables Accessed

The package reads and writes the core contract article tables, including OKC_ARTICLES_ALL, OKC_ARTICLE_VARIABLES, OKC_ARTICLE_VERSIONS, OKC_BUS_DOC_TYPES_B, OKC_BUS_VARIABLES_B, OKC_K_ARTICLES_B, and OKC_K_ART_VARIABLES. The _ALL, _B, and version tables hold the article master data, business-document type definitions, and historical revisions. The K_ (contract) tables store the contract-specific instantiation and its variable bindings. Collectively these support text storage, variable substitution, document-type validation, and version control.

Usage Notes

The package depends on FND_API, FND_MSG_PUB, FND_LOG, FND_PROFILE, and OKC_API, indicating that all operations follow the standard EBS API conventions: a message-list and return-status pattern, debug logging, profile-option-driven behavior, and centralized error handling. It is not referenced by any other database object but is itself referenced by two other packages, meaning it is intended as the internal engine invoked by higher-level contract authoring flows. In practice it is called from the Contracts authoring forms and from custom extensions that manipulate contract terms programmatically. Direct invocation should be reserved for situations where the standard Contracts UI cannot satisfy the requirement, and callers should honor the FND_API return status and inspect the message list before committing work. The object is valid in both 12.1.1 and 12.2.2.