Skip to main content
Previous Trip and Last Location (also called Previous Stop and Last Location) appears in the Stops section of the Load Details Page. Alvys uses it to determine where the assigned truck is coming from before the current load and to calculate empty miles for driver pay.

Overview

When a truck picks up a new load, it is usually not starting at the pickup address — it is coming from wherever it last delivered or was last located. Alvys tracks that starting point as Previous Location and uses it to calculate empty miles (deadhead) from that location to the first pickup stop. Empty miles feed driver settlements for fleets that pay per empty mile, so an accurate previous location matters for both dispatch planning and pay. Alvys sets Previous Location automatically when a carrier and truck are assigned to a trip. It also re-evaluates Previous Location and empty miles when the driver checks out of the first pickup, so the values reflect what actually happened — not just the schedule that was in place at dispatch time.

Where to Find It

Open a load and go to the Load Details Page. Previous Trip and Last Location appears in the Stops section, below the stop list for the current trip. This information previously appeared in the Carrier Details section. If you are looking for it there, check the Stops section instead. The panel shows the prior trip reference, the previous stop address, and the empty miles calculated from that location to the first pickup.
📷 Image: Previous Trip and Last Location shown in the Stops section of the Load Details Page, with the carrier’s last known location alongside the current trip stop details.Notion Image

Key Concepts

Previous Location: Where the assigned truck was before this load started. Alvys looks at the truck’s recent trip history to find the most relevant prior stop. Previous Trip: The load or trip Alvys used as the source for Previous Location. It may not always be the immediately preceding load on the schedule — Alvys picks the trip that best matches when and where the truck actually was. See Which trip counts as the previous trip. Empty miles: The distance from Previous Location to the first pickup stop on the current load. Empty miles appear in the same area of the Load Details Page and flow into driver settlement when your pay plan includes an empty-mile rate. Last Location: Tracking data showing the carrier’s or driver’s last known geographic position. This is informational and separate from the previous stop Alvys uses for empty-mile calculation.

How Alvys Sets Previous Location Automatically

Alvys resolves Previous Location automatically on carrier subsidiary loads when a carrier and truck are assigned. Brokered loads do not receive automatic Previous Location because Alvys does not track the external carrier’s truck history. Resolution runs at two points:
  1. At dispatch — when you assign a carrier and truck through Manage Assets, Alvys looks up the truck’s recent trips and sets Previous Location and empty miles.
  2. At first pickup checkout — when the driver checks out of the first pickup stop, Alvys re-evaluates Previous Location using the actual checkout time. Empty miles recalculate at the same time.
This second update matters when schedules shift between dispatch and pickup. If the truck completed another delivery, moved on a continuous assignment, or the true prior stop was not obvious when the load was first planned, the checkout-time update brings Previous Location in line with what actually happened. If no valid previous stop remains after re-evaluation, Alvys clears Previous Location and sets empty miles to zero rather than keeping a stale value.

Which trip counts as the previous trip

Alvys looks at the other trips assigned to the same truck and uses the most recent one that comes before this trip:
  • A delivered trip counts when it finished before this trip’s pickup.
  • An in-progress trip counts when it picked up before this trip. Once the driver has checked in or out at this trip’s first pickup, it counts only if it actually picked up first.
  • A trip that hasn’t started yet (Covered or Dispatched, with no pickup check-in) counts only when it is scheduled to pick up before this trip. This covers a truck that is dispatched on two loads back to back before the first one starts.
  • The truck’s next load never becomes its previous trip, even when the driver leaves this pickup after the next load’s pickup window has opened.
Previous Location is the last delivery or waypoint stop of that trip. For a TONU trip, it is the trip’s pickup, because the truck went there without hauling the load.

How to Set or Correct Previous Location Manually

You can override Alvys when the automatic result does not match what you know about the truck’s movement.
  1. Open the load on the Load Details Page and scroll to the Stops section.
  2. Click Previous Trip and Last Location to open the Last Locations dialog.
  3. Select a recent trip from the list, or search for and enter a custom address.
  4. Alvys updates Previous Location and recalculates empty miles.
Once you set Previous Location manually, Alvys treats it as your override. The override is tied to the truck and to the trip you picked: Your manual Previous Location is kept when:
  • The driver checks in or out at the first pickup, or stop times are edited.
  • You re-assign the trip and keep the same truck, for example to change the driver or trailer.
Alvys sets Previous Location again when:
  • A different truck is assigned to the trip.
  • The carrier is changed or removed.
  • The trip is reverted to Open or Quoted.
  • The trip is split. The first trip keeps your Previous Location, but it is no longer protected, so it can update when the driver checks out of the first pickup. The second trip gets its own Previous Location.
Editing a stop on the trip you picked, or the address of a location that trip uses, can also change this trip’s Previous Location. Check it after you edit that earlier trip. The Last Locations list can include trips on the truck that are scheduled after this one. Alvys doesn’t stop you from choosing a later trip, so pick the one the truck actually ran before this load. Users with the Dispatch permission can also edit the Previous Location miles value directly when the calculated distance does not match the route the truck actually drove. See Dispatch Permissions for details. Editing only the miles does not count as setting Previous Location by hand. If Alvys sets Previous Location again, for example when the driver checks out of the first pickup, it recalculates the miles. To keep your miles, select Previous Location manually first, then edit the miles.
After a driver is marked as paid on the trip, the Previous Location edit control is hidden for most users. Contact Alvys Support if a correction is needed after settlement.

Limits and Behavior

  • Previous Location resolves automatically only on carrier subsidiary loads with a truck assigned. Brokered loads do not show this section.
  • The lookup is based on the assigned truck’s trip history. If the driver changed trucks between loads, Alvys may not find the prior trip automatically — set Previous Location manually in that case.
  • Manually set Previous Location is protected at pickup checkout and when you re-assign the same truck. See How to Set or Correct Previous Location Manually for what replaces it.
  • Stale or invalid previous locations are cleared when Alvys can no longer confirm a valid prior stop.
  • Previous Location and empty miles reset when the carrier changes, the trip reverts to Open or Quoted, or a different truck is assigned.

FAQs

Q: Why did my empty miles change after the driver checked out of pickup? A: Alvys re-evaluates Previous Location at first pickup checkout. If the truck’s actual movement differed from the schedule at dispatch time, empty miles update to match the corrected previous stop. Q: Can I still find Previous Trip and Last Location in the Carrier Details section? A: No. It now appears only in the Stops section of the Load Details Page. Q: Will Alvys overwrite Previous Location if I set it manually? A: Not when the driver checks in or out, and not when you re-assign the trip to the same truck. Alvys sets it again if you assign a different truck, change the carrier, revert the trip to Open or Quoted, or split the trip. Q: Two loads list each other as their Previous Location. Why? A: Before October 7, 2026, a truck’s next load could be picked as its previous trip when the next load was already dispatched, most often when the driver left a pickup after the next load’s window opened. Empty miles were then measured from where the truck was going. This is fixed from October 7 on. A trip that was already affected keeps its old value until it is corrected: select the right trip from the Last Locations dialog, or contact Alvys Support if the driver has already been paid. Q: Why is Previous Location blank on my load? A: Common reasons include a brokered load (no automatic resolution), no truck assigned, no matching prior trip on that truck, or Alvys cleared a value that was no longer valid. You can set Previous Location manually from the Last Locations dialog. Q: Why does my brokered load not show Previous Location? A: Alvys does not track external carrier truck history on brokered loads, so Previous Location and empty miles are not calculated automatically for those trips.