R31480-1 Currency Directory Line - Set Rate Multiplier

Code R31480-1
Entity General.CurrencyDirectoryLines Entity
Name SetRateMultiplier
Attribute RateMultiplier
Layer Front-End
Events AttributeChanged(FromCurrency)

AttributeChanged(RateMultiplier)

AttributeChanged(CurrencyDirectory.ToCurrency)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IF((FromCurrency!=null && CurrencyDirectory.ToCurrency!=null && FromCurrency==CurrencyDirectory.ToCurrency) || RateMultiplier==0)

RateMultiplier = 1
Description When From Currency or Rate Multiplier is changed, if From Currency and Currency Directory's To Currency are equal and not null, or Rate Multiplier is 0, then Rate Multiplier is set to 1.

(RecalcExpression)
Message
Version Introduced: 21

Updated: -
Revocable YES

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