Todays blog post will show you the code needed to set up a scheduled job that will remove all FedEx checkpoint objects for shipments that have been delivered more than 2 weeks ago.
This is useful if you are coming up against salesforce storage limits and need to clear out some space.
We will need to create two classes and then their respective test classes.
RemoveDeliveredCheckpointsBatch
This class creates the list of all the checkpoints that need to ...
Continue reading »