Symptom
Running the Account creation calendar shows error in results file for some users "You cannot change or create a Time Account before the user's retention period."
Environment
Employee Central, Time Off
DRTM
Reproducing the Issue
-
In Manage Time Off Calendars > Select New calendar
- Run time account creation Scenario for any time account type
- Result is "Finished with errors"
- In the results file, multiple users show the above error.
Cause
The DRTM purge time info object has been run in the instance
To check the details of the purge job, go to Admin Center > Purge Request Monitor > Approved requests > find the successful job for "DRTM Time Management"and download the results file.
Here you will see the retention period start date set for each employee and the run date - which in this case was one month after the start date it was run.
For example, start date for users is the 1.06.2018, and run date was the 1.07.2018.
The DRTM was previously set up to run after one month - but configuration has since been removed.
You can check this in Manage data > DRTM Time info Purge object > open any object - Retention time configuration is defined here - it may have since been removed
To see the retention periods of the users, you can also check in Manage Data > Time management Employee Parameters > User ID
Here you will find any users who have a retention period define.
Resolution
To revert this purge of time info, if you want to be able to run time off calendar for a time before the retention period set, you need to delete these Time management Employee Parameters.
To do this go to Import and Export Data > Export > Time management Employee Parameters
Reimport with DELETE operator
Then run the account creation calendar again.
Keywords
You cannot change or create a Time Account before the user's retention period, retention period, how is retention period configured , KBA , LOD-SF-EC-TIM , Time Off , Problem