+ Start a Discussion
Aloke Singh 6Aloke Singh 6 

We have three Account records like Account A is parent of account B, Account B is parent of account C.

We have three Account records like Account A is parent of account B, Account B is parent of account C. Now Account A has opportunity OP1 and OP2,Account B has opportunity OP3 and OP4,Account C has opportunity OP5 and OP6. Suppose user has updated opportunity OP3 and OP4 amount field as 500 then this should also update the Account B and Account C one custom field called 'Amount' with 500. If user has updated OP1 and OP2 with 1000 then it sholud upate the Account A with 1000 and Account B and Account C as '1500'

I want to implement this using trigger. Any help would be appreciated on this.

Thanks,
Aloke