Search Results okl_ovd_rul_tmls_pk




Overview

The table OKL_OVD_RUL_TMLS is a core data object within the Oracle E-Business Suite (EBS) module OKL (Leasing and Finance Management). Its primary function is to manage the association between Option Value rules (OVD) and Rule Templates (RUL). This association is critical for the configuration and execution of complex leasing and finance calculations, where specific business rules, defined as Option Value rules, must be linked to reusable rule templates that govern contract terms and financial logic. The table acts as a junction, enabling the flexible application of detailed valuation rules to standardized contractual templates within the system's architecture.

Key Information Stored

The table stores the essential foreign key references that create the association. The primary columns are the surrogate primary key ID and the two critical foreign key columns: OVD_ID and RUL_ID. The OVD_ID column holds a reference to a specific Option Value rule defined in the OKL_OPV_RULES table. The RUL_ID column holds a reference to a specific rule template defined in the foundational OKC_RULES_B table. The table enforces data integrity through its primary key constraint (OKL_OVD_RUL_TMLS_PK on ID) and a unique constraint (OVT_OVT_UK) on the combination of RUL_ID and OVD_ID, preventing duplicate associations.

Common Use Cases and Queries

This table is primarily accessed for configuration audits, impact analysis, and troubleshooting within the leasing module. A common operational query is to list all rule templates associated with a particular Option Value rule to understand its scope of application. Conversely, administrators may query all Option Value rules linked to a specific template to assess its configuration before deploying it to new contracts. Sample SQL to retrieve all associations would be:

  • SELECT ovt.id, ovt.ovd_id, opv.rule_name, ovt.rul_id, rul.rule_information1 FROM okl_ovd_rul_tmls ovt JOIN okl_opv_rules opv ON opv.id = ovt.ovd_id JOIN okc_rules_b rul ON rul.id = ovt.rul_id;

This table is integral to reporting on the rule-to-template mapping landscape, which is essential for compliance and process documentation.

Related Objects

OKL_OVD_RUL_TMLS is centrally connected to two key master tables via foreign key relationships, as documented in the ETRM metadata:

  • OKL_OPV_RULES: The table is referenced via the column OKL_OVD_RUL_TMLS.OVD_ID. This links each record to a specific Option Value rule definition.
  • OKC_RULES_B: The table is referenced via the column OKL_OVD_RUL_TMLS.RUL_ID. This links each record to a rule template from the central OKC (Oracle Contracts Core) rules table.

These relationships are fundamental, as the table's sole purpose is to maintain this many-to-many association between these two parent entities. The integrity of these links is enforced by the foreign key constraints, ensuring that associations are only made to valid, existing rules and templates.