This is a good example to know how to use change company method to get data from multiple companies.     CustTable CustTable;    ;    changecompany('dt1')    {    CustTable = null;    select firstonly CustTable;    info(CustTable.Name);    }    changecompany('dt2')    {    CustTable = null;    select firstonly CustTable;    info(CustTable.Name);    }     
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 .