UPS WorldShip Setup with Stone Edge SQL Store File V7

In this Topic: Show

Overview

    1. Stone Edge Enterprise Edition is up and running on the target PC

    2. Stone Edge database (store file) resides on an SQL server

    3. an ODBC connection to the Stone Edge store data file is defined on the target PC  

    4. WorldShip is installed on the target PC

Common Errors to Avoid

Create Intermediary Access Database and Link to Tables in the Stone Edge Store Data File

  1. Create a blank MS Access database. Name it "WorldShip.mdb" or something similar, and save it in your StoneEdge directory (e.g. C:\StoneEdge).

  1. Open the new Access database. Select the External Data tab of the ribbon.

.

  1. In the Import & Link section, double-click ODBC Database to open the Get External Data - ODBC Database screen.

  1.  Select Link to the data source by creating a linked table and then select OK.

  1. Select Machine Data Source and choose the ODBC connection to your store data file. If you use SQL Authentication, you are prompted to encrypt your password. Select Save Password.

  1. The Link Tables screen opens. Scroll down the list of tables until you see dbo.Orders.

  1. While holding the Ctrl or Shift buttons, select dbo.Orders and scroll down the list and also select dbo.ShippingMethods.

  2. Select OK.

  3. The database window now shows the linked tables.

Import the WorldShipOrdersSQL Query from the Stone Edge Program File into the Intermediary Database

  1. Double-click Access in the Import & Link section of the ribbon.

  1. Browse to the location of the Stone Edge program file (i.e. SEOrdMan.mdb, SEOrderManager.mdb).

  1. Select the program file from the list, and click Open.

  1. Select OK. The Import Objects window opens.

  1. On the Queries tab, select WorldShipOrdersSQL.

  2. Select OK. The WorldShipOrdersSQL query now shows up in the list of queries in WorldShip.mdb.

Create a System DSN to the Intermediary Database

  1. The steps to create a DSN depend on the operating system of the PC:

    1. If you are using a PC with a 32-bit operating system, go to Control Panel>System and Security>Administrative Tools>Data Sources. The ODBC Data Source Administrator window opens.

    2. If you are using a PC with a 64-bit operating system, you need to create the ODBC for the MS Access database from by executing C:\Windows\SysWOW64\odbcad32.exe. 'Right-click the executable and select Run as Administrator. The ODBC Data Source Administrator window opens.

  2. Select the System DSN tab and click Add.

  1. The Create New Data Source window opens.

  2. Select Microsoft Access Driver (*.mdb) and click Finish.

  1. Type in an arbitrary name for the DSN in the Data Source Name field, and click Select.

  1. The Select Database window opens. Navigate to the location of WorldShip.mdb.

  1.  Select OK. You are returned to the ODBC Microsoft Access window and the path to the Database: is filled in.

  1. Select OK.

  1. The new DSN appears in the ODBC Data Source Administrator window.

Create or Edit a WorldShip Shipping Profile

  1. Open UPS WorldShip.

  2. On the Tools tab, select Create/Edit Profile.

  1. Select your profile from the Profile Name drop-down menu and select the Reference tab. If you have not setup a profile yet, do so now.

  2. In the Reference Number 1 field, enter 0.

  3. Select the Use on all Packages box.

  4. Select the Options tab and ensure the Quantum View Notify box is cleared.

  5. Select Save Profile F10.

Create an Import Map in WorldShip

View table

  1. Select the Import-Export Data tab and choose Create/Edit Map.

  1. In the New Map area, select Import from ODBC Database.

  1. Select Shipment from the drop-down list for the map type.

  2. Enter a name for the map in the Name field. (e.g. Import from Stone Edge.)

  3. Select Create. The Select an ODBC source box opens.

  1. Select the ODBC connection (DSN) for the intermediary Access database created earlier from the list. An ID and Password are not necessary.

  1. Select OK. The Edit "name of your map" import map window opens.

  2. Select WorldShipOrdersSQL from the drop-down list under ODBC Tables.

  3. Select OrderNumber under Column Name.

  4. Select Define Primary Key for Import. This sets the Stone Edge order number field as the primary identifier for the order record. A small blue key appears next to OrderNumber.

 

