BeyondERP.Newsletter
Menu

Setup step on the Containerization history cleanup page · Warehouse management

Remove containerization history after troubleshooting

Use this job to delete containerization history once it is no longer needed.

Used by
Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSContainerizationHistoryPurge
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 containerization 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 deletes containerization history records.
What you do hereUse this task to delete containerization history older than the number of days you choose to keep.
ExampleFor example, BEAT turned on the containerization history log for 2 weeks to investigate container build templates. Afterwards it runs this job with The number of days to keep = 14 to remove the older entries.
Containerization history 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 › Containerization history cleanup
Set up firstWarehouse management parameters (containerization history log) Microsoft Learn
Used next byContainerization history Microsoft Learn
Related pagesContainerization history Microsoft Learn
In this process Monitor the outbound queue · Reprocess errored inbound events
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 containerization history log has grown and older entries are no longer needed.
How oftenOn demand or recurring, for example monthly when the log is on.
What the output showsDeleted containerization history older than the days you keep.

Source: Microsoft Learn

Setup steps on this page

Remove containerization history after troubleshooting

Use this job to delete containerization history once it is no longer needed.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Containerization history cleanup.
  2. Enter the number of days of containerization history to keep; older WHSContainerizationHistory records are deleted.
  3. The history only exists when Create containerization history log is on in Warehouse management parameters.
  4. After the run, open Packing and containerization > Containerization history and see that only recent entries remain.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
The number of days to keepContainerization history older than this number of days is deleted from WHSContainerizationHistory. The dialog opens with 0.Microsoft Learn 14

Common errors and fixes

MessageWhat to do
The Containerization history page is empty after the runThe days to keep were 0 or too low. History can't be restored; set the retention first next time. Checked in Dynamics 365

Test checklist

  1. Containerization history only shows recent entries.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Remove containerization history after troubleshootingRun it after each troubleshooting period, or monthly while the history log stays on, keeping the days you still need.The history only exists when Create containerization history log is on, and deleted history can't be restored.Is the containerization history log kept on?Leaving the history log on permanently without a cleanup, so the table keeps growing.Test: Clean containerization 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

Shared or per companyPer company: the job deletes history of the legal entity it runs in. Microsoft data model
Can it be undoneIrreversible: Deleted containerization history can't be restored.
If you change it laterDeletes containerization history older than the days you keep from WHSContainerizationHistory; the explanation of how those containers were built is gone. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WHSContainerizationHistoryPurge 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
      • PrivilegeEnable containerization history purge processWHSContainerizationHistoryPurgeProcess
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:WHSContainerizationHistoryPurge
Data migrationLoad order: Containerization history 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-150, Remove containerization history after troubleshooting. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-150