Results for “okl_accounting_util_w”

28 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The OKL_ACCOUNTING_UTIL_W package body in the APPS schema is a worker (suffix "_W") utility package within the Oracle Lease and Finance Management (OKL) accounting subsystem of Oracle E-Business Suite. It complements the public-facing OKL_ACCOUNTING_UTIL package by providing internal helper routines used to prepare, copy, and convert lease accounting data between interface staging structures and the operational tables. In release 12.1.1 and 12.2.2 the package is documented as VALID and classified as "OTHER" in ETRM, indicating it is an internally consumed utility layer rather than a published API. Its core responsibility is to support currency conversion, accounting segment/period derivation, and structured data transfer used by the lease accounting generation and period-close processes, especially when Oracle Lease Management is integrated with Oracle Subledger Accounting (SLA).

Key Procedures and Functions

ETRM documents 24 program units in this package body. The most prominent are the Rosetta table-copy routines, which marshal data between PL/SQL record/collection structures and the interface table used for accounting event staging:

No parameter lists are documented in ETRM; signatures are defined in the package specification and should be read from the R12 database.

Tables Accessed

The only table documented as referenced through an APPS synonym is PLITBLM, the standard Oracle intermedia/PL/SQL interface table used for passing bulk collections between procedural logic and the server. OKL_ACCOUNTING_UTIL_W reads and writes this table via its ROSETTA_TABLE_COPY_IN_* and ROSETTA_TABLE_COPY_OUT_* routines to stage accounting records prior to processing. All other accounting reads and writes are delegated to the parent package OKL_ACCOUNTING_UTIL, which the worker body depends on and calls.

Usage Notes

OKL_ACCOUNTING_UTIL_W is an internal dependency and is not referenced by any database object, so it is never invoked directly by customers. It is called at runtime by its sibling package OKL_ACCOUNTING_UTIL, which in turn is driven by Enterprise Command Center and lease accounting concurrent programs, the OKL accounting generation routines, and lease-related OAF forms whenever currency conversion, period derivation, or segment resolution is required. Because it uses FND_API for error propagation, callers should expect standard FND_API exceptions (for example, FND_API.G_EXC_ERROR) and should inspect the FND message stack rather than relying on SQLCODE. Its currency and overlap helpers are also useful reference points when troubleshooting conversion balances, accounting date derivation, or duplicate period issues in Lease Management.