Using #REFS to Handle Multiple Payments for a Single Item
The MULPAY algorithm in the #REFS algorithm group applies multiple payments to a single item, in a single run.
The MULPAY algorithm works by selecting payments with matching reference values and payment currency, then applies multiple payments to the same item.
Prerequisites
These prerequisites must be met in order to use the MULPAY algorithm to apply multiple payments to the same item:
-
Deselect the No Mult Pending Item Selection (no multiple pending item selection) check box on the Application Fundamentals: Installation Options - Receivables Page.
-
Select the Multiple Payments for One Item check box on the Application Fundamentals: Installation Options - Receivables Page.
-
All payments that are associated with the paying item must have matching summary references.
-
Payment currency must match the balance currency of the item.
-
Multiple Payments must be for the same item.
-
Add the #REFS algorithm group to the payment predictor method using the Predictor Method Page.
Processing Multiple Payments with the MULPAY Algorithm
The MULPAY algorithm processes multiple payments in this manner:
-
If the first payment amount is less than the item pay amount (balance amount), Payment Predictor selects the next payment and compares the payment amount to the item remaining balance. The same process continues until the item remaining balance is zero or there are no remaining payments.
-
For the last applied payment:
-
If the payment amount is greater than the remaining item balance, an adjustment item is created based on the overpayment condition defined for the #REFS group algorithm in the Predictor Method Page.
-
if the payment amount is less than the remaining item balance, the item remains open.
-