Hello friends,
I am into situation where I need to share all the child records on share of parent record.
For instance, Say, If I am sharing account record to 'Team A' then all the child record to that account like 'opportunity','order',etc.. should be shared with 'Team A' too.
Is there any generic solution rather then finding all the different type of record individually ?
so let me know if it is possible something like
foreach (all the related entities)
{
foreach(all the related records)
{
}
}
Any help would be greatly appreciated.
Thanks and regards,
Hiren Solanki.
Please vote or mark as a answer if it helped you.