Search Results article_name
Overview
APPS.OKC_TERMS_DOC_LATEST_ART_V is a reporting and integration view in the Oracle E-Business Suite ETRM (Enterprise Contracts) module. It exposes article-level data for standard contract terms documents, joining the article definition layer to the term-version layer and resolving descriptive attributes through the OKC_TERMS_UTIL_PVT utility package. The view is defined over the base objects OKC_K_ARTICLES_B and OKC_ARTICLES_ALL, and its derived columns are populated by function calls into OKC_TERMS_UTIL_PVT. It does not store data; it project a curated, denormalized presentation of article and version metadata suitable for reporting, personalization, and interface extraction in both 12.1.1 and 12.2.2 releases.
The distinguishing characteristic of this view is its focus on the latest article version. For each article row it returns the current version number and version identifier alongside the article and section identifiers, enabling consumers to report on the effective wording of a terms document without navigating multiple version rows themselves. The hardcoded literal 'ARTICLE' in the OBJECT_TYPE column confirms its role within a family of term-object views that share a common projection shape.
Underlying Base Objects
The view is documented as referencing three base objects:
- OKC_K_ARTICLES_B (alias
k) — the primary driving table. It supplies the article identifier (SAV_SAE_ID), the article version identifier (ARTICLE_VERSION_ID), the section identifier (SCN_ID), the document type and document id, the object version number, and the original system reference columns. Rows are restricted to those where ARTICLE_VERSION_ID is not null. - OKC_ARTICLES_ALL (alias
art) — joined onk.sav_sae_id = art.article_idand filtered byart.standard_yn = 'Y'. This constrains the result set to standard (seeded) articles rather than user-defined or nonstandard ones. - OKC_TERMS_UTIL_PVT — a PL/SQL package whose functions resolve the descriptive attributes: article name, section label, version number, the latest version number and id, local article id, and adoption type. Because these are function calls, the view is not a pure relational join; each row incurs the cost of these lookups.
In both 12.1.1 and 12.2.2 these objects are exposed to APPS through synonyms, so the view resolves against the ETRM schema objects as documented.
Key Columns
- ARTICLE_NAME — resolved via
get_article_name(sav_sae_id, article_version_id); the descriptive name of the article. - SECTION_LABEL — resolved via
get_section_label(scn_id); the human-readable label of the section owning the article. - ARTICLE_VERSION_NUMBER — the version number of the row's article version.
- LATEST_ARTICLE_VERSION_NUMBER and LATEST_ARTICLE_VERSION_ID — resolved by
get_latest_art_version_noandget_latest_art_version_idusing the article id, document type, and document id; these identify the currently effective version. - ARTICLE_ID (SAV_SAE_ID), ARTICLE_VERSION_ID, SECTION_ID (SCN_ID) — the core identifiers linking back to OKC_K_ARTICLES_B and related tables.
- OBJECT_TYPE — constant
'ARTICLE', used when unioning with sibling term-object views. - KARTICLES_ID — the OKC_K_ARTICLES_B row identifier.
- DOCUMENT_TYPE, DOCUMENT_ID — the owning terms document.
- OBJECT_VERSION_NUMBER — optimistic locking / row version column.
- LOCAL_ARTICLE_ID — resolved via
get_local_article_id; the article's local (language) identifier. - ADOPTION_TYPE — resolved via
get_adoption_type; indicates how the article is adopted into the document. - ORIG_SYSTEM_REFERENCE_CODE, ORIG_SYSTEM_REFERENCE_ID1 — source-system identifiers for inbound interfaces.
Common Use Cases and Queries
This view is typically used to report on the current wording of standard articles within a terms document, to reconcile article versions, and to drive downstream interfaces that require the latest effective version of each article.
Report the latest version of each standard article for a given document:
SELECT article_name, section_label, article_version_number, latest_article_version_number, adoption_type FROM apps.okc_terms_doc_latest_art_v WHERE document_type = :p_doc_type AND document_id = :p_doc_id ORDER BY section_label, article_name;
Identify articles whose current row is not the latest version (stale versions):
SELECT article_id, article_name, article_version_number, latest_article_version_number FROM apps.okc_terms_doc_latest_art_v WHERE article_version_id <> latest_article_version_id;
Extract localized article names through the LOCAL_ARTICLE_ID for multilingual deployments, or filter by ORIG_SYSTEM_REFERENCE_CODE when loading articles from an external contract authoring system. Because the view relies on OKC_TERMS_UTIL_PVT function calls for most descriptive columns, queries that filter on ARTICLE_NAME or SECTION_LABEL cannot use index access; constrain first on the identifier columns (DOCUMENT_TYPE, DOCUMENT_ID, ARTICLE_ID) to limit the driving row set before applying descriptive predicates.
-
VIEW: APPS.OKC_TERMS_DOC_LATEST_ART_V
12.2.2
-
View: OKC_TERMS_DOC_LATEST_ART_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_DOC_LATEST_ART_V, object_name:OKC_TERMS_DOC_LATEST_ART_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_DOC_LATEST_ART_V ,
-
View: OKC_TERMS_DOC_LATEST_ART_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_DOC_LATEST_ART_V, object_name:OKC_TERMS_DOC_LATEST_ART_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_DOC_LATEST_ART_V ,
-
VIEW: APPS.OKC_TERMS_DOC_LATEST_ART_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_DOC_LATEST_ART_V, object_name:OKC_TERMS_DOC_LATEST_ART_V, status:VALID,
-
VIEW: APPS.OKC_TERMS_DOC_LATEST_ART_V
12.1.1
-
VIEW: APPS.OKC_TERMS_DOC_LATEST_ART_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_DOC_LATEST_ART_V, object_name:OKC_TERMS_DOC_LATEST_ART_V, status:VALID,
-
View: OKC_TERMS_LOCAL_VAR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_LOCAL_VAR_V, object_name:OKC_TERMS_LOCAL_VAR_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_LOCAL_VAR_V ,
-
View: OKC_TERMS_LOCAL_VAR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_LOCAL_VAR_V, object_name:OKC_TERMS_LOCAL_VAR_V, status:VALID, product: OKC - Contracts Core , implementation_dba_data: APPS.OKC_TERMS_LOCAL_VAR_V ,
-
VIEW: APPS.OKC_TERMS_LOCAL_VAR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_LOCAL_VAR_V, object_name:OKC_TERMS_LOCAL_VAR_V, status:VALID,
-
VIEW: APPS.OKC_TERMS_LOCAL_VAR_V
12.1.1
-
VIEW: APPS.OKC_TERMS_LOCAL_VAR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OKC.OKC_TERMS_LOCAL_VAR_V, object_name:OKC_TERMS_LOCAL_VAR_V, status:VALID,
-
VIEW: APPS.OKC_TERMS_LOCAL_VAR_V
12.2.2
-
PACKAGE: APPS.OKL_MASTER_LEASE_AGREEMENT_PUB
12.2.2
-
PACKAGE: APPS.OKL_MASTER_LEASE_AGREEMENT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKL_MASTER_LEASE_AGREEMENT_PUB
12.2.2
-
PACKAGE BODY: APPS.OKL_MASTER_LEASE_AGREEMENT_PUB
12.1.1
-
PACKAGE: APPS.OKL_VENDOR_AGREEMENT_PUB
12.2.2
-
PACKAGE: APPS.OKL_VENDOR_AGREEMENT_PUB
12.1.1
-
PACKAGE BODY: APPS.OKL_VENDOR_AGREEMENT_PUB
12.2.2
-
PACKAGE BODY: APPS.OKL_VENDOR_AGREEMENT_PUB
12.1.1
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKC_K_ARTICLES_V
12.2.2
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKC_K_ARTICLES_V
12.1.1
-
APPS.OKL_MASTER_LEASE_AGREEMENT_PUB dependencies on OKC_K_ARTICLES_V
12.2.2
-
APPS.OKL_MASTER_LEASE_AGREEMENT_PUB dependencies on OKC_K_ARTICLES_V
12.1.1
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKL_VP_K_ARTICLE_PUB
12.2.2
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKL_VP_K_ARTICLE_PUB
12.1.1
-
APPS.OKL_MASTER_LEASE_AGREEMENT_PUB dependencies on OKL_VP_K_ARTICLE_PUB
12.2.2
-
APPS.OKL_MASTER_LEASE_AGREEMENT_PUB dependencies on OKL_VP_K_ARTICLE_PUB
12.1.1
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKC_API
12.1.1
-
APPS.OKL_VENDOR_AGREEMENT_PUB dependencies on OKC_API
12.2.2
-
APPS.OKL_MASTER_LEASE_AGREEMENT_PUB dependencies on OKC_API
12.1.1
-
APPS.OKL_MASTER_LEASE_AGREEMENT_PUB dependencies on OKC_API
12.2.2
-
PACKAGE BODY: APPS.OKC_ARTICLES_MIGRATE_GRP
12.2.2
-
PACKAGE BODY: APPS.OKC_ARTICLES_MIGRATE_GRP
12.1.1
-
APPS.OKC_DELIVERABLE_PROCESS_PVT dependencies on OKC_TERMS_UTIL_PVT
12.1.1
-
APPS.OKC_ARTICLES_MIGRATE_GRP dependencies on OKC_API
12.2.2
-
APPS.OKC_ARTICLES_MIGRATE_GRP dependencies on OKC_API
12.1.1
-
APPS.OKC_DELIVERABLE_PROCESS_PVT dependencies on OKC_TERMS_UTIL_PVT
12.2.2
-
PACKAGE BODY: APPS.OKC_DELIVERABLE_PROCESS_PVT
12.1.1
-
PACKAGE BODY: APPS.OKC_DELIVERABLE_PROCESS_PVT
12.2.2
-
eTRM - OKC Tables and Views
12.1.1
description: Intersection entity between templates and rules. ,
-
eTRM - OKC Tables and Views
12.2.2
description: Intersection entity between rules and templates ,