static void SR_CEH_Example1(Ar gs _args)
{
CurrencyExchangeHelper currencyExchangeHelper;
CurrencyCode transCurrency = ‘EUR’;
AmountCur amountCur = 500.00;
AmountMst amountMST;
currencyExchangeHelper = CurrencyExchangeHelper::newExc hangeDate(Ledger::current(), s ystemDateGet());
amountMST = currencyExchangeHelper.calcula teTransactionToAccounting( transCurrency, amountCur ,true);
info(strFmt(‘%1’,amountMST ));
}
Great article.
ReplyDelete