Search Results okl_setupoptions_pub




Overview

OKL_SETUPOPTIONS_PUB is the public application programming interface for managing setup options within the Oracle Lease and Finance Management (OKL) module of Oracle E-Business Suite. Setup options represent the configurable parameters that govern core lease origination and administration behavior, including accounting conventions, defaulting rules, numbering schemes, and processing controls that apply across the lease lifecycle. The package resides in the APPS schema and is classified as a PUB (public) API, indicating that its procedures form a supported integration surface for external callers. In the ETRM documentation for releases 12.1.1 and 12.2.2, the package is listed with a VALID status, confirming that it compiles and is present in the delivered environment.

Key Procedures and Functions

The documented public interface exposes three procedures, each focused on a specific data management operation against lease setup option records:

  • GET_REC — Retrieves a setup options record, returning the current values of the option attributes so that callers can inspect configuration state prior to performing dependent processing or validation.
  • INSERT_OPTIONS — Creates a new setup options record, populating the underlying table with the supplied configuration values.
  • UPDATE_OPTIONS — Modifies existing setup options data, allowing controlled maintenance of configuration values without direct table updates.

No parameter lists are reproduced here; the ETRM metadata does not document signatures, and callers should consult the package specification in the database for exact argument definitions.

Tables Accessed

The metadata for this object does not enumerate specific tables. Based on the OKL data model and the package's functional scope, the procedures operate against the lease setup options storage underlying the OKL module, with the actual DML being delegated to the private package OKL_SETUPOPTIONS_PVT. The public package acts principally as a wrapper, encapsulating validation, defaulting, and error handling before the private layer performs inserts, updates, and queries. Additional dependencies documented by ETRM include OKL_OPT_PVT and OKC_API, the latter being the Oracle Contracts foundation API used for cross-module integration. Callers should treat the physical tables as internal implementation detail and interact only through the documented procedures.

Usage Notes

OKL_SETUPOPTIONS_PUB is typically invoked from Oracle Forms-based setup windows within the Lease Management responsibility, from concurrent programs that initialize or maintain lease configuration, and from custom PL/SQL integration code that provisions setup options during implementation or data migration. The presence of the companion package OKL_SETUPOPTIONS_PUB_W indicates that the public API is also exposed through an OAF/HTML wrapper for web-based user interfaces. Because the package delegates to OKL_SETUPOPTIONS_PVT and OKC_API, standard EBS API conventions apply: callers should initialize the FND_GLOBAL and MO_GLOBAL contexts, perform explicit COMMIT when the API does not commit internally, and check the standard return-status conventions for error reporting. Direct DML against the underlying setup options tables should be avoided, as it bypasses the validation and defaulting logic implemented in this API. As with all PUB-classified APIs, Oracle supports invocation of the documented procedures, but not the private package internals.