Search Results okl_crtrn_lnstyls




Overview

The OKC_LINE_STYLES_B table is a core metadata repository within the Oracle E-Business Suite Contracts Core (OKC) module. It functions as a master definition table that governs the permissible structure and behavior of lines within a contract. In essence, it stores the "blueprints" or templates for different types of contract lines, such as deliverables, payments, or terms. This table is critical for enforcing business rules, controlling data entry, and ensuring consistency across all contract lines created in the system. Its role is foundational to the contract authoring process, as every line added to a contract references a specific line style defined in this table.

Key Information Stored

The table's primary key is the ID column, which uniquely identifies each line style definition. A critical structural column is LSE_PARENT_ID, which establishes a hierarchical relationship between line styles, allowing for inheritance and categorization (e.g., a parent "Financial Line" style with child styles for "Fixed Price" and "Variable Price"). While the full column list is not detailed in the provided excerpt, typical columns in such a metadata table would include a code (e.g., LSE_CODE) and name (e.g., NAME) for the style, a description, indicators for controlling line attributes (like whether the line is mandatory, billable, or has quantity), and columns for tracking creation and modification dates. The data in this table is typically seeded by Oracle and may be extended by implementations.

Common Use Cases and Queries

A primary use case is to understand what line styles are available for a given contract type or template during configuration and troubleshooting. Developers and functional consultants query this table to validate the setup governing contract line entry. Common SQL patterns include listing all active line styles or examining the hierarchy of styles. For example:

  • To retrieve the hierarchy of line styles: SELECT lse.id, lse.name, lse_parent.name AS parent_style FROM okc_line_styles_b lse LEFT JOIN okc_line_styles_b lse_parent ON lse.lse_parent_id = lse_parent.id ORDER BY lse_parent.name NULLS FIRST, lse.name;
  • To find all contract lines using a specific line style: SELECT k.line_number, k.* FROM okc_k_lines_b k WHERE k.lse_id = <style_id>;

Reporting often involves joining this table to the contract lines table (OKC_K_LINES_B) to categorize and analyze contract content by line style.

Related Objects

The OKC_LINE_STYLES_B table has extensive relationships, as shown by its foreign keys. It is central to the Contracts Core data model. Key related objects include:

  • OKC_K_LINES_B: The main contract lines table. Each record references a line style via the LSE_ID column.
  • OKC_LINE_STYLES_B (Self-Referential): The LSE_PARENT_ID column creates a parent-child hierarchy within the table itself.
  • OKC_LINE_STYLE_ROLES: Defines roles applicable to a specific line style.
  • OKC_LSE_RULE_GROUPS: Associates business rules with a line style.
  • OKC_LINE_STYLE_SOURCES: Governs sourcing rules for lines of a given style.
  • OKC_VAL_LINE_OPERATIONS: Links validation operations to a line style.
  • OKC_SUBCLASS_TOP_LINE: Relates to top-line definitions for contract subclasses.
  • OKL_CRTRN_LNSTYLS: An integration point with the Oracle Lease and Finance Management (OKL) module.
  • Table: OKC_LINE_STYLES_B 12.2.2

    owner:OKC,  object_type:TABLE,  fnd_design_data:OKC.OKC_LINE_STYLES_B,  object_name:OKC_LINE_STYLES_B,  status:VALID,  product: OKC - Contracts Coredescription: OKC_LINE_STYLES provides meta-data that governs how lines may be defined in a contract. ,  implementation_dba_data: OKC.OKC_LINE_STYLES_B

  • Table: OKC_LINE_STYLES_B 12.1.1

    owner:OKC,  object_type:TABLE,  fnd_design_data:OKC.OKC_LINE_STYLES_B,  object_name:OKC_LINE_STYLES_B,  status:VALID,  product: OKC - Contracts Coredescription: OKC_LINE_STYLES provides meta-data that governs how lines may be defined in a contract. ,  implementation_dba_data: OKC.OKC_LINE_STYLES_B