web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Legal Entities and Currency in GL

(0) ShareShare
ReportReport
Posted on by

I'm trying to find out what currency is used for Legal Entities in AX 2012

*This post is locked for comments

I have the same question (0)
  • Verified answer
    sanjuax Profile Picture
    65 on at
    RE: Legal Entities and Currency in GL

    Hi,

    Go to the GL ->>Setup ->>Ledger [In ledger form we will see currency information].

    Regards,

    Sanju

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: Legal Entities and Currency in GL

    Hi,

    You can use the following job/code to find the accounting currency, reporting currency for a given legal entity.

    static void LedgerCurrency(Args _args)
    {
        Ledger  ledger;
        Currency reportCurr, accountCurr;
        CompanyInfo companyInfo;
        
        select * from ledger
            join companyInfo    
            where companyInfo.RecId == ledger.PrimaryForLegalEntity
            && companyInfo.DataArea == curext()
            join accountCurr
            where accountCurr.CurrencyCode == ledger.AccountingCurrency
            join reportCurr
            where reportCurr.CurrencyCode == ledger.ReportingCurrency;
        
        info(strFmt("Accounting currency: %1, Report currency: %2, Legal Entity: %3",  ledger.AccountingCurrency, ledger.ReportingCurrency, ledger.Name));
    }


    (or)

    CompanyInfo::standardCurrency() which makes a call to
    Ledger::accountingCurrency(CompanyInfo::current());

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans