R27056 PaymentOrder - Allow Close Not Paid
Code | R27056 |
Entity | Finance.Payments.PaymentOrders Entity |
Name | AllowCloseNotPaid |
Layer | Back-End |
Attribute | AllowCloseNotPaid |
Events | Completed + |
Modify | NO |
Action | If AllowCloseNotPaid = False, then the amount of money paid for the current Payment Order has to be exactly the same as it's total amount. |
Description | When changing the state to a state greater than or equal to 'Completed' if the field 'Allow Close Of Not Paid' is not checked, then the current Payment Order has to be exactly paid. This means that the sum of the amounts of Payment Transaction Lines that are related to the particular Payment Order has to be neither more nor less than the ordered amount. |
Message | The state of document '[DocumentType] [DocumentNumer]' cannot be changed to 'Completed',
because the total amount of the payment order hasn't been fully paid or is overpaid.
The document can be completed only if the field 'Allow close of not paid' is checked. |
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.