ExchangeRateCurrencyPairCalculationRules.existsDuplicateSetup Method
Validates if there is another currency triangulation calculation setup different from current only in sequence of 'from' and 'to' currencies.
Syntax
public boolean existsDuplicateSetup()
Run On
Called
Return Value
Type: boolean
true, if there is a duplicate setup, false otherwise.
Remarks
There is no validation for exactly the same sequence of 'from' and 'to' currencies; such duplicates are prevented by unique index.
User still can swap 'from' and 'to' currencies on the current record.