Map WorldShip "Package" Fields

  1. Select Package from the drop-down list under WorldShip Fields.

  2. Select Reference 1 from the WorldShip Field List.

  3. Select Connect.  A small red infinity symbol appears next to the fields indicating the Order Number is now linked to Reference 1. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Optional: Map Stone Edge SourceOrderNumber and SourceOrderID fields to WorldShip Reference 2 field.

    1. Select SourceOrderNumber from Column Name under ODBC Tables.

    2. Select Reference 2 from Field under WorldShip Fields. Select Connect.  A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

    3. Select SourceOrderID from Column Name under ODBC Tables.

    4. Select Reference 2 from Field under WorldShip Fields. Select Connect.  A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select ActualShippedWeight or UPSWeight from Column Name under ODBC Tables, and Weight from Field under WorldShip Fields. Only map one of the Stone Edge fields to the WorldShip Weight field. The UPSWeight field contains the published weight if the actual weight is not present.

  2. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

Map WorldShip "Ship To" Fields

  1. Select Ship To from the drop-down list under WorldShip Fields. Select CustomerID from Field.

  2. Select CustomerID from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Email Address from Field under WorldShip Fields.

  2. Select Email from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Company Or Name from Field under WorldShip Fields.

  2. Select UPSCompanyOrName from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Attention from Field under WorldShip Fields.

  2. Select UPSAttention from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Address 1 from Field under WorldShip Fields.

  2. Select UPSAddr1 from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Address 2 from Field under WorldShip Fields.

  2. Select UPSAddr2 from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select City or Town from Field under WorldShip Fields.

  2. Select UPSCity from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select State/Province/County from Field under WorldShip Fields.

  2. Select UPSState from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Postal Code from Field under WorldShip Fields.

  2. Select UPSZip from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Telephone from Field under WorldShip Fields.

  2. Select UPSPhone from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Residential Indicator from Field under WorldShip Fields.

  2. Select Residential from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

Map WorldShip " Shipment Information" Fields

  1. Select QVN Option from Field under WorldShip Fields.

  2. Select UPSNotification1 from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select QVN Ship Notification 1 from Field under WorldShip Fields.

  2. Select UPSNotification1 from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Notification Recipient 1 Email from Field under WorldShip Fields.

  2. Select Email from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Void Indicator from Field under WorldShip Fields.

  1. Select Cancelled from Column Name under ODBC Tables.

  2. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Select Service Type from Field under WorldShip Fields.

  2. Select Shipping from Column Name under ODBC Tables.

  3. Select Connect. A small red infinity symbol appears next to the fields indicating they are now linked. You can see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

Map Service Types

  1. After mapping the Shipping field, highlight the mapping in What You Have Mapped So Far. There are a couple additional steps to map Service Type names in WorldShip to those you have setup in Stone Edge.

  2. Select the Edit button.

  1. The Mapping Connections into Shipment Information:Service Type window opens. Select Translations.

  1. In the Select a common map box, select Service. Click OK. This loads the default service options into the External Field and WorldShip Field lists.

  1. The External Field list represents the Stone Edge names for corresponding WorldShip services listed in WorldShip Field. (i.e. 1DA is the Stone Edge default name for WorldShip Next Day Air.)

  2. Select a service type from WorldShip Field. In External Field, type the Stone Edge shipping method name for that WorldShip service type.

  3. Select Rename.  

  4. Repeat this process for every UPS shipping method you have defined in Stone Edge.

  1. When finished renaming all your service types, select OK.  If you make a mistake, click Translations, and then Service, OK to re-load the default service option lists again.

  1. When all of the fields are properly renamed, select OK. You are returned to the Create/Edit Map screen.

  2. Select OK to return to the Edit "import map name" import map screen.

  3. Select OK to return to the Create or edit an import or export map screen, where your import map is now listed.

  1. Select Close to exit Create or edit an import or export map screen.

