Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Duplicate Record Error

Posted on by 90

Good Day,

Thank you for your interest. I am receiving a repeated "Duplicate Record" error on HCM Common entity called Bank Account Disbursement. Below are some Error Details that provide some information on what's causing this. The Entity is very important and critical to the organization structure. Thank You again and Best Regards. Please see Attachment

Screenshot-2022_2D00_01_2D00_27-150530.png

Error: " 

"A record with these values already exists. A duplicate record cannot be created. Select one or more unique values and try again."

Error code: 0x80040237Session Id: d3acf07a-0915-4700-886c-d49a849df1e8Activity Id: 593cf1ce-c116-4b0b-a03e-d4d2f012b08bTime: Thu Jan 27 2022 14:57:56 GMT-0500 (Eastern Standard Time)

ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService

SqlExceptionMessage: Cannot insert duplicate key row in object 'dbo.cdm_bankaccountdisbursementBase' with unique index 'ndx_BankAccountDisbursement_AK1'. The duplicate key value is <redacted>.

  • Suggested answer
    Sunny21 Profile Picture
    Sunny21 90 on at
    RE: Duplicate Record Error

    Thank You Bipin.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Duplicate Record Error

    Hi,

    This is coming because you have a key defined against your entity. Navigate to make.powerapps.com ->Data->Tables->Select your Table->Keys-> Deactivate the keys

    CR76.PNG

    If you don't want to deactivate the key then make sure you are not entering the same data for new records.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,986 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,623 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans