+ Start a Discussion
sagar077sagar077 

Hi Everyone, I need help to write a trigger for update the Source_Opportunity__c lookup field on (Opportunity Object) with the original Opportunity name. The requirement is if the amendment contract is created then we have to update the Source

Hi Everyone, I need help to write a trigger for update the Source_Opportunity__c lookup field on (Opportunity Object)  with the original Opportunity name. The requirement is if the amendment contract is created then we have to update the SourceUser-added image
ShirishaShirisha (Salesforce Developers) 
Hi Sagar,

Greetings!

Please refer the sample code suggested in the below thread and make changes accordingly.

https://developer.salesforce.com/forums/?id=906F0000000AtJ5IAK

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
sagar077sagar077
Hi Shirisha Pathuri
Can you plz help me in trigger.