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::newExchangeDate(Ledger::current(),transactionCurrency,transactiondate);
exchangeRate1 = exchangeRateHelper.getExchangeRate1();
exchangeRate2 = exchangeRateHelper.getExchangeRate2();
info(num2str(exchangeRate1,2,2,1,1));