Returns a Recordset object that contains the currency rate for a specified date and currency code.
See Currency sample.
Source table: ORTT.
Returns a Recordset object that contains the currency rate for a specified date and currency code.
See Currency sample.
Source table: ORTT.
A Recordset object that contains one field named CurrencyRate that holds the rate value.
SAP Business One returns 0 if the system cannot find the exchange rate.
-2000 The connection with the database has been disconnected.
You can use this method to query the exchange rate between any currency and the local currency.
For example, if the local currency is US dollars, and you need the currency rate for EUR on January 10, 2002. Use the following line code:
vObj.GetCurrencyRate("eur", Date("10.01.2002"))
A result of 0.98 from the returned Recordset object means that on January 10, 2002 the exchange rate was 1 EUR = 0.98 USD.