CalculateExchangeRate

Calculate the exchange rate from one currency to another.

Syntax

HS.CalculateExchangeRate (ScenarioID, YearID, PeriodID, EntityID, RateAccountID, FromCurrencyID, ToCurrencyID)

Table 11-7 Syntax for CalculateExchangeRate Function

Parameter Description

ScenarioID

The scenario ID.

YearID

The year ID.

PeriodID

The period ID.

EntityID

The entity ID.

RateAccountID

The rate account ID.

FromCurrencyID

The ID for the currency that you are going from.

ToCurrencyID

The ID for the currency that you are going to.

Return Value

The exchange rate.