GetCurrencyRateFloating

ACCPAC Common Controls

AccpacSession.GetCurrencyRateFloating

Creates and returns an AccpacCurrencyRate object that represents the floating exchange rate between the specified home and source currency codes of the specified rate type on a certain date.

Function GetCurrencyRateFloating(
  HomeCurrencyCode As String,
  RateType As String,
  SourceCurrencyCode As String,
  Date As Date) As AccpacCurrencyRate

Parameters

HomeCurrencyCode

[in] the home currency code

RateType

[in] the currency rate type code

SourceCurrencyCode

[in] the source currency code

Date

[in] the date for which the exchange rate is retrieved

Return Value

Returns an AccpacCurrencyRate object that contains details of the floating exchange rate.

Remarks

If both currencies are non-block currencies, this method returns the same rate as GetCurrencyRate.

The home currency is also referred to as the functional currency.