Споделяне чрез


DuplicateRuleCondition entity messages and methods

 

Applies To: Dynamics CRM 2015

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, do not set the OperatorParam attribute to any value.

  2. Do not set the OperatorParam to zero during Create or Update operations.

See Also

Detect duplicate data
DuplicateRuleCondition entity privileges
DuplicateRecord entity messages and methods

© 2016 Microsoft. All rights reserved. Copyright