# UPS WorldShip Integration

### What it does:

This integration (WorldShip Helper) automates the exchange of data between WorldShip and Salesorder. It imports Shipment data into WorldShip. Tracking and cost information are sent back to the commensurate Shipments in Salesorder.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FgFRJ5kV2aBLvW9Nd1PN0%2Fimage.png?alt=media&#x26;token=4f29963e-6b4b-413a-8186-2f32365f7a2e" alt=""><figcaption><p>Workflow</p></figcaption></figure>

To allow these two apps to communicate with one another, we must install a small app on your PC called the WorldShip Helper. Please follow the steps below.&#x20;

### Setup and Configuration:

### **On Salesorder.com**

1. Go to <mark style="color:orange;">Setup > Plugin Store</mark> and Install the plugin “UPS WorldShip integration.”&#x20;
2. Once installed, go to Installed Plugins and find “UPS WorldShip integration”. Select 'Configure'. The plugin configuration page looks like this:

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FAsLcvdlqbvShpqR0lxHv%2Fimage.png?alt=media&#x26;token=a4e089b7-407f-4d90-aca9-05540f3c11b2" alt=""><figcaption></figcaption></figure>

3. Ensure “Enable shipping process” is checked. This allows the system to export the shipments to a CSV file when a shipment is created, updated, or shipped.

{% hint style="info" %}

* If 'Multiple shipments per order?' is set, it will not update the tracking number and shipping cost on the sales order as there are different tracking numbers on shipments.&#x20;
* You may leave other fields, Login ID, Password, UPS API Access Key, and UPS Shipper Number,  empty for now as UPS is not providing REST APIs to get the tracking number via reference number. When available we can set these fields.
  {% endhint %}

4. Return to the Installed Plugins List, select 'More Info...' and click 'here'. This will download the  'WorldShipHelperInstaller' Java application to your local device. The application will appear in your Downloads folder.&#x20;

