ServiceAppointment Entity OptionSet Attribute Metadata
[Applies to: Microsoft Dynamics CRM 2011]
The service appointment 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 service appointment entity.
LogicalName | Type | OptionValue | OptionDescription |
---|---|---|---|
prioritycode |
Picklist |
0 |
Low |
Picklist |
1 |
Normal |
|
Picklist |
2 |
High |
|
statecode |
State |
0 |
Open |
State |
1 |
Closed |
|
State |
2 |
Canceled |
|
State |
3 |
Scheduled |
|
statuscode |
Status |
1 |
Requested |
Status |
2 |
Tentative |
|
Status |
3 |
Pending |
|
Status |
4 |
Reserved |
|
Status |
6 |
In Progress |
|
Status |
7 |
Arrived |
|
Status |
8 |
Completed |
|
Status |
9 |
Canceled |
|
Status |
10 |
No Show |
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 |
Requested |
1 |
Open |
0 |
Tentative |
2 |
Closed |
1 |
Completed |
8 |
Canceled |
2 |
Canceled |
9 |
Canceled |
2 |
No Show |
10 |
Scheduled |
3 |
Pending |
3 |
Scheduled |
3 |
Reserved |
4 |
Scheduled |
3 |
In Progress |
6 |
Scheduled |
3 |
Arrived |
7 |
See Also
Concepts
ServiceAppointment Entity Metadata
ServiceAppointment Entity Messages and Methods
ServiceAppointment (Service Activity) Entity Privileges
Other Resources
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.