R27292 PaymentOrder - Invoice Amount Currency

Code R27292
Entity Finance.Payments.PaymentOrders Entity
Name InvoiceAmountCurrency
Attribute InvoiceAmountCurrency
Layer Back-End
Events Commit
Modify NO
Action If "RefInvoiceDocument" has value, validate that "InvoiceAmountCurrency == RefInvoiceDocument.DocumentCurrency"
Description If the payment order refers a specific invoice through the field "Ref Invoice Document", then the Invoice amount have to be specified. But, in order to make sure that the amount is referred in a correct way, we need to set the currency of the invoice amount as well.
Message The value in the field 'Invoice Amount Currency' in the payment order is different than the value in the field 'Document Currency' in the document specified in 'Ref Invoice Document'.

Please check if the right invoice amount currency 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.