Hi Friends,
My requirement is to get the account id using that parent account number.
I have attached a screen shot of fetch xml here. IS it right way to get what I want. please help me.
*This post is locked for comments
Hi Friends,
My requirement is to get the account id using that parent account number.
I have attached a screen shot of fetch xml here. IS it right way to get what I want. please help me.
*This post is locked for comments
Hi,
if you stored the parent account number in every child account, then you can go ahead.
Not sure what screen shot you are looking for, the query I shared, will be fetching all the account which parent customers number is 123, based on your question.
Yes I want all the parent account number because my intension is to fire plugin on the change of parent Account Number field of the account entity. So do you think the fetch xml, I selected will help me, please reply.
Hi,
if the parent account number is 1234, and you want to find those account which using parent account number 1234. With your fetchxml, you not only getting accounts with parent account number with 1234, but also others ( parent account number with 5678). Are you sure?
yes, all account, not specific. so the one I shared, is that correct. But then I dont get that link-entity in my fecth query, is it okay?
Hi,
you should use equal operator in the filter right? i thought you want to get specific accountid. With your fetchxml, you will get all account with parent account number is not empty.
I am adding screenshot to show you what I am using and what I am getting, but hopefully link-entity may help is what I am assuming. Yet please check the screen shot to tell me if the fetch xml looks good, my intention is to get the account id using that parent account number.
Thanks
Hi,
go for related record and select the highlighted area.
when I use the 1st screen shot, i dont get link entity. can you please share the first screen shot again, Alex.
Hi Mahen, Please share the screen shot too
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156