Creating an Export Map in UPS WorldShip

View table

 

  1. Open UPS WorldShip.

  2. Select the Import-Export Data tab and select Create/Edit Map.

  1. In the New Map area, select Export to ODBC Database.

  2. Select Shipment from Map Type.

  1. Enter a name for the map in the Name field (e.g. OM Export Map).

  2. Select Create.

  3. The Select an ODBC source box opens. Select the ODBC source (System DSN) that points to the Stone Edge store data file, created when you set up the Stone Edge Enterprise edition.

  1. Select OK. The Edit "name of your map" export map window opens.

  2. Under WorldShip Fields, select Package from the drop-down list.

  3. In the Package Field List, select Reference 1.

  4. Under ODBC Tables, select Tracking from the drop-down list.

  5. In the Tracking Field List, select the Stone Edge field, OrderNum. This relates the Stone Edge field, OrderNum, to the WorldShip "Reference 1".

  6. Select Connect to link the fields. A small red infinity symbol appears next to the fields indicating they are now linked. You can also see the linked fields in the What You Have Mapped So Far list at the bottom of the screen.

  1. Map WorldShip Fields>Package>Tracking Number to ODBC Tables>Tracking>TrackingID.

  1. Select Connect.

  1. Map WorldShip Fields>Package>Void IndicatorTracking> Number to ODBC Tables>Tracking>IsVoid.

  2. Select Connect.

  1. Map WorldShip Fields>Shipment Information>Collection date to ODBC Tables>Tracking>PickupDate.

  2. Select Connect.

  1. If you do not use Negotiated Rates skip to step 21. If you do use Negotiated Rates, map WorldShip Fields>Shipment Information>Total Shipment and Handling Negotiated Rates Charge to  ODBC Tables>Tracking>Cost.

  2. Select Connect.

  1. If you use Negoiated Rates, skip to step 23. If you do not use Negotiated Rates, map WorldShip Fields>Shipment Information>Total Shipment and Handling Negotiated Rates Charge to ODBC Tables>Tracking>Cost.

  2. Select Connect.

  3. Select OK.

  1. Select Close.

  2. Select the Import-Export Data tab.

  3. Choose ONE of the following options:

    1. select Automatic Export at End of Day to run this function once, at end of day

    2. select Automatic Export After Process Shipment to run this function after processing each shipment. (The Automatic Export After Process Shipment option is ONLY recommended for users with a standalone installation of Stone Edge. If you have a networked installation of Stone Edge with

Note: If more than one export is enable, no data is exported.

  1. After selecting your Automatic Export option, select More.

  2. In the Select map from list for export window, select the export map you just created.

  3. Select Export. When you return to this menu your export map has a check mark beside it indicating the export is active.  

Process Shipments in WorldShip

  1. Open UPS WorldShip.

  2. Select the Import-Export tab.

  3. Select Keyed Import.

  1. Select More. The Select map from list for import screen opens.

  2.  Select the name of your Import Map created earlier, and select Import.

  1. The Enter import key window opens.

  1. Enter an "Approved" Stone Edge order number and press Enter (do not click Close).

  2. The shipping data from the Stone Edge order appears in the WorldShip interface.

  1. Process the shipment according to your business practices.

  2. When you have printed the shipping label, enter another approved order number in Enter import key to process another shipment.

Note: If you return to Stone Edge and make changes to an order (such as approving an order), you do not see the changes in WorldShip until you close and re-open the "Enter import key" screen.

General Troubleshooting Tips

Moving Databases

 

Additional Information

Creating ODBC Connections in Microsoft Windows 7

Windows 64-Bit Operating System Considerations

UPS WorldShip Setup Full Documentation

Created: 11/14/14

Updated: 11/14/14

Go to Top