Duplicate Check not working after Saving CR
We are implementing MDG-C and have configured standard duplicate check for MDG7.1 SP05
Issue we are facing is when we are creating new customer and doing "Check" (before saving CR), system is showing us list of possible duplicates with field details. But when we are creating customer and saving the CR and thereafter if we press "Check", system is just giving message that there are potential duplicates for xxx CR .There is no pop up screen showing the details.
Please suggest how can we see complete details of all possible records at ANY Step of CR?
Avinash Bolisetty replied
I agree with Sanjay. May be I can explain how this works further.
As a part of check cycle, duplicate check would be triggered, provided all the configurations are correct. (Duplicate check configurations for data model and CR Type's Step level configurations)
Check cycle could be triggered explicitly by clicking on the check button or it'll be called implicitly on submission. In your second case, it'd be getting triggered implicitly. Which means, duplicate check is already being performed before the submission takes place. You should already get the pop-up before the submission is completed. If not, its a bug. You might have to search for a note.
In the duplicate check framework, cl_usmd_duplicate_check->duplicate_check method, each time it is executed, it'll store the search criteria and the corresponding search results the search provider has given. For a given search criteria, in one session, duplicate check pop-up will be shown only ONCE. From the next time, all that is shown is the warning message.
If you want to see the pop-up again you will have to open the corresponding CR again or change the search criteria.
Further, if you set the configuration at CR step level to 'Always Executed', even the approver can see the duplicate check pop-up without editing any data.
Hope this helps. Please let me know in case you have further queries here.
Thanks and Regards,