Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

pulling data from one entity to another

Posted on by 110

My question is this: if I have entities (tables) A, B, C, and D, and A is the parent of B and C. and C is the parent of D. With 1:N relationship between parent and child. Can I make a lookup field in D's form that is populated with the relevant Data from B?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: pulling data from one entity to another

    CAN U SEND JAVASCRIPT CODE FOR THIS

  • Verified answer
    TNS Profile Picture
    TNS 1,195 on at
    RE: pulling data from one entity to another

    Hi,

    you want to create a lookup field in D where target entity is B ... so you can do it and data you need you can fetch it by javascript  or plugin ... which will be helpful to you ... as per your need ....

    Thanks!

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: pulling data from one entity to another

    When a lookup field is created, a 1:N relationship would be created for it, in the background. If you are trying to show only relevant information in the lookup, try to use the field properties window to filter out the data you would like to show, or use javascript, if the filtering is something that you cannot achieve using the field properties. I am assuming the lookup field needs to be placed on the form, in your case.

    Thanks,

    Sravya

  • Rscroggins Profile Picture
    Rscroggins 110 on at
    RE: pulling data from one entity to another

    Because then D would just pull all the lines from B not just the relevant data.

  • Gabriel Babi Profile Picture
    Gabriel Babi 285 on at
    RE: pulling data from one entity to another

    Why not using a 1:N from B to D?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans