Results for “okc_val_line_operations”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OKC_VAL_LINE_OPERATIONS is a reference and validation table within the Oracle Contracts Core (OKC) module of Oracle E-Business Suite, present in both 12.1.1 and 12.2.2. Its documented purpose is to define which line operations are valid choices for a given top line style. In practical terms, the table acts as a permitted-value matrix: it constrains the set of operations that may be performed on contract lines associated with a particular line style, preventing invalid operation-style combinations from being selected or processed.

The table resides in the OKC schema and is classified as VALID. Under the heuristic Data Vault classification derived from its foreign key structure, OKC_VAL_LINE_OPERATIONS is modeled as a link. This classification is a modeling suggestion rather than a functional definition: the table resolves a many-to-many relationship between line styles and line operations, which is the characteristic role of a link entity in Data Vault terms.

Key Information Stored

The documented physical schema contains ten columns. The most significant are:

The surrogate primary key is defined by the constraint OKC_VAL_LINE_OPERATIONS_PK over the composite of (LSE_ID, OPN_CODE). The business-key candidate is expressed by the unique index OKC_VAL_LINE_OPERATIONS_U1 over (LSE_ID, OPN_CODE, ZD_EDITION_NAME). The distinction is important in 12.2.x, where the edition name extends the uniqueness scope so that multiple editions of the same logical row can coexist during online patching.

Common Use Cases and Queries

Typical uses include validating operation selection in contract authoring flows, generating setup reports, and auditing permitted operation-style combinations after upgrades or configuration changes.

  • List valid operations for a specific line style:
    SELECT v.LSE_ID, v.OPN_CODE
    FROM   OKC.OKC_VAL_LINE_OPERATIONS v
    WHERE  v.LSE_ID = :lse_id;
  • Join to the operation definition for descriptive reporting:
    SELECT v.LSE_ID, v.OPN_CODE, o.NAME
    FROM   OKC.OKC_VAL_LINE_OPERATIONS v,
           OKC.OKC_OPERATIONS_B o
    WHERE  v.OPN_CODE = o.OPN_CODE
    AND    v.LSE_ID = :lse_id;
  • Detect orphaned or misconfigured rows by checking both parent references for missing matches.
  • Security-aware reporting by filtering on SECURITY_GROUP_ID.

Related Objects

  • OKC_LINE_STYLES_B — joined via LSE_ID; the parent line style definition.
  • OKC_OPERATIONS_B — joined via OPN_CODE; the parent operation definition.
  • FND_SECURITY_GROUPS — joined via SECURITY_GROUP_ID; enforces the security grouping applied to each validation row.
  • OKC_VAL_LINE_OPERATIONS_PK and OKC_VAL_LINE_OPERATIONS_U1 — the primary key constraint and unique index governing row identity.
  • Line-level validation logic in the OKC contracts APIs consults this table indirectly when determining which operations are offered for a given line style.