R30968-4 Deal - Convert Expected Revenue
Code | 30968-4 |
Entity | Crm.Presales.Deals Entity |
Name | ConvertExpectedRevenue |
Attribute | ExpectedRevenue |
Layer | Front-End |
Events | AttributeChanged(ExpectedRevenueCurrency) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | if (ExpectedRevenue != null AND ExpectedRevenueCurrencyNewValue != ExpectedRevenueCurrencyOldValue AND ExpectedRevenueCurrencyOldValue != null AND ExpectedRevenueCurrencyNewValue != null ) {ExpectedRevenue = new Amount(ExpectedRevenue.ConvertToOrDefault(ExpectedRevenueCurrencyNewValue , Deal.CurrencyDirectory).Value, ExpectedRevenueCurrencyOldValue );} |
Description | When Expected Revenue Currency is changed, if its previous value was not null, Expected Revenue's value should be recalculated in the new currency. |
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.