---
schema_version: "1"
id: 9c5f7a1536a907979b0bd24032c0753fc44a8e7d47cb43a93802e60dc63fc8b7
title: Visit DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-visitdmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-visitdmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f627e9a9a7b54f825889c11c9e5dee56dda1c400d784b9c6d94282b12aca5bd5
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Visit DMO

## Object Properties

**Object API Name:** `ssot__Visit__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **VisitorRecordId** has a FOREIGNKEY relationship with the [Work Resource DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-workresourcedmo-dmo.md) `Id` field.
- **VisitorRecordId** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **PlaceRecordId** has a FOREIGNKEY relationship with the [Retail Store DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-retailstoredmo-dmo.md) `Id` field.
- **PlaceRecordId** has a FOREIGNKEY relationship with the [Location DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-locationdmo-dmo.md) `Id` field.
- **PlaceRecordId** has a FOREIGNKEY relationship with the [Address DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-addressdmo-dmo.md) `Id` field.
- **DurationUOMId** has a FOREIGNKEY relationship with the [Unit of Measure DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-unitofmeasuredmo-dmo.md) `Id` field.
- **AccountId** has a FOREIGNKEY relationship with the [Account DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-accountdmo-dmo.md) `Id` field.
- **RelatedVisitId** has a FOREIGNKEY relationship with the [Visit DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-visitdmo-dmo.md) `Id` field.
- **OwnerId** has a FOREIGNKEY relationship with the [User DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **OwnerId** has a FOREIGNKEY relationship with the [User Group DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-usergroupdmo-dmo.md) `Id` field.
- **SourceContextRecordId** has a FOREIGNKEY relationship with the [Application DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-applicationdmo-dmo.md) `Id` field.


## Fields

- [AccountId](#accountid)
- [ActualVisitEndTime](#actualvisitendtime)
- [ActualVisitLatitude](#actualvisitlatitude)
- [ActualVisitLongitude](#actualvisitlongitude)
- [ActualVisitStartTime](#actualvisitstarttime)
- [BusinessUnitId](#businessunitid)
- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [CompletionDate](#completiondate)
- [CreatedDate](#createddate)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [DistributionIssueCount](#distributionissuecount)
- [DurationNumber](#durationnumber)
- [DurationUOMId](#durationuomid)
- [HasDistributionIssues](#hasdistributionissues)
- [HasOutOfStockIssue](#hasoutofstockissue)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [IsAllDayVisit](#isalldayvisit)
- [KQ_AccountId](#kq_accountid)
- [KQ_DurationUOMId](#kq_durationuomid)
- [KQ_Id](#kq_id)
- [KQ_OwnerId](#kq_ownerid)
- [KQ_PlaceRecordId](#kq_placerecordid)
- [KQ_RelatedVisitId](#kq_relatedvisitid)
- [KQ_VisitorRecordId](#kq_visitorrecordid)
- [Name](#name)
- [OutOfStockIssueCount](#outofstockissuecount)
- [OutOfStockRateFocusArea](#outofstockratefocusarea)
- [OwnerId](#ownerid)
- [OwnerObject](#ownerobject)
- [PerfectStoreIndexScoreNumber](#perfectstoreindexscorenumber)
- [PerfectStoreQuotientNumber](#perfectstorequotientnumber)
- [PlaceRecordId](#placerecordid)
- [PlaceRecordObject](#placerecordobject)
- [PlannedVisitDate](#plannedvisitdate)
- [PlannedVisitEndTime](#plannedvisitendtime)
- [PlannedVisitStartTime](#plannedvisitstarttime)
- [Priority](#priority)
- [ProductDistributionRate](#productdistributionrate)
- [ProductDistributionRateFocusArea](#productdistributionratefocusarea)
- [Purpose](#purpose)
- [RelatedVisitId](#relatedvisitid)
- [SourceContextObject](#sourcecontextobject)
- [SourceContextRecordId](#sourcecontextrecordid)
- [Status](#status)
- [StatusReasonText](#statusreasontext)
- [VisitNoteText](#visitnotetext)
- [VisitorRecordId](#visitorrecordid)
- [VisitorRecordObject](#visitorrecordobject)
- [VisitTypeRecordId](#visittyperecordid)
- [VisitTypeRecordObject](#visittyperecordobject)

### AccountId

- **Field API Name:** `ssot__AccountId__c`
- **Data Type:** TEXT
- **Description:** The ID of the account that's  associated with a visit.

### ActualVisitEndTime

- **Field API Name:** `ssot__ActualVisitEndTime__c`
- **Data Type:** DATETIME
- **Description:** The actual date time of visit end.

### ActualVisitLatitude

- **Field API Name:** `ssot__ActualVisitLatitude__c`
- **Data Type:** DOUBLE
- **Description:** The actual visit geo location latitude.

### ActualVisitLongitude

- **Field API Name:** `ssot__ActualVisitLongitude__c`
- **Data Type:** DOUBLE
- **Description:** The actual visit geo location longitude.

### ActualVisitStartTime

- **Field API Name:** `ssot__ActualVisitStartTime__c`
- **Data Type:** DATETIME
- **Description:** The actual date time of visit start.

### BusinessUnitId

- **Field API Name:** `ssot__BusinessUnitId__c`
- **Data Type:** TEXT
- **Description:** The logical Internal Organization to which promotion offer record belongs.

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### CompletionDate

- **Field API Name:** `ssot__CompletionDate__c`
- **Data Type:** DATEONLY
- **Description:** The completion date of visit.

### CreatedDate

- **Field API Name:** `ssot__CreatedDate__c`
- **Data Type:** DATETIME
- **Description:** The date and time the record was originally created.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DistributionIssueCount

- **Field API Name:** `ssot__DistributionIssueCount__c`
- **Data Type:** DOUBLE
- **Description:** The count of distribution issues identified during visit.

### DurationNumber

- **Field API Name:** `ssot__DurationNumber__c`
- **Data Type:** DOUBLE
- **Description:** The duration of visit.

### DurationUOMId

- **Field API Name:** `ssot__DurationUOMId__c`
- **Data Type:** TEXT
- **Description:** The unit of measure for duration of visit.

### HasDistributionIssues

- **Field API Name:** `ssot__HasDistributionIssues__c`
- **Data Type:** BOOLEAN
- **Description:** Whether this service process was marked as a favorite for the org.

### HasOutOfStockIssue

- **Field API Name:** `ssot__HasOutOfStockIssue__c`
- **Data Type:** BOOLEAN
- **Description:** Whether for particular visit to store/location/address has product out of stock issues or not.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this Visit record. Maximum size is 36 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### IsAllDayVisit

- **Field API Name:** `ssot__IsAllDayVisit__c`
- **Data Type:** BOOLEAN
- **Description:** Represent if visit is all day event or not.

### KQ_AccountId

- **Field API Name:** `KQ_AccountId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for AccountId

