Letter Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The letter 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 letter entity.

LogicalName Type OptionValue OptionDescription

prioritycode

Picklist

0

Low

Picklist

1

Normal

Picklist

2

High

statecode

State

0

Open

State

1

Completed

State

2

Canceled

statuscode

Status

1

Open

Status

2

Draft

Status

3

Received

Status

4

Sent

Status

5

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

Open

0

Draft

2

Completed

1

Received

3

Completed

1

Sent

4

Canceled

2

Canceled

5

See Also

Concepts

Organization Entities
Organization Entity Metadata
Organization Entity Messages and Methods
Organization Entity Privileges

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