Results for “okc_section_contents_hv”
20 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKC_SECTION_CONTENTS_HV is a seed data view in the APPS schema belonging to the OKC – Contracts Core product family (Oracle Contracts / Enterprise Contract Management). It is classified in the ETRM data model as a view rather than a table, and is documented as VALID in both Oracle E-Business Suite 12.1.1 and 12.2.2. The suffix "_HV" denotes a "Header View" style construct typically used as a denormalized, presentation-ready access path across the standard OKC contract article and section hierarchy.
The view exposes section content records — the individual articles, clauses, and text blocks that make up a contract's structured content — joined to the article definition to derive the correct source article entity. Because it presents a stable, pre-joined shape with reserved descriptive flexfield columns (ATTRIBUTE_CATEGORY through ATTRIBUTE15), it is intended primarily for reporting, form LOVs, and integration extraction rather than for direct transactional DML.
Underlying Base Objects
Per the documented ETRM metadata, OKC_SECTION_CONTENTS_HV references two base objects through synonyms in the APPS schema:
- OKC_K_ARTICLES_BH — the contracts articles/section content entity (aliased SCC in the view text). Supplies the primary section content and versioning data.
- OKC_ARTICLES_ALL — the article library definition (aliased ART). Resolves whether the source article is a "standard" article and identifies the source article entity.
The defining query is an inner join: SCC.SAV_SAE_ID = ART.ARTICLE_ID. This forces a match between the section content's saved article reference and the article library definition, so unmatched content rows are excluded. The SAE_ID column is derived using a DECODE against ART.STANDARD_YN: when the article is standard ('Y'), SAE_ID returns SCC.SAV_SAE_ID; otherwise it returns SCC.REF_ARTICLE_ID. This conditional logic is the core purpose of the view — it normalizes the "source article entity" identifier across standard and non-standard articles.
Key Columns
- ID / CAT_ID — both expose SCC.ID; the primary identifier of the section content record, aliased twice to satisfy interface conventions.
- MAJOR_VERSION — the major version of the parent contract or article set, supporting version-aware queries.
- SCN_ID — the section identifier to which the content belongs.
- CONTENT_SEQUENCE — the display/ordering sequence, sourced directly from SCC.DISPLAY_SEQUENCE.
- LABEL / CLE_ID — the user-visible label and clause element reference.
- SAE_ID — the derived source article entity; resolves differently for standard versus non-standard articles via the DECODE described above.
- OBJECT_VERSION_NUMBER, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard WHO-style audit and optimistic-locking columns.
- ATTRIBUTE_CATEGORY … ATTRIBUTE15 — reserved descriptive flexfield columns, all hard-coded to '' (empty string) in the view definition, provided for interface consistency.
Common Use Cases and Queries
Typical uses include contract content reporting by section, version-aware clause listing, and integration extracts that need the resolved SAE_ID. The inner join and empty flexfield columns mean it is not suitable for DML or for retrieving DFF values.
- List all content for a section in display order:
SELECT id, scn_id, label, content_sequence, sae_id FROM okc_section_contents_hv WHERE scn_id = :p_scn_id ORDER BY content_sequence; - Retrieve content for a specific contract version:
SELECT id, major_version, label, sae_id FROM okc_section_contents_hv WHERE major_version = :p_major_version; - Resolve the source article entity for a given clause element:
SELECT cle_id, sae_id FROM okc_section_contents_hv WHERE cle_id = :p_cle_id;
Because SAE_ID already encapsulates the standard/non-standard routing logic, custom queries should select SAE_ID rather than re-deriving it from the base tables.
-
APPS.OKC_SECTION_CONTENTS_HV·↳ OKC_ARTICLES_ALL·↳ OKC_K_ARTICLES_BH·Explore OKC module →
-
APPS.OKC_SECTION_CONTENTS_HV·↳ OKC_ARTICLES_ALL·↳ OKC_K_ARTICLES_BH·Explore OKC module →
-
View on okc_section_contents_hv , okc_k_articles_hv, okc_std_art_versions_v , okc_std_articles_v , fnd_lookups
Not implemented in this database·Explore OKR module →
-
View on okc_section_contents_hv , okc_k_articles_hv, okc_std_art_versions_v , okc_std_articles_v , fnd_lookups
Not implemented in this database·Explore OKR module →
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
eTRM - OKC Tables and Views 12.1.1
Intersection entity between templates and rules.
-
eTRM - OKC Tables and Views 12.2.2
Intersection entity between rules and templates
-
12.1.1 DBA Data 12.1.1
-
eTRM - OKC Tables and Views 12.2.2
Intersection entity between rules and templates
-
eTRM - OKC Tables and Views 12.1.1
Intersection entity between templates and rules.