Invalid value error message when using rounding value to write off The difference between invoice amount and what the customer paid

When creating payment receipt, when the BP amount is different from the sum of the lines amount, a windows is popped up and the user can choose:

- Bank Adjustment: In this case the system will automatically update the BP amount

-Rounding Variance: This option works only when the payment currency is different from the invoice currency. When there is a variance between the header and the lines conversion. Conversion lines are then generated according to the parameters values PAYRNDCDA1 and PAYRNDCDA2 (TRS, PAY) .

-Manual Correction: The user will make the correction manually.

If there is only one currency the rounding variance cannot be used to write off the balance using the rounding variance.The payment variance need to be entered manually on the payment line using a variance payment attribute (like RBK payment attribute)