Version 7.1
Contents of this Topic: Show
Before you can ship packages via DHL with OMS you must install the DB Connect software, map the database fields between OMS and DB Connect, and lastly, create the export map.
Contact DHL to obtain the DB Connect software.
After performing the tasks below you will be able to do a Keyed Import via the "Search For" field for orders that are Approved.
Locate DB Connect in the c:\dhl\DBConnect\DbConnectSetup.msi directory.
Double-click on DBConnect.exe to launch the installation program.
Right-click on Customer Database and click Add New Customer Database.
Select the DSN that points to the OMS data file. See the Knowledge Base topic, Creating ODBC Connections for more information.
Under Actions, expand Read From Customer Database, then click Read Shipment.
In the drop-down list under Customer Database, select the New Customer Database that you created previously.
Click Next.
Click on the icon next to your customer database name.
Select WorldShipOrders.
Click on the plus (+) sign to expand WorldShipOrders.
Select OrderNumber in the left hand column and CustomerShipmentId in the right-hand column. Make foreign key. Then click the >> button. Repeat this until all of the fields listed below are mapped:
· WorldShipOrders.Shipping Service/1/ServiceType !!!needs shipping letter instead of name
· WorldShipOrders.UPSCompanyorName Consignee/CompanyName
· WorldShipOrders.UPSAddr1 Consignee/AddressLine/1
· WorldShipOrders.UPSAddr2 Consignee/AddressLine/2
· WorldShipOrders.UPSCity Consignee/City
· WorldShipOrders.UPSState Consignee/DivisionCode
· WorldShipOrders.UPSZip Consignee/PostalCode
· WorldShipOrders.UPSWeight ShipmentDetails/Weight
· WorldShipOrders.UPSPhone Consignee/Contact/PhoneNumber
· WorldShipOrders.UPSattention Consignee/Contact/personname
Click Next.
Click Finish.
Click on Write Back Shipment.
In the drop down list under Customer Database, select the New Customer Database that you created above.
Click on the Magnifying Glass icon next to the database name and select Tracking.
Click OK.
Click Next.
Right-click Tracking. Choose Insert.
Click on the plus (+) sign to expand Tracking. Select Cost in the left hand column and ShippingCharge in the right-hand column. Then click the >> button. Repeat this until all of the fields listed below are mapped:
Tracking.OrderNum -- CustomerShipmentId
Tracking.TrackingID -- ShipmentDetails/Pieces/Piece/AirwayBillNumber
Tracking.Cost -- ShippingCharge
Note: If you don’t see the fields, click on the Magnifying Glass icon next to DHL Fields.
On the far right panel, check Search Key next to the Tracking.OrderNumber field.
Click Finish.
Click Save and Export on the File menu.
Locate the DB Connect configuration file, possibly at c:\dhl\client\cfg\dhlclient.cfg. If not found there, search for dhlclient.cfg.
Open the configuration file in Notepad or another text editor and locate the line:
<Module name ="CustomerDB">
Make sure the properties shown in the image below are set to "on".
Select shipment and enter Order Number in "Search For" field
Go to Settings > User Preferences > Shipments > Apply Default Values to Imported Data.
Set Boolean Value to Yes.
Click Save.
Created:
Revised: 11/4/14
Published: 04/14/16