StoreAssortment

Represents the assignment of an assortment to a specific retail store, account, or retail location group, defining the active date range and how the assignment was made (automated or direct). Used by Consumer Goods Cloud retail execution to determine which product assortment applies at a given store. 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 Consumer Goods Cloud or Retail Execution features enabled.

Fields 

AccountId 

Type: reference

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The account (store or retail customer) that this assortment assignment applies to. This field is a relationship field.

Relationship Name: Account

Refers To: Account

AssignmentType 

Type: picklist

Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: Indicates how the assortment was assigned to the store. Possible values are AutomatedAssignment—Automated Assignment and DirectAssignment—Direct Assignment.

AssortmentId 

Type: reference

Properties: Create, Filter, Group, Sort

Description: The assortment being assigned to the store. This field is a relationship field. It’s the master in a master-detail relationship.

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 used in any currency amount fields on 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.

EndDate 

Type: date

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The date this assortment assignment ends being active at the store.

LastReferencedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

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

LastViewedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

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

Name 

Type: string

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

Description: The auto-generated name (record identifier) of this store assortment assignment.

RetailLocationGroupId 

Type: reference

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The retail location group that this assortment assignment applies to. This field is a relationship field.

Relationship Name: RetailLocationGroup

Refers To: RetailLocationGroup

RetailStoreId 

Type: reference

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The retail store that this assortment assignment applies to. This field is a relationship field.

Relationship Name: RetailStore

Refers To: RetailStore

StartDate 

Type: date

Properties: Create, Filter, Group, Sort, Update

Description: The date this assortment assignment starts being active at the store.

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.