Israel Lopez
← Writing

Troubleshooting FedEx Ship Manager Integration Queries

So I have been pulling my hair out on an issue that seems to be only caused by how FedEx Ship Manager creates Integration Queries in a very stupid way.

For example, it does not use Joins, just perform cross products of the tables you need, and makes a where clause with the predicates.

Ex:

Select “SO”.“CUSTOMERCONTACT”,“SO”.“NUM”,“SO”.“SHIPTOADDRESS”,“SO”.“SHIPTOCITY”,“SO”.“SHIPTONAME”,“SO”.“SHIPTOZIP”,“CUSTOMERCONTACTVIEW”.“CONTACTNUM”,“COUNTRYCONST”.“ABBREVIATION”,“STATECONST”.“CODE”,“CARRIER”.“NAME”,“SHIPCARTON”.“FREIGHTWEIGHT”,“SHIPCARTON”.“ID”,“TACMEDFEDEX”.“EMAIL”

From “SO”,“CUSTOMERCONTACTVIEW”,“COUNTRYCONST”,“STATECONST”,“CARRIER”,“SHIPCARTON”,“TACMEDFEDEX”

Where “SO”.“NUM” = ‘43759’
and “SO”.“CUSTOMERID” = “CUSTOMERCONTACTVIEW”.“CUSTID”
and “SO”.“SHIPTOCOUNTRYID” = “COUNTRYCONST”.“ID”
and “SO”.“SHIPTOSTATEID” = “STATECONST”.“ID”
and “SO”.“ID” = “SHIPCARTON”.“ORDERID”
and “CARRIER”.“ID” = “SHIPCARTON”.“CARRIERID”
and “SO”.“ID” = “TACMEDFEDEX”.“SOID”

The only way I could figure that out was either to intercept the data between FedEx Ship Manager, AND my database; OR try to find some logs.

Well through some stroke of luck I found LogViewer.exe from Fedex in the following path:

C:\Program Files (x86)\FedEx\ShipManager\BIN

Open it, and if your last transaction was the lookup for the query; you should see the last query in the Message column. Crazy

Search

Loading…