Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

ESS Timesheets - error when approving, using HR Attendance

Posted on by 965

Hi, trying to get the Workflow working for a client upgrading to GP2015 R2 that is coming off Business Portal.  When a timecard is submitted, it works fine, but when Approved, we get a message "Violation of PRIMARY KEY constraint 'PKTATX0130.  Cannot insert duplicate key in object dbo.TATX0130. The duplicate key value is (ATTENDANCE    ,9036).  We looked in the TATX0130 table, and I do see records using Transaction number 9036, a also one with a Dex Row ID of 9036.  But since we were in test company, I tried clearing this table and re-submitting and Approve the Time Card again, and still get same results.   Also verified that the HR Attendance Next Transaction Number is set correctly.   Any suggestions?

*This post is locked for comments

  • Sherlene Sorenson Profile Picture
    Sherlene Sorenson 965 on at
    RE: ESS Timesheets - error when approving, using HR Attendance

    sorry, this was a duplicate response, and I can't delete it.

  • Verified answer
    Sherlene Sorenson Profile Picture
    Sherlene Sorenson 965 on at
    RE: ESS Timesheets - error when approving, using HR Attendance

    This was a very unusual situation. After much searching and involvement from Microsoft Support, we found that at some point in history, the customer had copied test to live company.  There were two records in TAST0130.  Once we deleted the incorrect record from that company, the approval and posting to PR Transaction Entry worked fine.

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