![](https://lh7-us.googleusercontent.com/rJ46XYQbLN141nkiQoFw8N4RteTbV3HX251x1xIwUqfDfh1-Stmk-3Kxso7PUSDl84xGy_ItpD_b5rK2qPvAFtG4xeODA8416k0hu6fEzueLgCOoA-pJLXFHkyNxufAhkSi4ocMXcm8CYbU8lStc558)                           ![](https://lh7-us.googleusercontent.com/7FNW1k1ioBo5uGVP2lg5E3vT67vRRM63MzWk9ogumklKzo4RcAwTB1vwI160vrBfx70XQ2bt3h1vHFssjOaiLV-HALTzoLV0y7rsCdevfwgJ0Mmk1aUDQEr66fjDRC6HSxD9lwV1SlPGnIrtH_7KoRY)

5. Right-click on 'WorldShipHelperInstaller' and 'Extract All'&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/3kQZuEsUQ4szZSbCNZSs8ApWL4oomaxvifg8p4SWoC-nwZ9YhsMqoOuWTJxPD5pjKQITR2SMzFQFodNwwWmwRkJn2EykCkq2dry2vpHarMQQ7jVpWC5d7CvDsM-D7Sh_s1Jlq-5GABGxITE3KHpBmJM" alt=""><figcaption></figcaption></figure>

The files contained in this will be extracted and will appear like this:&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/0JFQ4J4tlDzUY7_drAXtCARjxuKP1w_Ok6bSO7Vy2m6cab-F2BC85pq-CIF3ljGx4KEsAYp26cMwEAQPZBRJJ62zHTxdAWGDjHQy9OrTBID0ybD77kNSRtwh5RQqEm4XJoOHnOSYdBKWupPJbV7cEdI" alt=""><figcaption></figcaption></figure>

6. Right-click on setup.exe and Run as an Administrator. Your local device may prompt you to ‘allow changes to be made’, select ‘Yes’. It will open the application window as below:&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FmimU1a7SDdpLsmamOxip%2Fupsintegrationblurred.png?alt=media&#x26;token=aae847f1-021f-4865-ae3d-b96d6e6065f2" alt=""><figcaption></figcaption></figure>

6. Enter the following information.
   1. Your salesorder.com account number: Salesorder instance number without the prefix 'SOA'.&#x20;
   2. Your salesorder.com account key: the API Key&#x20;
   3. Your salesorder.com account password: API Password

      1. Can be accessed from Salesorder.com main application, go to <mark style="color:orange;">Configuration > API</mark>.&#x20;

      <figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F4EIQaF2UObWHK72TD9WM%2Fimage.png?alt=media&#x26;token=f56fc01a-a67c-46ac-b9da-98ecb6f0c0ed" alt=""><figcaption></figcaption></figure>
7. Output directory: the directory path where the shipment CSV. file will be downloaded every 5 minutes. (This must be an existing directory).&#x20;
8. Shipment export CSV. file: Path of the CSV. file which is scheduled to be exported from the UPS WorldShip application. (This file must be an existing directory). This file can be downloaded from the plugin configuration page.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FSuAJRIDHS5JtB2J0fJoY%2Fimage.png?alt=media&#x26;token=77ee7a0a-1c66-4209-986d-8d8b11e0e925" alt=""><figcaption><p>Click here to download</p></figcaption></figure>

### On UPS Worldship Application (on Local Device)

{% hint style="info" %}
Download the UPS WorldShip Application [here](https://www.ups.com/us/en/business-solutions/business-shipping-tools/worldship/worldship-download.page).

For detailed information about the installation, there is a UPS document [here](https://www.ups.com/assets/resources/webcontent/en_US/worldship_installguide_enu.pdf).
{% endhint %}

1. After you have installed the app, you will be prompted to enter your Shipper details. Once you have filled in your details, it will verify the account and address from UPS.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FmEB0t90EfMZoR18UsDUh%2Fimage.png?alt=media&#x26;token=1e4a619e-67ac-4ed5-b852-3c4de167cd32" alt=""><figcaption></figcaption></figure>

2. Once the installation is complete, the application will open as below:

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F0iyftHlsExLK0bApyy61%2Fimage.png?alt=media&#x26;token=35ae472b-f845-40d3-8cee-287493dc999b" alt=""><figcaption></figcaption></figure>

3. From here, you need two things to proceed.&#x20;
   1. Map shipment import from CSV downloaded from Salesorder WorldShipHelperInstaller Java application
   2. Map shipment export to CSV file to export the shipment details, like tracking number and shipping cost. This file will be the same file that is mentioned as the "Shipment export CSV file" in the WorldShipHelperInstaller application setup.&#x20;

#### Map Shipment Import from CSV

1. To map shipment import from CSV, you must map the columns in the CSV to shipment fields in the WorldShip manager. To create the map:&#x20;
   1. Go to <mark style="color:orange;">Import/Export Tab > Tools > Import/Export Wizard</mark>

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F6laZpwYJ3i0LYfD6LHZC%2Fimage.png?alt=media&#x26;token=f39a5b83-99ed-4aec-9ebb-3e434fa02f41" alt=""><figcaption></figcaption></figure>

2. This will open a new window, select ''I need help with importing information into WorldShip’ then click Next.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2Fgwplr9zwaWfRc7gpLNgW%2Fimage.png?alt=media&#x26;token=560c6142-994c-423c-87b1-9f19315268a1" alt=""><figcaption></figcaption></figure>

3. Now, select 'Small Package Shipments' from the list then click Next.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FuAKPmspN1SOE1uWtqGYP%2Fimage.png?alt=media&#x26;token=c0324ce3-2eb2-44c4-83eb-f9e2369e3c5a" alt=""><figcaption></figcaption></figure>

4. Next, this dialogue box (below) will open. Enter a name in the 'Data Connection Name' field and select the data file by using the 'Browse' option. You must select the CSV file that is being imported from the "WorldShipHelperInstaller" application.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FaKFRl8XCbJSYBJ565GNI%2Fimage.png?alt=media&#x26;token=d08581c9-c4da-4de0-8171-0a719ac9ea27" alt=""><figcaption></figcaption></figure>

5. Upon selection of a CSV file, an option for 'Datasource Type' will appear, select ‘Microsoft Text Driver(\*.tct, \*.csv)’ and click Next.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FzedS6gahz4fh85o3N85l%2Fimage.png?alt=media&#x26;token=ec3a9583-0914-4552-bd94-5d0ee8fb0a74" alt=""><figcaption></figcaption></figure>

6. Another dialogue box will appear with CSV columns listed on the left side (below). These CSV column names are draggable and can be dragged to any of the fields shown on the right side. To map the fields, drag the field from CSV (left side) to the desired text field (or checkbox or any other form field). Once you drag and drop the fields from left to right, it will be mapped.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F2fwZLGzJwmd4rV5Xr5AA%2Fimage.png?alt=media&#x26;token=f4b6429a-0d5a-47b4-9266-2149bb8729ec" alt=""><figcaption></figcaption></figure>

7. Once the mapping has been completed, enter a name in the 'Map Name' field in the bottom left-hand corner and click Save Map.&#x20;

<div align="center" data-full-width="true"><figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2Ffj2ThyFnY50YJspKspfU%2Fupsintegrationpluginmapping.png?alt=media&#x26;token=1df8dfe2-627e-409b-a10d-896505c2e82e" alt=""><figcaption></figcaption></figure></div>

8. Once the map is saved, this dialogue box will appear. Select 'Exit to WorldShip' and click Finish.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F1CKuJYGsbn6b0XFuKYzS%2Fimage.png?alt=media&#x26;token=f6306d11-6dd4-4fdc-8a01-db1320994100" alt=""><figcaption></figcaption></figure>

9. You will be brought back to the WorldShip application. Go to the 'Import/Export' tab > Batch Import' dropdown and select 'Batch Import'.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F446fUGoeVBUytI2HL0qC%2Fimage.png?alt=media&#x26;token=ca10b5c7-bbc6-4d04-8d8a-f55d0ca515eb" alt=""><figcaption></figcaption></figure>

9. This will bring up a dialogue box with existing maps including the one you just saved. Select the import map and click Next.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FxLQhJsyRoWthH6nKjC2b%2Fimage.png?alt=media&#x26;token=71fea3f6-2040-4803-be2c-bf26542bfe4a" alt=""><figcaption></figcaption></figure>

10. If there are some rows on the mapped CSV it will show the records to be imported (below).&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FRY94HYoVNKH5XTLpRWTE%2Fimage.png?alt=media&#x26;token=f9f2bb9f-8463-4324-a10b-c3de71f6784d" alt=""><figcaption></figcaption></figure>

11. You will be asked if you want to save the record.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F7xaZEWbUv5Bh90cSrnav%2Fimage.png?alt=media&#x26;token=53e0ec5f-b4b2-4e57-b298-3c063758924c" alt=""><figcaption></figcaption></figure>

12. To view the records, go to the 'Home' tab and select 'History'&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FLYp4AGZg2HIXXHsfNQPU%2Fimage.png?alt=media&#x26;token=578e2e79-22dd-42b3-9ca5-88ec19793300" alt=""><figcaption></figcaption></figure>

13. This will show the imported records under the folder, 'Imported Shipments'.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2F5CG5DC4iRkOWeHQcMTjU%2Fimage.png?alt=media&#x26;token=f995171b-0256-4683-9019-78f6a2a1ecb0" alt=""><figcaption></figcaption></figure>

#### Map shipment export to CSV file

This process is similar to import mapping.&#x20;

1. Go to the 'Import/Export' tab and select 'Tools' then click 'Import/Export Wizard'. Select the option, "I need help with exporting information out of WorldShip".&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FmObcggWMPVuFKIQU9S74%2Fimage.png?alt=media&#x26;token=d08409e7-2666-4921-b36c-fe1cf38fa7a2" alt=""><figcaption></figcaption></figure>

2. Select 'Export Small Package Shipments' and click Next.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FBT0ZOW35c8uGtEISY8Nb%2Fimage.png?alt=media&#x26;token=0c1a0bd9-e844-48f9-a584-79d625ac6144" alt=""><figcaption></figcaption></figure>

3. This will open up a dialogue box (below). Enter a name in the 'Data Connection Name' field and select the data file using the "Browse" option. Select the CSV file that we have set as 'Shipment export CSV file" at at “WorldShipHelperInstaller” application on step “Setup and Configuration”.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FwE2gVYTOA8wB0sFkew2k%2Fimage.png?alt=media&#x26;token=0cf5ccfa-af5a-4a9c-b30c-90cb4b71b886" alt=""><figcaption></figcaption></figure>

4. Click Next, this will open a similar window to the one for import CSV mapping. However, here it will behave the opposite. The field from CSV (left side) will be populated from the values of fields to which they are mapped. To create the mapping we simply need to drag and drop the CSV field from the left side to the desired field on the right side.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FButIs2int7cnLDRMtljV%2Fimage.png?alt=media&#x26;token=86c8d83e-9252-4860-a99b-95147c715e5f" alt=""><figcaption></figcaption></figure>

5. Once you have finished mapping, you must save this map. On the bottom left side, there is a field named "Map Name" Populate this then click "Save Map"
6. After saving, you will see a dialogue box (below), Select "Exit to WorldShip" then click Finish.&#x20;

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FnJaACyDEJbNklY0jwYyR%2Fimage.png?alt=media&#x26;token=ed622362-89ee-4b1d-a969-7347d8083651" alt=""><figcaption></figcaption></figure>

7. You will be brought back to the WorldShip application.  Here on Import/Export tab there are two options, “Batch Export” and “Automatic Export”. The Batch Export is for manual export. If you select this option, it will ask you to select the map (you can select the one which you just saved) and ask for a date range. When you select the map and date range it will export the shipmnts to the mapped CSV. The Automatic Import is for cases when we need the shipment to be exported on some events.
8. Select the Automatic Import from the Import/Export tab. Here ypu need to select the option “Export After Shipment Processing” so that the shipment is exported as soon as it is processed.

<figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2Fu4lq3S3Y45BF877uuJmC%2Fimage.png?alt=media&#x26;token=dd286a75-1b36-4acd-94d3-c6a06e53774e" alt=""><figcaption></figcaption></figure>

9. When you select the option “More”, you will be asked to select the map. Select the map and click the “Export”. Now when any shipment is processed it will write the shipment details on the CSV row.

   <figure><img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FBvanGLGqulErmxOJ8LnM%2Fimage.png?alt=media&#x26;token=df8bba14-e5f4-46a3-8c3b-2cbe1dfad0bb" alt=""><figcaption></figcaption></figure>

Well done! You completed the configuration.&#x20;
