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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Duplicate Key error on employee

(1) ShareShare
ReportReport
Posted on by 62

We have created a new Facility, assigning new employee IDs to existing employees we have moved over from another Facility. Most of the employee data has been imported from tables but there are a few remaining details such as the licenses that need to be input. When attempting to do so the following error populates:

"A Save operation on table 'CLM_License_MSTR' has created a duplicate key"

In looking at that table the license number is there but only under the "old" employee ID. How might we successfully save under the new employee/Facility? Is it an issue because the "old" employee ID is still active?

Categories:
I have the same question (0)
  • Anrini Profile Picture
    on at
  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    Hi Renee,

    When you say "created a new Facility" what do you mean with that ?

    Did you created a new GP Company with GP Utilities ? or did you create a whole new SQL instance to re-install GP ? Or is this within the same GP company ?

    When you say "moved over Employees from another Facility", how did you do that ?

    Did you run any SQL scripts to alter data from the back-end of GP's tables or was everything done from the front-end ?

    I believe that the table you're looking for is this one here : https://gptables.azurecurve.co.uk/products/certification-manager-4933/payroll/clm-license-master-clm00200/

  • reneeb Profile Picture
    62 on at

    Hi Beat,

    We created a new facility/entity (MEM/Binary Stream) within the same company DB. I believe the employee data was than imported via smartconnect thru multiple excel files.

    yes CLM00200 is where is was able to find the license record associated to the initial employee ID, but no records listed under the new employee ID so I'm unclear why the Duplicate key error is occurring as it should create under a new row in the table.

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    Thank you Renee for confirming the details.

    At this point I'd open a support ticket with eOne and/or Binary Stream, as I'm not conviced that importing data thru eConnect/SmartConnect works well with Binary Stream's MEM product.

    The product is known to be very particular when it comes to handle new entities and if you do so by importing data thru the backdoor that is non-MEM aware, you may just cause other problems.

    I don't work/use the MEM product, so I can't speak for the details.. but that's my experience from past discussions with others that have used it.

  • reneeb Profile Picture
    62 on at

    I have reached out to eOne, awaiting response. My dilemma is that even if we attempt to input the license data directly on the employee within GP that error still populates having taken Smartconnect out of the equation.

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    If you have taken SmartConnect out of the equation, then the issue remains by MEM and at this point you'd need to reach out to BinaryStream.

  • reneeb Profile Picture
    62 on at

    I have disabled MEM (Binary stream) in the customization window and attempted to input the license number on the employee license entry window again still receiving the error

  • Cheryl Waswick Profile Picture
    on at

    This thread was resolved through a support case.  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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans