Quote Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The quote entity contains a number of attributes with the underlying type of OptionSetMetadata. This includes attributes of type PicklistAttributeMetadata, StateAttributeMetadata, and StatusAttributeMetadata. This topic shows the values for these attributes in a default, uncustomized installation of Microsoft Dynamics CRM. For information on how to generate and use enumerations for these values in your code, see Helper Code: Enumerations for Option Sets.

OptionSet Values

The following table lists the attributes and option set values for the quote entity.

LogicalName Type OptionValue OptionDescription

statecode

State

0

Draft

State

1

Active

State

2

Won

State

3

Closed

statuscode

Status

1

In Progress

Status

2

In Progress

Status

3

Open

Status

4

Won

Status

5

Lost

Status

6

Canceled

Status

7

Revised

Statecode to Statuscode Mapping

The following table shows the mapping between the default statecode and statuscode picklist values.

State State value Status Status value

Draft

0

In Progress

1

Active

1

In Progress

2

Active

1

Open

3

Won

2

Won

4

Closed

3

Lost

5

Closed

3

Canceled

6

Closed

3

Revised

7

See Also

Concepts

Quote, Order and Invoice Entities
Quote Entity Metadata
Quote Entity Messages and Methods
Quote Entity Privileges

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.