Wednesday, June 11, 2014

Get data from table for all companies in ax 2012 using crossCompany

To Get data from table for all companies in ax 2012 using crossCompany you can get hints from following code.


 Vendtable Vendtable;  
 container conCompanies = ['dat','Test','Live'];  
 ;  
 select crossCompany :conCompanies  
   * from Vendtable;