+ 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 ?