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 Agentforce Life Sciences Developer Guide, Education Cloud Developer Guide, Energy and Utilities Cloud Developer Guide, Field Service Developer Guide, Object Reference for the Salesforce Platform, Public Sector Developer Guide, and Work.com Developer Guide.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccountId | Account ID | reference | 18 | |||
ActivationDate | Activation Date | date | ||||
AssignedFoCount | Assigned Fulfillment Order Count | int | 9 | |||
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 | |||
Email | 255 | |||||
ExternalReference | External Reference | string | 255 | |||
Fax | Fax | phone | 40 | |||
FoCapacity | Fulfillment Order Capacity | int | 9 | |||
FulfillingBusinessHoursId | Business Hours ID | reference | 18 | |||
FulfillingOperationalHoursId | Operating Hour 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 | |||
Mobile | Mobile | phone | 40 | |||
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 | |||
Phone | Phone | phone | 40 | |||
PossessionDate | Possession Date | date | ||||
PrimaryPropertyFunction | Primary Property Function | picklist | 40 | |||
Priority | Priority | 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 | ||||
ShouldTrackFoCapacity | Track Fulfillment Order Capacity | 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 |
Feed tracking for Location.
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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
BestCommentId | Best Comment ID | reference | 18 | |||
Body | Body | textarea | 10000 | |||
CommentCount | Comment Count | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Id | Feed Item ID | id | 18 | |||
InsertedById | InsertedBy ID | reference | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsRichText | Is Rich Text | boolean | ||||
LastModifiedDate | Last Modified Date | datetime | ||||
LikeCount | Like Count | int | 9 | |||
LinkUrl | Link URL | url | 1000 | |||
NetworkScope | Network Scope | picklist | 40 | |||
ParentId | Parent ID | reference | 18 | |||
RelatedRecordId | Related Record ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 | |||
Type | Feed Item Type | picklist | 40 | |||
Visibility | Visibility | picklist | 40 |
History for tracked fields of Location.
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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Location History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LocationId | Location ID | reference | 18 | |||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 |
Sharing for Location.
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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |