R31480-2 Currency Directory Line - Set Rate Divisor
Code | R31480-2 |
Entity | General.CurrencyDirectoryLines Entity |
Name | SetRateDivisor |
Attribute | RateDivisor |
Layer | Front-End |
Events | AttributeChanged(FromCurrency)
AttributeChanged(RateDivisor) AttributeChanged(CurrencyDirectory.ToCurrency) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IF((FromCurrency!=null && CurrencyDirectory.ToCurrency!=null &&
FromCurrency==CurrencyDirectory.ToCurrency) || RateDivisor==0)
RateDivisor = 1 |
Description | When From Currency or Rate Divisor is changed, if From Currency and Currency
Directory's To Currency are equal and not null, or Rate Divisor is 0, then Rate
Divisor 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.