background

Zenkraft Blog

Run your Logistics and Post-Purchase Experience on the Salesforce Platform.

1-click International Shipping Now Available

Published on 16 January 2019 by in ups multi-carrier usps fedex 

1-click International Shipping

Starting today, you can pull product data from related Order and Order Lines directly into the shipment wizard. This makes it possible to automatically submit paperless invoices, or lookup commercial invoice templates when shipping internationally. Docs here.

Ship Now Button

If the service type is selected, the ship now button will show (no need to calculate rates every time):

Address Validation Button & Global Apex Method

You can now validate addresses using wizard button or via APEX. docs here.

A few more Updates

  • UPS Ground with Freight Pricing
  • USPS International Shipments Via Bulk
  • Limit how far back you want to schedule track shipments

Continue reading »

FedEx and UPS Freight now part of Multi-Carrier!

Published on 17 July 2018 by in ups multi-carrier fedex freight 

Do you ship Freight too? Our Multi-Carrier App now supports FedEx Freight and UPS Freight. This means you can generate BOLs (Bill of Ladings) directly from Salesforce! Service types include:

  •  
  • FedEx – FedEx Freight Economy, FedEx Freight Priority, International Freight Economy and International Freight Priority
  • UPS – UPS Freight LTL, UPS Freight LTL Guaranteed, UPS Freight LTL Guaranteed A.M. and UPS Standard LTL

Continue reading »

Multiple Package Returns for UPS and Auto Printing

Published on 28 February 2017 by in ups returns 

This weeks post will detail how to achieve the following using our package, and some apex code.

  • Multiple Package Returns for UPS
  • Auto Printing

Multiple Package Returns for UPS

Currently the UPS api only allows the creation of 1 return label at a time. So if you want to create 20 return labels at once you need to set up a batch process to create them individually but group them into a Bulk Shipment which then allows you to print them all off at once.

We first need a method to create our bulk shipments, which we then reference later on in a loop.

Line 2: create a new queuedShipment object.

Line 3: set this new queuedShipment to be in the bulkShipment object.

Line 4-9: Sets the payment type, service type, units, labeltype, packaging type and the account this shipment is related to.

Lines 12-20: sets the sender address from the shipping preference.

Lines 23-30: set the recipient address details from the account.

Liens 33-35: set the values needed to create a return shipment.

 

Then we utilise a loop for the number of labels we will be creating. The code to loop through and to eventually send the shipments to be created is here:

Line 5: Create the bulkShipmentId that we will then send for processing after we have created the queuedShipments

Lines 10-21: This is the for loop where we go through creating the list of queuedShipments and creating the packages that are also required.

Line 28: is where we send the bulkShipment to be processed.

Lines 44-55: show how to create the packages.

 

Auto Printing

Our package is already setup to auto print a shipment label and all related documents from the shipment view page. All you need is the salesforce id of the shipment that has been generated. After shipment creation, you need to redirect the user to the shipment using the code below, and as long as you have setup the users default printers in the “Manage Printers”, the printing of all the labels and documents related to that shipment will automatically print on the respective printers. For example if you have a thermal shipping label and an international document, they will be printed to the thermal printer and to the laser printer respectively.

String redirectUrl = ‘/apex/zkups__ShipmentViewV2?autoprint=1&id=’ & shipmentId;

Any questions, please contact us and we will be happy to help you out.

Continue reading »

New UPS version 3.10 Released

Published on 17 November 2016 by in ups salesforce 

We’ve been working on our UPS app and added some new great features based on your feedback:

  • Added ability to edit package profiles
  • Delivered to” and “Signed For By” Tracking Information added to shipment object
  • 3 address lines now available for shipment destinations
  • Phone number format maintained through One Click Shipping
  • One Click Shipping to allow “Use Contact Address” via opportunity objects
  • Custom setting added to enforce preference details when sending labels via email
  • Custom Setting added to disable creating an activity line when sending emails
  • Custom Setting added to allow Company name to be truncated to 35 characters (UPS limit)
  • Commercial Invoices now have “Additional Comments” section
  • Updated Mail Innovation logic for First and Priority
  • Fixed typo for Mail Innovation BPM Flat
  • Minor bug fixes

See Docs for all UPS Release Notes

Continue reading »