Hi all..
I'm new with this data integration, so i made a test project to make sure it works perfectly. But i keep getting duplication data every time i hit Run Project. I'm using D365 to CDS connection to sync the service number.
This is the connection i use:I want to sync the Service Number
I keep getting the same data (duplicates data) everytime the project run.
The same data is always getting pulled by the system every time i hit the Run Project Button.
It seems somehow the system not checking if i already have the service number or not, because the Upsert always shows the same number (not update, just inserting the same data over again).I always get duplicate data with the same 246 data total
What i do wrong?
What should i do to stop the duplicates?
Please help.
Br.
pytbyt
Hi @PytByt ,
The "Alternate Key" in CDS Entity is used to identify the duplicate records. More details about creating an "Alternate Key" in CDS, please check the following article:
Please also check the following article for more details about working with Alternate Key in CDS Entity:
More details about creatig a duplicate rule in CDS Entity, please check the following video:
https://www.youtube.com/watch?v=hFZNRmtti5g
Best regards,
Hi @v-xida-msft
Could you please give a brief description explaination of how alternate key works with my case? and how i create the alternate key and duplicate rule in CDS?
Also, i confirm that the "Duplicate Detection" option for my CDS Entity is already enabled by default. So, this option is not my exit.
Thanks,
pytbyt
Hi @v-xida-msft
Its nice to see your reply.
I will read the articles and see if i get it right, also i will try to enable the "Duplicate Detection" option on my CDS Entity.
BR.
pytbyt
Hi @PytByt ,
Have you taken a try to define an alternate key or duplicate detection rules for your CDS Entity?
The user @Dudditz has faced similar issue with you, please check the response within the following thread:
Please also check and see if the following article would help in your scenario:
You could also consider enable the "Duplicate Detection" option for your CDS Entity as below:
then create a duplicate rule for your Entity based on the following article:
Please consider take a try with above solution, then check if the issue is solved.
Best regards,
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional