Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Setting Highest Parent Account in Case

(0) ShareShare
ReportReport
Posted on by 10

Hello, 

We have Case entity with customerid = account. A case is created and customerid is set. We want an additional lookup field (parentaccountfield) where the parent of the customerid (account) is automatically populated, the trick is we want the highest parent in the tree. So that if an account is the grandchild, then (parentaccountfield) would be the grandfather account, not the father account. 

thank you,

Eric 

*This post is locked for comments

  • Emann913 Profile Picture
    Emann913 10 on at
    RE: Setting Highest Parent Account in Case

    Thank you Mark. Your suggestion worked.

  • Verified answer
    TheMarkChristie Profile Picture
    TheMarkChristie 10,328 on at
    RE: Setting Highest Parent Account in Case

    Hi Eric

    There are 2 ways to do this

    1) Have a developer write code that goes away and looks at the parental account chart and bring it back

    2) Create a field on the account that stores the highest account, This means when you create a child it will pull from the parent and keep doing so every time you link an account in this way, You would then have a workflow that onsave would pull the account name (for the highest) from the account form to the case

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans