Results for “cat_type”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKC_K_ARTICLES_HV is an APPS-owned, VALID database view within the Oracle E-Business Suite Contracts Core (OKC) module. It serves as the history view for the OKC_K_ARTICLES entity, exposing the full temporal record of contract article definitions and their versions across Oracle EBS 12.1.1 and 12.2.2. The "_HV" suffix denotes a history view built over the "_BH" (history) base table, OKC_K_ARTICLES_BH, whose rows are themselves populated by the Contracts Core history/audit infrastructure (typically via a TCA-style history package) whenever article records are inserted, updated, or deleted.
From a reporting and integration standpoint, OKC_K_ARTICLES_HV provides point-in-time and change-tracked access to contract terms, boilerplate clauses, and article text without requiring consumers to reconstruct version chains manually. Because it is a view rather than a table, it participates transparently in the standard EBS security and org-access model and can be queried by BI Publisher reports, OAF/ADF pages, Discoverer workbooks, and external integrations that read from the APPS schema.
Underlying Base Objects
The view is defined over three documented base objects, all exposed as APPS synonyms:
- OKC_K_ARTICLES_BH — the history table (alias CATB), which supplies the historical snapshot rows, including ROWID, ID, MAJOR_VERSION, CHR_ID, CLE_ID, CAT_ID, OBJECT_VERSION_NUMBER, the DENORMALIZED_CHR_ID, FULLTEXT_YN, SAV_SAE_ID, and the ATTRIBUTE1–15 descriptive flexfield columns.
- OKC_ARTICLES_ALL — the current, non-versioned article master (alias ART), joined on CATB.SAV_SAE_ID = ART.ARTICLE_ID to retrieve ARTICLE_TYPE, ARTICLE_TITLE, and STANDARD_YN.
- OKC_ARTICLE_VERSIONS — the article version repository (aliases VERS for the history version, and STD via an outer join on STD.ARTICLE_VERSION_ID(+) = VERS.STD_ARTICLE_VERSION_ID for the standard/base version). This supplies ARTICLE_DESCRIPTION, VARIATION_DESCRIPTION, DISPLAY_NAME, ARTICLE_TEXT, and SAV_RELEASE / ARTICLE_VERSION_NUMBER.
The outer join to the standard version (STD) is significant: it allows history rows to be returned even when the associated standard article version no longer exists, preserving audit completeness.
Key Columns
Columns fall into identification, version, and descriptive categories:
- ROW_ID — the ROWID of the underlying history row, used as the surrogate key for the view.
- ID, CHR_ID, CLE_ID, CAT_ID — identifiers for the article and its owning contract hierarchy (contract header, line, and terms), linking history back to the contract structure.
- MAJOR_VERSION, OBJECT_VERSION_NUMBER, SAV_SAV_RELEASE — versioning metadata. SAV_SAV_RELEASE is derived via DECODE to select either the standard release or the article version number depending on whether the source article is standard.
- SAV_SAE_ID — the resolved article ID; DECODE returns SAV_SAE_ID from CATB when the article is standard (STANDARD_YN = 'Y'), otherwise STD.ARTICLE_ID.
- SBT_CODE — maps to ART.ARTICLE_TYPE, the sub-type/code classifying the article.
- NAME — NVL(VERS.DISPLAY_NAME, ART.ARTICLE_TITLE), the user-facing label.
- TEXT, COMMENTS, VARIATION_DESCRIPTION, FULLTEXT_YN — the article body, description, variation text, and full-text indicator.
- ATTRIBUTE_CATEGORY, ATTRIBUTE1–15 — descriptive flexfield columns carried from the history table.
- CAT_TYPE — derived by DECODE on ORIG_SYSTEM_REFERENCE_CODE ('OKE', 'OKC11510UPG:OKE' → 'STA'; otherwise falls back to DECODE on ART.STANDARD_YN, returning 'STA' or 'NSD').
- SFWT_FLAG, DNZ_CHR_ID — a NULL placeholder flag and denormalized contract header ID.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — the standard WHO audit columns.
Common Use Cases and Queries
Typical scenarios include auditing clause changes over time, generating "as-of" contract term reports, and reconciling imported legacy contracts (the OKE upgrade paths mapped by CAT_TYPE). A representative query retrieves the change history of a contract's articles:
- SELECT ID, MAJOR_VERSION, NAME, SBT_CODE, CAT_TYPE, SAV_SAV_RELEASE, LAST_UPDATE_DATE FROM OKC_K_ARTICLES_HV WHERE CHR_ID = :contract_id ORDER BY MAJOR_VERSION, LAST_UPDATE_DATE;
- SELECT CHR_ID, COUNT(*) FROM OKC_K_ARTICLES_HV WHERE MAJOR_VERSION = :ver GROUP BY CHR_ID — to enumerate articles belonging to a specific version.
- SELECT ID, TEXT FROM OKC_K_ARTICLES_HV WHERE FULLTEXT_YN = 'Y' AND STANDARD_YN implied standard via CAT_TYPE = 'STA' — isolating standard boilerplate articles.
Because the view joins three substantial tables, queries should be filtered on CHR_ID or ID to leverage the underlying indexes and avoid full scans of the history table.
-
View: OKC_K_ARTICLES_HV 12.1.1
History view for OKC_K_ARTICLES.
APPS.OKC_K_ARTICLES_HV·↳ OKC_ARTICLES_ALL·↳ OKC_ARTICLE_VERSIONS·↳ OKC_K_ARTICLES_BH·Explore OKC module →
-
View: OKL_K_ARTICLES_UV 12.1.1
APPS.OKL_K_ARTICLES_UV·↳ MO_GLOBAL·↳ OKC_K_ARTICLES_V·↳ OKC_STD_ARTICLES_V·Explore OKL module →
-
History table for OKC_K_ARTICLES_B.
-
View: OKC_K_ARTICLES_V 12.2.2
View for table OKC_ARTICLES_B
APPS.OKC_K_ARTICLES_V·↳ OKC_ARTICLES_ALL·↳ OKC_ARTICLE_VERSIONS·↳ OKC_K_ARTICLES_B·Explore OKC module →
-
View: OKC_TERMS_ARTICLES_V 12.1.1
APPS.OKC_TERMS_ARTICLES_V·↳ OKC_K_ARTICLES_B·Explore OKC module →
-
View: OKC_K_ARTICLES_HV 12.2.2
History view for OKC_K_ARTICLES.
APPS.OKC_K_ARTICLES_HV·↳ OKC_ARTICLES_ALL·↳ OKC_ARTICLE_VERSIONS·↳ OKC_K_ARTICLES_BH·Explore OKC module →
-
History table for OKC_K_ARTICLES_B.
-
OKC_K_ARTICLES holds the use of standard and non-standard ("custom", one-time use) clauses in business documents.When associated with a document header, the clause governs the entire document. When associated with a line, the clause governs
-
View: OKL_K_ARTICLES_UV 12.2.2
APPS.OKL_K_ARTICLES_UV·↳ MO_GLOBAL·↳ OKC_K_ARTICLES_V·↳ OKC_STD_ARTICLES_V·Explore OKL module →
-
View: OKC_K_ARTICLES_V 12.1.1
View for table OKC_ARTICLES_B
APPS.OKC_K_ARTICLES_V·↳ OKC_ARTICLES_ALL·↳ OKC_ARTICLE_VERSIONS·↳ OKC_K_ARTICLES_B·Explore OKC module →
-
View: OKC_TERMS_ARTICLES_V 12.2.2
APPS.OKC_TERMS_ARTICLES_V·↳ OKC_K_ARTICLES_B·Explore OKC module →
-
View: OKC_TERMS_ARTICLES_HV 12.1.1
APPS.OKC_TERMS_ARTICLES_HV·↳ OKC_K_ARTICLES_BH·Explore OKC module →
-
View: OKC_TERMS_ARTICLES_HV 12.2.2
APPS.OKC_TERMS_ARTICLES_HV·↳ OKC_K_ARTICLES_BH·Explore OKC module →
-
OKC_K_ARTICLES holds the use of standard and non-standard ("custom", one-time use) clauses in business documents.When associated with a document header, the clause governs the entire document. When associated with a line, the clause governs
-
View: OKR_K_ARTICLES_V 12.2.2
View for table OKC_K_ARTICLES_B
Not implemented in this database·Explore OKR module →
-
View: OKC_KOL_K_ARTICLES_V 12.2.2
Not implemented in this database·Explore OKC module →
-
VIEW: APPS.OKL_K_ARTICLES_UV 12.2.2
-
View: OKC_KOL_K_ARTICLES_V 12.1.1
Not implemented in this database·Explore OKC module →
-
VIEW: OKC.OKC_K_ARTICLES_B# 12.2.2
-
VIEW: APPS.OKL_K_ARTICLES_UV 12.1.1
-
VIEW: OKC.OKC_K_ARTICLES_BH# 12.2.2
-
View: OKR_K_ARTICLES_HV 12.1.1
History view on OKR_K_ARTICLES
Not implemented in this database·Explore OKR module →
-
View: OKR_K_ARTICLES_V 12.1.1
View for table OKC_K_ARTICLES_B
Not implemented in this database·Explore OKR module →
-
View: OKR_K_ARTICLES_HV 12.2.2
History view on OKR_K_ARTICLES
Not implemented in this database·Explore OKR module →
-
VIEW: APPS.OKL_K_ARTICLES_UV 12.1.1
-
VIEW: APPS.OKL_K_ARTICLES_UV 12.2.2
-
VIEW: OKC.OKC_K_ARTICLES_B# 12.2.2
-
VIEW: OKC.OKC_K_ARTICLES_BH# 12.2.2
-
VIEW: APPS.OKC_K_ARTICLES_HV 12.2.2
-
VIEW: APPS.OKE_K_ARTICLES_HV 12.1.1
-
VIEW: APPS.OKC_K_ARTICLES_HV 12.1.1
-
VIEW: APPS.OKC_K_ARTICLES_V 12.2.2
-
VIEW: APPS.OKC_K_ARTICLES_V 12.1.1
-
VIEW: APPS.OKE_K_ARTICLES_HV 12.2.2