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
Mahi_maramMahi_maram 

How to write the batch process???

Hi,

 

would you please explain about batch process and how to write the batch process for Account and  Contact..one day if i creartre 10 Accoutns that each Account details should be converted as csv or excel file end of the particuler  day. 

sfdcfoxsfdcfox

While we'd be glad to help you out with any problems you might be having in regards to writing this code, it seems that you've made no effort to read the Apex Code Developer's Guide or any posts on this forum. Everything you need, including a ton of code samples, is already readily available here on the forums and in the documentation. All you have to do is read the section on Apex Schedulable classes, Apex Batch classes, and Apex Email classes. I presume that you should already know how to create a CSV string (if not, that's here on the forums, too).

OyeCodeOyeCode