background

Zenkraft Blog

Run your Logistics and Post-Purchase Experience on the Salesforce Platform.

Matouk Goes Best of Breed With Zenkraft and Rootstock

Published on 23 October 2017 by in  

Matouk & Co. Inc.,is a world renowned textile manufacturer, producing high-end bed and bath linens. Their headquarters, located in Fall River, Massachusetts, is a world-class facility featuring a solar energy system, advanced production technologies, and an environment committed to promoting the health and well being of their employees. At Matouk old world techniques live hand-in-hand with state of the art tools and production philosophies.

When Matouk was transitioning to  Continue reading »

Create a scheduled job code to delete any FedEx checkpoints for shipments that have been delivered more than 2 week ago

Published on 04 October 2017 by in  

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 »

Bulk Cancel UPS shipments

Published on 18 July 2017 by in  

A quick code snippet for you today, if you want to cancel all UPS shipments that have not been picked up.

Here is the code to run in Developer Console:

Line 4 determines the shipments we want to set as cancelled. For this snippet we have decided to cancel all shipments older than UPS-Shipment-0000001000.

Line 7 then uses our startMassShipmentCancelBatch process that goes ...

Continue reading »