This is an old revision of the document!
ProMiles API is used by both Brokerage Dispatch and Truck Dispatch
Action: Prepare new Brokerage load and new Truck load
Action:
Excpectation They must be inactive.
Action: Remember their real state
Action: Open “System → Settings” menu
Expection: Form “Dr.Dispatch System Configuration” will open
Action: Select “ProMiles SDK” from the left column and look at the checkbox “Use ProMiles Prime”.
Check: If the checkbox is not checked, the “Update miles” button and the “Mileage Utilities” menu should be inactive.
If everything is correct - check the box, and proceed to the next step
The check is carried out twice, for brokerage and and for Truck loading.
Action: Open the Broker load created in preparation for the test. Click “Update Miles” button
Expection: The length of the route must be calculated and the value entered in the field “miles”
An approximate check of the calculated value can be done by building a route in Google maps.
Action: Click on “show route”
Expection: A Google map will open in the browser window with a built route from the first to the last point
The length of the route obtained on a Google map and calculated by “ProMiles” may differ slightly due to different principles for building a route for cars and trucks
Action: You need to add one more stop, repeat the calculation check
Expection: The distance in the Miles field should increase.
Action: Check it again on google map
Action: Swap 2nd and 3rd stops
Expection: The route should be built differently and the distance in the Miles field should change.
Action: Check it again on google map
Open the Truck load created in preparation for the test.
Repeat all the steps as for the brokerage load, but the mileage calculation button here is called “Calc Miles”
This function calls the same window both in the Brokerage Dispatcher and in the Truck Dispatcher, and therefore it is enough to check once
Action: Select the “Mileage Utilities” menu → “Quick Mile/Routing”
Expection: The “Quick Mile/Routing” window will open.
Action: It is necessary to fill in any of the “From…” fields and any of the “To…” fields. After that press “Run Miles”
Expection: The “Miles” field should be filled with the calculated distance.
Action: Select the “Mileage Utilities” menu → “ProMiles Prime Radius Search”.