Trip Record

Table Name: tabTrip Record

Records Trips made with Fleet

Fields

Sr Fieldname Type Label Options
1 trip_type Select Trip Type
Business
Charity
Medical
Personal
Other
2 purpose Data Purpose
3 distance_km Float Distance (KM)
4 distance_mile Float Distance (Mile)
5 cb_initial Column Break
6 party_type Link Party Type DocType
7 party Dynamic Link Party
party_type
8 vehicle Link Vehicle Vehicle
9 sb_trip_details Section Break Trip Details
10 departure_time Datetime Departure Time
11 departure_odometer_km Float Departure Odometer (KM)
12 departure_odometer_mile Float Departure Odometer (Mile)
13 departure_location Data Departure Location
14 cb_trip_details Column Break
15 arrival_time Datetime Arrival Time
16 arrival_odometer_km Float Arrival Odometer (KM)
17 arrival_odometer_mile Float Arrival Odometer (Mile)
18 arrival_location Data Arrival Location
19 amended_from Link Amended From Trip Record

Controller

fleet.fleet.doctype.trip_record.trip_record

Class TripRecord

Inherits from frappe.model.document.Document

calculate_distance (self)

No docs


validate (self)

No docs


validate_arrival_departure (self)

No docs



Linked In: