Search Results okl_setupoverules_pvt




Overview

OKL_SETUPOVERULES_PVT is a private PL/SQL package in the APPS schema that supports the Oracle E-Business Suite Lease Management (formerly Oracle Lease Management, OKL) application. Its name reflects its role within the "Setup Over Rules" business area, which governs the rules that control how an over-lease or over-usage condition is evaluated and processed during lease administration. Private (PVT) packages in the OKL module typically contain the core implementation logic that is exposed to the application through a corresponding public (PUB) wrapper package. In this case, OKL_SETUPOVERULES_PUB acts as the public interface, while OKL_SETUPOVERULES_PVT encapsulates the underlying data manipulation and retrieval routines. The package sits within the broader Contracts (OKC) and Lease (OKL) API family, drawing on shared supporting packages such as OKL_API, OKL_OPT_PVT, OKL_OVD_PVT, and OKL_OVE_PVT to enforce consistent validation and processing behavior across the lease setup flow.

Key Procedures and Functions

The documented package exposes three procedures and functions:

  • GET_REC — Retrieves the Over Rules setup record. This routine is used to fetch and return the current setup data so that callers, typically the public wrapper or a form, can display or process the stored rule configuration.
  • INSERT_OVERULES — Inserts a new Over Rules setup record. This procedure handles the creation of a rule definition within the Over Rules setup, applying the underlying validations required before persistence.
  • DELETE_OVERULES — Deletes an existing Over Rules setup record. This procedure removes a configured rule from the setup, allowing administrators to maintain an accurate set of active rules.

Together these three routines provide the standard create, read, and delete lifecycle operations for the Over Rules configuration, and are surfaced to the application through OKL_SETUPOVERULES_PUB.

Tables Accessed

According to the documented metadata, the package references the table PLITBLM (accessed through an APPS synonym). This table belongs to the Oracle interMedia text/index infrastructure and is commonly involved in maintaining index metadata when setup records with textual attributes are inserted or deleted. Because the package performs insert and delete operations, the reference to PLITBLM is consistent with the maintenance of associated text index data during these transactions. The package also depends on supporting OKL and OKC packages rather than directly manipulating the full set of underlying setup tables, delegating much of the detailed persistence and validation work to OKL_OPT_PVT, OKL_OVD_PVT, and OKL_OVE_PVT.

Usage Notes

OKL_SETUPOVERULES_PVT is not intended to be called directly by end users or external integrations. It is invoked through OKL_SETUPOVERULES_PUB, which is referenced by the setup forms and concurrent processes that administer Over Rules configuration within Lease Management. The private package is also referenced by its own package body and by the OKL_SETUPOVERULES_PVT_W wrapper, indicating that the runtime and possibly a Java or Web ADI style wrapper participate in the call chain. In a typical EBS 12.1.1 or 12.2.2 environment, the routines are triggered when an administrator creates, views, or removes an Over Rules setup entry through the Lease Management setup UI. Custom code should always call the public package rather than the private implementation, since Oracle may change the private package's internals between releases without notice. The package requires the standard APPS schema dependencies, and its validity status is VALID, confirming it is compiled and available for use at the documented release level.