Reading CSV/Flat Files

Introduction This article is showing one of the ways to efficiently reading a CSV/Flat Files using Apex code without breaking the character encoding. Read from Content Version Apply character encoding Read data line by line CSV Upload Reusable Pack We have created a re-usable package for handling csv uploads with Read more…

Stateful Apex Batch Classes

Introduction This article intents to show how we can save state of batch class member variables for all serial batch jobs running in background for a single batch job. Use Cases When you want to report the batch execution status. Calculate records failed/passed on some criteria. See most common error Read more…