You need to sign in to do that
Don't have an account?
Vidya H 4
please help me to write code for this
I have Created a field on Account called Stage with values - In Progress, Closed. If the stage is changed to closed the trigger should auto update stage of all opportunities for that account to closed/won and close date to current day.
Can you try the below trigger on Account Object.
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
Can you try the below trigger on Account Object.
If this solution helps, Please mark it as best answer.
Thanks,
Did the above trigger logic worked? If so please mark it as best answer.
Thanks,
its working fine thank you
could you please help me to write batch class for this
I have Created a field called Funding on Quote with values - Partial , Full and NA .
and i Created a field called Funding on Opportunity.
Write a batch class to rollup the unique funding field values from Quote to Opportunity if Opportunity stage is closed/won. Ex: if an opportunity has 6 quotes with funding Full, Full, NA, Partial ,NA, Partial then field on opportunity should be in format - Partial,Full,NA.