OpportunityClose Activity Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The OpportunityClose entity contains a number of attributes with the underlying type of OptionSetMetadata. This includes attributes of type Picklist, State, and Status. 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 OpportunityClose entity.

Logical name Type Option value Option description

statecode

State

0

Open

State

1

Completed

State

2

Canceled

statuscode

Status

1

Open

Status

2

Completed

Status

3

Canceled

Statecode to Statuscode Mapping

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

State State value Status Status value

Open

0

Open

1

Completed

1

Completed

2

Canceled

2

Canceled

3

See Also

Reference

PicklistAttributeMetadata
StateAttributeMetadata
StatusAttributeMetadata

Concepts

OpportunityClose Activity Entity Metadata
OpportunityClose Activity Entity Messages and Methods

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