Finding the current accounting currency code through X++ code
Views (7238)
Hi Guys ,
Just sharing small trick to pull the current accounting currency through X++ code
here are three way to pull current currency,
1. currCode = Ledger::accountingCurrency(CompanyInfo::current());
2. currCode = Ledger::accountingCurrency(CompanyInfo::Find().recid);
3. currCode = CompanyInfo::standardCurrency();
Thanks-
Harry
This was originally posted here.
*This post is locked for comments