Is it possible to disable conflict detection which is run in Master Data Services database while synchronizing data between systems?
Dynamics AX 2012 R3 (SQL Server 2016) triggers following query to run at MDS (SQL Server 2016) db:
UPDATE [stg].[DMFProductMasterEntity_Leaf] SET Code = NEWID(), HASMDMCONFLICT = 2 WHERE CODE IN ( SELECT Code FROM [MDM].[DMFProductMasterEntity_View] T1 INNER JOIN AxVersionTable T2 ON T1.DEFINITIONGROUP_ = T2.DefinitionGroup AND T1.EXECUTIONID_ = T2.ExecutionId WHERE T2.VersionNumber > @P1 UNION SELECT DISTINCT(CODE) FROM [MDM].[DMFProductMasterEntity_View] V JOIN [MDM].[tbl_44_TR] T ON V.code = T.MemberCode JOIN CHANGETABLE(CHANGES [MDM].[tbl_44_TR] , @P2) CT ON CT.ID = T.ID JOIN [MDM].[TBLENTITY] TE ON T.ENTITY_ID = TE.ID AND TE.NAME = 'DMFProductMasterEntity' ) AND BATCHTAG = @P3 AND ImportStatus_ID = 0
This takes 95% of synchronization time between systems. Source systems is master so no conflict detection is needed at this point.
Thanks in advance!
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (