R31465-2 Asset Order - Convert Asset Value
Code | R31465-2 |
Entity | Finance.Assets.AssetOrders Entity |
Name | ConvertAssetValue |
Attribute | AssetValue |
Layer | Front-End |
Events | AttributeChanged(AssetValueCurrency) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IF(oldCurrency!=null && newCurrency!=null && oldCurrency!=newCurrency)
AssetValue = new Amount(AssetValue.Value, oldCurrency).ConvertTo(AssetValueCurrency, Document.CurrencyDirectory); |
Description | If Asset Value Currency is changed and it is different from the old one, Asset Value should be converted from the old currency to the new one. |
Message | |
Version | Introduced: 21 |
Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.