ServiceTerritory

Represents the locations and spaces associated with your workplace. Work.com adds new custom fields to the standard ServiceTerritory object. This object is available in API version 38.0 and later.

For standard fields on the ServiceTerritory object, see Object Reference - ServiceTerritory.

Supported Calls

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

Custom Fields

Field Details
wkfsl__Facility_Type__c
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The type of facility, which is derived from the Location record. Users see this value in the Work.com Command Center.
Possible values are:
  • Building
  • Campus
  • Floor
  • Plant
  • Site
  • Space
  • Store
  • Virtual
  • Warehouse

The default value is Building. This field is available in API version 48.0 and later.

This field is standard, but the picklist values are custom for Work.com. Users see these values in the Work.com Command Center.

Note

wkfsl__Location__c
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Location of the service territory. This field is available in API version 48.0 and later.
wkfsl__Maximum_Occupancy__c
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
Maximum occupancy for the service territory. This field must be populated for each territory. This field is available in API version 48.0 and later.
wkfsl__Select_for_Facility_Plan__c
Type
boolean
Properties
Create, Filter, Group, Sort, Update
Description
Sets whether the service territory available for facility plans. This field's initial value is set from the location type during setup. The default value is falseThis field is available in API version 48.0 and later, and in package version 1.73 and later.