Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

hirearchy of record

(0) ShareShare
ReportReport
Posted on by 2,409

Hi, I have hierarchy of records in Account, and they associate with different contacts. Is that possible to list all the contacts associated with the primary account through view or report?

*This post is locked for comments

  • Verified answer
    Ryan Maclean Profile Picture
    Ryan Maclean 3,070 on at
    RE: hirearchy of record

    If I'm right, I think you're suggesting you have a Parent Company (A) that has one or more sub-companies (B,C,D, etc.), and you would like to be able to view all of the contacts for Parent Company (A) as well as the contacts for all of the sub-companies in a single view/report?

    This is pretty straightforward to achieve.  You can do an advanced find on Contacts, then in your criteria add Company Name (Account) from related records, then in the criteria select Account Equals "Company A", OR Account Under "Company A".  This will give you the full list of the Contacts you're looking for

    Search-criteria.PNG

    You can use the FetchXML here to create a report as required.

  • Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: hirearchy of record

    Your requirement is not clear, could you share some more details, it will help.

  • Suggested answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,076 on at
    RE: hirearchy of record

    Hi,

    You could try creating an advanced find view as shown below. 

    For the associated records, there will be a lookup for the relationship. You could filter the contacts with that lookup.

    3125.1.PNG

    This will list all the contacts with parentcustomerid equals A. Datum.

    Hope this helps.

  • Suggested answer
    Drew Poggemann Profile Picture
    Drew Poggemann 4 on at
    RE: hirearchy of record

    Hi sdnd2000,

    The following will show contacts for accounts that are the primary account and not a sub-account.  Is this what you were looking for?  

    contacts_5F00_related_5F00_primary_5F00_account.PNG

    Hope this helps.

    Thanks,

  • sdnd2000 Profile Picture
    sdnd2000 2,409 on at
    RE: hirearchy of record

    sorry, could you elaborate the details, no idea how to achieve that

  • Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,205 on at
    RE: hirearchy of record

    Hi sdnd2000,

    Yes this is possible by creating report.

    Thanks,

    Shahbaaz

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans