I'm syncing Payment days CDS data entity. It got through Initial sync but after that it throws an error. I checked the mapping and there was no error, even trying to refresh table mapping but still this error comes.
Type=Microsoft.Dynamics.Integrator.Exceptions.DualWriteException, Msg=Dual write failure - Plugin registration failed: Type=System.AggregateException, Msg=One or more errors occurred. (Unable to sync dual write metadata for AX. Error Type=Microsoft.Dynamics.Integrator.Exceptions.IntegratorClientException, Msg=[FnORegistrationForEnhanceLe]: Failed to run registration on FnO. Error Reason {/RecordError0/:/Action RegistrationWithLElist failed. ErrorMessage : The entity PaymentDayCdsEntity contains tables used in the data sharing policy 5637144577 and can not be enabled for Dual Write - The entity PaymentDayCdsEntity contains tables used in the data sharing policy 5637144577 and can not be enabled for Dual Write/}.ActivitySeq-eeba1459-1175-461a-8964-215e1c973711)
The error mentions that there is a conflict as probably you have the same table(s) for both cross-company data sharing and dual write. These two concepts are not supported together as stated by Microsoft in the documentation. You would need to verify if the payment days table is also enabled in a data-sharing policy. In that case, you would need to choose between Dual Write or the data sharing.
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.