Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Campaign Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The campaign entity contains a number of attributes that have the underlying type of OptionSetMetadata. They include 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 about 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 campaign entity.

 

Logical name Type Option value Option description

statecode

State

0

Active

State

1

Inactive

statuscode

Status

0

Proposed

Status

1

Ready To Launch

Status

2

Launched

Status

3

Completed

Status

4

Canceled

Status

5

Suspended

Status

6

Inactive

typecode

Picklist

1

Advertisement

Picklist

2

Direct Marketing

Picklist

3

Event

Picklist

4

Co-branding

Picklist

5

Other

Statecode to Statuscode Mapping

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

 

State State value Status Status value

Active

0

Proposed

0

Active

0

Ready To Launch

1

Active

0

Launched

2

Active

0

Completed

3

Active

0

Canceled

4

Active

0

Suspended

5

Inactive

1

Inactive

6

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.