BeyondERP.Newsletter
Menu

Setup step on the Wave processing temporary work line cleanup page · Warehouse management

Schedule the temporary work line cleanup

Use this job to remove temporary work lines left by wave processing.

Used by
Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSTmpWorkLineCleanup
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 the temporary work line cleanup”, 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 the temporary work line records that wave processing creates. Its dialog has no parameters, only Run in the background.
What you do hereUse this task to clear temporary work lines (table WHSTmpWorkLine) that wave processing leaves behind, so the table doesn't keep growing.
ExampleFor example, BEAT schedules the job every night at 02:00, after the last wave of the day, so temporary work lines from the 150 daily waves don't build up.
Wave processing temporary work line 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 › Wave processing temporary work line cleanup
Set up firstProcess waves Microsoft Learn
Used next byBatch jobs Microsoft Learn
Related pagesWave batch cleanup Microsoft Learn
In this process Clean up the inbound queue · Clean up the outbound queue
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 wave processing for the day is finished.
How oftenNightly or weekly, depending on wave volume.
What the output showsTemporary work lines left from wave processing are removed.

Source: Microsoft Learn

Setup steps on this page

Schedule the temporary work line cleanup

Use this job to remove temporary work lines left by wave processing.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Wave processing temporary work line cleanup.
  2. The dialog has no parameters; open Run in the background and set Batch processing to Yes.
  3. Set a recurrence outside wave processing hours, for example nightly.
  4. Select OK, and check the job's history on the Batch jobs page after the first run.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Run in the backgroundThe only FastTab of the dialog: batch processing and recurrence.Checked in Dynamics 365Nightly at 02:00

Common errors and fixes

MessageWhat to do
A wave that was processing during the run behaves unexpectedlyRun the cleanup only when no wave is being processed, for example nightly after the last wave. Microsoft Learn

Test checklist

  1. Process a wave in a test company.
  2. Run the job.
  3. Open the batch job history and check that it ended without errors.
  4. Process a new wave and check that work is created as usual.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule the temporary work line cleanupSchedule it nightly after the last wave, in a batch group that doesn't overlap wave processing.The dialog has no retention setting, so timing is the only control.When does the temporary work line cleanup run?Running it during the picking shift while waves are processing.Test: Run the temporary work line cleanup

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

Shared or per companyPer company: temporary work lines belong to the legal entity whose waves created them. Microsoft data model
Can it be undoneIrreversible: Deleted temporary work lines can't be restored.
If you change it laterDeletes temporary work line records (WHSTmpWorkLine) created during wave processing. Microsoft's guidance for every cleanup routine applies: test it in a test environment and run it only when the data is no longer required. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WHSTmpWorkLineCleanup 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
      • PrivilegePerform wave processing temporary work line cleanupWHSTmpWorkLineCleanup
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:WHSTmpWorkLineCleanup
Data migrationLoad order: Wave processing temporary work line 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-180, Schedule the temporary work line cleanup. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-180