You need to sign in to do that
Don't have an account?
Vidhyasagar Ranganathan
Trigger to update custom object with information from opportunity and contact role
Hi All,
I am looking for some help in writing a trigger that upon Opportunity creation (either from lead conversion or later) will get the contact ID from contact role and match that with the contact ID in the custom object to get Opportunity ID and update the custom object with opportunity fields.
Thanks!
I am looking for some help in writing a trigger that upon Opportunity creation (either from lead conversion or later) will get the contact ID from contact role and match that with the contact ID in the custom object to get Opportunity ID and update the custom object with opportunity fields.
Thanks!
Below is the sample trigger code which I have written for you, with little modification (Custom object Name and the fields of it) code will work for you:
Mark answer as solved if you have got your answer.