web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Save operation on syEmailDetails has created a duplicate key

(0) ShareShare
ReportReport
Posted on by

GP2016 R2.  Get the following message when selecting an Invoice document through receivables Inquiry, click on Email info button to get to the Sales E-mail  Detail Inquiry Zoom window and hit OK and get "A save operation on table 'syEmailDetails' has created a duplicate key.'  The more info indicates that it is a violation of the Primary Key constraint 'PKSY04910' and the duplicate key value is (0,11,3, )  Since the key is made up of the following columns, (Dictionary ID, Module1, DOCTYPE, and Doc Number)  I see that it is trying to in fact duplicate a record that already exists however, I am not sure why it would be trying to put a record in with a blank doc number when the document number is clearly set on the screen, and why one would already exist is also a mystery since it is the only one with a blank doc number in the table.  I have run into this previously and simply removed the record from the SY04910 table that had a blank document, but it keeps coming back and I keep running into the duplicate key issue.  Any info on what could be causing the issue?

Keith Schimke - EIS

*This post is locked for comments

I have the same question (0)
  • Syrus Profile Picture
    4,156 on at
    RE: Save operation on syEmailDetails has created a duplicate key

    I see this error sometime when GP is acting slow and timing out but it looks that you found it a duplicate record. Though I don't see any impact on the record

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans