You need to sign in to do that
Don't have an account?
Board salesforce
field update on Opportunity
Hi All,
An account can have 10 Opportunities ,when i open a opportunity and change the stage to Closed won then other 9 Opportunities has to be Updated closed Lost automatically.
Please help on this.
Thanks ,
An account can have 10 Opportunities ,when i open a opportunity and change the stage to Closed won then other 9 Opportunities has to be Updated closed Lost automatically.
Please help on this.
Thanks ,
Try this trigger:
All Answers
Try this trigger:
yes i worked same on it .Now i have stageName Picklist field on account level too , I have to update 'Closed won' in Account .
Thanks ,
Ramesh
Just add another SOQL query for loop that selects all the Accounts in accountIds and updates them to change the Stage Name field to 'Closed Won'.