Table of Contents

  1. Add Lookup Field to Shipment Object
  2. Update the Custom Object to have the Recommended Address Fields
  3. Create the Custom Address Source Record

Please ensure you have upgraded to the latest version of Shipmate before continuing.

Custom Object support allows you to ship to any object that has address fields. After you have installed and configured Shipmate, you can set up your Custom Object integration as follows:

The images below describe an example on how you can use this technique to ship to the Case object.

1. Add Lookup Field to Shipment Object

To allow your custom object to be used as an address source in Shipmate, you must create a Lookup Relationship to the Purolator Shipment object. This allows your custom object to be associated to the Purolator Shipment records and to have a Purolator Shipments related list on your custom object. The following steps detail this process.

  1. Go to Setup | Create | Objects
  2. Under the Label column, click Purolator Shipment.
  3. Under the Custom Fields & Relationships section, click New.
  4. Select Lookup Relationship as the Data Type, and click Next. Shown in Figure 1.
  5. For the Related To value, select the object you want to use as a custom address source, and click Next. Shown in Figure 2.
  6. Enter in a value for Field Name, and click Next.
  7. Continue to click Next until you reach Step 6 of the New Relationship wizard.
  8. Click Save to complete the New Relationship wizard.

Figure 1: Adding Lookup to Purolator Shipment Object.

Figure 2: Select the Object you want to ship to. In this example, we’ll select Case object.

2. Update the Custom Object to have the Recommended Address Fields

If a custom object is used as an address source, it is recommended that the following data be available (at minimum). If the selected custom object does not have all these fields, they may be added from related objects using Formula Fields. However, if all the following data is not available, the custom object may still be used as an address source. Any missing data can be manually added in the shipment wizard when creating the shipment.

  1. Recipient Name (max 35 characters)
  2. Recipient Company (max 35 characters)
  3. Recipient Email
  4. Is Residential (checkbox, optional)
  5. Recipient Phone (10 digits long)
  6. Recipient Street (textarea, maximum two lines of 35 characters)
  7. Recipient City
  8. Recipient State
  9. Recipient Postal Code
  10. Recipient Country (two letter country code)

The following reference and email fields are also available to map but are optional:

  1. References
  2. Email Recipient 3
  3. Email Recipient 4
  4. Email Recipient 5
  5. Email Recipient 6

3. Create the Custom Address Source Record

To connect the custom object as an address source, a Custom Address Source record must be created. The following steps detail this process.

   1. Go to the Custom Address Sources tab.

   2. Click on New Custom Address Source

   3. Enter in a value for Custom Address Source Name. 

   4. For Object, select the object that you want to use as an address source.

   5. For Shipment Object Lookup Field, select the Lookup field that was added to the Purolator Shipment object in part 1. Shown in Figure 4.

   6. For the values under the Recipient Address Fields section, assign the appropriate fields from your custom object. Note: The Recipient Street can either be specified as a single TextArea or as TextLines, but not both. 

   7. Once all fields are assigned under Recipient Address Fields, click Save. Shown in Figure 4.

Create a new Purolator Shipment and you’ll see your new Address Source (you can also initiate the shipment from the Purolator Shipment related list on the lookup object. As shown, data from the mapped fields will be auto-populated).

The last step of our quick start tutorial is One Click Shipping 

Did this answer your question?