You need to sign in to do that
Don't have an account?
aaryansri
How to write trigger for changes on third object after insert or update ?
For the below triggers after insert is written .Please help me to after update.
1) Enable account team member
follow navigation setup==>customize==>account====>Account teams .
once you enable this accountteam member object is added to related list of account.
2) create one check box VPA on account object.
now the requirement is:
create one record in account (call parent record) mention VPA enable and don't select parent look up field.
create one more record in account(call child) uncheck VPA and select (parent record) as parent for this child record using look up.
here VPA is enable means that record is parent other wise it's a child record...
Need to be achieve:
1) once you create a child record then owner of parent record should be add to child related accountteam member.(parent owner should be insert as accounteam meber to child)
2) if you change the owner in parent it should replace the old owner with new onwer.
1) Enable account team member
follow navigation setup==>customize==>account====>Account teams .
once you enable this accountteam member object is added to related list of account.
2) create one check box VPA on account object.
now the requirement is:
create one record in account (call parent record) mention VPA enable and don't select parent look up field.
create one more record in account(call child) uncheck VPA and select (parent record) as parent for this child record using look up.
here VPA is enable means that record is parent other wise it's a child record...
Need to be achieve:
1) once you create a child record then owner of parent record should be add to child related accountteam member.(parent owner should be insert as accounteam meber to child)
2) if you change the owner in parent it should replace the old owner with new onwer.
Please review my reply to a post on similar requirment at the link https://developer.salesforce.com/forums/?id=906F00000009XvSIAU
Hope that helps !!
Thanks,
Ramu