Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Dual write creates dup...
Finance forum
Suggested answer

Dual write creates duplicate records

Posted on by 175
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,494 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... 290,349 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.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans