DuplicateRule Entity OptionSet Attribute Metadata
[Applies to: Microsoft Dynamics CRM 2011]
The duplicate rule 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 duplicate rule entity.
LogicalName | Type | OptionValue | OptionDescription |
---|---|---|---|
baseentitytypecode |
Picklist |
0 |
Default Value |
matchingentitytypecode |
Picklist |
0 |
Default Value |
statecode |
State |
0 |
Inactive |
State |
1 |
Active |
|
statuscode |
Status |
0 |
Unpublished |
Status |
1 |
Publishing |
|
Status |
2 |
Published |
Statecode to Statuscode Mapping
The following table shows the mapping between the default statecode and statuscode picklist values.
State |
State value |
Status |
Status value |
Inactive |
0 |
Unpublished |
0 |
Inactive |
0 |
Publishing |
1 |
Active |
1 |
Published |
2 |
See Also
Concepts
DuplicateRule Entity Metadata
DuplicateRule Entity Messages and Methods
DuplicateRule (Duplicate Detection Rule) Entity Privileges
Other Resources
Detect Duplicate Data in Microsoft Dynamics CRM
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.