AX Database synchronisation error when EDT property changed


DB sync errors when change tracking is enabled for a table on sql server and you changed the field size.

Example: In below, I changed the Num EDT size from 20 to 30, this EDT is used in InventDIM table which has change tracking enabled in SQL database. DB sync errored when doing a full data dictionary Synchronisation.

Num EDT size changed from 30 to 20


Change tracking enabled on custtable and inventdim tables in SQL database



DB sync error



Fix: 




  1. Go to SSMS and find the table "InventDIM" in AX database
  2. Right click and select properties
  3. Select Change Tracking
  4. Change to False for both option "change tracking and Track columns updated"
  5. Click Okay
  6. Start DB sync and it should finish with out error
  7. Revert the change tracking property back to "True".





Comments

Popular posts from this blog

What is Microsoft Power Platform?

AX 2012 DEVOPS Build, Release setup and configuration

AX 2012 Build process using AZURE DEVOPS