ServiceTerritory

Represents a geographic or functional region in which work can be performed in Field Service, Salesforce Scheduler, or Workforce Engagement. This object is available in API version 38.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see ServiceTerritory in the Automotive Cloud Developer Guide, Field Service Developer Guide, Object Reference for the Salesforce Platform, Salesforce Scheduler Developer Guide, and Work.com Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
AddressAddressaddress    
AvgTravelTimeAverage Travel Time (in minutes)int9   
CityCitystring 40  
CountryCountrystring 80  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataPyTag__cDataPyTagdouble  41
DescriptionDescriptiontextarea 32000  
GeocodeAccuracyGeocode Accuracypicklist 40  
IdTerritory IDid 18  
IsActiveActiveboolean    
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LatitudeLatitudedouble  1815
LongitudeLongitudedouble  1815
NameNamestring 255  
OperatingHoursIdOperating Hour IDreference 18  
OwnerIdOwner IDreference 18  
ParentTerritoryIdParent Territory IDreference 18  
PostalCodeZip/Postal Codestring 20  
PricebookIdPrice Book IDreference 18  
SchedulingConstraintIdScheduling Constraint IDreference 18  
SelfCheckInUrlSelf Check In URLurl 1000  
ServiceAppointmentLimitTypeService Appointment Limit Typepicklist 255  
StateState/Provincestring 80  
StreetAddresstextarea 255  
SystemModstampSystem Modstampdatetime    
TopLevelTerritoryIdTop-Level Territory IDreference 18  
TravelModeIdTravel Mode IDreference 18  
TravelTimeBufferTravel Time Buffer (in minutes)int9   
TypicalInTerritoryTravelTimeTypical In-Territory Travel Time (Minutes)double  182

Feed tracking for ServiceTerritory.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 40  

History for tracked fields of ServiceTerritory.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdService Territory History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
ServiceTerritoryIdTerritory IDreference 18  

Sharing for ServiceTerritory.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18