Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Dual write creates duplicate records

(0) ShareShare
ReportReport
Posted on by
Hi, 
 
I have created a custom table in FO and a matching table in DataVerse. I have then configured dual-write for the tables going from FO to dataverse. 
For the integration key in FO i have choosen Name because this should be unique. 

My problem: 
If i edit the Name value in FO the name is not updated in dataverse. Instead a new record with the same data is created. I guess this is because i am editing the integration key. 
 
Is this normal behavior? What is the best practice?
 
 
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,729 Most Valuable Professional on at
    Dual write creates duplicate records
    Just like André said, that is expected to be the behavior.
    In table design concept, it is advisable to always use and ID for your key. You would such applied most tables in FO such as VendTable, PurchTable, HcmWorker.
     
    You should consider changing your integration key field.
     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,661 Super User 2024 Season 2 on at
    Dual write creates duplicate records
    Hi,
     
    This is expected behavior. The key is used to find the record in both applications. If you change the name, it will try to find a record with the same name. It will not find it and will create a new record. I would suggest using an identification field as the key that is not expected to be changed.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans