CONFIGURATION

UPS WorldShip ODBC Connection

Last Revised: 07/14/15

Dynamo can interface with UPS WorldShip.  UPS WorldShip is a program provided by UPS that runs on a PC and is used to compute shipping charges, assign UPS tracking numbers, and print shipping labels.  UPS can obtain theship to address, service (Ground, Next Day Air, Three Day Select, etc.), billing method (Shipper, Receiver, Third Party), and other information from Dynamo.  UPS can also send to Dynamo package weights, tracking numbers, and shipping costs.

This document describes how to set up a BBj Open Database Connectivity (ODBC) interface so that UPS WorldShip and Dynamo have a place to exchange information with each other. The database will operate in the background as a key, or decoder, for communication between the two programs. If you have already completed the following steps, visit the UPS WorldShip documentation page to continue using WorldShip with Dynamo.

Has BBj ODBC driver been installed?
  1. Go to Windows Control Panel from the start menu
  2. Click on Administrative Tools
  3. Data Sources (ODBC) or ODBC Data Sources) (check both 32-bit and 64-bit).
  4. Drivers Tab
  5. Verify BBj ODBC Driver is at version 15.00.01.00
  6. If the driver is not installed, skip to the next session for instruction.

 

 

If the driver is not installed:

In a web browser, go to http://[SERVERNAME_OR_IP]:8888/install/installodbc.jnlp and press Enter. The file should run automatically upon download. Return to the above section to verify installation of the driver. Then proceed to the next section.

 

To Create Windows Data Source Name (DSN):
  1. In the same window as pictured above, click System DSN tab
  2. Click Add.
  3. Select BBj ODBC Driver.
  4. Click Finish.
  5. Fill out form using the following details:
    1. Name: Dynamo
    2. Description: Dynamo
    3. Server: typically just the word: server
    4. User Name & Password: leave blank so that it can vary by shipping software
    5. Database: Dynamo
  6. Click OK.
  7. These steps should be performed for both ODBC Data Sources 32-bit and 64-bit. However, since WorldShip is currently a 32-bit application, the 64-bit version of the DSN may need to be deleted later if connection to Dynamo times out.

 

To Configure BBj Database:
  1. Launch Basis Enterprise Manager from Browser: http://server:8888/bbjem/em
  2. Click on your server name in the left pane, then click on the blue link button immediately at the top of the left pane.
  3. In the pop-up window, enter admin as both the user name and password. See Customer Notepad in Dynamo or use default password which is the same as the customer's router configuration password.
  4. Double-click Users on the left side menu.
  5. If the ups user does not exist, then:
    1. Click the green + button (not the one on the left, but in the middle toward the top of the page)
    2. Enter username (with password same as username) of ups (for UPS), fdx (for Federal Express), usm (for US Mail using Endica)
  6. Double-click Databases on the left side menu (you may need to expand the list to see it)
  7. If the Dynamo database name is not listed, then:
    1. Click the green + button (again at the top, in the middle)
    2. Enter Database Name: Dynamo
    3. Action: Use an Existing Data Dictionary
    4. Dictionary Location: /u/CDI/DY/bbdict
    5. Data Location: /u/CDI
    6. Click OK
  8. To test if everything is in working order:
    1. Click on Open a connection for running SQL statements which is simply a running-man icon (toward top of window, in the middle)
    2. Enter a shipping login/password such ups/ups.
    3. In the large white box, type the following text: select * from SO83
    4. Click the running-man icon to execute (now at top left)
    5. You should see something like in the screen shot below if it is working. If not, please follow these steps from the beginning to be sure a step was not missed.

 

"​From Dynamo" Configuration

The From Dynamo configuration, if it already exists, can be edited instead of deleting it. Editing the current configuration should take significantly less time than creating a new configuration after deleting the old one. However, if the From Dynamo map does not exist, it will need to be created using

1. Some of the fields that will need to be changed include the following:

Shipment Information::PackageType

SO83::REF1

Shipment Information::Reference 1

SO83::REF2

Shipment Information::Reference 2

Remove SO83::SO83ID (Remove SO83ID and replace it with SO83::REF5)

Shipment Information::Reference 5 (Link to Reference 5 in Shipment Information section)

2. Other fields should already be mapped. The other mapped fields should include the following:

SO83::S2RESIDENTIAL

Ship To::Residential Indicator

SO83::S2ZIP

Ship To::Postal Code

3. Continue on for the remaining From Dynamo fields.

4. Click OK when finished.

 

"To Dynamo" Configuration
  1. Now we need to remove the existing map named To Dynamo .
  2. Select the map named To Dynamo and then click the Delete button.

 

  1. Now we need to create a new map named To Dynamo.
  2. At the bottom section of the Create or Edit An Import/Export Map window, select the radio button next to Export to ODBC Database. Leave the CSV option below it blank. Change the Map Type to Shipment by clicking the drop arrow and selecting Shipment from the choices. Type To Dynamo in the Name field and click the Create button.
  3. A window titled "Select an ODBC source" appears. Select Dynamo as the source and click OK.
  4. Now we need to link the fields in SW81 to WorldShip Fields named Shipment Information, and Package.
  5. Click the drop arrow in the left ODBC Tables and select SW81.
  6. Click the drop arrow in the right WorldShip Fields and select Shipment Information.
  7. Click the ODBC Tables Column Names listed below and 'Connect' them to their associated Shipment Information Field names (listed below)
  8. Click on the Table name on left, click the WorldShip Field on the right, then click Connect. The pairing will be added to the mapped list at the bottom of the active window.
  9. Continue mapping each field as noted under Shipment Information. Then select the WorldShip Field named Package and map the remaining SW81 fields that are in the Package Field.
  10. Click OK when finished.

12. Create the following Field Mappings:

Shipment Information::Void Indicator

SW81::VOID

Shipment Information::Service Type

SW81::SERVICE

Package::Tracking Number

SW81::TRACKINGNO

Continue entering the remaining map pairings.

 

Changing ODBC Login

1. Now that the ODBC driver has been configured, start the UPS WorldShip software and click on the Import/Export tab.

2. Click Create/Edit Map.

3. Click ODBC Login button and enter a username and password combination:

ups/ups (for UPS)

fdx/fdx (for FedEx)

usm/usm (for U.S. Mail)

Click OK when finished.

 

4. Click Automatic Export, then hover your cursor over "Export After Shipment Processing." Select "To Dynamo."

 

5. Click Keyed Import and select Dynamo

A yellow box should appear where you can scan or type a document number associated with a shipment.

6. Details from Ship To and Reference should be populated.