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

Add External UPS tracking numbers to an Order

Posted on Posted in Tracking, UPS

In todays blog post we’ll show you how to add externally created UPS tracking number to an object. Most common use cases are to get updated tracking, that you are then able to query using the standard salesforce reporting. We will be using the Order object in our demo here. The code is made up […]