We've been asked for a long time - how do we associate products with packages? Today in version 1.34 of our Multi-Carrier app we've launched a packing UI. This integrates directly with ANY Order object structure in Salesforce. See the docs. The process is as follows:
Integrate with your Order and Order Lines
Pack products into containers using a barcode scanner
Meyer Dunlap is a promotional product distributor – Working with brands such as Samsung, Jim Beam and American Airlines, they provide the vital link between brands who want their logo on products and manufacturers who produce these products. You can find them at https://meyerdunlap.com.
Meyer Dunlap needed a way to track shipments from their suppliers, all the way through to their end customers.
With up to 6,300 shipments being sent out at a time, they needed to be able to see at a glance if there were any exceptions or problems with shipping. In the past, this would require uploading 20-30 tracking numbers to FedEx.com at a time, taking hours of valuable time and restricting scalability.
Exceptions and shipping problems which would occur could not be dealt with quickly enough leading to potentially unhappy customers.
These exceptions would be then sent back to their original destination costing Meyer Dunlap money to ship again.
Meyer Dunlap use Zenkraft to track and report on thousands of shipments every day. Their suppliers send them details of order numbers when they ship them, which are then uploaded into Zenkraft where they can be reported on instantly.
Meyer Dunlap first found out about Zenkraft after they had committed to using Accounting Seed, a valued partner of Zenkraft.
Due to the simple set up and excellent customer service Zenkraft is famous for, Meyer Dunlap were able to get started in a couple of days.
Meyer Dunlap are now able to upload all of their order numbers to Zenkraft and instantly track and report on every single shipment at a glance. This allows them to predict and solve any potential issues right away.
The ability to configure the frequency of tracking updates allows them to notify customers within an hour of problems with shipments occurring.
The ability to instantly track and report on thousands of shipments in seconds is a life saver for Meyer Dunlap.
Meyer Dunlap use a 3rd party e-commerce platform which Zenkraft integrates with easily allowing everything to work without any problems at all.
Being able to alert customers as soon as a problem occurs gives Meyer Dunlap a huge boost to their already excellent customer service.
Today’s blog post explains how to create a FedEx shipment directly from a trigger on a standard Salesforce Account object. You will need our FedEx app and our Bulk Shipping package. Contact us if you need any further information.
Firstly, create a checkbox on your account object. Let’s call it Create_Fedex__c. We will run the shipment creation process when this gets set to TRUE.
To store any validation errors (such as incorrect addresses), you need to create a custom object called Zenkraft_Validation_Error__c. Fill in the fields as you see here:
Next, create the trigger on the Account object. You can see the code below:
The trigger calls the AccountTriggerHandler that determines whether the checkbox has been set to TRUE, and if so, creates the shipment.
Lines 13-20: Get the address information from the account object that is needed to create the shipment.
Lines 25-33: Create the queued shipment.
Lines 35-43: Create the package, including the weight and declared value.
Lines 45-47: If the above have been generated successfully we use the processShipments method to start the creation process
FedexShipmentService is the class that allows the easy creation of the QueuedShipments, it gets the account details from the FedEx account that you have set up, and creates the BulkShipment where we store all the shipment information before we actually send it to be processed.
Lines 6-41: We set the zkfedex__ServiceType__c , zkfedex__PackagingType__c for the shipment along with the sender and recipient addresses.
To handle any errors, create another trigger. This time put it on the Queued Shipment Status object.