---
schema_version: "1"
id: 34c104d94028e3910814a1453b7fd8aadb8fedf38fe8b533d307c478251d0614
title: Visit
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_visit.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_visit.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 14216424a2de2cb9c22a53de9ee9dda4c2eb60bbbf48a61eadc2f8472ee713ad
description: Track information related to a field rep’s visit to a health care provider.
---
# Visit

Track information related to a field rep’s visit to a health care provider.

## Special Access Rules

In Life Sciences Cloud, Visit is used for Customer Engagement.

## Supported Calls

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

## Fields

### AccountId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The account that is associated with a visit.
- **Relationship Name**: Account
- **Refers To**: Account

### Channel

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The channel of the visit.
    
    This field is available with the Life Sciences Cloud for Customer Engagement Add-on license in API version 65.0 and later.
- **Default value**: In-Person
- **Possible values**:
    - Email
    - In-Person
    - Phone
    - Remote
    - SMS
    - WeChat
    - WhatsApp

### IsGroupVisit

Reserved for future use.

### ParentVisitId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: If this visit is the child of a larger group visit, this field is used to provide a link to that visit.
    
    This field is a relationship field. This field is available with the Life Sciences Cloud for Customer Engagement Add-on license in API version 65.0 and later.
- **Relationship Name**: ParentVisit
- **Refers To**: Visit

### PlaceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: ID of the location that sales reps visit.
- **Relationship Name**: Place
- **Refers To**: Address, ContactPointAddress, Location, RetailStore

### PlannedVisitStartTime

- **Type**: dateTime
- **Properties**: Create, Filter, Sort, Update
- **Description**: The date and time when the visit is expected to start.

### SignatureType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The type of the signature.
    
    This field is available with the Life Sciences Cloud for Customer Engagement Add-on license in API version 65.0 and later.
- **Possible values**:
    - Digital
    - Physical

### Start Geolocation Missing Reason

- **Type**: staticenum
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The reason why geolocation was not captured at the start of the visit. Possible values:
    - Device Restricted
    - User Restricted
    - Offline
    - Bad Conectivity

### Status

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: The status of a visit.
- **Default value**: Planned
- **Possible values**:
    - Completed
    - Planned

### TerritoryId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the terriory for this visit.
    
    This field is a relationship field. This field is available with the Life Sciences Cloud for Customer Engagement Add-on license in API version 65.0 and later.
- **Relationship Name**: Territory
- **Refers To**: Territory2