Routes in the P&D order type can be in several statuses.
Route statuses
Unassigned: Orders are assigned to the route, but the route doesn’t have a driver responsible for it yet. Orders in a route with this status can only be in one of these two statuses:
Pickup Routed
Delivery Routed
Assigned: The driver has started the route and is in the process of completing orders. The route has a driver responsible for it, but the driver hasn't started the route yet. All of the orders assigned to this route may have one of the following statuses:
Ready For Pickup
Ready For Delivery
Out For Delivery
Started: The driver has started the route, and is in the process of completing orders.
Done: All of the orders, based on the stage they were in, are now either “Picked up”, “Delivered”, or “Delivery Failed”. The driver has completed the route, and the status is changed to “Done.”
Changing the status of a route
The status of a route can be edited/changed by the operator through the Management Console:
Dispatcher → P_Hub_D → Routes Tab → Select a route → Edit status & driver
In the opened window, the route status can be edited. The mechanism differs depending on the route’s current status.
Route with Unassigned status
As mentioned before, the orders in an unassigned route can only be in one of the statuses of “Delivery Routed” or “Pickup Routed”, based on the stage they are in (Pickup or Delivery stage).
You can change the route status to Assigned, Started, or Done. By selecting any of these, the statuses of the orders in this route also have to be updated. Orders with the “Pickup Routed” status are updated to “Ready For Pickup,” and the operator will see a report of the orders with this status transition.
On the other hand, orders with the “Delivery Routed” status can be changed to either “Ready For Delivery” or “Out For Delivery,” which can be selected by the operator.
Another step that is handled here is driver selection. You need to select a driver and assign them to this route, so you know who is responsible for it.
Route with Assigned, Started, or Done status
A route with one of the above statuses can only be updated to one of themselves.
In other words, a route with a current status of one of these three cannot be changed back to “Unassigned.”
If you change the status of a route that is not “Unassigned,” the order statuses will remain the same and will not change.
In the process of changing a route’s status, if at least one order doesn’t have the possibility to be changed to the updated status, the whole process fails. For example, if even one of the orders in that route has a status other than “Ready For Pickup” or “Ready For Delivery,” the status change cannot be completed.
After selecting the updated status, you can also change the route driver.
Remember that after changing a route's status and the driver, all transactions for completed orders, such as COD, will be automatically transferred to the new driver.