Getting Rates: Performing a rate request from your FM solution
Follow these steps to create a basic rating script in your system to set values in the NRGship to return rates that can be displayed in a portal in your solution. Please note that time and transit information is only returned for International shipments
Create relationship to rates table
Add a relationship from your table to the Rates_USPS table based on your ID to _fk_ExternalID.n (Making sure that allow create related record is checked for the Rates_USPS table)
Create relationship from rates table to results
Add a relationship from the Rates_USPS table to Rates_USPS_Result based on _pk_USPSRatesID = _fk_USPSRatesID (Making sure that allow create related record is checked for the Rates_USPS_Result table)
Create a new script and call it "Get USPS Rates"
Using the Set Field script step, you will need to set a value in the following fields of the Rates_USPS table.
Set Package Information
Pounds.n (or Ounces.n)
ZipOrigination.t
ZipDestination.t
Country.t
Service.t
Get Rates
Perform External Script "External - Get USPS Rates for Rate_ID" in the NRGship file