Search Results lock_settlement_doc




Overview

OZF_SETTLEMENT_DOC_PVT is a private PL/SQL package in the Oracle E-Business Suite Trading Community and Trade Management (formerly ETRM/OSM) schema, owned by APPS and declared with AUTHID CURRENT_USER. It serves as the internal engine that creates, validates, and maintains settlement documents, the transactional records that reconcile claims against payments, adjustments, and receivables activity. Within the context of the user's search for "debt relief settlement fee," this package governs how a settlement amount — including any fee or relief component captured on a claim — is converted into an auditable settlement document, tied to a claim line, and propagated to the appropriate sub-ledger (Payables or Receivables) through the payment method recorded on the claim.

The package defines the settlement_doc_rec_type record and settlement_doc_tbl_type collection, which mirror the OZF_SETTLEMENT_DOCS entity. Attributes such as settlement_amount, settlement_acctd_amount, discount_taken, status_code, gl_date, and the descriptive flexfield columns (attribute_category, attribute1–15) are carried through the record structure. The header revision marker ($Header: ozfvcsds.pls 120.2) indicates the package has been stable since Release 11i and remains the underlying implementation used by both 12.1.1 and 12.2.2. It is classified as PVT (private), meaning it is intended to be called only by other ETRM packages, not directly by customers.

Key Procedures and Functions

Each of the 17 documented procedures and functions supports a stage in the settlement document lifecycle:

Tables Accessed

The package reads and writes across claims, order, and financial sub-ledger tables:

Usage Notes

Because it is a PVT package, OZF_SETTLEMENT_DOC_PVT is not invoked directly by end users. It is referenced by four other ETRM packages and is called from settlement-related forms (such as the Claim and Settlement windows in Trade Management) and from concurrent programs that generate or reconcile settlement documents. Customizations should call the higher-level public API rather than this package, since its signature is not guaranteed across patches. In both 12.1.1 and 12.2.2 the package behavior is consistent; no OAF-specific refactoring altered its logic.