Skip to main content
Dynamics 365 general forum
Suggested answer

Duplicate Record Error

editSubscribe (0) ShareShare
ReportReport
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,934 Super User 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

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,208 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans