Table of Contents
- Add a custom field onto the UPS Shipment object
Follow these instructions to add a cost margin to the shipment object
1. Add a custom field onto the UPS Shipment object
Go to Setup > Create > Objects > UPS Shipment
Click New under Custom Fields & Relationships
Select "Formula" and click Next
Give the field label a name you will recognise, and be sure to select the "Currency" item, and click Next
Make sure you choose the Advanced Formula tab and add the following code:
zkups__TotalCharges__c * 1.2
This will mark up the total shipping costs by 20%.
Click Next for Steps 4 and Steps 5 of the New Custom Field Wizard.
Now go back to any UPS Shipment Object and you should see your new field that you are then able to work off.