1. Home
  2. Docs
  3. multi
  4. custom-address-source
Live Chat

Custom Address Source

Custom Object support allows you to ship from 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 Multi-carrier Shipment object. This allows your custom object to be associated to the Multi-carrier Shipment records and to have a Multi-carrier 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 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 from Shipment Object.

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

2. Create the Custom Address Source Record

    To connect the standard/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 Shipment Object Lookup Field, select the Lookup field that was added to the Shipment object in part 1. 
  5. For the values under the Recipient Address Fields section you can either select a custom field on your object, or use the field selector to navigate to the field needed as you can see below.

    NoteField selector. You are able to go 3 levels from your starting standard/custom object. Any related object will have a ">" that once clicked will allow you to select that related objects fields and relationships. Once you have navigated to the correct field click on INSERT to set that field

  6. Populate the Recipient Address Fields, as a minimum. 
  7. Once all fields are assigned under Recipient Address Fields, click Save.
  8. Test the Custom Address Source by going to your standard/custom object and click on the New Shipment button.
  9. You should then see all the prepopulated fields in the wizard as shown
  10. Some carriers have extra fields that you want to map. For example FedEx/UPS Freight need a Freight Class. You can add these by clicking the following button 

    Then you can search for a specific field:

  11. Click save.