Search Results get_so_hdr




Overview

OKL_PRICING_UTILS_PVT is a private PL/SQL utility package in the Oracle E-Business Suite (EBS) Lease and Finance Management (Oracle Lease Management, OKL) application, owned by the APPS schema. Its API classification of PVT indicates that it is an internal helper package, not a public interface; it exposes no supported external API surface and is intended to be called only by other OKL packages within the pricing and quoting subsystem.

The package provides the common calculation and data-retrieval primitives that the pricing engine relies upon: interest rate computations, day-count and day-convention logic, cash-flow generation and retrieval, lease rate factor lookup, standard rate retrieval, and the pricing routines for quick quotes, standard quotes, and lease quotes. In effect, it centralizes the financial mathematics used across the OKL quoting and pricing modules so that yield, IRR, and cash-flow behavior remain consistent between all calling programs.

Key Procedures and Functions

The package contains 23 documented procedures and functions. They fall into several functional groupings.

Parameter lists are not documented in the metadata and should be obtained from the package specification in the target instance.

Tables Accessed

The package reads and writes pricing and quoting data through APPS synonyms. Rate and template definition data is supplied by OKL_FE_RATE_SET_VERSIONS_V, OKL_FE_STD_RT_TMP_V, OKL_FE_STD_RT_TMP_VERS, OKL_FE_STD_RT_TMP_ALL_B, OKL_FE_RATE_SET_LEVELS, OKL_LS_RT_FCTR_SETS_V, OKL_FE_EO_TERMS_ALL_B, and OKL_FE_EO_TERM_VERS. Cash-flow results are held in OKL_CASH_FLOWS, OKL_CASH_FLOW_LEVELS, and OKL_CASH_FLOW_OBJECTS. Asset and component information comes from OKL_ASSETS_B, OKL_ASSET_COMPONENTS_B, and OKL_AE_TMPT_SETS. Pricing adjustments and fees are drawn from OKL_COST_ADJUSTMENTS_B and OKL_FEES_B. FND_CURRENCIES supplies currency attributes, while FND_LOG_MESSAGES and the FND_API and OKL_API packages support the standard EBS API error-handling and message-logging model.

Usage Notes

Because the package is classified PVT, it is not intended to be invoked directly from forms, concurrent programs, or customer-written code. It is referenced by ten documented packages, including OKL_PRICING_PVT, OKL_LEASE_QUOTE_PRICING_PVT, OKL_QUICK_QUOTES_PVT, OKL_INTEREST_CALC_PVT, OKL_LEASE_APP_PVT, OKL_LA_STREAM_PVT, OKL_STREAM_GENERATOR_PVT, OKL_VARIABLE_INTEREST_PVT, OKL_GENERATE_PV_RENT_PVT, and OKL_SEEDED_FUNCTIONS_PVT, and it calls itself recursively for shared logic. It is therefore exercised whenever pricing, quoting, interest calculation, or stream generation is performed from the Oracle Lease Management user interface or concurrent processing. Customizations should target the public packages that wrap this utility rather than the utility itself, since its signature is subject to change between releases.