MCRCustPaymTable.recalculateAmounts Method
Recalculates and updates payment amounts for those payments that are defined with percentage amounts.
Syntax
public void recalculateAmounts(
[boolean _showErrors,
boolean _processPaydowns,
boolean _cancelPayDown])
Run On
Called
Parameters
- _showErrors
Type: boolean
A boolean to determine whether to show errors such as check number not being present.
- _processPaydowns
Type: boolean
A boolean to determine whether to process the pay down method of payment; optional.
- _cancelPayDown
Type: boolean
A boolean to determine whether this method cancels pay down method of paymen.
Remarks
If the active record is new or has been modified, it is saved. If it cannot be saved because it fails validation, then no payment amounts are updated.