Lead Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

LogicalName Type OptionValue OptionDescription

address1_addresstypecode

Picklist

1

Default Value

address1_shippingmethodcode

Picklist

1

Default Value

address2_addresstypecode

Picklist

1

Default Value

address2_shippingmethodcode

Picklist

1

Default Value

budgetstatus

Picklist

0

No Committed Budget

Picklist

1

May Buy

Picklist

2

Can Buy

Picklist

3

Will Buy

industrycode

Picklist

1

Accounting

Picklist

2

Agriculture and Non-petrol Natural Resource Extraction

Picklist

3

Broadcasting Printing and Publishing

Picklist

4

Brokers

Picklist

5

Building Supply Retail

Picklist

6

Business Services

Picklist

7

Consulting

Picklist

8

Consumer Services

Picklist

9

Design, Direction and Creative Management

Picklist

10

Distributors, Dispatchers and Processors

Picklist

11

Doctor's Offices and Clinics

Picklist

12

Durable Manufacturing

Picklist

13

Eating and Drinking Places

Picklist

14

Entertainment Retail

Picklist

15

Equipment Rental and Leasing

Picklist

16

Financial

Picklist

17

Food and Tobacco Processing

Picklist

18

Inbound Capital Intensive Processing

Picklist

19

Inbound Repair and Services

Picklist

20

Insurance

Picklist

21

Legal Services

Picklist

22

Non-Durable Merchandise Retail

Picklist

23

Outbound Consumer Service

Picklist

24

Petrochemical Extraction and Distribution

Picklist

25

Service Retail

Picklist

26

SIG Affiliations

Picklist

27

Social Services

Picklist

28

Special Outbound Trade Contractors

Picklist

29

Specialty Realty

Picklist

30

Transportation

Picklist

31

Utility Creation and Distribution

Picklist

32

Vehicle Retail

Picklist

33

Wholesale

initialcommunication

Picklist

0

Contacted

Picklist

1

Not Contacted

leadqualitycode

Picklist

1

Hot

Picklist

2

Warm

Picklist

3

Cold

Picklist

1

Advertisement

Picklist

2

Employee Referral

Picklist

3

External Referral

Picklist

4

Partner

Picklist

5

Public Relations

Picklist

6

Seminar

Picklist

7

Trade Show

Picklist

8

Web

Picklist

9

Word of Mouth

Picklist

10

Other

need

Picklist

0

Must have

Picklist

1

Should have

Picklist

2

Good to have

Picklist

3

No need

preferredcontactmethodcode

Picklist

1

Any

Picklist

2

E-mail

Picklist

3

Phone

Picklist

4

Fax

Picklist

5

Mail

prioritycode

Picklist

1

Default Value

purchaseprocess

Picklist

0

Individual

Picklist

1

Committee

Picklist

2

Unknown

purchasetimeframe

Picklist

0

Immediate

Picklist

1

This Quarter

Picklist

2

Next Quarter

Picklist

3

This Year

Picklist

4

Unknown

salesstage

Picklist

0

Qualify

salesstagecode

Picklist

1

Default Value

statecode

State

0

Open

State

1

Qualified

State

2

Disqualified

statuscode

Status

1

New

Status

2

Contacted

Status

3

Qualified

Status

4

Lost

Status

5

Cannot Contact

Status

6

No Longer Interested

Status

7

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

New

1

Open

0

Contacted

2

Qualified

1

Qualified

3

Disqualified

2

Lost

4

Disqualified

2

Cannot Contact

5

Disqualified

2

No Longer Interested

6

Disqualified

2

Canceled

7

See Also

Concepts

Lead Entity
Lead Entity Metadata
Lead Entity Messages and Methods
Lead Entity Privileges

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