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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Getting error at the time of creating new Worker

(1) ShareShare
ReportReport
Posted on by 27
Hello,
 
When I try to create an employee getting the error message stating /Cannot create a record in Employment Id constraint (HcmEmploymentIdConstraint). The record already exists./
For reference, Iam using basic data such as First Name, Last Name, Employment start date. No duplicate employee I'm creating. 
The personal number is generating automatically every time.
If it is due to automatic generated number sequence, then please let me know How I could find that number sequence and change that to manual.
Thanks, advanced.
 
 
 
I have the same question (0)
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    It seems like it is a known issue, you can search in the LCS:
  • SG-30110029-0 Profile Picture
    27 on at
    Hi Judy,
     
    Thank you for the response.
     
    I gone through the number sequence work around and found this setup:
    I have tried in Personnel number sequence by doing +1 with the Number allocation "Next" but it did not work for me. Same error throwing. Even I have done the same setup with the Employment number sequence as below but issue remain same. 
     
    Could you please let me know whether am I doing anything wrong? Thanks again

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 92 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 79 Super User 2026 Season 1

#3
Sagar Suman Profile Picture

Sagar Suman 64 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans