How to prevent to creating duplicate records in case entity.
How to prevent to creating duplicate records in case entity.
Add a JS or a plugin which will show error to the users before saving the record. You can customize the logic using the code. And the best part is that you can force user to avoid duplication which will be more efficient.
Thank You,
Amit Katariya
Hi,
Please create alternate Key on required field.
https://neilparkhurst.com/2017/05/25/mb2-716-microsoft-dynamics-365-customization-and-configuration-alternate-keys/
if you have custom logic to define the duplicate records then you Write Plugin on create of case entity to validate the case records as described below:
https://carldesouza.com/dynamics-365-raise-error-plugin/
You can also, you Duplicate detection rules to prompt user before saving records.
https://www.marksgroup.net/blog/dynamics-365-duplicate-detection-rules/
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,554 Super User 2024 Season 2
Martin Dráb 228,588 Most Valuable Professional
nmaenpaa 101,148