Translate

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

2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Autistic children are notorious for having poor appetites or being picky
    eaters, which makes it even more important to teach them about diet and nutrition so they can make healthy eating choices.
    According to Family Medicine these common-sense rules about
    potty training can help make the process easier on everyone.
    After reading tons of books and watching videos, you
    can accumulate much information on this topic.


    Look at my site ... http://www.youtube.com

    ReplyDelete