Translate

Showing posts with label #AX 2012 Company curreny code. Show all posts
Showing posts with label #AX 2012 Company curreny code. Show all posts

Tuesday, July 30, 2013

Finding the current company curreny code in AX 2012

Hello,

Here is the code to find the company currency code in AX 2012

Method 1:
currencyCode = Ledger::accountingCurrency(CompanyInfo::current());

Method 2:
currencyCode = Ledger::accountingCurrency(CompanyInfo::Find().recid);

Method 3:
currencyCode = CompanyInfo::standardCurrency();
Thanks,
Prasan