---
schema_version: "1"
id: f6e5920e262c2205408a83ce06342cb8ea7e5374079b3b184e359653a331970a
title: AssetMilestone
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/automotive_cloud/sforce_api_objects_assetmilestone.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.automotive_cloud.meta/automotive_cloud/sforce_api_objects_assetmilestone.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dd98bc2809cd10dde36e637ba5a45f46b1fe042dfd57836a8cb7a974cf4be767
description: Represents the key events in the lifecycle of a vehicle asset, such as manufacturing, registration, or resale. This object is available in API version 56.0 and later.
---
# AssetMilestone

Represents the key events in the lifecycle of a vehicle asset, such as manufacturing, registration, or resale. This object is available in API version 56.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### Address

- **Type**: address
- **Properties**: Filter, Nillable
- **Description**: The address associated with the milestone.

### AssetId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The asset record that's associated with the milestone. This field is a relationship field.
- **Relationship Name**: Asset
- **Relationship Type**: Lookup
- **Refers To**: Asset

### City

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The city where the milestone occurred.

### Country

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The country where the milestone occurred.

### Description

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The description of the milestone.

### ExpiredDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The expiration date of the milestone.

### GeocodeAccuracy

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The level of accuracy of a location’s geographical coordinates compared with its physical address. A geocoding service typically provides this value based on the milestone location’s latitude and longitude coordinates. Possible values are:

- Address
- Block
- City
- County
- ExtendedZip
- NearAddress
- Neighborhood
- State
- Street
- Unknown
- Zip

### 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.

### Latitude

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Used with Longitude to specify the precise geolocation of the milestone location. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.

### LocationId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The location associated with the milestone. This field is a relationship field.
- **Relationship Name**: Location
- **Relationship Type**: Lookup
- **Refers To**: Location

### Longitude

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Used with Latitude to specify the precise geolocation of the milestone location. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.

### MilestoneDate

- **Type**: date
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The date on which the milestone occurred.

### MilestoneType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the type of milestone. Possible values are:

- 10 Years Service
- Critical Recall
- Delivered
- Manufactured
- Order Received
- Sold

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the asset milestone.

### PostalCode

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The postal code of the location where the milestone occurred.

### SourceSystemIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The unique identifier of the milestone in the external system.

### SourceSystemName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The external system from where the record was imported.

### Stage

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the stage of the milestone. Possible values are: Active, Expired, or Tentative.

### StageComment

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The comments about the stage of the milestone. For example, the reason for marking the milestone as tentative.

### State

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The state where the milestone occurred.

### Street

- **Type**: textarea
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The street where the milestone occurred.

### UsageType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Specifies the usage type of the asset milestone. Possible values are:

- Automotive

### VehicleId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The vehicle asset that's associated with the milestone. This field is a relationship field.
- **Relationship Name**: Vehicle
- **Relationship Type**: Lookup
- **Refers To**: Vehicle

## 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.

- [AssetMilestoneChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_change_event.htm): Change events are available for the object.
- [AssetMilestoneFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_feed.htm): Feed tracking is available for the object.
- [AssetMilestoneHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_history.htm): History is available for tracked fields of the object.