to get main Account from Ledger dimension in Ax 2012 below code can help you . Thanks in Advance for your visit.
MainAccount::findByLedgerDimension(ledgerDimension).MainAccountId;
Microsoft Dynamics Ax,AIF,Axapta, Enterprise portal,,Microsoft , United State,U.S., SharePoint , BI Tools, Performance Tuning, SSRS,Business Logic,Ax ERP Errors and solution,Dynamics 365 Errors Solution,Business software .
to get main Account from Ledger dimension in Ax 2012 below code can help you . Thanks in Advance for your visit.
MainAccount::findByLedgerDimension(ledgerDimension).MainAccountId;
Comments