Cyrious Control integrates with UPS Worldship so that shipping address information may be automatically retrieved and tracking and cost information can be fed back into Control during the closeout process.


Setting up the Server to work with Worldship

Before starting this setup, please verify that the customer has the shipping tab module. If they do not have the shipping module they must purchase this first and you can direct the customer to sales@cyrious.com for pricing .

Preparing Control SQL Database

  • Control automatically creates all tables, views, and database triggers needed for integration when upgraded to version 4.6.1204.2001 and later. Below is a list of all the database objects created:
Database Object Name Type
UPSShippingLogForShipments Table
UpdateUPSShipment Trigger
ShipperInfoForShipments View

Create a “Shipper” User in SQL with limited rights

  1. Run SQL Server's Management Studio application and log into SQL Server.
  2. Expand Security folder then right-click Logins and click New Login.
  3. Login Name will be shipper.
  4. Select SQL Server Authentication.
  5. Password will be autoshipper.
  6. Uncheck “Enforce Password Policy”.
  7. Select “Server Roles” on left hand list.
  8. Select all checkboxes on right side.
  9. Click “User Mapping” on the left side.
  10. Select the StoreData database to associate this login with this database.
  11. Click OK and close Management Studio.

Setting up the client (Shipper's) machine

Create an ODBC connection.

  1. Open Control panel in Windows and go to Administrative Tools.
  2. Open Data Sources(ODBC).
  3. Click on System DSN tab.
  4. Click Add and select SQL Server entry from list.(Bottom of list)
  5. Name the Data Source: ControlSQL. (The .dat files below will not work with any other name)
  6. Server value will be \
  7. Click Next.
  8. Choose “With SQL Server authentication…” option.
  9. Click “Client Configuration” button.
  10. Select TCP/IP and uncheck “Dynamically Determine Port” option.
  11. Set Port Number to 1433.
  12. Click OK.
  13. Login ID should be shipper.
  14. Password will be autoshipper.
  15. Click Next.
  16. Select “Change the default database to:” option to StoreData.
  17. Click Next and click Finish.
  18. Test the data source and verify that you are able to connect to the server.
  19. Click OK to close ODBC Administator.
  20. NOTE:If you are using Windows x64 edition then the ODBC connection you created will likely not appear in UPS. This is because UPS Worldship uses a 32-bit ODBC connection and by default when you create an ODBC connection in 64-bit windows it is only available to 64-bit applications. If you encounter this problem you need to create a 32-bit ODBC connection by going to C:\Windows\SysWOW64\odbcad32.EXE. Create your connection under this ODBC configuration utility and then it will be available for use within UPS.

Setup UPS Worldship software for Integration.

  1. Download and save ControlExportForShipTab.dat and ControlImportForShipTab.dat into the UPS WorldShip Shipment folder. If UPS WorldShip was installed on the root level of the C drive the path may look like this: C:\UPS\WSTD\ImpExp\Shipment or C:\UPS\Client Share\UPS\WSTD\ImpExp\Shipment. Note:If this is an Admin workstation, the \UPS\WSTD\ImpExp folder is found in the Admin Shared folder, so you may have to look in the users directory under the Admin account folder and you will see the UPS folder there refer to UPS link at bottom of this page for more information! - Note: If the Control Import or Export options are not appearing in the Import/Export > Automatic Import/Export… menu items, the problem may be caused by UPS looking for the map files in a path other than the default. The way to find the location the files need to be in is to manually create a map file in UPS and then search the PC for that specific filename to find where that file was created.\

Another cause for the files to not show up might be if the ODBC is not present or not correct. Verify that it is correct if the profiles are not appearing.

  1. Open UPS WorldShip, go to the Import/Export Data menu.
  2. Go to Automatic Export After Processing Shipment and click More…
  3. Select ControlExportForShipTab and click Export.
  4. Or set up the mappings manually following these steps:
  5. Go to Import/Export Data menu and select Create / Edit Map….
  6. Under New Map, select Import from ODBC Database.
  7. Select Shipment from the drop down list.
  8. In the Name field, type ControlImportForShipTab.
  9. Click Create button.
  10. Select ControlSQLForShipTab from the ODBC source list.
  11. Input the user shipper with password autoshipper into the authentication boxes.
  12. Click OK.
  13. On left hand menu, scroll down and select ShipperInfoForShipments view. (Will be past the normal alphabetically ordered table names.)
  14. Select OrderNumber and click Define Primary Key for Import button.
  15. On right hand menu, select Ship To.
  16. Below is a chart for linking the table names: (after each association and later associations, you will click the “Connect” button.)
    • LEFT SIDE : RIGHT SIDE
    • OrderNumber : CustomerID
    • CompanyName : Company or Name
    • FullName : Attention
    • Email : Email Address
    • Phone : Telephone
    • StreetAddress1 : Address 1
    • StreetAddress2 : Address 2
    • City : City or Town
    • State : State/Province/County
    • PostalCode : Postal Code
    • Country : Country/Territory
  17. On right hand menu, select Package
    • UseInsuredValue : DeclareValueOption
    • InsuredValue : DeclaredValueAmount
  18. Click OK.
  19. Select Export data from WorldShip.
  20. Select Shipment from drop down menu.
  21. In the Name field, type ControlExportForShipTab and click Create.
  22. Select ControlSQL from the ODBC Source list.
  23. Input the user shipper with password autoshipper into the authentication boxes.
  24. Click OK.
  25. On left hand menu, select Shipment Information.
  26. On right hand menu, select UPSShippingLogForShipments.
    • Collection Date : ShipDate
    • Total Shipment Published Charge : TotalCharge
    • Total Shipper Published Charge : ShipperCharge

Note: For customers that ship multiple packages per Shipment, it may work better to change the map to the Package.PublishedCharge : ShipperCharge instead

  1. Change left hand menu to Ship To.
    • Customer ID : OrderNumber
  2. Change left hand menu to Package.
    • Weight : Weight
    • Tracking Number : TrackingNumber
  3. Click OK twice to exit Import/Export Mapping.
  4. Open UPS WorldShip, go to the Import/Export Data menu.
  5. Go to Automatic Export After Processing Shipment and click More…
  6. Select ControlExportForShipTab and click Export.

- Some of the more recent versions of UPS Worldship will export null values back to the UPSShippingLogForShipments. If this occurs, manually create entries using the following mappings:

On Import

- Bind ShipperInfoForShipments.OrderNumber ShipmentInformation.Reference2

On Export

- Bind Package.Reference2 UPSShippingLogForShipments.OrderNumber

If you are still having issues with exporting info back to Control after shipment is processed, check the UPSShippingLogForShipments table in SQL. Expand that table, then expand Columns. Right-click on Order Number and select Modify. Change Data Type for Order Number to nvarchar(50).


Using UPS Worldship to process Control Orders

  1. Go to Import/Export Data.
  2. Go to Keyed Import and then select More…
  3. Select ControlImportForShipTab and click Import. (This will open a dialogue box for you to type in the Order number you want to ship through UPS Worldship.)
  4. Type in the Shipment Number (ex: 1234-SAA) and hit . (This will populate the shipping address for that Order Shipment into UPS.)
  5. Process the shipment through UPS.
  6. Verify the Shipment Item on the Shipping Tab of that Order have been updated with the various shipment information. ***Note: If the order was open during the UPS processing, it may not reflect the change and closing and reopening it will force it to refresh.

Links

UPS pdf with more information on page 1 that may be of assistance UPS Worldship PDF


You could leave a comment if you were logged in.