Search Results prepare_for_ra




Overview

ARP_DET_DIST_PKG is a core Oracle Receivables (AR) PL/SQL package owned by the APPS schema that manages detailed distribution accounting for receivables transactions. Its primary responsibility is the creation, maintenance, and adjustment of subledger accounting distributions generated when Receivables activity — such as cash application, adjustments, and receipt-related transactions — must be reflected at the transaction-line and distribution level. The package sits at the intersection of transaction processing and the accounting engine, ensuring that distribution rows in the AR_DISTRIBUTIONS tables remain synchronized with the underlying receivable, adjustment, and application records.

Because it is a distribution-level engine, ARP_DET_DIST_PKG is invoked whenever a Receivables event requires fine-grained accounting treatment, including the split of distribution amounts, the proration of accounting across lines, and the generation of cash-basis distributions. In EBS 12.1.1 and 12.2.2, this logic underpins standard functionality such as autoaccounting, cash application, and the multi-funds and Subledger Accounting (SLA) extract flows, making it a foundational dependency for many higher-level AR processes.

Key Procedures and Functions

The populated package exposes approximately 36 documented procedures and functions organized around distribution processing. Representative members include:

Each routine contributes to keeping distribution and application records internally consistent throughout the transaction lifecycle.

Tables Accessed

The package reads and writes a substantial set of Receivables base and distribution tables through APPS synonyms, including:

These accesses reflect the package's role as a transactional writer of distribution rows and a reader of application and adjustment context.

Usage Notes

ARP_DET_DIST_PKG is an internal engine rather than a public API, classified as OTHER in the ETRM metadata. It is typically invoked indirectly by higher-level AR packages and concurrent programs — including ARP_PROCESS_DET_PKG, ARP_PROCESS_LOCKBOX, ARP_RECEIPTS_MAIN, ARP_ALLOCATION_PKG, ARP_BALANCE_CHECK, ARP_RATE_ADJ, ARP_ETAX_UTIL, ARP_XLA_EXTRACT_MAIN_PKG, AR_ADJUST_PUB, and the AR upgrade utilities AR_UNPOSTED_ITEM_UPG and AR_UPGRADE_CASH_ACCRUAL — as well as by AutoInvoice, Receipts, and Adjustments forms. Custom code should avoid calling it directly; instead, developers should use supported AR APIs such as AR_ADJUST_PUB or AR_RECEIPT_API_PUB. Direct modification of its distribution output can corrupt Subledger Accounting balances, so any customization must be carefully validated within a cloned environment.