When you associate an Electronic reporting Data Model to a Data Source Table or View you can decide to extract Cross-Company data. When defining the data source just enable "Cross-company" Property
Category: CrossCompany
AX – D365FO – Making a Cross-Company Tables in AX
When using AX, there are a lot of times where you want data to go across companies. To set a Table to Cross company just set NO the "Save Data per Company" property
AX – D365FO – Using update_recordset with CrossCompany statement
If you have tried to use Update_recordset with CrossCompany option you'll probably have faced this error : "Cannot update multiple records in yourTable(yourTable).Cross company update_recordset operation should skip database logging." The reason is because you have to disable database logging before to proceed To solve this issue you must use these methods : yourTable.skipDataMethods(true); yourTable.skipDatabaseLog(true); … Continue reading AX – D365FO – Using update_recordset with CrossCompany statement