function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adrian-EAdrian-E 

Parent Account data in case

I have a parent account which contains a value called TotalFees.
All child accounts of the parent do not contain this field.

I open cases under contacts belonging to the parent account, how can I bring the TotalFees of the parent account into a page within the case? So far I have only managed to bring in the parent account name... but that's all...
devNut!devNut!
Is your cases page a visualforce page?

If so, you can create a controller extension to pull additional related account information (e.g. TotalFees) and display it on your visualforce page.
Adrian-EAdrian-E
Yes. I am using visualforce pages.
I am not entirely familiar with the syntax of custom controllers - would you be so kind as to write one that fetches the data I need so I can study the syntax?
elpaso750elpaso750

HI mate,

 

did you get anywhere with this ?

 

I'm actually meeting the same issue and just surfing through boards and help tips without getting a solution.

 

This is really a piece of cake for relational DataBase, can't understand why in SF I'm still spending so much time to get a solution.

 

Alex

Adrian-EAdrian-E

No. I eventually just dropped the idea.

It would work when there was one parent and one child, but when a parent became an ancestor, it stopped working

elpaso750elpaso750

Thanks

 

I though you cold query up to 5 levels but probably I'm mistaking

 

Alex