Represents a physical or logical location (such as a store, warehouse, or distribution center) associated with a parent record — currently, an Account — over a defined active date range. Used to model which locations are tied to a given account for assortment, inventory, and order-management purposes. This object is available in API version 68.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Special Access Rules
Available only in orgs with Manufacturing Cloud, Automotive Cloud, or Consumer Goods Cloud enabled, or with the relevant Account Hierarchy / B2B relationship features licensed.
Fields
ActiveFrom
Type: dateTime
Properties: Create, Filter, Nillable, Sort, Update
Description: The start date and time from which this location association is active.
ActiveTo
Type: dateTime
Properties: Create, Filter, Nillable, Sort, Update
Description: The date and time at which this location association ends and is no longer active.
AssociatedLocationNumber
Type: string
Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
Description: An auto-generated, unique identifying number for the associated location record.
CurrencyIsoCode
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: ISO code for the currency of this record. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD. Available only if multiple currencies are enabled for the org.
LastReferencedDate
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp for when the current user last accessed a record related to this associated location.
LastViewedDate
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp for when the current user last viewed this record.
LocationId
Type: reference
Properties: Create, Filter, Group, Sort, Update
Description: The ID of the Location record associated with the parent record.
Relationship Name: Location
Refers To: Location
ParentRecordId
Type: reference
Properties: Create, Filter, Group, Sort
Description: The ID of the parent record (currently Account) that this location is associated with. This field is a relationship field. It's the master in a master-detail relationship.
Relationship Name: ParentRecord
Refers To: Account
Type
Type: picklist
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Categorizes the nature of the association between the parent record and the location.
Associated Objects
This object has the following associated objects. If the API version isn't specified, they're available in the same API versions as this object. Otherwise, they're available in the specified API version and later.
- AssociatedLocationChangeEvent: Change events are available for the object.
- AssociatedLocationFeed: Feed tracking is available for the object.
- AssociatedLocationHistory: History is available for tracked fields of the object.
- AssociatedLocationOwnerSharingRule: Sharing rules are available for the object.
- AssociatedLocationShare: Sharing is available for the object.