LocationAssortment

Represents the assignment of an Assortment (a defined set of products) to a specific Location, indicating which products that location is authorized to sell, stock, or order. This object is available in API version 68.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Special Access Rules 

Available only in orgs with Consumer Goods Cloud or Retail Execution features enabled.

Fields 

AssortmentId 

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: The ID of the Assortment assigned to the location.

Relationship Name: Assortment

Refers To: Assortment

CurrencyIsoCode 

Type: picklist

Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The 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.

IsActive 

Type: boolean

Properties: Create, Defaulted on create, Filter, Group, Sort, Update

Description: Indicates whether this assortment-to-location assignment is currently active. The default value is false.

LastReferencedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

Description: The timestamp when the current user last accessed this record, a related record, or a list view.

LastViewedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

Description: The timestamp when the current user last viewed this record.

LocationId 

Type: reference

Properties: Create, Filter, Group, Sort

Description: The ID of the Location this assortment is assigned to.

Relationship Name: Location

Refers To: Location

Name 

Type: string

Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort

Description: The auto-generated name of the location assortment record.

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.