You need to sign in to do that
Don't have an account?
sfdev1
Help with Trigger on Opportunity
I have created a custom picklist on the Account Object which depicts the status of the Account (E.g Prospect, Active or Dormat)
I want to create a trigger on the Opportunity Update event that updates the Account Status to Active if the Opportunity.Stage = "Closed\Won"
I try varies Apex codes options with out success
micwa
For this you don't need Apex, make a workflow rule that's much easier.
sfdev1
Workflow does not allow to update another obect. If the rule based on the Opportunity then you are only allowed to update fields in the Opportunity object