Fleet
Represents a group of assets or vehicles used in commercial or transport
operations. This object is available in API version 59.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Fields
ActiveAssetCount
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Description: The total number of assets associated with a fleet record. This field shows a rolled-up value based on the number of Fleet Asset records in Active status associated with a Fleet record. This field is a calculated field.
CurrentOwnerId
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The current owner of the fleet. This field is a relationship field.
- Relationship Name: CurrentOwner
- Relationship Type: Lookup
- Refers To: Account
EffectiveEndDate
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The date until when a fleet is operational.
EffectiveStartDate
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The date from when a fleet is operational.
LastReferencedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The most recent date on which a user referenced this record.
LastViewedDate
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The most recent date on which a user viewed this record.
LocationId
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the location that the fleet is associated with.
Name
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of a fleet record.
OwnerId
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: The ID of the user or user group who owns this record. This field is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
- Refers To: Group, User
ParentFleetId
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The parent fleet that a fleet record is part of in a hierarchy. This field is a relationship field.
- Relationship Name: ParentFleet
- Relationship Type: Lookup
- Refers To: Fleet
Status
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Specifies the status of a fleet record. Possible values are: The default value is Active. Active, or Inactive.
Type
- Type: picklist
- Properties: Create, Filter, Group, Sort, Update
- Description: The type of a fleet record. Possible values are: Commercial, Employee, Executive, or Material.
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- FleetChangeEvent: Change events are available for the object.
- FleetFeed: Feed tracking is available for the object.
- FleetHistory: History is available for tracked fields of the object.
- FleetOwnerSharingRule: Sharing rules are available for the object.
- FleetShare: Sharing is available for the object.