+ Start a Discussion
sumithasumitha 

Clone the Custom Object and their related List with Updation in related List Record

Hi All,

Need Help !

I have to clone custom object which 250+related list record(child record) + some field updation in Related record.

I created a custom button in Custom object detail page which calls the apex class.
(It was working for lesser records in related list record only).
My thought is to write batch apex class
but I need help to write Batch apex class for this kind of Scenario.

Thanks,
Sumitha P

 
Team NubesEliteTeam NubesElite
Hi Sumitha,
Please find the link Batch Apex (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_batch_interface.htm)
This will help you to write Batch apex for your requirement.

Thank You
www.nubeselite.com

Developement | Training | Consulting

Please Mark this assolution if your problem resolved.