Any currency to accounting currency in AX 2012

Any currency to accounting currency in AX 2012

Currency::amount(markupTransAllocate.Value, markupTransAllocate.CurrencyCode);

Regards

Arun