You can use duplicate check rules to check if data doesn't already exist in D365 F&SCM.
Before you can set up a duplicate check rule, set up the duplicate check to be applied.
You can apply these types of duplicate checks:
Name | Responsible | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Set up duplicate check - Basic matching |
Data quality administrator |
Use a basic duplicate check to ensure that no (almost) similar records exist in a table. To set up a duplicate check rule you can use a duplicate check of type Basic matching. If the desired Basic matching duplicate check does not exist, set up a new Basic matching duplicate check. For each Basic matching duplicate check, define which combination of table fields is checked on duplicate values. So, the combination of field values must be unique in the table. Only one record can have this combination of field values.
|
|||||||||||||||||||||||||||||||||||
Set up dynamic queries |
Data quality administrator |
Use a dynamic query to find one or more records in the database. The found records are the input for further processing. You can use a dynamic query on:
To define a query range, you can use a function. |
|||||||||||||||||||||||||||||||||||
Set up phonetic search rules |
Data quality administrator |
On duplicate checks of type 'Fuzzy matching', you can apply phonetic search algorithms. You can use a phonetic search algorithm to check on duplicate names that sound similar, for example, John and Jon. To apply a phonetic search algorithm to a duplicate check, set up a phonetic search rule and link it to a field in a duplicate check. The supported phonetic search algorithm is Metaphone. You can apply these versions of the Metaphone algorithm:
Advanced setupYou are advised to start applying phonetic search with the basic setup, that is with the selected Phonetic search algorithm. Based on testing and experience, you can finetune the phonetic search rule setup by defining:
|
|||||||||||||||||||||||||||||||||||
Set up duplicate check - Fuzzy matching |
Data quality administrator |
Use a fuzzy duplicate check to ensure that no (almost) similar records exist in a table. To set up a fuzzy duplicate check rule, use a duplicate check of type Fuzzy matching. If the desired Fuzzy matching duplicate check does not exist, set up a new Fuzzy matching duplicate check. A Fuzzy matching duplicate check checks for duplicates applying fuzzy logic. A Fuzzy matching duplicate check compares, for a selected record, several field values with the values of the same fields of other records. Based on the comparison, a duplicate score is calculated. On the duplicate check, you define:
Example:Duplicate check on CustTable Threshold: 50%
Calculation examples:
|
|||||||||||||||||||||||||||||||||||
Synchronize phonetic search keys |
Data quality administrator |
A fuzzy duplicate check with phonetic search rules applied, uses phonetic search keys to search for possible duplicate values. For better performance of duplicate checks, the phonetic search keys for existing data must be generated and synchronized regularly. The synchronized phonetic search keys are stored in the DQSPhoneticKey table. To have up-to-date phonetic search keys, you are advised to synchronize the phonetic search keys several times per day. Regular synchronization of phonetic search keys is required due to:
On synchronization, phonetic search keys are created for:
The phonetic search keys are created considering the setup of the applicable phonetic search rule:
|