R27357 PaymentSlip - Check Slip Line Amounts
Code | R27357 |
Entity | Finance.Payments.PaymentSlips Entity |
Name | CheckSlipLineAmounts |
Attribute | PaymentSlipAmount.TotalAmount |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Action | Validate that:
If "PaymentSlipAmount.TotalAmount != NULL" and "PaymentSlipAmount.TotalAmount" refers a specific payment slip line/ lines, then "PaymentSlipAmount.TotalAmount == PaymentSlipLine.Amount" |
Description | When entered Payment Slip Amounts could refer particular uncovered Payment Orders. If those Payment Orders are going to be covered by the particular Payment Slip Amount, then they have to be entered in "Payment Slip Lines". In order to make sure that the Payment Slip Amount is properly distributed among it's referring Payment Orders, we need to check that its Total Amount is equal to the sum of the payment orders amounts. |
Message | There is an amount for party '{"PaymentSlipAmount.PartyName}' in the payment slip which isn't distributed totally by the payment slip lines. |
Introduced In Version | 2017 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.