Account Entity OptionSet Attribute Metadata
The account 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 account entity.
| Logical name | Type | Option value | Option description |
|---|---|---|---|
|
accountcategorycode |
Picklist |
1 |
Preferred Customer |
|
|
Picklist |
2 |
Standard |
|
accountclassificationcode |
Picklist |
1 |
Default Value |
|
accountratingcode |
Picklist |
1 |
Default Value |
|
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 |
|
businesstypecode |
Picklist |
1 |
Default Value |
|
customersizecode |
Picklist |
1 |
Default Value |
|
customertypecode |
Picklist |
1 |
Competitor |
|
|
Picklist |
2 |
Consultant |
|
|
Picklist |
3 |
Customer |
|
|
Picklist |
4 |
Investor |
|
|
Picklist |
5 |
Partner |
|
|
Picklist |
6 |
Influencer |
|
|
Picklist |
7 |
Press |
|
|
Picklist |
8 |
Prospect |
|
|
Picklist |
9 |
Reseller |
|
|
Picklist |
10 |
Supplier |
|
|
Picklist |
11 |
Vendor |
|
|
Picklist |
12 |
Other |
|
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 |
|
ownershipcode |
Picklist |
1 |
Public |
|
|
Picklist |
2 |
Private |
|
|
Picklist |
3 |
Subsidiary |
|
|
Picklist |
4 |
Other |
|
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 |
|
|
|
Picklist |
3 |
Phone |
|
|
Picklist |
4 |
Fax |
|
|
Picklist |
5 |
|
|
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 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2012 Microsoft Corporation. All rights reserved.