R27266 PaymentOrder - Ref Invoice Document Type

Code R27266
Entity Finance.Payments.PaymentOrders Entity
Name RefInvoiceDocumentType
Attribute RefInvoiceDocumentType
Layer Back-End
Events Commit
Modify NO
Action If "RefInvoiceDocument" has value, validate that the value in the field "RefInvoiceDocumentType" corresponds with the RefInvoiceDocument's value.
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. On the other hand, the field "Referent invoice document type" refers the document type of the "Ref Invoice Document". Both fields refer the same invoice document, so their values must correspond.
Message The value in field "Referent invoice document type" in the payment order does not correspond with the document type of the document specified in the field "Ref Invoice Document".

Please check if the right referent invoice document type 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.