When attempting to Close a Project Quote as Won, the following Dual Write error occurs:
I notice that if I stop the Dual Write table map "Project Operations integration contract line milestones" (msdyn_contractlinescheduleofvalues) before executing Close as Won, the error does not occur. The Project Contract is successfully created in F&O. I then run an Initial Sync (Dataverse as master) on the milestones map and the milestones sync correctly.
I think the issue is related to the Dual Write sync timing (race condition) as the milestones are being sent to F&O before the Contract Lines have finished syncing, causing the ContractLineId lookup to fail.
Has anyone experienced this issue and found a permanent fix?
I have not used this scenario myself. Besides your thinking on the order of completion, it can be also related to missing table permissions, however, then the initial sync might also fail.
If you keep having this issue, I suggest to create a ticket for Microsoft Support.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.