In Microsoft Dynamics AX 2012, the currency and exchange rate framework has been enhanced to share information across multiple legal entities.
There is a new class by name CurrencyExchangeHelper that has been introduced in AX 2012 to support this.
This class will help you to do some calculations between currencies. Some important methods to use:
Example : This method will convert the transaction currency in to accounting currency defined in ledger Table.
This method calculates the transaction currency amount from an accounting currency given.
While searching through, I found that there are parmExchangeRate1 and parmExchangeRate2 methods that to calculate based on the exchange rates that have been provided. Please refer to the below example which calculates the misc charges [markup amount] based on the exchange rates defined.
Class Name : Markup >> calcMarkupAmount
Exploring more…will post soon!