Search Results okl_option_rules_pub




Overview

The OKL_OPTION_RULES_PVT package is a private PL/SQL API within the Oracle E-Business Suite (EBS) Lease Management / Enterprise Taxation and Regime Management (ETRM) module, owned by the APPS schema. Its classification as a private package (PVT) indicates that it is not intended to be called directly by external or customer-developed code; instead, it functions as the internal implementation layer behind the public API exposed by OKL_OPTION_RULES_PUB. The package encapsulates the business logic that governs option rules and option validation rules within lease contracts, providing the procedural mechanics for creating, maintaining, validating, locking, and deleting these rule definitions.

In the ETRM context, option rules define the permissible terms, conditions, and validations applied to contract options (for example, purchase options, renewal options, and termination options) associated with leased assets. By centralizing this logic in a private package, Oracle ensures consistent enforcement of validation and referential integrity while shielding the underlying data model from direct manipulation.

Key Procedures and Functions

The package exposes twenty-three documented program units, which fall into two logical groupings: those operating on option rules and those operating on option validation rules. The principal procedures are:

The remaining units provide supporting internal logic and helper operations invoked by these primary procedures.

Tables Accessed

According to the documented metadata, the package references the table PLITBLM through APPS synonyms. This table is commonly used within the ETRM framework for storing structured or multi-part data elements referenced during rule processing. The package depends on several other APPS objects, notably OKC_API, OKL_ORL_PVT, and OKL_OVD_PVT, which supply contract and lease-related services consumed during rule creation and validation. The standard SYS.STANDARD package is also referenced as a foundational dependency.

Usage Notes

OKL_OPTION_RULES_PVT is referenced by OKL_OPTION_RULES_PUB and the database trigger package OKL_OPTION_RULES_PVT_W. It is invoked indirectly when users configure option rules through the Lease Management forms or when concurrent programs process option-rule-related data. Custom code should never call this private package directly; instead, developers must use the public wrapper OKL_OPTION_RULES_PUB to ensure that locking, validation, and auditing logic execute correctly. Direct invocation against the private layer risks bypassing validation and corrupting rule definitions.