Search Results okc_k_art_variables
Overview
The OKC_K_ART_VARIABLES table resides in the OKC schema and belongs to the Contracts Core module (OKC) of Oracle E-Business Suite. It is described in the ETRM repository as the document clause variable table, and its purpose is to store clause variables that are used within a document through contract terms. In practical terms, this object holds the runtime and configuration values that drive variable substitution inside contract clause text, allowing clauses authored in a template to be populated dynamically when a contract or document is assembled.
From a Data Vault modeling perspective, the ETRM metadata classifies this table heuristically as standalone, based on the structure of its foreign key relationships. This is a modeling suggestion rather than a physical directive: the table is not currently linked to other OKC entities through declared foreign keys and behaves in isolation at the schema level, which means it can be treated as a self-contained reference or configuration entity rather than as a dependent satellite of a larger hub.
Key Information Stored
The table contains 18 documented columns. The most significant are:
- CAT_ID — the contract article/category identifier, which also participates in the unique business key and carries a foreign key reference to
BEN_TCS_CAT. This ties each clause variable to a specific contract term or clause category. - VARIABLE_CODE — the code that identifies the variable within the clause. Together with CAT_ID it forms the unique index
OKC_K_ART_VARIABLES_U1, making the pair the primary business-key candidate. - VARIABLE_TYPE — indicates the nature of the variable (for example, a value set, a static value, or another typing scheme) and drives how the variable is resolved at runtime.
- EXTERNAL_YN — flags whether the variable is sourced externally.
- ATTRIBUTE_VALUE_SET_ID and VARIABLE_VALUE_ID — reference the value set and the resolved variable value respectively.
- VARIABLE_VALUE — the literal or resolved value assigned to the variable.
- OVERRIDE_GLOBAL_YN, GLOBAL_VARIABLE_VALUE, and GLOBAL_VARIABLE_VALUE_ID — support the override of global variable values at the document or clause level.
- MR_VARIABLE_HTML and MR_VARIABLE_XML — multi-row variables rendered in HTML and XML form, which is essential for clause content that expands into repeating or structured output.
- OBJECT_VERSION_NUMBER — the standard EBS optimistic locking column, alongside the audit columns CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, and LAST_UPDATE_LOGIN.
Note that the unique index on (CAT_ID, VARIABLE_CODE) is the documented business-key candidate; the table does not expose a separately documented surrogate primary key column beyond this composite.
Common Use Cases and Queries
Typical use cases include auditing which variables drive a given contract clause, tracing the values substituted into generated documents, and reporting on external versus internal variable usage. A representative query listing variables for a given category might read:
SELECT CAT_ID, VARIABLE_CODE, VARIABLE_TYPE, VARIABLE_VALUE FROM OKC.OKC_K_ART_VARIABLES WHERE CAT_ID = :p_cat_id;SELECT * FROM OKC.OKC_K_ART_VARIABLES WHERE EXTERNAL_YN = 'Y' AND VARIABLE_VALUE IS NULL;— to find unresolved external variables.SELECT CAT_ID, VARIABLE_CODE, OVERRIDE_GLOBAL_YN, GLOBAL_VARIABLE_VALUE FROM OKC.OKC_K_ART_VARIABLES WHERE OVERRIDE_GLOBAL_YN = 'Y';— to report overridden globals.
Related Objects
- BEN_TCS_CAT — referenced through the FK
OKC_K_ART_VARIABLES.CAT_ID → BEN_TCS_CAT; the primary parent object. - OKC_K_ARTICLES / OKC_K_ARTICLE_VERSIONS — the clause/article definitions that consume these variables.
- OKC_K_TERMS and OKC_K_LINES — contract term and line records that bind clauses to documents.
- OKC_K_HEADERS — contract headers that carry the assembled clauses.
- OKC_K_VARIABLES / value-set tables — supporting the ATTRIBUTE_VALUE_SET_ID and VARIABLE_VALUE_ID references.
-
Table: OKC_K_ART_VARIABLES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_ART_VARIABLES, object_name:OKC_K_ART_VARIABLES, status:VALID, product: OKC - Contracts Core , description: Document clause variable table. This will store clause variables used in a document through contract terms , implementation_dba_data: OKC.OKC_K_ART_VARIABLES ,
-
Table: OKC_K_ART_VARIABLES
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_ART_VARIABLES, object_name:OKC_K_ART_VARIABLES, status:VALID, product: OKC - Contracts Core , description: Document clause variable table. This will store clause variables used in a document through contract terms , implementation_dba_data: OKC.OKC_K_ART_VARIABLES ,
-
APPS.OKC_MRV_UTIL SQL Statements
12.2.2
-
VIEW: APPS.OKC_TERMS_GLOBAL_VAR_V
12.2.2
-
VIEW: OKC.OKC_K_ART_VARIABLES#
12.2.2
owner:OKC, object_type:VIEW, object_name:OKC_K_ART_VARIABLES#, status:VALID,
-
VIEW: APPS.OKC_TERMS_VAR_VALUES_V
12.1.1
-
APPS.OKC_K_ART_VARIABLES_PVT SQL Statements
12.1.1
-
VIEW: APPS.OKC_TERMS_VAR_VALUES_V
12.2.2
-
SYNONYM: APPS.OKC_K_ART_VARIABLES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ART_VARIABLES, status:VALID,
-
VIEW: OKC.OKC_K_ART_VARIABLES#
12.2.2
-
SYNONYM: APPS.OKC_K_ART_VARIABLES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_K_ART_VARIABLES, status:VALID,
-
VIEW: APPS.OKC_TERMS_GLOBAL_VAR_V
12.1.1
-
View: OKC_TERMS_GLOBAL_VAR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_GLOBAL_VAR_V, object_name:OKC_TERMS_GLOBAL_VAR_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_GLOBAL_VAR_V ,
-
APPS.OKC_K_ART_VARIABLES_PVT SQL Statements
12.2.2
-
APPS.OKC_K_ART_VARIABLES_GRP SQL Statements
12.2.2
-
APPS.OKC_K_ART_VARIABLES_GRP SQL Statements
12.1.1
-
VIEW: APPS.OKC_TERMS_LOCAL_VAR_V
12.1.1
-
APPS.OKC_TERMS_COPY_PVT SQL Statements
12.1.1
-
APPS.OKC_TERMS_COPY_PVT SQL Statements
12.2.2
-
VIEW: APPS.OKC_TERMS_LOCAL_VAR_V
12.2.2
-
TABLE: OKC.OKC_K_ART_VARIABLES
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_ART_VARIABLES, object_name:OKC_K_ART_VARIABLES, status:VALID,
-
PACKAGE BODY: APPS.OKC_MRV_UTIL
12.2.2
-
PACKAGE BODY: APPS.OKC_K_ART_VARIABLES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ART_VARIABLES_PVT, status:VALID,
-
|
12.1.1
-
TABLE: OKC.OKC_K_ART_VARIABLES
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_K_ART_VARIABLES, object_name:OKC_K_ART_VARIABLES, status:VALID,
-
PACKAGE: APPS.OKC_TERMS_MULTIREC_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TERMS_MULTIREC_GRP, status:VALID,
-
View: OKC_TERMS_GLOBAL_VAR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_GLOBAL_VAR_V, object_name:OKC_TERMS_GLOBAL_VAR_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_GLOBAL_VAR_V ,
-
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_K_ART_VARIABLES_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ART_VARIABLES_GRP, status:VALID,
-
View: OKC_TERMS_VAR_VALUES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_VAR_VALUES_V, object_name:OKC_TERMS_VAR_VALUES_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_VAR_VALUES_V ,
-
PACKAGE BODY: APPS.OKC_K_ART_VARIABLES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ART_VARIABLES_PVT, status:VALID,
-
View: OKC_TERMS_VAR_VALUES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_VAR_VALUES_V, object_name:OKC_TERMS_VAR_VALUES_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_VAR_VALUES_V ,
-
PACKAGE BODY: APPS.OKC_CLS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CLS_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OKC_K_ART_VARIABLES_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_ART_VARIABLES_GRP, status:VALID,
-
PACKAGE BODY: APPS.OKC_CLM_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_CLM_PKG, 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_NON_STD_ART_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_K_NON_STD_ART_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_MOD_UTIL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_MOD_UTIL_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_XRULE_VALUES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_XRULE_VALUES_PVT, 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,
-
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_MRV_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_MRV_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OKC_XPRT_XRULE_VALUES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_XPRT_XRULE_VALUES_PVT, status:VALID,
-
APPS.PO_MOD_UTIL_PVT SQL Statements
12.2.2
-
|
12.2.2
-
PACKAGE BODY: APPS.OKC_TERMS_QA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_QA_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_TERMS_QA_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TERMS_QA_PVT, status:VALID,
-
APPS.OKC_K_NON_STD_ART_GRP SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OKC_REVIEW_UPLD_TERMS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REVIEW_UPLD_TERMS_PVT, 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,