function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vaibhab ShahVaibhab Shah 

Updating status of child opportunity

Hi, 

Requirement is, I won't be able to update the status of a child opportunity. On updating the status of a parent opportunity, status will be changed and need to change the statuses of all the child opportunities. 
Have to do this in trigger but need the correct way of doing it. 

Rgds, 
Vai. 
AbhishekAbhishek (Salesforce Developers) 
It can be done by Process builder.

Try the method as mentioned in the below developer discussion,

https://developer.salesforce.com/forums/?id=9060G000000UVjrQAG


I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Thanks.