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
aditya prasadaditya prasad 

Updating parent record from child

We have 2 objects:

Order and Order Line
We create an order and have the option of spliting order and corresponding order lines into different orders. Now splited orders become child to the Main order through self look up and the all child orders will have many corresponding oredr lines.
Whenever these child orederlines are updtaed, we need update the parent order as well as the Parent order lines.

Thanks in advance for your suggestions.


NagendraNagendra (Salesforce Developers) 
Hi Aditya,

Please check with below links from forums community with similar requirement. Please let us know if this helps.

Process builder now has option to update to Parent records on basis of changes to Child records. Very simple to setup and configure such scenarios. Check if that helps.