Skip to main content

Posts

Showing posts with the label How to find exchange rate in ax 2012

How to find exchange rate in ax 2012

How to find exchange rate in ax 2012 ExchangeRateHelper exchangeRateHelper; TransDate transactiondate; CurrencyCode transactionCurrency='CAD'; CurrencyExchangeRate exchangeRate1; CurrencyExchangeRate exchangeRate2; ; transactiondate = mkdate(21,2,2012); exchangeRateHelper = ExchangeRateHelper::newExc​hangeDate(Ledger::current(​),transactionCurrency,tran​sactiondate); exchangeRate1 = exchangeRateHelper.getExch​angeRate1(); exchangeRate2 = exchangeRateHelper.getExch​angeRate2(); info(num2str(exchangeRate1​,2,2,1,1));