Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Dual write fails on Customer sync using CustCustomerV3Entity - Cannot create a record in Locations (LogisticsLocationExt).

(0) ShareShare
ReportReport
Posted on by 52

Good afternoon,

Synchronising Customers from CRM to F&O using Dual-write fails with an error:

"Write failed for entity Customers V3 with unknown exception - Cannot create a record in Locations (LogisticsLocationExt). Location: 0. The record already exists."

The location field in LogisticsLocationExt should correspond to the matching record in DirPartyTable and also LogisticsLocation. However, it is inserting every record with a value of 0. This means that the first customer that we sync in a particular legal entity syncs correctly. The second record fails because the Location field is a key field in the table.

I'm unsure as to where to start with this. I can insert values using Customers V3 via Excel or via x++ code, but using dual write causes this failure. Is anyone able to assist please?

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans