BeyondERP.Newsletter
Menu

Setup step on the Archive future registrations page · Production control

Remove future-dated registrations

Stop wrong clock-in and clock-out types caused by registrations dated in the future.

Used by
Production supervisor
Business process
Manage data
Menu item
action:JmgArchiveFutureRegistrationsPC
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Future clock-out is removed”, to confirm this setup in your own test environment.
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 cleanup routine that removes clock-in and clock-out registrations with a future timestamp from the raw registrations table.
What you do hereUse this page, ideally as a batch job that runs every 24 hours, to remove faulty future-dated registrations that would otherwise make the system treat a worker's next clock-out as a clock-in.
ExampleFor example, if a supervisor registers a clock-out for Wednesday 16:00 by mistake on Tuesday, the worker's real clock-out at 16:05 on Wednesday is recorded as a clock-in unless the future registration is removed first.
Archive future 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

Business processManage data
Menu pathProduction control › Periodic tasks › Clean up › Archive future registrations
Set up firstRaw registrations Microsoft Learn
Used next byProduction floor execution Microsoft Learn
Related pagesClean up registrations Microsoft Learn Raw registrations archive Microsoft Learn
In this process Clean up processed registrations · Look up archived registrations
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 faulty future-dated registrations exist, which make the system treat a worker's next clock-out as a clock-in.
How oftenOnce every 24 hours as a batch job, as Microsoft recommends.
Batch settingsSchedule it as a batch job that runs once every 24 hours.
What the output showsRegistrations with a future timestamp are removed from the raw registrations table. If a worker still gets the wrong clock-in or clock-out message, another faulty registration was created after the last run.

Source: Microsoft Learn

Setup steps on this page

Remove future-dated registrations

Stop wrong clock-in and clock-out types caused by registrations dated in the future.

Steps from Microsoft

  1. Go to Production control > Periodic tasks > Clean up > Archive future registrations.
  2. Use it to remove clock-in and clock-out registrations with a future timestamp, for example a clock-out a supervisor created for tomorrow with the Missing clock-out function.
  3. Set it up as a batch job that runs regularly, such as once every 24 hours, as Microsoft recommends.
  4. Afterwards, confirm that workers' next clock-in and clock-out are registered as the right type again.

Source: Microsoft Learn

Common errors and fixes

MessageWhat to do
A worker's clock-out is registered as a clock-inA registration with a future timestamp exists, for example from Missing clock-out. Run Archive future registrations, and keep it as a batch job every 24 hours. Microsoft Learn

Test checklist

  1. No raw registrations with a future timestamp remain.
  2. A worker's next clock-out is registered as a clock-out.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Remove future-dated registrationsA batch job that runs once every 24 hours, as Learn recommends.The application decides clock-in or clock-out from the most recent registration, so one future-dated registration flips every following one.How often should future registrations be archived?Running it only after workers complain; until then each clock-in and clock-out is recorded as the wrong type.Test: Future clock-out is removed

Feature management and licence

Licence or add-inOn this system 1 role can run this page, among them Production supervisor. No Feature management feature needs to be turned on for this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: it removes the future-dated registrations of the legal entity you run it in. Microsoft Learn
Can it be undoneHard to reverse: Removed registrations must be entered again if they were right.
If you change it laterRemoves registrations with a future timestamp from the raw registrations table, so the next clock-in or clock-out is registered as the correct type. Microsoft Learn
Technical architect

6Technical

Menu itemaction:JmgArchiveFutureRegistrationsPC Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

1 security role. Select a role to see its duties and privileges.

  • RoleProduction supervisorProdProductionSupervisor
    • DutyMaintain job correctionsJmgJobCorrectionsMaintain
      • PrivilegeArchive future registrationsJmgArchiveFutureRegistrations
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
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=action:JmgArchiveFutureRegistrationsPC
Data migrationLoad order: Archive future registrations has no data entity in Data management, because it is a periodic job that changes records that already exist. There is nothing to migrate; set up the 24-hour batch job in the target environment.Checked in Dynamics 365
Everyone

8Sources

To cite this step: PC-RPER-210, Remove future-dated registrations. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PC-RPER-210