Results for “coverage_level_code”
42 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKS_ENT_COVD_LEVELS_V is a seeded Oracle E-Business Suite view owned by the APPS schema and delivered as part of the OKS (Service Contracts) product family. It exposes coverage level information associated with service contract entitlements, returning one row per coverage level line together with its parent (service line) reference. The view is defined in Oracle EBS 12.1.1 and 12.2.2 and carries a VALID status in the ETRM repository.
Functionally, the view flattens the relationship between a contract header, its service lines, and the coverage levels subordinate to those lines. The column the user searched for, parent_line_id, is central to this purpose: it is the join key that ties each coverage level row back to the service line from which it was derived. Reporting tools, Oracle Discoverer workbooks, OBIEE/BI Publisher data models, and custom PL/SQL integrations that need to traverse the contract entitlement hierarchy typically reference this view rather than reconstruct the underlying joins manually.
Underlying Base Objects
The view is defined over four synonym-referenced base objects, all owned by APPS and resolved to their OKC (Contracts Core) counterparts:
- OKC_K_LINES_B — the contract lines base table, aliased KL, supplying HEADER_ID and LINE_ID.
- OKC_K_ITEMS — the line items table, aliased KI, supplying the coverage level identifier stored in OBJECT1_ID1.
- OKC_LINE_STYLES_B — the line style base table, aliased SB, providing the style identifier (LSE_ID) and the style code (LTY_CODE).
- OKC_LINE_STYLES_TL — the translatable line style table, aliased ST, providing the language-dependent coverage level name.
The joins are: SB.ID = ST.ID (restricting to the current USERENV('LANG') language), SB.ID = KL.LSE_ID (linking styles to contract lines), and KL.ID = KI.CLE_ID (linking contract lines to line items). The view is deliberately constrained to a fixed set of line style identifiers (7, 8, 9, 10, 11, 13, 18, 25, 35), so only enabled coverage level styles are returned.
Key Columns
- HEADER_ID — sourced from KL.DNZ_CHR_ID; identifies the parent service contract header.
- LINE_ID — sourced from KL.ID; the contract line (service line) record.
- PARENT_LINE_ID — sourced from KL.CLE_ID; the parent coverage level identifier that owns the line, and the primary join column for hierarchical lookups.
- COVERAGE_LEVEL_CODE — sourced from SB.LTY_CODE; the short style code for the coverage level.
- COVERAGE_LEVEL_NAME — sourced from ST.NAME; the translated, user-facing coverage level name.
- COVERAGE_LEVEL_ID — TO_NUMBER(KI.OBJECT1_ID1); the numeric coverage level identifier.
Common Use Cases and Queries
Typical usage includes extracting all coverage levels for a given service contract, resolving the parent line for a coverage level during entitlement validation, and building hierarchical reports of service lines with their coverage levels.
SELECT header_id, line_id, parent_line_id, coverage_level_code, coverage_level_name, coverage_level_id FROM apps.oks_ent_covd_levels_v WHERE header_id = :p_header_id;
SELECT v.line_id, v.parent_line_id, v.coverage_level_name FROM apps.oks_ent_covd_levels_v v WHERE v.parent_line_id = :p_parent_line_id;
Because the view filters to a fixed style list and applies a language predicate, it is best suited to current-language reporting. Consumers requiring inactive styles or alternate translations should query the OKC base tables directly.
-
View: OKS_ENT_COVD_LEVELS_V 12.2.2
View Lists all Coverage Leveles with Coverage level Identifier and Service Line Identifier
APPS.OKS_ENT_COVD_LEVELS_V·↳ OKC_K_ITEMS·↳ OKC_K_LINES_B·↳ OKC_LINE_STYLES_B·Explore OKS module →
-
View: OKS_ENT_COVD_LEVELS_V 12.1.1
View Lists all Coverage Leveles with Coverage level Identifier and Service Line Identifier
APPS.OKS_ENT_COVD_LEVELS_V·↳ OKC_K_ITEMS·↳ OKC_K_LINES_B·↳ OKC_LINE_STYLES_B·Explore OKS module →
-
eTRM - OKS Tables and Views 12.1.1
Stores the template set information.
-
eTRM - OKS Tables and Views 12.2.2