You need to sign in to do that
Don't have an account?
Rom_
Trigger to update lookup field with id from text field on same object (Account)
Text_ID__c - text field with id of an Opportunity
A_Opportunity__c - lookup field to Opportunity
Both fields are in standard Account object. How can I populate the lookup field with the id in the text field? Will not work with workflow or process builder, guess I need Apex trigger (with which I have little experience). Can anyone provide code for this to at least put me on the right track? Would greatly appreciate it :)
A_Opportunity__c - lookup field to Opportunity
Both fields are in standard Account object. How can I populate the lookup field with the id in the text field? Will not work with workflow or process builder, guess I need Apex trigger (with which I have little experience). Can anyone provide code for this to at least put me on the right track? Would greatly appreciate it :)
Please use the below trigger code : Let me know if you need any further help on this.
Thanks,
Abhishek
I really appreciate the help. Unfortunately it failed on deployment to production.
Error Message: Methods defined as TestMethod do not support Web service callouts
Stack Trace: null
Any idea how to resolve this?
Thanks again.
Please close this question by marking it as Solved if you do not have any further queries on it.