Visit
Represents information about a visit that a manager schedules for a field rep to perform, usually at dealer locations. This object is available in Automotive Cloud in API version 56.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The account associated with the visit. This field is a relationship field.
- Relationship Name: Account
- Relationship Type: Lookup
- Refers To: Account
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time when the visit ended.
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time when the visit started.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The address associated with the visit. This field is a relationship field.
- Relationship Name: Address
- Relationship Type: Lookup
- Refers To: Address
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The contact associated with the visit. This field is a relationship field.
- Relationship Name: Contact
- Relationship Type: Lookup
- Refers To: Contact
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The purpose of the visit. This field is a polymorphic relationship field.
- Relationship Name: Context
- Relationship Type: Lookup
- Refers To: Account__c, Case
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Special instructions provided by a manager that the visitor refers to during a visit.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The most recent date on which a user referenced this record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The most recent date on which a user viewed this record.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The location of the dealer or partner where the visit must be conducted. This field is a relationship field.
- Relationship Name: Location
- Relationship Type: Lookup
- Refers To: Location
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Unique identifier for the visit record.
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: ID of the visit record owner. This field is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
- Refers To: Group, User
- Type: reference
- Properties: Create, Filter, Group, Sort, Update
- Description: ID of the place that the visitor visits. This field is a polymorphic relationship field.
- Relationship Name: Place
- Relationship Type: Lookup
- Refers To: Address, Location
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time when the visit is expected to end.
- Type: dateTime
- Properties: Create, Filter, Sort, Update
- Description: The date and time when the visit is expected to start.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
-
Description: The status of the visit. Visitors can’t edit this field. Possible values are: The default value is
Planned. -
Abandoned -
Completed -
Error -
InProgress—In Progress -
None -
Planned -
Unscheduled
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The reasons for abandoning or completing the visit as provided by the visitor.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: The user associated with the visit. This field is a relationship field.
- Relationship Name: User
- Relationship Type: Lookup
- Refers To: User
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The priority of the visit. Possible values are:
High,Low, orMedium.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The type of visit such as inspection type, or work type. This field is a polymorphic relationship field.
- Relationship Name: VisitType
- Relationship Type: Lookup
- Refers To: WorkType
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The name of the person visiting the place. This field is a polymorphic relationship field.
- Relationship Name: Visitor
- Relationship Type: Lookup
- Refers To: Contact, ServiceResource, User
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.
- VisitFeed: Feed tracking is available for the object.
- VisitHistory: History is available for tracked fields of the object.
- VisitOwnerSharingRule: Sharing rules are available for the object.
- VisitShare: Sharing is available for the object.