Visit
Represents a visit to inspect, assess compliance, or assess an applicant’s ability to get a license or permit or inspect. This object is available in API version 47.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 that is associated with a visit. This field is available in API versions 48.0 and later.
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort
- Description: The date and time when the visit ended.
- Type: dateTime
- Properties: Create, Filter, Nillable, Sort
- Description: The date and time when the visit started.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The purpose of a visit, such as business license application, or complaint. This field is available in API versions 48.0 and later.
-
Type: textarea
-
Properties: Create, Nillable, Update
-
Description: The Einstein-generated historical overview of current and previous inspection visits.
Available in API versions 62.0 and later. Einstein Generative AI for Public Sector must be enabled.
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Special instructions provided by a compliance manager or an administrator.
- 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: 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.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The parent visit associated with the current visit.
This field is a relationship field.
Available in API version 61.0 and later.
-
Relationship Name: ParentVisit
-
Relationship Type: Lookup
-
Refers To: Visit
- Type: reference
- Properties: Create, Filter, Group, Sort, Update
- Description: ID of the place that inspector visits.
- 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.
-
Possible values:
AbandonedCompletedInProgressPlanned
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The reasons for abandoning or completing the visit as provided by the inspector.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The priority of the visit.
-
Possible values:
HighLowMedium
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: ID of the inspector visiting the store.
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- VisitFeed
Feed tracking is available for the object.
- VisitHistory
History is available for tracked fields of the object.
- VisitShare
Sharing is available for the object.