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 NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
ActivationDateActivation Datedate    
AssignedFoCountAssigned Fulfillment Order Countint9   
BusinessHoursIdBusiness Hours IDreference 18  
CloseDateClose Datedate    
ConstructionEndDateConstruction End Datedate    
ConstructionStartDateConstruction Start Datedate    
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DefaultPickupTimeDefault Pickup Timetime    
DefaultProcessingTimeDefault Processing Timeint9   
DefaultProcessingTimeUnitDefault Processing Time Unitpicklist 255  
DescriptionDescriptionstring 255  
DistributionAreaDistribution Areastring 255  
DrivingDirectionsDriving Directionsstring 1000  
EmailEmailemail 255  
ExternalReferenceExternal Referencestring 255  
FaxFaxphone 40  
FoCapacityFulfillment Order Capacityint9   
FulfillingBusinessHoursIdBusiness Hours IDreference 18  
FulfillingOperationalHoursIdOperating Hour IDreference 18  
GrossFloorAreaGross Floor Areaint9   
GrossFloorAreaUomGross Floor Area Unit of Measurepicklist 40  
HasLifeSupportLife Supportboolean    
HasSensitiveLoadSensitive Loadboolean    
IdLocation IDid 18  
IsDeletedDeletedboolean    
IsInventoryLocationInventory Locationboolean    
IsKeyAtPremisesKey at Premisesboolean    
IsMobileMobile Locationboolean    
IsOkToEnterOk to Enterboolean    
IsSupplyGuaranteedSupply Guaranteedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
LatitudeLatitudedouble  1815
LocationLocationlocation0000
LocationLevelLocation Levelint9   
LocationTypeLocation Typepicklist 40  
LogoIdAsset File IDreference 18  
LongitudeLongitudedouble  1815
MeterReadInstructionsMeter Read Instructionsstring 255  
MeterReadWarningMeter Read Warningstring 255  
MobileMobilephone 40  
NameLocation Namestring 255  
NumberOfOccupantsNumber of Occupantsint9   
OpenDateOpen Datedate    
OwnerIdOwner IDreference 18  
ParentLocationIdParent Location IDreference 18  
PhonePhonephone 40  
PossessionDatePossession Datedate    
PrimaryPropertyFunctionPrimary Property Functionpicklist 40  
PriorityPrioritypicklist 40  
PropertyOwnerAccountIdAccount IDreference 18  
RemodelEndDateRemodel End Datedate    
RemodelStartDateRemodel Start Datedate    
RootLocationIdRoot Location IDreference 18  
ShouldSyncWithOciSync with OCIboolean    
ShouldTrackFoCapacityTrack Fulfillment Order Capacityboolean    
StatusStatuspicklist 40  
SupplyGuaranteeReasonSupply Guarantee Reasonstring 255  
SystemModstampSystem Modstampdatetime    
TimeZoneTime Zonepicklist 255  
VisitorAddressIdAddress IDreference 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 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 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 NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdLocation History IDid 18  
IsDeletedDeletedboolean    
LocationIdLocation IDreference 18  
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 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 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