Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products Build your own agents CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Migrate to the cloud Documentation Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
  • 1 min read

AOT synchronization hint MS Dynamics AX 2012 R2


If you synchronize your customer DB from AOT to SQL server DB and you should receive the following message: cross-company “union all” query cannot contain both a company specific table and a global table unless the data area field is explicitly selected” when synchronizing view DirPartyView then check out this:
Open the view DirPartyView in AOT and check table properties for all corresponding tables. Have a specific eye on the table property: “Save data per company” if this might have been changed during customization. If that is the case then change it back to its original value and make sure that you do not have duplicate records in tables.

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.