Newer Version Available

This content describes an older version of this product. View Latest

Location

Represents a warehouse, service vehicle, work site, or other element of the region where your team performs field service work. In API version 49.0 and later, you can associate activities with specific locations. Activities, such as the tasks and events related to a location, appear in the activities timeline when you view the location detail page. Also in API version 49.0 and later, Work.com users can view Employees as a related list on Location records. In API version 51.0 and later, this object is available for Omnichannel Inventory and represents physical locations where inventory is available for fulfilling orders.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see Location in the Education Cloud Developer Guide, Energy and Utilities Cloud Developer Guide, Field Service Developer Guide, Life Sciences Cloud Developer Guide, Object Reference for the Salesforce Platform, Public Sector Solutions Developer Guide, and Work.com Developer Guide.

Fields

Field Name Field Label Type Digits Length Precision Scale
ActivationDate Activation Date date
BusinessHoursId Business Hours ID reference 18
CloseDate Close Date date
ConstructionEndDate Construction End Date date
ConstructionStartDate Construction Start Date date
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
CurrencyIsoCode Currency ISO Code picklist 3
DefaultPickupTime Default Pickup Time time
DefaultProcessingTime Default Processing Time int 9
DefaultProcessingTimeUnit Default Processing Time Unit picklist 255
Description Description string 255
DistributionArea Distribution Area string 255
DrivingDirections Driving Directions string 1000
ExternalReference External Reference string 255
FulfillingBusinessHoursId Business Hours ID reference 18
GrossFloorArea Gross Floor Area int 9
GrossFloorAreaUom Gross Floor Area Unit of Measure picklist 40
HasLifeSupport Life Support boolean
HasSensitiveLoad Sensitive Load boolean
Id Location ID id 18
IsDeleted Deleted boolean
IsInventoryLocation Inventory Location boolean
IsKeyAtPremises Key at Premises boolean
IsMobile Mobile Location boolean
IsOkToEnter Ok to Enter boolean
IsSupplyGuaranteed Supply Guaranteed boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastReferencedDate Last Referenced Date datetime
LastViewedDate Last Viewed Date datetime
Latitude Latitude double 18 15
Location Location location 0 0 0 0
LocationLevel Location Level int 9
LocationType Location Type picklist 40
LogoId Asset File ID reference 18
Longitude Longitude double 18 15
MeterReadInstructions Meter Read Instructions string 255
MeterReadWarning Meter Read Warning string 255
Name Location Name string 255
NumberOfOccupants Number of Occupants int 9
OpenDate Open Date date
OwnerId Owner ID reference 18
ParentLocationId Parent Location ID reference 18
PossessionDate Possession Date date
PrimaryPropertyFunction Primary Property Function picklist 40
PropertyOwnerAccountId Account ID reference 18
RemodelEndDate Remodel End Date date
RemodelStartDate Remodel Start Date date
RootLocationId Root Location ID reference 18
ShouldSyncWithOci Sync with OCI boolean
Status Status picklist 40
SupplyGuaranteeReason Supply Guarantee Reason string 255
SystemModstamp System Modstamp datetime
TimeZone Time Zone picklist 255
VisitorAddressId Address ID reference 18