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
Phuc Nguyen 18Phuc Nguyen 18 

Query parent child and grandchild(attachments)

Hello All,
I need to query a parent(contractors)/Child(subcontractors) records/grand child records(attachments). Will someone help me with the query traversing up from the attachment?
Thanks,
P

 
AbhishekAbhishek (Salesforce Developers) 
Your query is answered here,

https://salesforce.stackexchange.com/questions/57878/best-way-to-query-child-grandchild-from-parent

https://developer.salesforce.com/forums/?id=906F0000000kIFGIA2


I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Thanks.