Skip to main content

Notifications

Announcements

No record found.

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.
 
 
 
  • SG-30110029-0 Profile Picture
    27 on at
    Getting error at the time of creating new Worker
    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
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Getting error at the time of creating new Worker
    It seems like it is a known issue, you can search in the LCS:

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,238 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans