Today's blog post we will show you how to add an externally created FedEx tracking numbers to an object. Updating tracking is the most common use case, that you are then able to query using the standard Salesforce reporting. We’ll be using the Order object in our demo here.
The code is made up of 3 parts.
- Trigger on the Order Object:
Line 3: For when a brand new order is added with a tracking number
Line 7: For when the tracking number field is updated