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

Posted on Posted in FedEx, Salesforce, Shipping Automation, Tracking

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 […]

Bulk Cancel UPS shipments

Posted on Posted in UPS

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 […]

Using Process Builder to Add FedEx Tracking Number to your Contact Object

Posted on Posted in FedEx, Salesforce, Shipping Automation, Tracking

Todays blog post will show you how add the FedEx Tracking Number onto the Contact object after you have created a shipment. Firstly make sure you have the text field available on your contact object:   Next let’s create a Process Builder task to retrieve the tracking number once the shipment has been created. To […]

UPS Address validation on an Account

Posted on Posted in Uncategorized

Todays blog post will show the code you need to validate an Account address via the UPS Address Validation call you can find in the UPS Shipmate app.   Firstly we will look at the Controller code, and we will explain how it works below:     Lines 7-12: This is where you specify the […]

Send an email template with a GIF attachment

Posted on Posted in GIF, UPS

Today we will show you how to send an email template with a GIF return label attached once a shipment is created from a Case. Before you can write any code you need to set up three things; Email template Notification checkbox Create a new lookup relationship from the UPS Shipment to the Case object […]