Results for “okc_line_styles_b”

50+ results




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

Overview

OKC_LINE_STYLES_B is a core configuration table in the Oracle Contracts (OKC) module of Oracle E-Business Suite, holding the metadata that governs how lines may be defined within a contract. Rather than storing transactional contract content, this table defines the reusable "line styles" — the templates and rules that determine whether a contract line is priced, whether it is protected, which roles and sources apply, and how child lines relate to parent lines. It is present and valid in both EBS 12.1.1 and 12.2.2, owned by the OKC schema.

From a Data Vault modeling perspective, the mined foreign-key structure classifies this table as hub-leaning. The stable business identifier is the surrogate ID, and the surrounding descriptive attributes (pricing flags, access level, enabled indicators) behave more like satellite context than a true transactional hub. Modelers should treat OKC_LINE_STYLES_B as a reference/definition hub with associated descriptive satellites rather than as an event or link table.

Key Information Stored

The table contains 36 documented columns. The most significant are:

The unique business-key candidate is OKC_LINE_STYLE_B_U1, defined on (ID, ZD_EDITION_NAME). OBJECT_VERSION_NUMBER supports optimistic locking. Fifteen generic ATTRIBUTE1–15 columns provide the standard Oracle attribute flexfield extension area.

Common Use Cases and Queries

Typical uses include reporting on which line styles are available for a given contract type, auditing pricing and protection behavior across line style definitions, and validating hierarchy structures. A query to list all active priced line styles for a security group might resemble:

SELECT ID, LTY_CODE, LSE_PARENT_ID, LSE_TYPE, PRICED_YN, PROTECTED_YN, ACCESS_LEVEL FROM OKC_LINE_STYLES_B WHERE PRICED_YN = 'Y' AND SECURITY_GROUP_ID = :p_security_group;

A hierarchical query resolving parent-child relationships uses the self-referencing key: SELECT ID, LTY_CODE, LSE_PARENT_ID FROM OKC_LINE_STYLES_B START WITH LSE_PARENT_ID IS NULL CONNECT BY PRIOR ID = LSE_PARENT_ID;

A join to contract lines shows how each actual line maps to its governing style: SELECT l.ID, l.LSE_ID, s.LTY_CODE FROM OKC_K_LINES_B l, OKC_LINE_STYLES_B s WHERE l.LSE_ID = s.ID;

Related Objects

OKC_LINE_STYLES_B participates in a rich web of relationships:

  • OKC_K_LINES_B — contract lines reference the line style via LSE_ID, the primary consumer of this table.
  • OKC_LINE_STYLE_ROLES — assigns roles to line styles, joined on LSE_ID.
  • OKC_LINE_STYLE_SOURCES — defines data sources for line styles, joined on LSE_ID.
  • OKC_LSE_RULE_GROUPS — groups validation rules by line style via LSE_ID.
  • OKC_VAL_LINE_OPERATIONS — valid line operations keyed to the line style.
  • OKC_SUBCLASS_TOP_LINE — maps subclasses to top lines by LSE_ID.
  • OKL_CRTRN_LNSTYLS — lease criterion line styles referencing this table.
  • OKC_LINE_STYLES_B (self) — the LSE_PARENT_ID recursive relationship to FND_SECURITY_GROUPS via SECURITY_GROUP_ID round out the dependency set.