R27407 PaymentOrder - Ref Invoice Document Entity
Code | R27407 |
Entity | Finance.Payments.PaymentOrders Entity |
Name | RefInvoiceDocumentEntity |
Attribute | RefInvoiceDocument |
Layer | Back-End |
Events | Commit |
Modify | NO |
Action | If "RefInvoiceDocument" has value, validate that "RefInvoiceDocument.DocumentType.EtityName = Invoices" OR "RefInvoiceDocument.DocumentType.EtityName = PurchaseInvoices" |
Description | The field "Ref Invoice Document" contains information about the invoice document which has created or is related to the payment order and is the basis for the payment. That why we need to make sure that the referred invoice document's entity is "Invoice" or "Purchase Invoice". |
Message | The field 'Ref Invoice Document' in the payment order contains an invalid document. The
document's entity type must be 'Ivoice' or 'Purchase Invoice'.
Please check if the right referent invoice document is set. |
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.