Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Duplicate Record Error

(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,961 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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans