Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error importing Employee records

(0) ShareShare
ReportReport
Posted on by 11,625

Hi All,

I am trying to import Employee records and updating Financial dimensions for Employee, but when I am running import getting below error:

Results. Cannot edit a record in Employee detail (HcmEmploymentEmployee). 'Expiration' column cannot be updated in change tracking mode.

Please note that only financial dimension fields were updated, but it is giving above error regarding some dates field. Does anyone have any clue about this error and how to resolve this ?

Thanks,

  • Sadiq Syed Profile Picture
    10 on at
    RE: Error importing Employee records

    Thanks Baber,

    Looks like I was doing something wrong earlier, I am able to run the PATCH action to update employee data including dimensions.

    PATCH:

    [Based URL]/data/EmployeesV2(PersonnelNumber='000813',EmploymentLegalEntityId='USMF',EmploymentId='000000931')

    From the payload, I only had to remove Party and Name fields. I am even able to terminate the employee using this same entity.

  • Suggested answer
    syed baber Profile Picture
    11,625 on at
    RE: Error importing Employee records

    Sadiq,

    In order to update the Financial dimension for employee, we need to use the HcmEmployment entity. So first we need to import the employees using worker entity and then use the Employment entity to update the Financial dimension and start date for employees. This sequence should work.

    Let me know how it goes.

    Thanks,

    Baber.

  • Sadiq Syed Profile Picture
    10 on at
    RE: Error importing Employee records

    Hi Baber,

    Did you manage to address this issue?

  • syed baber Profile Picture
    11,625 on at
    RE: Error importing Employee records

    I was thinking of doing the same thing, but thought I would check first. Let me try this.

  • Suggested answer
    Junaid Idrees Profile Picture
    12,740 on at
    RE: Error importing Employee records

    Hi Baber,

    I found an old thread on same related issue, check that out please to get any hint. Check on LCS as well for any hotfix.

    community.dynamics.com/.../results-cannot-edit-a-record-in-worker-titles-hcmworkertitle-expiration-column-cannot-be-updated-in-change-tracking-mode

  • Verified answer
    Ramit Paul Profile Picture
    18,291 Moderator on at
    RE: Error importing Employee records

    Hi,

    Human Resource data entity has some restriction

    Best think to do is, just delete all the fields from the file and just keep your value what you want to update in the data entity with employed identification number such as personal number.

    Try to import.

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

Product updates

Dynamics 365 release plans