Thursday, May 15, 2014

Currency Exchange through X++

Amount        costInCurrency;
currencyExchangeHelper = CurrencyExchangeHelper::construct();

    costInCurrency  = currencyExchangeHelper.calculateCurrencyToCurrency("USD" ,costingLine.CurrencyCode,costingLine.Cost,false);

No comments:

Post a Comment

Override custom dimension value on posting sales invoice in X++

 Requirement: 1. Override custom dimension value on posting sales invoice 2.  Ledger posting type as "Cost of goods, invoiced" ...