R33507-5 Sales Order - Set Document Currency (Recalc)
| Code | 33507-5 |
| Entity | Crm.Sales.SalesOrders Entity |
| Name | SetDocumentCurrency |
| Attribute | DocumentCurrency |
| Layer | Front-End |
| Events | AttributeChanged(ShipToCustomer, Customer, DocumentCurrency, EnterpriseCompany) |
| Priority | Early |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | ShipToCustomer.DefaultCurrency.IfNullThen(Customer.DefaultCurrency). IfNullThen(DocumentCurrency).IfNullThen(EnterpriseCompany.BaseCurrency) |
| Description | |
| Message | |
| Version | |
| Revocable | YES |
* This is auto generated code. Don't change it.