Skip to content

Vehicle

Option required

Vehicles are only available if the VEHICLE option is enabled on the project.

Definition

A Vehicle is a means of transport that can be associated with a movement. Its primary purpose is to record which vehicle was used and who was driving it, so that the driver can be identified in the event of a traffic incident.

Organization
└── Project
    └── Vehicle

Main attributes

AttributeDescription
License plateThe vehicle’s registration number
BrandThe vehicle manufacturer
ModelThe vehicle model
Availability datesDate and time range defining when the vehicle is available

Status

A vehicle does not have an explicit status field. Its availability state is derived from:

SituationImplied availability state
Has been soft deletedDISABLED
Arrival date is in the futureNOT_AVAILABLE_YET
End date is in the pastNO_MORE_AVAILABLE
No dates set OR today is between start and end datesAVAILABLE

For the runtime presence status (derived from movement history: IN, OUT), see Movement — Vehicle presence status. The two statuses are independent: the table above is computed from the vehicle's availability dates, while the presence status is computed from its movement history.

Availability dates

A vehicle can have its own availability dates (start and end). These are optional. If not set, the vehicle is full-time available.

Relationships

Related objectRelationship
ProjectA vehicle belongs to one project
MovementA vehicle can be attached to one or more movements