ExchangeRateCurrencyPairCalculationRules::findCalculationRuleExact Method
Finds the exactly matching record in ExchangeRateCurrencyPairCalculationRules table.
Syntax
client server private static ExchangeRateCurrencyPairCalculationRules findCalculationRuleExact(
ExchangeRateTypeRecId _exchangeRateTypeRecId,
SelectableDataArea _dataAreaRecId,
CurrencyCode _currencyFrom,
CurrencyCode _currencyTo,
[boolean _forUpdate])
Run On
Called
Parameters
- _exchangeRateTypeRecId
Type: ExchangeRateTypeRecId Extended Data Type
Exchange rate type reference.
- _dataAreaRecId
Type: SelectableDataArea Extended Data Type
Company reference.
- _currencyFrom
Type: CurrencyCode Extended Data Type
Currency, from which the conversion is being performed.
- _currencyTo
Type: CurrencyCode Extended Data Type
Currency, to which the conversion is being performed.
- _forUpdate
Type: boolean
true if record is to be selected for update.
Return Value
Type: ExchangeRateCurrencyPairCalculationRules Table
The exactly matching record in ExchangeRateCurrencyPairCalculationRules table.