Search Results okc_terms_multirec_grp
Overview
The OKC_TERMS_MULTIREC_GRP package is a group-type (GRP) PL/SQL package in the Oracle E-Business Suite Applications (APPS) schema, owned by the Contracts (OKC) product family and specifically associated with the Oracle Terms and Conditions / ETRM (Enterprise Contract Terms Management) module. Its primary business function is to manage and synchronize "multi-record" term structures — the hierarchical groupings of terms, articles, clauses, and variables that make up a contract template or authored contract document. Unlike a pure data-access API package, OKC_TERMS_MULTIREC_GRP is classified as a group package, meaning it encapsulates related business operations that act on multiple records of term structure data as a single unit of work. It provides the programmatic backbone for creating and updating articles, managing article variables and their values, organizing the layout and display sequence of sections, merging reviewed clauses back into a document, and synchronizing contract documents with the Oracle Expert (formerly ASO/expert) rules engine. In Oracle EBS 12.1.1 and 12.2.2, this package underpins the Terms and Conditions authoring and template-management UI flows that rely on multi-record term editing rather than single-record term operations.
Key Procedures and Functions
The package exposes eight documented procedures:
- CREATE_ARTICLE — Creates a new article (clause/article instance) within a term structure, inserting the necessary rows into the contract article tables.
- UPDATE_ARTICLE_VARIABLE — Updates the variable values associated with an article, supporting dynamic substitution of term variables within clause text.
- UPDATE_STRUCTURE — Reorganizes or updates the term-structure layout, including display sequence, labels, and mandatory flags for structure records. This is the procedure most directly associated with the "update_structure" search term.
- SYNC_DOC_WITH_EXPERT — Synchronizes the authored contract document with the Oracle Expert rules engine so that expert-driven selections and term choices remain consistent.
- REFRESH_ARTICLES — Reloads or re-evaluates article data to reflect current template or variable state.
- ORGANIZE_LAYOUT — Arranges the visual/structural layout of sections and articles according to template configuration.
- MERGE_REVIEW_CLAUSES — Merges clauses that were modified during a review cycle back into the live contract term structure.
- SORT_CLAUSES — Orders clauses within the structure, typically by display sequence or section.
The package also declares several record and table types (art_var_rec_type, kart_rec_type, organize_rec_type, structure_rec_type, article_rec_type, merge_review_rec_type and corresponding TABLE types) that mirror the columns of the underlying tables, indicating the procedures operate on PL/SQL collections rather than single-row operations.
Tables Accessed
The package reads and writes the core ETRM term-model tables: OKC_K_ARTICLES_B (article base rows), OKC_ARTICLES_ALL (article view/synonym), OKC_ARTICLE_VERSIONS (article versioning), OKC_K_ART_VARIABLES (article variable definitions and values), OKC_ART_VAR_SECTIONS (variable-to-section linkage), OKC_ARTICLE_ADOPTIONS (clause adoption between contracts/templates), OKC_SECTIONS_B (section definitions), OKC_TERMS_TEMPLATES_ALL and OKC_TEMPLATE_USAGES (term templates and their usage), OKC_REVIEW_UPLD_TERMS and OKC_REVIEW_VAR_VALUES (review-cycle uploaded terms and variable values), and PLITBLM (a standard Oracle PL/SQL interlocked table used for bulk operations). These tables support the article, variable, section, template, and review-merge functionality the package implements.
Usage Notes
OKC_TERMS_MULTIREC_GRP is invoked primarily from the Terms and Conditions authoring forms and template-management UI, and secondarily from concurrent programs and custom extensions that need to create or restructure multi-record term structures. It is referenced by four other packages, indicating it functions as a shared service layer within the OKC module. Custom code should call the documented procedures rather than manipulating the underlying tables directly, because the package enforces structure consistency, version tracking, and expert synchronization. The header comment (121.2, 2005/09/13) indicates the package source is mature and stable across 12.1.1 and 12.2.2.
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_MULTIREC_GRP, status:VALID,
-
PACKAGE: APPS.OKC_CODE_HOOK
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CODE_HOOK, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_MULTIREC_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_MULTIREC_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_MULTIREC_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_MULTIREC_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_MULTIREC_GRP, 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_K_ARTICLES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ARTICLES_B, status:VALID,
-
SYNONYM: APPS.OKC_REVIEW_VAR_VALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_REVIEW_VAR_VALUES, 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_REVIEW_UPLD_TERMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_REVIEW_UPLD_TERMS, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_MULTIREC_GRP_W, status:VALID,
-
SYNONYM: APPS.OKC_REVIEW_UPLD_TERMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_REVIEW_UPLD_TERMS, status:VALID,
-
SYNONYM: APPS.OKC_ART_VAR_SECTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ART_VAR_SECTIONS, status:VALID,
-
PACKAGE: APPS.OKC_NUMBER_SCHEME_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_NUMBER_SCHEME_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_MULTIREC_GRP_W
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_MULTIREC_GRP_W, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_SECTIONS_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_SECTIONS_GRP, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP_W
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_MULTIREC_GRP_W, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_MULTIREC_GRP_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_MULTIREC_GRP_W, status:VALID,
-
SYNONYM: APPS.OKC_REVIEW_VAR_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_REVIEW_VAR_VALUES, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_SECTIONS_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_SECTIONS_GRP, status:VALID,
-
PACKAGE: APPS.OKC_NUMBER_SCHEME_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_NUMBER_SCHEME_GRP, status:VALID,
-
PACKAGE: APPS.OKC_K_ARTICLES_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ARTICLES_GRP, 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_K_ARTICLES_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ARTICLES_GRP, status:VALID,
-
PACKAGE: APPS.OKC_REVIEW_UPLD_TERMS_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_REVIEW_UPLD_TERMS_PVT, status:VALID,
-
PACKAGE: APPS.OKC_REVIEW_UPLD_TERMS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_REVIEW_UPLD_TERMS_PVT, status:VALID,
-
PACKAGE: APPS.OKC_CLM_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_CLM_PKG, status:VALID,
-
PACKAGE: APPS.OKC_K_ART_VARIABLES_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ART_VARIABLES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_NON_STD_ART_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_NON_STD_ART_GRP, status:VALID,
-
PACKAGE: APPS.OKC_K_ART_VARIABLES_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_K_ART_VARIABLES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_CODE_HOOK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CODE_HOOK, status:VALID,
-
SYNONYM: APPS.OKC_ARTICLE_ADOPTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLE_ADOPTIONS, status:VALID,
-
SYNONYM: APPS.OKC_ARTICLE_ADOPTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLE_ADOPTIONS, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_NON_STD_ART_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_NON_STD_ART_GRP, status:VALID,
-
SYNONYM: APPS.OKC_K_ART_VARIABLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ART_VARIABLES, status:VALID,
-
SYNONYM: APPS.OKC_K_ART_VARIABLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ART_VARIABLES, 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_TERMS_TEMPLATES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_TERMS_TEMPLATES_ALL, status:VALID,
-
SYNONYM: APPS.OKC_TEMPLATE_USAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_TEMPLATE_USAGES, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_UTIL_PVT, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_TEMPLATE_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_TEMPLATE_USAGES, status:VALID,
-
SYNONYM: APPS.OKC_TERMS_TEMPLATES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_TERMS_TEMPLATES_ALL, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_UTIL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_UTIL_PVT, 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,
-
PACKAGE BODY: APPS.OKC_XPRT_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_UTIL_PVT, status:VALID,
-
SYNONYM: APPS.OKC_ARTICLE_VERSIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_ARTICLE_VERSIONS, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP
12.1.1
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP
12.2.2