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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

ESS Timesheets - error when approving, using HR Attendance

(0) ShareShare
ReportReport
Posted on by 967

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

I have the same question (0)
  • Verified answer
    Sherlene Sorenson Profile Picture
    967 on at

    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.

  • Sherlene Sorenson Profile Picture
    967 on at

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans