Company Range Methods in AOT Reports in MSD Axapta

Override methods on the AOT report node to control the details of cross company behavior. For example, you can override the report's init method with the following X++ code.

 public void init()  
 {  
 super();  
 this .query() .allowCrossCompany( true );  
 this .query() .addCompanyRange( "dat" );  
 this .query() .addCompanyRange( "dmo" );  
 }