BeyondERP.Newsletter
Menu

Setup step on the Mobile device activity log cleanup page · Warehouse management

Keep mobile device activity logs for two weeks

Use this job to delete mobile device activity log records older than the agreed retention.

Used by
Information technology manager, Warehouse planner
Business process
Manage warehouse operations
Menu item
action:WHSMobileDeviceActivityLogCleanup
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 the activity log”, 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 mobile device activity log records.
What you do hereUse this task to delete mobile device activity log records older than the number of days you choose to keep.
ExampleFor example, BEAT's 40 handhelds write activity log entries all day. A weekly run with The number of days to keep = 14 keeps two weeks for investigating problems workers report.
Mobile device activity 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 › Mobile device activity log cleanup
Set up firstMobile devices Microsoft Learn
Used next byMobile device activity log Microsoft Learn
Related pagesWork user session log cleanup Microsoft Learn
In this process Clean cycle count plan batch history · Keep work user sessions for the last shifts
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 mobile device activity log has grown and older entries are no longer needed.
How oftenRecurring, for example weekly.
What the output showsDeleted mobile device activity log records older than the days you keep.

Source: Microsoft Learn

Setup steps on this page

Keep mobile device activity logs for two weeks

Use this job to delete mobile device activity log records older than the agreed retention.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Clean up > Mobile device activity log cleanup.
  2. Enter the number of days of mobile device activity log to keep; older WHSMobileDeviceActivityLog records are deleted.
  3. Keep enough days to investigate recent problems that workers report on the app.
  4. Afterwards, open the mobile device activity log to see that only recent entries remain.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
The number of days to keepMobile device activity log records older than this number of days are deleted from WHSMobileDeviceActivityLog. The dialog opens with 0.Microsoft Learn 14

Common errors and fixes

MessageWhat to do
A worker reports a problem from last month and there is no logThe retention was shorter than the time it took to report it. Keep enough days to cover how long issues take to reach support. Microsoft Learn

Test checklist

  1. The activity log only shows recent days.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Keep mobile device activity logs for two weeksRun it weekly with 14 days, or as many days as app issues take to reach support.Deleted activity logs can't be restored; Microsoft says to run cleanup only when the data isn't required.How many days of mobile device activity log are kept?Using 0 days, which deletes the whole log.Test: Clean the activity log

Feature management and licence

Licence or add-inWarehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 2 roles can open this page, among them Warehouse planner and Information technology manager.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: the job deletes log records of the legal entity it runs in. Microsoft data model
Can it be undoneIrreversible: Deleted activity logs can't be restored.
If you change it laterDeletes mobile device activity log records older than the days you keep from WHSMobileDeviceActivityLog. Microsoft Learn
Technical architect

6Technical

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

2 security roles. Select a role to see its duties and privileges.

  • RoleInformation technology managerSysServerITManager
    • DutyMaintain system settingsSysServerSettingsMaintain
      • PrivilegeMobile device activity log cleanupWHSMobileDeviceActivityLogCleanup
  • RoleWarehouse plannerWHSWarehousePlanner
    • DutyMaintain warehouse planningWHSWarehousePlanningMaintain
      • PrivilegeMobile device activity log cleanupWHSMobileDeviceActivityLogCleanup
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 WHSWarehousePlannerInformation technology manager SysServerITManagerGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:WHSMobileDeviceActivityLogCleanup
Data migrationLoad order: Mobile device activity log 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-200, Keep mobile device activity logs for two weeks. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-JOB-200