DuplicateRuleCondition entity messages and methods

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

A duplicate rule condition represents matching criteria in the duplicate detection rule that is used to detect duplicate records in the system.

The schema name for this entity is DuplicateRuleCondition. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download. The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.

Message

Description

CreateRequest

Creates a duplicate rule condition. You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes a duplicate rule condition. You can also call the IOrganizationService.Delete method.

RetrieveRequest

Retrieves a duplicate rule condition. You can also call the IOrganizationService.Retrieve method.

RetrieveMultipleRequest

Retrieves a collection of duplicate rule conditions. You can also call the IOrganizationService.RetrieveMultiple method.

UpdateRequest

Updates a duplicate rule condition. You can also call the IOrganizationService.Update method.

Important

Prevent validation errors:

  1. If you set the OperatorCode attribute to ExactMatch, don’t set the OperatorParam attribute to any value.

  2. Don’t set the OperatorParam to zero during Create or Update operations.

See Also

Detect duplicate data
Privileges by entity
DuplicateRecord entity messages and methods

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright