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
sai mogantisai moganti 

scenario1

hai
  I have 20 accounts,for 20 accounts 50k opportunities are there.common field is there in account as well as in opportunity.If  for example if i change a field in account object(Status field) then associated all opportunity status  fields  should change.One Account is having more than 10K opportunities.Can anyone say how can u achieve this with simple code

Thanks 
Sai
rajat Maheshwari 6rajat Maheshwari 6

Hello sai,

I would like to suggest for queueable apex as per your requirement, as it is enhanced Future logic capabilities.

 

Thanks
Rajat Maheshwari
rajatzmaheshwari@gmail.com

Sam SwannSam Swann

Hi Sai,

You could achive this without any code.
I would suggest you to try Process Builder rather than going for Custom coding.

Here is a knowledge article that might be helpful:
https://help.salesforce.com/articleView?id=000213419&language=en_US&type=1

Thanks,
Sam