You need to sign in to do that
Don't have an account?

I want to write a trigger to update field in opportunity when there is a change in contact relations: lookup from account to contact. Lookup from account to opportunity. Nb: no relation from contact to opportunity
I want to write a trigger to update field in opportunity(email field) when there is a change in contact e mail field
relations: lookup from account to contact. Lookup from account to opportunity.
Nb: no relation from contact to opportunity
relations: lookup from account to contact. Lookup from account to opportunity.
Nb: no relation from contact to opportunity
Let me know if any problem arises.
Thanks
All Answers
Just want to confirm one thing, are you utilizing the standard lookup relationship or if you have created some custom relations between Account, Contact and Opportunity.
As your question I am getting the relations as:
Contact's Parent - Account,
Account's Parent - Opportunity.
Please make me correct then I can develop the code.
Thanks,
Ayush
iam not utilising the standard lookup relationship, there is no relation ship between contact and opportunity
there is lookup relationship from contact to account and there is lookup from opportunity to account ,account act as parent for contact and opportunity
thanks
sufyan
Let me know if any problem arises.
Thanks