Clean up old time and attendance registrations
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Registrations can accumulate in Microsoft Dynamics AX over time, and can reduce the performance of the application. Therefore, we recommend that you clean up old registrations periodically.
You can remove old registrations in the following ways:
You can delete them.
You can export them to a file.
You can transfer them to an archive table.
The clean-up function does not delete data that is not processed. Make sure that you do not delete registrations that may be required later for documentation purposes.
Clean up registrations
Click Human resources > Periodic > Time and attendance > Update > Clean up registrations.
Click Production control > Periodic > Clean up > Clean up registrations.
Click Production control > Inquiries > Registrations > Raw registrations archive. On the toolbar, click Clean up registrations.
In the Cleanup mode field, select how you want to handle the old registrations:
Select To table to move the registrations to another table in Microsoft Dynamics AX. The registrations are transferred to the Raw registrations archive form.
Select To file to move the registrations to an external file.
Select Delete to permanently delete the registrations.
In the Maximum age field, enter the maximum age, in days, of registrations that are kept in the raw registrations table. For example, if you enter the number 20, all registrations that are more than 20 days old are archived according to your selection in the Cleanup mode field.
If you select To file in the Cleanup mode field, enter a file name, or select an existing file, in the File name field.
View archived registrations for a worker
If you have transferred registrations to an archive table, you are still able to view them.
Click Production control > Inquiries > Registrations > Raw registrations.
Select the worker, and then click Archive.
Select the date for which you want to view archived registrations.
The following path shows another way to open the Raw registrations archive form. Click Production control > Inquiries > Registrations > Raw registrations archive.
About time and attendance registrations