Skip to main content

Calculate mileage using Mileage Rectifier

In this article, we explain how to log in to Mileage Rectifier, configure adjustments, and calculate mileage correctly.

Written by Emma Ianson

Mileage Rectifier lets you calculate, reset, and adjust mileage and travel time on visits using configurable rules. You can combine adjustments to match your business logic and apply them across a date range.

Log in to Mileage Rectifier

To log in to Mileage Rectifier, follow these steps:

  1. Open MileageRectifier2.exe

    🤓 Tip: You may find this on your desktop.

  2. Log in using a Supervisor account. For example, root.


Create and manage adjustments

Mileage Rectifier uses adjustments to control how mileage and travel time apply to visits.

To add an adjustment, follow these steps:

  1. Click Add.

  2. Choose the adjustment you want to apply.

  3. Configure its settings on the right‑hand panel.

A common starting setup is:

  1. Reset: Clears existing mileage and travel time.

  2. MileageBetweenVisits: applies calculated distance and travel time to visits

The order of adjustments matters. Use Move Up and Move Down to control how they apply.


Common adjustments explained

Adjustment

What it does

Reset

Sets distance and travel time to zero.

MileageBetweenVisits

Applies calculated travel distance and time between visits.

MileageFromBase

Calculates travel from a base location to each visit.

Constant

Adds, multiplies, or sets fixed distance or time values.

MaxCapping

Applies a maximum limit to distance or time.

MinCapping

Applies a minimum limit to distance or time.

MilesToKms

Converts mileage values to kilometres.

SubtractValue

Subtracts a value but prevents negative results.

PostcodeMatch

Applies rules based on postcode.

ValueForGap

Applies values when gaps are detected between visits.

ValueForSingleVisitInShift

Applies logic when only one visit exists in a shift.

Throttle

Slows processing to reduce system load.

CmmMileage

Legacy adjustment.


Adjustment settings

Each adjustment includes standard settings that control where and how mileage or travel time applies.

Setting

What it controls

ApplyToFirstVisit

Applies the adjustment to the first visit in a worker’s shift.

ApplyToInterveningVisits

Applies the adjustment to visits that occur between the first and last visit in a shift.

ApplyToLastVisit

Applies the adjustment to the last visit in a worker’s shift.
If a shift contains only one visit, it counts as both first and last.

ApplyToActualTravelDistance

Updates the Actual Travel Distance field on the visit.

ApplyToActualTravelTime

Updates the Actual Travel Time field on the visit.

ApplyToPlannedTravelDistance

Updates the Planned Travel Distance field on the visit.

ApplyToPlannedTravelTime

Updates the Planned Travel Time field on the visit.

Some adjustments include extra options. For example, MileageBetweenVisits lets you choose whether mileage applies to the visit or from the visit. Click each option to view its description.


Check base location settings

Some adjustments rely on a base location.

Before running calculations:

  1. Click Advanced Settings.

  2. Click Base Location.

  3. Confirm a base location exists.

If no base location is set, follow these steps:

  1. Click Locations.

  2. Click Browse.

  3. Click New to create a placeholder location.


Run the mileage calculation

To run the mileage calculation, follow these steps:

  1. Click Run.

  2. Enter the required date range.

  3. Click Start.

  4. Review the calculation results once processing completes.

The tool updates mileage and travel time on visits based on the applied adjustments.

By combining and ordering adjustments correctly, you can create precise mileage rules that suit your operational needs.

Did this answer your question?