Newer Version Available
Location
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Special Access Rules
At least one of these features must be enabled:
- Commerce Store
- Contact Tracing for Employees
- Employee Experience
- Field Service
- Fulfillment Orders
- Health Cloud
- Industries Insurance
- Industries Visit
- Locations
- Omnichannel Inventory
- Public Sector
- Retail Execution
- Work.com
Fields
| Field Name | Details |
|---|---|
| CloseDate |
|
| ConstructionEndDate |
|
| ConstructionStartDate |
|
| Description |
|
| DrivingDirections |
|
| ExternalReference |
|
| IsInventoryLocation |
|
| IsMobile |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| Latitude |
|
| Location |
|
| LocationLevel |
|
| LocationType |
|
| LogoId |
|
| Longitude |
|
| Name |
|
| OpenDate |
|
| OwnerId |
|
| ParentLocationId |
|
| PossessionDate |
|
| RemodelEndDate |
|
| RemodelStartDate |
|
| RootLocationId |
|
| ShouldSyncWithOci |
|
| TimeZone |
|
| VisitorAddressId |
|
Usage
Before creating any location records, add at least one value to the Location Type picklist. LocationType is a required field.
To track your inventory in Salesforce, create product items, which represent the stock of a particular product a particular location. For example, create a product item that represents the 500 bolts you have in stock at your Warehouse A location. Each product item must be associated with a location.
To get a more granular picture of your field service operation, associate locations with service territories. For example, if a warehouse is located in a particular service territory, add it as a service territory location.
Associated Objects
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- LocationChangeEvent (API version 48.0)
- Change events are available for the object.
- LocationFeed
- Feed tracking is available for the object.
- LocationHistory
- History is available for tracked fields of the object.
- LocationOwnerSharingRule
- Sharing rules are available for the object.
- LocationShare
- Sharing is available for the object.