### KQ_DurationUOMId

- **Field API Name:** `KQ_DurationUOMId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for DurationUOMId

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_OwnerId

- **Field API Name:** `KQ_OwnerId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for OwnerId

### KQ_PlaceRecordId

- **Field API Name:** `KQ_PlaceRecordId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for PlaceRecordId

### KQ_RelatedVisitId

- **Field API Name:** `KQ_RelatedVisitId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for RelatedVisitId

### KQ_VisitorRecordId

- **Field API Name:** `KQ_VisitorRecordId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for VisitorRecordId

### Name

- **Field API Name:** `ssot__Name__c`
- **Data Type:** TEXT
- **Description:** The primary name or label for this Visit record. Maximum size is 255 characters.

### OutOfStockIssueCount

- **Field API Name:** `ssot__OutOfStockIssueCount__c`
- **Data Type:** DOUBLE
- **Description:** The count of out of stock issues.

### OutOfStockRateFocusArea

- **Field API Name:** `ssot__OutOfStockRateFocusArea__c`
- **Data Type:** TEXT
- **Description:** The focus area of out of stock rate of all surveyed products for given visit.

### OwnerId

- **Field API Name:** `ssot__OwnerId__c`
- **Data Type:** TEXT
- **Description:** The Visit's owner.

### OwnerObject

- **Field API Name:** `ssot__OwnerObject__c`
- **Data Type:** TEXT
- **Description:** Indicates the Owner object name. For example, User, UserGroup.

### PerfectStoreIndexScoreNumber

- **Field API Name:** `ssot__PerfectStoreIndexScoreNumber__c`
- **Data Type:** DOUBLE
- **Description:** The perfect store index score value for given visit.

### PerfectStoreQuotientNumber

- **Field API Name:** `ssot__PerfectStoreQuotientNumber__c`
- **Data Type:** DOUBLE
- **Description:** The perfect store quotient score value for given visit.

### PlaceRecordId

- **Field API Name:** `ssot__PlaceRecordId__c`
- **Data Type:** TEXT
- **Description:** The reference record of Place at which Visit is performed.

### PlaceRecordObject

- **Field API Name:** `ssot__PlaceRecordObject__c`
- **Data Type:** TEXT
- **Description:** The domain object name of the place record belong to.

### PlannedVisitDate

- **Field API Name:** `ssot__PlannedVisitDate__c`
- **Data Type:** DATETIME
- **Description:** The planned date for visit.

### PlannedVisitEndTime

- **Field API Name:** `ssot__PlannedVisitEndTime__c`
- **Data Type:** DATETIME
- **Description:** Date and time when the visit is expected to end.

### PlannedVisitStartTime

- **Field API Name:** `ssot__PlannedVisitStartTime__c`
- **Data Type:** DATETIME
- **Description:** Date and time when the visit is expected to start.

### Priority

- **Field API Name:** `ssot__Priority__c`
- **Data Type:** TEXT
- **Description:** Represent the priority of visit. Valid values are:  - High  - Low  - Medium.

### ProductDistributionRate

- **Field API Name:** `ssot__ProductDistributionRate__c`
- **Data Type:** DOUBLE
- **Description:** The distribution rate of all survey products for given visit.

### ProductDistributionRateFocusArea

- **Field API Name:** `ssot__ProductDistributionRateFocusArea__c`
- **Data Type:** TEXT
- **Description:** The focus of distribution rate of all survey products for given visit. For example, Market Penetration, Sales Peformance.

### Purpose

- **Field API Name:** `ssot__Purpose__c`
- **Data Type:** TEXT
- **Description:** The purpose of the visit.

### RelatedVisitId

- **Field API Name:** `ssot__RelatedVisitId__c`
- **Data Type:** TEXT
- **Description:** The parent/related visit associated with.

### SourceContextObject

- **Field API Name:** `ssot__SourceContextObject__c`
- **Data Type:** TEXT
- **Description:** The object name of the source context record id.

### SourceContextRecordId

- **Field API Name:** `ssot__SourceContextRecordId__c`
- **Data Type:** TEXT
- **Description:** The source context of the visit. For example,  Claim, Case.

### Status

- **Field API Name:** `ssot__Status__c`
- **Data Type:** TEXT
- **Description:** The status of the visit. Valid values are:  - Abondoned  - Completed  - InProgress  - Planned.

### StatusReasonText

- **Field API Name:** `ssot__StatusReasonText__c`
- **Data Type:** TEXT
- **Description:** The reason/remarks for the status of the visit.

### VisitNoteText

- **Field API Name:** `ssot__VisitNoteText__c`
- **Data Type:** TEXT
- **Description:** Notes to be captured by sales rep during visit execution. For example, Store manager mentioned high demand for Product B but insufficient stock; Customer feedback on Product C packaging improvement.

### VisitorRecordId

- **Field API Name:** `ssot__VisitorRecordId__c`
- **Data Type:** TEXT
- **Description:** The reference record of the visitor object who is performing the visit.

### VisitorRecordObject

- **Field API Name:** `ssot__VisitorRecordObject__c`
- **Data Type:** TEXT
- **Description:** The domain object name of the visitor record who is performing the visit.

### VisitTypeRecordId

- **Field API Name:** `ssot__VisitTypeRecordId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### VisitTypeRecordObject

- **Field API Name:** `ssot__VisitTypeRecordObject__c`
- **Data Type:** TEXT
- **Description:** Alphanumeric string representing the visit type record object.
