You need to sign in to do that
Don't have an account?
Bablu Kumar Pandit
Trigger to Find Account Realed all Opportunity will Closed Lost.
Hii Every One,
i have a custom filed on Account Name(AssignCheckBox) ,write a Trigger on Opportunity when i update Stage of Opportunity is closed Lost and AccountId not Null and if Selected Account (Might be possible selected Account have more than one Opportunity) of all opportunity will be Closed Lost then Account CheckBox will be true
i have a custom filed on Account Name(AssignCheckBox) ,write a Trigger on Opportunity when i update Stage of Opportunity is closed Lost and AccountId not Null and if Selected Account (Might be possible selected Account have more than one Opportunity) of all opportunity will be Closed Lost then Account CheckBox will be true
Greetings!
Please find the sample code below:
Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Code didn't work according to my Requirement
My Requirement is when i update Opportunity Closed Lost and If All Realed Opportunity of Account should be Closed Lost then i update Account Filed checkBox Shuold be true
Below see my Code but didn't work
Thank you!