AR Receipt Analysis - Days Late

Description

Categories
Enginatics
Repository
GitHub
Receipt applications against all transactions except credit memos, with the days between the installment due date and the application date. Converted from the Oracle report Receipt Analysis - Days Late.

One row per receipt application. Days Late is the apply date minus the due date and is negative for an early payment. Weighted Days Late is Days Late multiplied by the amount applied, in the transaction currency.

Invoice Amount shows the installment's original amount on its first application row only, so the column sums to the Oracle report's currency totals.

Average Days Late and Weighted Average Days Late are calculated per operating unit, customer account and currency and repeated on every row of that group. The Oracle report prints 0 for a negative Average Days Late, and splits a customer's currency group when receipts in another currency are applied.

SQL 71 lines

Parameters 19