Search Results comp_wtd_bal




Overview

ARP_COLL_IND is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. Its name and header comment (ARCOLINS.pls) indicate that it provides the computational engine behind collections and receivables indicators, supplying the numeric metrics that drive the Collections workbench and related receivables reporting. The package is declared with AUTHID CURRENT_USER, so all SQL statements execute under the privileges of the invoking schema rather than the definer.

The package exposes a suite of calculation functions rather than a transactional API. Each function accepts a date range and a set of books identifier, and optionally a customer or site identifier, and returns a single aggregated value. The ETRM classification for the package is OTHER, consistent with an internal calculation utility rather than a public interface. A private helper, Get_Curency_Details, populates a package-level record (curr_rec_type) holding the set of books identifier, base currency, currency precision, and minimum accountable unit from AR_SYSTEM_PARAMETERS, GL_SETS_OF_BOOKS, and FND_CURRENCIES. This record is used to present monetary results in the base currency at the correct precision.

Key Procedures and Functions

The ETRM metadata documents eighteen callable routines. They divide naturally into four families.

Tables Accessed

The package reads from the core Receivables and shared reference tables, all through APPS synonyms:

Usage Notes

ARP_COLL_IND is a read-only calculation package and performs no inserts, updates, or deletes. It is typically invoked from Oracle Forms in the Collections and Receivables modules, from concurrent programs that populate collections metrics, and from customer-written reports or extensions that require receivables aging, DSO, or turnover figures. The presence of paired subledger and GL variants means callers must choose the correct flavor: the base functions read subledger tables for detailed, real-time figures, whereas the _GL functions use posted general ledger balances and are appropriate for reconciled or period-end reporting. All monetary functions are expected to be called after the currency context has been established so that results reflect base-currency precision. The package does not expose a public API for data maintenance, and ETRM records no other packages referencing it, so it should be treated as a self-contained utility with no dependency obligations.