BeyondERP.Newsletter
Menu

Setup step on the Cycle count plan cleanup page · Warehouse management

Clean cycle count plan batch history

Use this job to remove the batch history that recurring cycle count plans build up.

Used by
Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSCycleCountPlanCleanup
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, “Clean cycle count plan history”, 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 task that cleans up batch job history records related to cycle count plan configurations.
What you do hereUse this task to clear out the batch job history that cycle count plans build up.
ExampleFor example, BEAT runs 6 cycle count plans every night, so batch history grows by about 180 entries a month. A monthly run of this job cleans up that history.
Cycle count plan cleanup 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 warehouse operations
Menu pathWarehouse management › Periodic tasks › Clean up › Cycle count plan cleanup
Set up firstCycle count plans Microsoft Learn
Used next byBatch jobs Microsoft Learn
Related pagesCycle count scheduling Microsoft Learn
In this process Clean up the outbound queue · Keep mobile device activity logs for two weeks
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 batch history from recurring cycle count plans has built up.
How oftenRecurring, for example monthly when cycle count plans run often.
What the output showsRemoved batch history for cycle count plan runs.

Source: Microsoft Learn

Setup steps on this page

Clean cycle count plan batch history

Use this job to remove the batch history that recurring cycle count plans build up.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Cycle count plan cleanup.
  2. Run it to clean up batch job history records for cycle count plans.
  3. Consider it when cycle count plans run often in batch, because each run adds history.
  4. Afterwards, open the batch job history of the cycle count plan jobs to see that old entries are gone.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Run in the backgroundThe only FastTab of the dialog; the job has no retention parameter.Checked in Dynamics 365Monthly

Common errors and fixes

MessageWhat to do
A failed cycle count plan run has no history to readInvestigate failed plan runs before the monthly cleanup. Microsoft Learn

Test checklist

  1. Old cycle count plan batch history is gone.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Clean cycle count plan batch historyRun it monthly when cycle count plans run in batch every day.Each plan run adds batch history; the job has no retention setting, so run it after failed runs have been reviewed.How often is cycle count plan history cleaned?Running it straight after a failed plan run, before anyone has read its log.Test: Clean cycle count plan history

Feature management and licence

Licence or add-inWarehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 1 role can open this page, among them Warehouse planner.

Microsoft Learn

Solution architect

5Design impact

Can it be undoneIrreversible: Removed batch history can't be restored.
If you change it laterCleans up batch job history records related to cycle count plan configurations; the history of past cycle count plan runs is no longer available. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WHSCycleCountPlanCleanup Checked in Dynamics 365
Who can open it

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

  • RoleWarehouse plannerWHSWarehousePlanner
    • DutyMaintain warehouse planningWHSWarehousePlanningMaintain
      • PrivilegeMaintain cycle counting plan cleanupWHSCycleCountPlanCleanupProcess
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 itWarehouse planner WHSWarehousePlannerGive 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:WHSCycleCountPlanCleanup
Data migrationLoad order: Cycle count plan cleanup has no data entity in Data management, so it can't be loaded from a file or a configuration template. The job only deletes old records; there is nothing to migrate. Set up the same recurring job in the new environment.Microsoft Learn
Everyone

8Sources

To cite this step: WM-JOB-190, Clean cycle count plan batch history. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-190