---
schema_version: "1"
id: 9271c99f19f01bd45275d08a9e258e2e210ec43f3fe1a15fffceff47c159ccca
title: AssortmentSpec
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/advanced-orders-for-telesales/references/standard-objects/assortment-spec.md
canonical_url: https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/advanced-orders-for-telesales-objects/assortment-spec.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b82379f5193a546ab355427cc41ea8451ed3a29657aad090c790f531a8ca100f
products:
  - Advanced Orders for Telesales Developer Guide
  - Industries Developer Documentation
---
# AssortmentSpec

Defines a reusable template or specification for generating Assortment records — including the assortment type, usage type, and account-assignment rule — used by assortment planning and generation processes. 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

### AccountAssignment

**Type:** picklist

**Properties:** Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** Specifies how many accounts must be assigned when this specification is used. Possible values are ExactlyOne, No, OneOrMore, and ZeroOrMore.

### AssortmentType

**Type:** picklist

**Properties:** Create, Filter, Group, Restricted picklist, Sort, Update

**Description:** The category of assortment this specification generates. Possible values are AuthorizationList, CustomerSellingAssortment, LocationAuthorizationList, OrderSpecification, PlanningAssortment, and VisitSpecification.

### 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.

### Description

**Type:** textarea

**Properties:** Create, Filter, Nillable, Sort, Update

**Description:** A free-text description of the purpose of this assortment specification.

### InternalOrganizationUnitId

**Type:** reference

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The ID of the InternalOrganizationUnit record this specification applies to. This field is a relationship field.

**Relationship Name:** InternalOrganizationUnit

**Refers To:** InternalOrganizationUnit

### IsActive

**Type:** boolean

**Properties:** Create, Defaulted on create, Filter, Group, Sort, Update

**Description:** Indicates whether this specification is currently active and available for use. The default value is false.

### LastReferencedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** The timestamp for when the current user last accessed a record related to this specification.

### LastViewedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** The timestamp for when the current user last viewed this record.

### Name

**Type:** string

**Properties:** Create, Filter, Group, idLookup, Sort, Update

**Description:** The name of the assortment specification.

### OwnerId

**Type:** reference

**Properties:** Create, Defaulted on create, Filter, Group, Sort, Update

**Description:** The ID of the user or queue that owns this specification record. This field is a polymorphic relationship field.

**Relationship Name:** Owner

**Refers To:** Group, User

### UsageType

**Type:** picklist

**Properties:** Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

**Description:** Categorizes the usage context of this specification. The only possible value is Retail. The default value is Retail.

## 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.

- [AssortmentSpecChangeEvent](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/change-event.md): Change events are available for the object.
- [AssortmentSpecFeed](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/feed.md): Feed tracking is available for the object.
- [AssortmentSpecHistory](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/history.md): History is available for tracked fields of the object.
- [AssortmentSpecOwnerSharingRule](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/owner-sharing-rule.md): Sharing rules are available for the object.
- [AssortmentSpecShare](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/share.md): Sharing is available for the object.
