You need to sign in to do that
Don't have an account?
Harsh Gup
User is inserted at the parent level Account then add the account sharing records at the child level
Hi Team,
I want to write the trigger for the Scenario,
When Account Team Member inserted/updated into Account of Level 1
In this case i need the child and grand child of Level 1 account and add Account sharing records at child and grandchild account.
I want to write the trigger for the Scenario,
When Account Team Member inserted/updated into Account of Level 1
In this case i need the child and grand child of Level 1 account and add Account sharing records at child and grandchild account.
This is just a sample code. Please make changes as required
If you don't want to use 2 for loops, please see this solution
If you find this code helpful, please mark this answer as best. It may help others in the community. Thank You!
Anudeep