Integration»External Scripts

External Scripts

External Scripts

The following scripts can be called in the ShipManager file to facilitate Ship Connect functionality from within your solution.

External - Show
Pass the _pk_ShipManagerID.n value to this script from your solution and the selected record will be displayed.

External - Delete
Pass the _pk_ShipManagerID.n value to this script from your solution and the selected record will be deleted.

External - Ship
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and the selected record will be shipped.

External - Print Labels
You can pass the _pk_ShipManagerID.n value to this script from your solution and all labels for this shipment will print.

External - Print Pack List
You can pass the _pk_ShipManagerID.n value to this script from your solution and the packing slip will print.

External - Print Courier Labels
You can pass the _pk_ShipManagerID.n value to this script from your solution and the courier labels will print.

External - Void
If the record has been shipped, you can void the record by passing the _pk_ShipManagerID.n value to this script.

External - Track
If the record has been shipped, you can track the record by passing the _pk_ShipManagerID.n value to this script.

External - Get Rates
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a rate request will be performed for the selected record.

External - Get Rates and Show
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a rate request will be performed for the selected record and the record will be displayed in ShipConnect.

External - Get Con-way Rates
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a Con-way rate request will be performed for the selected record.

External - Get Con-way Rates and Show
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a con-way rate request will be performed for the selected record and the record will be displayed in ShipConnect.

External - Get LTL Rates
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a LTL freight quote rate request will be performed for the selected record.

External - Get LTL Rates and Show
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a LTL freight quote rate request will be performed for the selected record and the record will be displayed in ShipConnect.

External - Schedule Freight Pickup
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a LTL freight quote pickup request will be performed for the selected record.

External - Print Freight Pallet Tags
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a LTL pallet tags will be printed for the selected record.

External - Print Freight BOL
If you have populated all of the fields required for a shipment, you can pass the _pk_ShipManagerID.n value to this script from your solution and a LTL BOL will be printed for the selected record.

External - Create Return
You can pass a _pk_ShipManagerID.n value and it will duplicate and return the ID of the newly created return record.

External - Validate
You can pass the _pk_ShipManagerID.n value to this script from your solution and perform an address validation request on the destination address.

External - Get Weight
This script can be called to return weight information as a ScriptResult from a digital scale for integrated pack-out operations. Values can be passed to override the default workstation configuration for scale model and port by passing an XML string formatted as below:
<GetWeight>
<Model>USB Connected Scale</Model>
<Portname></Portname><-- ex: COM -->
<Suffix></Suffix><-- ex: v=0eb8 p=f000 -->
<Multiplier></Multiplier>
<IP></IP >
</GetWeight>

External - Get Status
You can call this script and pass the _pk_ShipManagerID.n value of the shipment and data for the shipment will be returned in XML format. Record data will contain all information in the Ship, Packages, Rates and Track tables.

External - Show Rating Engine for Source
You can call this script and pass a Userfield_Source value and all records in the rating table with this value will be displayed.

External - Run Rating Engine for ID
You can call this script and pass the _pk_RatingID.n value of the shipment and the rating process will be run for the specified record.

External - Get Rating Engine Results for ID
You can call this script and pass the _pk_RatingID.n value of the rating and all data for the record will be returned in XML format.