UPS WorldShip and other Freight Software
First, make sure ODBC data sources are configured properly as described here.
Files and Fields
To pass shipping information to the freight carrier software you will need to query the BKARINV table in the appropriate company. To pass the tracking info back to Evo-ERP you will need to create a record in the ISSOBOX table. UPS WorldShip only supports creating records, not editing existing records.
Sending Data To the Freight Software
Query BKARINV where BKAR_INV_RTS='Y' to process a batch of released orders or have a user enter a Sales Order Number to find a specific record using BKAR_INV_SONUM to process a single entry.
Pull the following fields in to the freight carrier software:
BKAR_INV_SONUMSales Order Number (Numeric 6)BKAR_INV_SHPCODShip to Customer Code (Alpha 10)BKAR_INV_SHPNMEShip to Customer Name (Alpha 30)BKAR_INV_SHPA1Ship to Address Line 1 (Alpha 30)BKAR_INV_SHPA2_1Ship to Address Line 2 (Alpha 30)BKAR_INV_SHPA2_2Ship to Address Line 3 (Alpha 30)BKAR_INV_SHPCTYShip to City (Alpha 26)BKAR_INV_SHPSTShip to State (Alpha 2)BKAR_INV_SHPZIPShip to Zip/Postal Code (Alpha 10)BKAR_INV_SHPCNTShip to Country (Alpha 30)BKAR_INV_SHPVIAShipping Method (Alpha 15) (Make sure you have defined Shipping Methods using SM-Q and have the default set for Control Ship Via Codes set toYorRso there is a control of the syntax of Shipping Method if you are going to use the Shipping Method field instead of manually prompting the user.)
Writing Back to Evo-ERP
Create a record in ISSOBOX with the following:
ISSO_BOX_SONUMSales Order Number (Numeric 6)ISSO_BOX_FRGHTFreight Charge (Numeric 10.2)ISSO_BOX_TRACKTracking Number (Alpha 40)