Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Violation of Primary Key Constraint

Posted on by 7,986

Good day,

I was running the Reconcile to GL >> Inventory report when the attached message came up. The Excel report generates but all transactions are appearing as unmatched, ran check links and reconcile but the message is still there.

SnipImage-_2800_1_2900_.JPG

Has anyone seen this and how was it resolved, thanks.

Regards

Rosemary

Categories:
  • rcr123 Profile Picture
    rcr123 7,986 on at
    RE: Violation of Primary Key Constraint

    Thank you will give this a try.

    Regards

  • rcr123 Profile Picture
    rcr123 7,986 on at
    RE: Violation of Primary Key Constraint

    Thank you for your response, the document is valid and dated 2-25-2023. If I run the Reconcile to GL >> Inventory for that period is goes through and exports successfully but all transactions are unmatched.

    Regards

  • Leng Papio Profile Picture
    Leng Papio 855 on at
    RE: Violation of Primary Key Constraint

    The table referenced in the error starts with ##. This is a temp table.

    Try clearing the Temp folder (Usually %temp%) or in C:\Windows\Temp

  • Hokuminaria Profile Picture
    Hokuminaria 2,950 on at
    RE: Violation of Primary Key Constraint

    Hey Rcr123,

    This error states you have a data issue with Document 388596. You will need to review that transaction and determine if there is an actual duplicate.

    There are a few Product issues with this process that can cause this error as well. However, to determine if the issue is a Product Issue, I would need to see the data. In order for me to review the data, you would need to create a support request for this.

    I hope this helps!

    Thank you!

    Brandon | Microsoft Support Engineer.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans