# Service Territory DMO

## Object Properties

**Object API Name:** `ssot__ServiceTerritory__dlm`\
**Category:** Unassigned\
**Availability:** Available in 254 and later versions\
**Primary Key Field:** Id

## Relationships

- **LastModifiedById** has a FOREIGNKEY relationship with the [User DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **CreatedById** has a FOREIGNKEY relationship with the [User DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **Address** has a FOREIGNKEY relationship with the [Address DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-addressdmo-dmo.md) `Id` field.
- **OwnerId** has a FOREIGNKEY relationship with the [User DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-userdmo-dmo.md) `Id` field.
- **OwnerId** has a FOREIGNKEY relationship with the [User Group DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-usergroupdmo-dmo.md) `Id` field.
- **OperatingHoursId** has a FOREIGNKEY relationship with the [Operating Hours DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-operatinghoursdmo-dmo.md) `Id` field.
- **ParentTerritoryId** has a FOREIGNKEY relationship with the [Service Territory DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-serviceterritorydmo-dmo.md) `Id` field.
- **TopLevelTerritoryId** has a FOREIGNKEY relationship with the [Service Territory DMO](/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-serviceterritorydmo-dmo.md) `Id` field.

## Fields

- [Address](#address)
- [AverageTravelTimeMinutes](#averagetraveltimeminutes)
- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [CreatedById](#createdbyid)
- [CreatedDate](#createddate)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [Description](#description)
- [GeolocationText](#geolocationtext)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [InTerritoryTravelTimeMinutes](#interritorytraveltimeminutes)
- [IsActive](#isactive)
- [IsUsingOptimizationEngine](#isusingoptimizationengine)
- [KQ_Address](#kq_address)
- [KQ_CreatedById](#kq_createdbyid)
- [KQ_Id](#kq_id)
- [KQ_LastModifiedById](#kq_lastmodifiedbyid)
- [KQ_OperatingHoursId](#kq_operatinghoursid)
- [KQ_OwnerId](#kq_ownerid)
- [KQ_ParentTerritoryId](#kq_parentterritoryid)
- [KQ_TopLevelTerritoryId](#kq_toplevelterritoryid)
- [LastModifiedById](#lastmodifiedbyid)
- [LastModifiedDate](#lastmodifieddate)
- [Name](#name)
- [OperatingHoursId](#operatinghoursid)
- [OwnerId](#ownerid)
- [ParentTerritoryId](#parentterritoryid)
- [ServiceClusterMinimumSize](#serviceclusterminimumsize)
- [ServiceClusterProximity](#serviceclusterproximity)
- [ServicesToDripFeedNumber](#servicestodripfeednumber)
- [ShouldHideEmergencyMap](#shouldhideemergencymap)
- [TerritoryLevelNumber](#territorylevelnumber)
- [TopLevelTerritoryId](#toplevelterritoryid)

### Address

- **Field API Name:** `ssot__Address__c`
- **Data Type:** TEXT
- **Description:** An address to associate with the territory. For example, you can list the address of the territory’s headquarters.

### AverageTravelTimeMinutes

- **Field API Name:** `ssot__AverageTravelTimeMinutes__c`
- **Data Type:** DOUBLE
- **Description:** Average travel time in minutes across the territory.

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

### CreatedById

- **Field API Name:** `ssot__CreatedById__c`
- **Data Type:** TEXT
- **Description:** User who created the record.

### CreatedDate

- **Field API Name:** `ssot__CreatedDate__c`
- **Data Type:** DATETIME
- **Description:** Date and time when this record was 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.

### Description

- **Field API Name:** `ssot__Description__c`
- **Data Type:** TEXT
- **Description:** The description of the territory.

### GeolocationText

- **Field API Name:** `ssot__GeolocationText__c`
- **Data Type:** TEXT
- **Description:** Central geolocation address to calculate streel level routing.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this ServiceTerritory 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.

### InTerritoryTravelTimeMinutes

- **Field API Name:** `ssot__InTerritoryTravelTimeMinutes__c`
- **Data Type:** DOUBLE
- **Description:** Typical In Territory Travel Time Minutes.

### IsActive

- **Field API Name:** `ssot__IsActive__c`
- **Data Type:** TEXT
- **Description:** Whether the service territory is meant to be used. If a territory is inactive, you can’t add members to it or link it to work orders, work order line items, or service appointments.

### IsUsingOptimizationEngine

- **Field API Name:** `ssot__IsUsingOptimizationEngine__c`
- **Data Type:** TEXT
- **Description:** Indiacates if the service territory is going to use enhanced scheduling and optimization engine.

### KQ_Address

- **Field API Name:** `KQ_Address__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Address

### KQ_CreatedById

- **Field API Name:** `KQ_CreatedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for CreatedById

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### KQ_LastModifiedById

- **Field API Name:** `KQ_LastModifiedById__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for LastModifiedById

### KQ_OperatingHoursId

- **Field API Name:** `KQ_OperatingHoursId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for OperatingHoursId

### KQ_OwnerId

- **Field API Name:** `KQ_OwnerId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for OwnerId

### KQ_ParentTerritoryId

- **Field API Name:** `KQ_ParentTerritoryId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ParentTerritoryId

### KQ_TopLevelTerritoryId

- **Field API Name:** `KQ_TopLevelTerritoryId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for TopLevelTerritoryId

### LastModifiedById

- **Field API Name:** `ssot__LastModifiedById__c`
- **Data Type:** TEXT
- **Description:** User who most recently changed the record.

### LastModifiedDate

- **Field API Name:** `ssot__LastModifiedDate__c`
- **Data Type:** DATETIME
- **Description:** Date and time when a user last modified this record.

### Name

- **Field API Name:** `ssot__Name__c`
- **Data Type:** TEXT
- **Description:** The name of the territory.

### OperatingHoursId

- **Field API Name:** `ssot__OperatingHoursId__c`
- **Data Type:** TEXT
- **Description:** The territory’s operating hours, which indicate when service appointments within the territory can occur. Service resources who are members of a territory automatically inherit the territory’s operating hours unless different hours are specified on the resource record.

### OwnerId

- **Field API Name:** `ssot__OwnerId__c`
- **Data Type:** TEXT
- **Description:** Reference to the owner of the record it can be a User, UserGroup.

### ParentTerritoryId

- **Field API Name:** `ssot__ParentTerritoryId__c`
- **Data Type:** TEXT
- **Description:** The territory’s parent service territory, if it exists. For example, a Northern California territory can have a State of California territory as its parent. A service territory hierarchy can contain up to 10, 000 territories. This field is a relationship field.

### ServiceClusterMinimumSize

- **Field API Name:** `ssot__ServiceClusterMinimumSize__c`
- **Data Type:** DOUBLE
- **Description:** Service Cluster Minimum Size.

### ServiceClusterProximity

- **Field API Name:** `ssot__ServiceClusterProximity__c`
- **Data Type:** DOUBLE
- **Description:** Service Cluster Proximity.

### ServicesToDripFeedNumber

- **Field API Name:** `ssot__ServicesToDripFeedNumber__c`
- **Data Type:** DOUBLE
- **Description:** Determines how many next scheduled service appointments to assign/show to the resource.

### ShouldHideEmergencyMap

- **Field API Name:** `ssot__ShouldHideEmergencyMap__c`
- **Data Type:** TEXT
- **Description:** Whether the map view is hidden in the Emergency Wizard to show only candidates.

### TerritoryLevelNumber

- **Field API Name:** `ssot__TerritoryLevelNumber__c`
- **Data Type:** DOUBLE
- **Description:** Level of the territory in the hierarchy.

### TopLevelTerritoryId

- **Field API Name:** `ssot__TopLevelTerritoryId__c`
- **Data Type:** TEXT
- **Description:** The top-level territory in a hierarchy of service territories. Depending on where a territory lies in the hierarchy, its top-level territory can be the same as its parent. This field is read only.
