R30316-7 InvoiceOrder - Set Document Currency

Code 30316-7
Entity Crm.Invoicing.InvoiceOrders Entity
Name SetDocumentCurrency
Attribute DocumentCurrency
Layer Front-End
Events AttributeChanged(Customer)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IF(Customer != null and Customer.DefaultCurrency !=null and DocumentCurrency != Customer.DefaultCurrency)

DocumentCurrency = Customer.DefaultCurrency
Description When the Customer has changed, if the customer has a Default Currency specified and it is different from the current Document Currency, the Document Currency should be changed to the customer's Default currency.
Message
Version Introduced: 2020.1
Revocable YES

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.