| Re: Rate shipment based on distance dynamically If you load a shipment using the ActualShipment XML, then you can just create shipment automation agent that listens for that event and when it is triggered will run the "Assign Rate" agent action.
That action will run the rating engine and assuming you have the correct base data in place, will rate the shipment based on the rate record you have defined (which presumably is based on the shipment distance). You will obviously need to test that with your data. |