Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Cannot insert duplicate key in object 'dbo.UPR10207'

Posted on by 1,817

Hello,

Good afternoon. I have two customers that receive the above error when Building Payroll checks in GP 2010.

The build of the checks proceeds normally and the calculation process works just fine. The paychecks that print for the employees are OK and everything posts succesfully.

I cannot find this issue on PartnerSource. I have recreated the table and verified that there are no records stuck in the tables from previous check runs. I have also removed temporary files on the user's workstations but nothing works.

Any ideas or suggestions will be greatly appreciated.

Thanks,

David

*This post is locked for comments

  • Catherine L. Profile Picture
    Catherine L. 2,010 on at
    RE: Cannot insert duplicate key in object 'dbo.UPR10207'

    Thanks David. It turned out a worker's code was missing, so we updated that value. Then, had to clear out the payroll work tables and run Check Links to recreate unposted batches. The issue was cleared from there.

    Thanks for your help.

  • Suggested answer
    David Layten Profile Picture
    David Layten 1,817 on at
    RE: Cannot insert duplicate key in object 'dbo.UPR10207'

    Catherine,

    It has been awhile but on one of my customers, I determined by looking at the UPR10207 table that one of the Local Tax Records did not have a correct value in their Filing Status. After fixing the one employee that had this issue the problem does not occur again.

    Since the UPR10203 table is for Pay Codes, I would assume that maybe there is a problem with one of the Pay Code records in the UPR00400 table. In our case, the error message that we got would discuss the Employee ID with the error.

    I hope that this might help.

    David

  • Catherine L. Profile Picture
    Catherine L. 2,010 on at
    RE: Cannot insert duplicate key in object 'dbo.UPR10207'

    Hi David,

    Working with a customer with a similar issue except with table 10203. What ended up being your resolution. Thank you.

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

Featured topics

Product updates

Dynamics 365 release plans