Thursday, 2 September 2021

Get Company Currency in X++ / AX

Here is the one-line code to get company currency

static void  main(Args _args)
{
    info(CompanyInfo::standardCurrency());
    info(Ledger::accountingCurrency(CompanyInfo::current());
}

No comments:

Post a Comment

Difference Between Edit And Display Method in Ax

Display Method: The display method means that the method’s return value is being displayed on a form or a report.  This value is fixed and c...