Get started
Color

Vehicles on file

List a customer's vehicles, add one, read a VIN to fill in its details, change it or delete it.

For
OwnerAdministratorService advisorDispatcher
Hosting
Any hosting
Devices
Web browser
Business
All businesses

Checked against Pop Dispatch 0.1.0

The Vehicles screen holds the vehicles that belong to one customer. You will be able to see them, add a new one, fill in details from a VIN and keep each record correct.

The Vehicles screen in the web console for the demo business.
The Vehicles screen.

Before you start #

You need the owner, manager, advisor or dispatcher role. Only the owner and manager see the Delete button.

Steps #

  1. Open Vehicles. The screen asks "Whose vehicles": find a customer by name, phone, email or plate and pick one. Opening the screen from a customer record's "Add or change vehicles" link picks that customer for you.
  2. Read the table: Vehicle, Ownership (Customer's), Plate (with its state), VIN, Odometer and Actions.
  3. To add a vehicle, fill in the form under "New vehicle": VIN, Plate, "Plate state", Year, Make, Model, Trim, Color, Odometer and Notes. Enter a VIN, a plate or a make, and check the year and odometer. Choose Add.
  4. To fill in details from a VIN, type the VIN and choose "Look up this VIN". The year, make, model and trim fill in, and the screen says "The VIN was read. Check the details before saving."
  5. To change a vehicle, choose Edit on its row. The form heading becomes "Change this vehicle". Edit the fields and choose Save, or Cancel to leave it as it was.
  6. To remove a vehicle, choose Delete on its row and confirm. The question reads "Delete this vehicle? A vehicle with any history cannot be deleted."

Good to know #

  • The list always belongs to one customer. Pick another customer to see theirs.
  • A save shows "Saved." and the table refreshes.
Technical details
  • The list loads from /customers/{id}/vehicles. A new vehicle posts to the same path, a change patches /vehicles/{id} and a delete uses /vehicles/{id}. The VIN lookup calls /vin/{vin}.
  • The lookup button works once the VIN has enough characters to read.

If something goes wrong #

  • "Enter a VIN, a plate or a make, and check the year and odometer.": complete those fields.
  • The VIN lookup shows a message: check the VIN for typing errors and try again, or type the details yourself.
  • Delete is refused: a vehicle with history stays on file.