R27118 PaymentTransaction - Requires Allocation Is True
Code | R27118 |
Entity | Finance.Payments.PaymentTransactions Entity |
Name | RequiresAllocationIsTrue |
Attribute | RequiresAllocation |
Layer | Back-End |
Events | Released + |
Modify | NO |
Action | If (RequiresAllocation == true)
PaymentTransaction.TotalAmount must be equal to the sum of the PaymentTransactionLines.Amount. (if the direction of the PaymentTransaction is different than the direction of the PaymentOrder in the transaction line "-[PaymentTransactionLines.Amount]" is used in the calculation of the sum ) |
Description | When RequiaredAllocation is checked, then the amount of the PaymentTransaction must be equal to the amount of all rows of the payment transaction in the Amount field. If a payment transaction line has payment order with different direction than the payment transaction, than the [-x] value is used in the calculation of the sum of the amounts. (for example if the directions are not the same and the amount is 30, than in the calculation of the amount "-30" is used.) |
Message | "The total amount is not completely distributed for document '{0}'.", [DocumentText] |
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.