Vehicle
The vehicle object contains information about a vehicle record.
Last updated
Was this helpful?
The vehicle object contains information about a vehicle record.
Last updated
Was this helpful?
are typically bookable resources for services. They live in Resources > Vehicles, but under the hood they're member records so share attributes with other objects in People & Organizations.
Vehicles have contact information against them because newer smart trucks for business have cell phone numbers and email addresses built into their trip computers. Some customers email PDFs or send messages with information about jobs to trucks.
Contacts, organizations, vehicles, venues, and users are all known as members in the database. Members have some shared attributes, along with attributes that are specific to that particular member type.
When you're checking a list of members, you can use the type object to determine what type of member you're working with.
For example, the participants object against an opportunity returns participant objects for any members who are participants on the opportunity. To print only users:
The vehicle
object can be accessed in document layouts created against the following modules:
From a vehicle record:
To print vehicles that are are bookable resources for service items:
The vehicle
object can be accessed in discussion templates created against the following modules:
From a vehicle record:
To print vehicles that are are bookable resources for service items:
activities
attachments
Returns attachment objects for attachments stored against a vehicle.
description
Returns a vehicle's description.
email
Returns the first work email address stored against a vehicle.
emails
Returns email objects for email addresses stored against a vehicle.
height
Returns a vehicle's height.
icon_url
Returns a URL pointing at the vehicle's picture. The full size image is returned.
image_attachments
Returns attachment objects for attachments stored against a vehicle. Only returns those that have a file type of image.
id
Returns a vehicle ID.
length
Returns a vehicle's length.
location_type
Returns a vehicle's location type ID.
Type
Location type
0
Internal
1
External
location_type_name
Returns a vehicle's location type name.
Internal
External
mobile
Returns a vehicle's cell phone number. The first telephone number with the type “cell” or “mobile” is returned.
name
Returns a vehicle's name.
payload
Returns a vehicle's maximum payload.
phones
Returns telephone objects for telephone numbers stored against a vehicle.
plate
Returns a vehicle's licence plate.
telephone
Returns a vehicle's telephone. The first telephone number with the type “work” is returned.
volume
Returns a vehicle's volume.
width
Returns a vehicle's width.
Returns for the activities relating to a vehicle.
Use weight_unit
against to print your system weight unit.