You need to sign in to do that
Don't have an account?
NecroGiggles
Trigger on Opportunity to update User object
I need to make a trigger on the opportunity object that Adds +1 to a custom filed on the user object every time an opportunity that the user owns has the "Date qualified" filed changed from null to having a date.
I tired making a workflow but the field update cant cross to the user object. And I am not sure were to start on this code any help would be great.
I tired making a workflow but the field update cant cross to the user object. And I am not sure were to start on this code any help would be great.
You can not Do DML for both Setup and nonsetup object so you need to use @future annotation to overcome that.
Please try with below code . Please replace the variable accordigly.