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
keshava65keshava65 

parentaccount and account

Hi all
  In account object one custome filed status__c (picklist) 
  any  child account should be active then parentaccount active
 all childs account should be inactive then parentaccount inactive using trigger 
 
Shashikant SharmaShashikant Sharma
Hi Keshava,

This is kind of rollup of status from child to Parent account. 

You can see : 
https://www.sundoginteractive.com/blog/rollup-summary-with-a-lookup-field-salesforce
http://www.cloud113.com/roll-up-summary-trigger/

Let me know if you face any issues in development.

Thanks
Shashikant