BeyondERP.Newsletter
Menu

Setup step on the Deactivate past workers page · Production control

Deactivate workers who have left

Keep former workers out of time and attendance calculation and approval.

Used by
Production supervisor
Business process
Configure Dynamics 365 Human Resources for labor tracking in production with Dynamics 365 Supply Chain Management
Menu item
action:JmgDeactivatePastWorkers
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, “Run in a copy and check the result”, 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 job that marks workers who are no longer active so that they are left out of time and attendance calculations and approvals.
What you do hereUse this page, normally as a batch job, to stop information about former workers from being included when registrations are calculated and approved.
ExampleFor example, 14 BEAT operators leave at the end of the season on 31 October. A weekly batch of Deactivate past workers runs on Sunday, so they no longer appear when the supervisor calculates and approves registrations on Monday.
Deactivate past workers 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 itAfter workers' employment ends, so their information is left out of time and attendance calculations and approvals.
How oftenRegularly as a batch job, or after a group of terminations.
Batch settingsSet it up as a recurring batch job so workers whose employment ended are deactivated automatically.
What the output showsFormer workers marked as inactive in time and attendance. A former worker still shown in calculation or approval usually has employment that hasn't ended yet.

Source: Microsoft Learn

Setup steps on this page

Deactivate workers who have left

Keep former workers out of time and attendance calculation and approval.

Steps from Microsoft

  1. Go to Production control > Periodic tasks > Manufacturing execution > Deactivate past workers.
  2. Use it for workers who are no longer active, for example after their employment is terminated.
  3. Enter settings for the batch job if it should run regularly, so new leavers are picked up automatically.
  4. Afterwards, run calculation and approval for registrations and confirm former workers no longer appear.

Source: Microsoft Learn

Common errors and fixes

MessageWhat to do
A former worker still appears in calculation and approvalThe worker's employment hasn't ended yet. End the employment, then run Deactivate past workers again. Microsoft Learn

Test checklist

  1. End the employment of worker BEAT-0099.
  2. Run Deactivate past workers.
  3. Calculate registrations for the worker's group.
  4. Check that BEAT-0099 isn't in the calculation or approval list.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Deactivate workers who have leftA recurring weekly batch job, so leavers are deactivated without manual work.Learn describes the job for workers whose employment ended, so their data isn't included in calculation and approval.How should leavers be deactivated?Running it only once at go-live; leavers then keep appearing in every approval.Test: Run in a copy and check the result

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 deactivates time registration workers of the legal entity you run it in. Microsoft Learn
Can it be undoneReversible with effort: Set the worker up again if rehired.
If you change it laterDeactivated workers are excluded from time and attendance calculations and approvals from then on. Microsoft Learn
Technical architect

6Technical

Menu itemaction:JmgDeactivatePastWorkers 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 calculationsJmgJobCalculationMaintain
      • PrivilegeDeactivate past workersJmgDeactivatePastWorkers
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:JmgDeactivatePastWorkers
Data migrationLoad order: Deactivate past workers has no data entity in Data management, because it is a periodic job that changes records that already exist. Migrate only active workers; run the job after the load.Checked in Dynamics 365
Everyone

8Sources

To cite this step: PC-RPER-300, Deactivate workers who have left. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PC-RPER-300