BeyondERP.Newsletter
Menu

Setup step on the Clean up registrations page · Time and attendance

Archive old raw registrations

Keep the raw registrations table small without losing documentation.

Business process
Record employee time
Menu item
JmgCleanupTermReg
Setup steps
1 on this page
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic job that removes old raw time and attendance registrations by moving them to an archive table, exporting them to a file, or deleting them.
What you do hereUse this job to keep the raw registrations table small, because accumulated registrations can slow the application down.
ExampleFor example, a company runs the job with a maximum age of 20 days so that older registrations are moved to the archive table.
Clean up registrations page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itWhen the raw registrations table has grown large enough to slow down the application, and only after registrations older than the maximum age are processed.
How oftenPeriodically, as Microsoft recommends; how often depends on how quickly raw registrations build up.
Batch settingsRun it as a recurring batch job outside working hours, with To table as the safest mode.
What the output showsOld raw registrations moved to the archive table, written to a file or deleted. Unprocessed registrations are never removed. If recent registrations disappear, Maximum age was set too low.

Source: Microsoft Learn

Setup steps on this page

Archive old raw registrations

Keep the raw registrations table small without losing documentation.

Steps from Microsoft

  1. Go to Time and attendance > Periodic tasks > Clean up registrations.
  2. In Cleanup mode, choose To table to move old registrations to the Raw registrations archive page, To file to move them to an external file, or Delete to remove them permanently.
  3. In Maximum age, enter the number of days of registrations to keep. For example, 20 cleans up every registration that is more than 20 days old.
  4. If you chose To file, enter or select a file name in File name.
  5. Run it, then open Raw registrations and Raw registrations archive to confirm that only registrations older than the maximum age were moved.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Cleanup modeTo table moves old registrations to Raw registrations archive, To file moves them to an external file, and Delete removes them permanently.Microsoft Learn To table
Maximum ageThe age in days above which registrations are cleaned up.Microsoft Learn 20
File nameThe file to export to when the mode is To file.Microsoft Learn

Common errors and fixes

MessageWhat to do
Old registrations are gone after the clean-upDelete mode removes registrations for good. Use To table so they stay on Raw registrations archive, and keep Delete for registrations you won't need as documentation. Microsoft Learn

Test checklist

  1. Raw registrations contains nothing older than the maximum age.
  2. With To table, the old registrations appear on Raw registrations archive.
  3. Unprocessed registrations are still in place.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Archive old raw registrationsA recurring batch run outside working hours in To table mode, with a maximum age longer than your longest correction window.Microsoft recommends cleaning up periodically; the job doesn't touch unprocessed data, and To table keeps the registrations readable.Which clean-up mode?Choosing Delete, so registrations needed later as documentation are gone.Test: Clean up after 20 days

Feature management and licence

Licence or add-inTime and attendance roles come from the security read in the Technical section. On this system access comes from duties such as Production supervisor. The Microsoft Learn article for this page names no Feature management feature to turn on.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: Time and attendance data is kept per legal entity (every Time and attendance entity in Data management is per company), so the job or report works on the registrations of the company it is run in. Microsoft Learn
Can it be undoneIrreversible: Delete can't be undone; To table keeps the registrations on Raw registrations archive.
If you change it laterThe job does not delete unprocessed data, but Delete mode removes registrations permanently, so make sure none are needed later as documentation. Microsoft Learn
Technical architect

6Technical

Menu itemJmgCleanupTermReg Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Roles to set it up and use itTo use itProduction supervisor ProdProductionSupervisorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=JmgCleanupTermReg
Data migrationLoad order: Clean up registrations has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a job; set up its batch recurrence in the new environment.Checked in Dynamics 365
Everyone

8Sources

To cite this step: TA-JOB-010, Archive old raw registrations. Beyond ERP Atlas Hub, 2026-11-11. https://www.beyonderp.cloud/atlas/step/TA-JOB-010