web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Entity key behaving differently for two entities on duplicate record

(0) ShareShare
ReportReport
Posted on by 451
 Hi,
 
I am importing images from external system using DMF and using entities RetailMediaResourcesEntity , RetailMediaProductRelationEntity. With external system sending resource id in cases where the same record is sent twice for both entities  Media resource ignores it and media product media relation fails with error "The record already exists.Cannot create a record in Retail product media relationship (RetailMediaProductRelation)."
 
Ideally since both have resource id as key it should fail for both since all the fields sent second time for both entities were exactly same I am not sure why it did not fail for RetailMediaResourcesEntity
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Subra Profile Picture
    1,226 on at
    Hi Dev,

    I hope there might some logic they have handled internally to skip or ignore the duplicate records and other entity it was not handled by internally.

    Did you checked the code for both the entity and debugging to idenify the problem.
     
    Thanks,
    Subra

    If this helped, please mark it as "Verified" for others facing the same issue

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Subra Profile Picture

Subra 140

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 101 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 85 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans