I'm trying to find out what currency is used for Legal Entities in AX 2012
*This post is locked for comments
Hi,
Go to the GL ->>Setup ->>Ledger [In ledger form we will see currency information].
Regards,
Sanju
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Nayyar Siddiqi 2
NNaumenko 2