BeyondERP.Newsletter
Menu

Job page · Warehouse management

Work user session log cleanup

A periodic task that deletes work user session log records.

Business process
Manage warehouse operations
Menu item
action:WHSSessionLogCleanupServiceDoCleanup
Show what matters for
PAGE GUIDEWhat the page does and how to use it7 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA periodic task that deletes work user session log records.
What you do hereUse this task to delete work user session records older than the number of hours you choose to keep.
Work user session log 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 › Work user session log cleanup
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 work user session records pile up and only recent sessions matter.
How oftenRecurring, for example daily, because it keeps hours, not days.
What the output showsDeleted work user session records older than the hours you keep.

Source: Microsoft Learn

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Work user session log cleanup.
  2. Enter the number of hours of work user session records to keep; older WHSWorkUserSessionLog records are deleted.
  3. Note that while the cleanup runs, Work user sessions may show no history.
  4. Afterwards, open Inquiries and reports > Mobile device logs > Work user sessions to see what is left.

Source: Microsoft Learn

Test checklist

  1. Work user sessions only shows recent sessions.

Source: Microsoft Learn

Solution architect

4Design impact

Can it be undoneNo: Deleted session logs can't be restored. Run it only after the business has confirmed that the data is no longer required. Microsoft Learn
If you change it laterDeletes work user session records older than the hours you keep. Microsoft Learn
Technical architect

5Technical

Menu itemaction:WHSSessionLogCleanupServiceDoCleanup
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

6Developer

Open it by URLhttps://<your-environment>/?mi=action:WHSSessionLogCleanupServiceDoCleanup
Everyone

7Sources