Last updated: 03.09.2024

Valid from: 2022.03.00

Report tags for route optimisation

The following tags can be used in reports to show route optimisation information, such as the estimated delivery time in SMS notifications.

There are different tags depending on whether manual or automatic route optimisation is being used. Tags containing Estimated are used for manual route optimisation and tags containing AutomaticEstimated are used for automatic route optimisation.

If the estimated time of arrival is rounded via the home delivery settings, the tags containing Roundedmust be used. However, the rounded time is not displayed anywhere in the Opter interface.

Example

The following paragraph returns the estimated pickup time of the first shipment on the order, and a list of delivery times for all the shipments on the order.

HTML
<p>Estimated pickup time: @Model.EstimatedPickupTime</p>
<p>
<b>Deliveries</b><br/>
@foreach(var item in Model.Shipments.ActiveItems)
{
   <text>- @item.SHI_EstimatedDeliveryTime</text><br/>
}
</p>

Text

Estimated pickup time: <item name="EstimatedPickupTime"/>

Deliveries: <query command="Shipments">
- <item name="SHI_EstimatedDeliveryTime"/>
</query>

Results

Estimated pickup time: 03.09.2024 10:22:45

Deliveries:

– 03.09.2024 10:52:05

– 03.09.2024 11:16:25