Export (0) Print
Expand All

Contact Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

 

Logical name Type Option value Option description

accountrolecode

Picklist

1

Decision Maker

Picklist

2

Employee

Picklist

3

Influencer

address1_addresstypecode

Picklist

1

Bill To

Picklist

2

Ship To

Picklist

3

Primary

Picklist

4

Other

address1_freighttermscode

Picklist

1

FOB

Picklist

2

No Charge

address1_shippingmethodcode

Picklist

1

Airborne

Picklist

2

DHL

Picklist

3

FedEx

Picklist

4

UPS

Picklist

5

Postal Mail

Picklist

6

Full Load

Picklist

7

Will Call

address2_addresstypecode

Picklist

1

Default Value

address2_freighttermscode

Picklist

1

Default Value

address2_shippingmethodcode

Picklist

1

Default Value

customersizecode

Picklist

1

Default Value

customertypecode

Picklist

1

Default Value

educationcode

Picklist

1

Default Value

familystatuscode

Picklist

1

Single

Picklist

2

Married

Picklist

3

Divorced

Picklist

4

Widowed

gendercode

Picklist

1

Male

Picklist

2

Female

haschildrencode

Picklist

1

Default Value

leadsourcecode

Picklist

1

Default Value

paymenttermscode

Picklist

1

Net 30

Picklist

2

2% 10, Net 30

Picklist

3

Net 45

Picklist

4

Net 60

preferredappointmentdaycode

Picklist

0

Sunday

Picklist

1

Monday

Picklist

2

Tuesday

Picklist

3

Wednesday

Picklist

4

Thursday

Picklist

5

Friday

Picklist

6

Saturday

preferredappointmenttimecode

Picklist

1

Morning

Picklist

2

Afternoon

Picklist

3

Evening

preferredcontactmethodcode

Picklist

1

Any

Picklist

2

E-mail

Picklist

3

Phone

Picklist

4

Fax

Picklist

5

Mail

shippingmethodcode

Picklist

1

Default Value

statecode

State

0

Active

State

1

Inactive

statuscode

Status

1

Active

Status

2

Inactive

territorycode

Picklist

1

Default Value

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

Active

1

Inactive

1

Inactive

2

See Also

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

Community Additions

Show:
© 2014 Microsoft