Search Results okl_opt_rules




Overview

The OKC_LSE_RULE_GROUPS table is a core data object within the Oracle E-Business Suite Contracts Core (OKC) module. It functions as a junction or association table that defines the relationship between contract line styles and rule groups. Specifically, it stores which rule groups are applicable to a contract line based on its assigned line style. This table is fundamental to the rule-driven architecture of the Contracts module, enabling the dynamic application of business rules, validations, and defaulting logic to contract lines depending on their classification. Its integrity is maintained through defined primary and foreign key relationships, ensuring that rule group assignments are linked to valid line styles and rule group definitions within the system.

Key Information Stored

The table's structure is defined by a composite primary key, which consists of two critical foreign key columns. The LSE_ID column holds the unique identifier for a line style, referencing the OKC_LINE_STYLES_B table. This links a specific contract line classification, such as "Service" or "Warranty," to the rule groups. The SRD_ID column stores the unique identifier for a rule group definition, referencing the OKC_SUBCLASS_RG_DEFS table. This links the line style to a specific set of business rules. Together, these two columns form a unique record that mandates which rule groups are invoked for a contract line of a given style. The table itself is primarily a relationship mapper and does not typically contain extensive descriptive attributes beyond these key identifiers.

Common Use Cases and Queries

This table is central to configuration and troubleshooting scenarios within the Contracts module. A primary use case is analyzing or validating the rule group assignments for all line styles, which is essential for system setup and functional testing. Developers and functional consultants often query this table to understand the rule inheritance for a given line style or to identify which line styles utilize a particular rule group. Common SQL patterns include joining to the related descriptive tables to get meaningful names. For instance, a query to list all rule groups for a specific line style name would join OKC_LSE_RULE_GROUPS (LRG) to OKC_LINE_STYLES_B (LSE) and OKC_SUBCLASS_RG_DEFS (SRD). Another critical use case is impact analysis before modifying a rule group definition, as this table shows where the definition is actively used. Reporting on rule coverage across different line styles also relies on this table.

Related Objects

The OKC_LSE_RULE_GROUPS table sits at the intersection of several key Contracts Core objects, as evidenced by its foreign key relationships.

  • OKC_LINE_STYLES_B: The table is referenced via the foreign key from OKC_LSE_RULE_GROUPS.LSE_ID. This defines the source of valid line styles.
  • OKC_SUBCLASS_RG_DEFS: The table is referenced via the foreign key from OKC_LSE_RULE_GROUPS.SRD_ID. This defines the source of valid rule group definitions.
  • OKL_OPT_RULES: This table from the Oracle Lease and Finance Management (OKL) module references OKC_LSE_RULE_GROUPS. The foreign key columns OKL_OPT_RULES.LRG_LSE_ID and OKL_OPT_RULES.LRG_SRD_ID link individual operational rules back to the specific line style and rule group association defined in OKC_LSE_RULE_GROUPS, demonstrating cross-module integration.