Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Get the list of all records where the current entry is added in subgrid

Posted on by 345

Is there a way to get the list of all records, which have the current items in its subgrid

For example, I have an entity called Opportunity and it can have lot of Suppliers added in its subgrid

So when I open up a Supplier Entity, is there a way to pull all Opportunities that have the current Supplier in its subgrid? 

*This post is locked for comments

  • svignesh Profile Picture
    svignesh 345 on at
    RE: Get the list of all records where the current entry is added in subgrid

    @kokulan

    Thanks thala

    I've added you on linkedin

  • Verified answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Get the list of all records where the current entry is added in subgrid

    I think between Opportunity and Supplier you would normally have N:N relationship.  You can have more than one supplier for an opportunity and a supplier could be associated with multiple opportunities.

    Yes you can drop a sub-grid on supplier to display all the opportunities depending on how you setup the relationship between Opportunity and Supplier

    Hope this helps

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Get the list of all records where the current entry is added in subgrid

    It depends on how you've setup the relationships. If you have a many-many relationship between the opportunity and supplier entities, then the simplest option is to add a sub-grid to the supplier form that will show all related opportunities

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans