Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
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,962 Moderator 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans