• DualWrite Error [DIPV1004] – Explained 

    Sometimes when you customize a mapping (in this example DV Released Products), you will get an error similar to Project validation failed. [DIPV1004]… this error comes from Data Integrator in Dataverse, which is the engine that drives DualWrite.

    Lets dig into why we get this error. According to the MS Learn article about Data Integrator Error codes for dual-write and Data Integrator, this error means the following:

    “Integration key field isn’t bi-directionally mapped

    The entitiy in my case was DV DV Released products, where I had added a field for Search Name.

    Lets first look at the Integration Keys for the DV Released Products / msdyn_sharedproductdetails

    The fields that are Integration Keys in DualWrite are ItemNumber and Company and when we look at those fields in the DW mapping, ItemNumber is mapped 1-way, this means that no other fields, inte mapping profile, can be mapped 2-way. (The company Code is almost always in the mapping due to the concept of Legal Entities).

    In my case, the SearchName field was accidentally mapped two way. When I fixed it, the error went away and I was able to do an Initial Sync

    Links:
    Error codes for dual-write and Data Integrator