Search Results okl_payment_pvt




Overview

The OKL_PAYMENT_PVT package is a private PL/SQL package within the Oracle E-Business Suite (EBS) Applications (APPS) schema, belonging to the Oracle Lease and Finance Management (OKL) module. As indicated by the "PVT" suffix and its API classification, the package is an internal implementation layer rather than a public interface. Its primary business function is to support the creation and management of payments associated with lease and financing contracts, serving as the underlying engine that the public package OKL_PAYMENT_PUB invokes. The package abstracts the complex logic required to generate payment transactions, consolidate receivables, and manage payment methods and channels within the leasing lifecycle. It is validated and documented in ETRM releases 12.1.1 and 12.2.2.

Key Procedures and Functions

The documented metadata lists six procedures or functions within the package. The public-facing wrapper OKL_PAYMENT_PUB delegates its operations to these internal routines.

  • QC — A quality-control or consistency-check routine, typically used to validate input parameters or verify data integrity before processing payments.
  • CHANGE_VERSION — Handles optimistic locking and concurrency control, updating or verifying the object version to ensure that concurrent modifications do not conflict.
  • API_COPY — Copies payment-related data structures or records, used when duplicating a payment entity or propagating data between related records.
  • CREATE_INTERNAL_TRANS — Creates internal transactions that support payment processing, such as the underlying accounting or receivable entries generated for a payment.
  • CREATE_PAYMENTS — The core routine that constructs and persists payment records, encompassing the receipt, consolidation, and receivable logic required by the leasing module.

Because the metadata does not expose parameter lists, the precise signatures are not documented here; consultants should inspect the package body in the EBS instance for exact specifications.

Tables Accessed

The package interacts with a range of base and leasing-specific tables, accessed primarily through APPS synonyms.

Usage Notes

OKL_PAYMENT_PVT is never invoked directly by end users. It is called by the public API OKL_PAYMENT_PUB, which may be triggered from Lease Management forms, concurrent programs, or custom integrations during payment creation and processing workflows. Because it is a private package, developers writing custom code should use the corresponding public API (OKL_PAYMENT_PUB) rather than referencing OKL_PAYMENT_PVT, to preserve upgrade compatibility. The package is also referenced by the OKL_PAYMENT_PVT_W wrapper, indicating usage in a Web/UI-enabled context.