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
Soubhagya Ranjan 2Soubhagya Ranjan 2 

Required Batch Apex Code

Hi I want to insert account record from custom object Object1 . If record already present in account then object1 status field will be YES and if new record then insert the record into account and status of object1 will be NO . How to write batch class for this ?