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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to find the list of Entities\Parent records where child records not available or created using advance Find

(0) ShareShare
ReportReport
Posted on by 651

Hi,

How to find the list of Entities\Parent records where child records not available or created using advance Find

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Prashant_ Profile Picture
    1,040 on at

    Hi Krish ,It is not possible in advance find but using fetch you can get results and use this fetch in plugin .Following blog might help you

    www.itaintboring.com/.../dynamics-365-finding-all-parent-records-that-have-no-child-records

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    Can you add some more details to your question ? what you are trying to do ? you can try to use left outer join to find entity which don't have any child records. You can refer this post: stoneridgesoftware.com/going-beyond-advanced-find-views-and-the-xrmtoolbox-using-fetchxml-and-left-outer-joins

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    33,628 on at

    Hi,

    you only can use advanced find when y ou are using crm v9.0 or above.

    community.dynamics.com/.../find-records-without-a-child-record-in-dynamics-365-v8-and-v9

    For retrieve data purpose

    If you are using on prem, you can do it via sql query.

    or

    XrmToolbox (refer article)

    For processing

    So, if you would like to achieve via JS, you can consider to use webapi.

    Else you can consider plugin and custom workflow.

  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at
  • Rajesh Chungath Profile Picture
    467 on at

    You can use fetchxml and linked queries to find the result. But OOB will not work. Required some other plugin like XRM toolbox .

    Other option is use Rollup field to  record child record count on parent and use advance find to query the parent records don't have child.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans