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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Termination - error with valid dates

(1) ShareShare
ReportReport
Posted on by 128

Hello, community,

where should I check the valid dates for termination? 

What dates is the system checking when I want to terminate the worker?

pastedimage1670244857598v1.png

Is there any way how to debug the messages? How get more information from the messages?

I have the same question (0)
  • Suggested answer
    MRickards Profile Picture
    119 on at

    Hello Mantas,

    You should be able to choose the same dates here as typically these are indeed the same dates, what about trying to change the times so they are not equal? Maybe changing the time of Last day worked to when the employee's shift ended and then making the termination time right after their shift was over? Example 4PM last day worked, termination time 5PM same day. That way it is still the same day, but the time being different and changed may fix this error.

    Hope this helps!

  • MÅ -19021417-0 Profile Picture
    128 on at

    Hi   ,

    just tried your hypothesis and get the result:

    because we're using the personnel actions, after I want to complete the actions, I get the same error.
    pastedimage1670319077508v1.png
    pastedimage1670319118592v2.png
    I don't get it, maybe there are some dates with the employee card? All employees were uploaded with Data management.

  • Suggested answer
    MRickards Profile Picture
    119 on at

    I looked some more into this, and it looks like it needs to be debugged. Please see this post below with the same issue.

    community.dynamics.com/.../stack-trace-invalid-range-is-specified-in-validtimestate-date1-is-greater-than-date2

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Mantas,

    What is the employment start date and end date for this worker?

    Also, make sure the termination date is greater than the employment start date.

  • MÅ -19021417-0 Profile Picture
    128 on at

    Hi Parag Chapre ,

    the termination date is greater than the employment start date (employment start date 2021-01-04 00:00:00)

    The employment end date is not set. Do I need to set the employment end date first, and then initiate Terminate operation?

  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi,

    please give it a try.

  • MÅ -19021417-0 Profile Picture
    128 on at

    The result is the same.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 797

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans