Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Kingswaysoft child records question

Posted on by 2,665

Hi,

I am working on data migration, where in I have to migrate three entities which are related to one another. I mean entity A is 1:N with entity B and entity B is 1:N with entity C.

What I am doing is, in the control flow, I have three different data flow tasks. One for entity A which is connected to entity B data flow and entity B is in turn is connected to entity C data flow. When I run the package, entity A and entity B are migrating fine, their relationship stays intact, records with data is migrating completely fine. But for the entity C data flow, I am getting this error: new_entity C With Id = XXX Does Not Exist. What am I doing wrong? When entity A and entity B relationship is getting migrated without any errors, why is entity B and entity C relationship failing? Why is it expecting to have child record of entity C in destination? I am doing an upsert in both the cases, so that if the entity C does not exist, it has to create it or if it exists, it should update.. right? Someone please guide me through this. If this approach itself is not correct, please let me know how to handle these scenarios. Thanks for any help!

  • Abby Kong Profile Picture
    Abby Kong 6 on at
    RE: Kingswaysoft child records question

    Hi Roxanna,

    Can you please check:

    Does entity B has any other relationship in a different direction with entity C other than the 1:N relationship you pointed out?

    Does entity C has a reference (relationship) to itself? (e.g. similar to Account -> Account via Parent Account)

    Regards,

    Abby

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans