BeyondERP.Newsletter
Menu

Setup step on the Work user sessions page · Warehouse management

Inspect an app session's messages

Use this page to read the XML messages and errors of an active mobile app session.

See how to set it up Back to Warehouse management

Used by
Materials manager, Quality control clerk, Quality control manager and 4 more roles
Business process
Measure warehouse performance
Menu item
WHSWorkUserSession
Main table
WHSWorkUserSession
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, “Step ID found”, 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 details page that shows the active work user sessions of the Warehouse Management mobile app, with each session's login times and its history of XML messages and logged errors.
What you do hereUse this page to inspect what a mobile app user's session has sent and received, and to check for logged errors.
ExampleFor example, to set up a detour on the Purchase receive flow you need the step ID. A worker runs one receipt in the real app, and the XML of the session here shows the step with Step Id="LoadId" and the field name to use.
Work user sessions 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

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.

Setup steps on this page

Inspect an app session's messages

Use this page to read the XML messages and errors of an active mobile app session.

Steps from Microsoft

  1. Go to Warehouse management > Inquiries and reports > Mobile device logs > Work user sessions.
  2. Type in the Filter box above the list on the left to find a user.
  3. Select the session and review the Overview, XML, History and Message log FastTabs.
  4. Use the Refresh, Last user message or End session buttons on the Action Pane as you need.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Login date and timeWhen the user signed in to the session.Microsoft Learn LoginDateTime
Last user action date and timeWhen the user last acted in the session.Microsoft Learn LastActionDateTime
XMLThe history of XML messages exchanged with the app, which shows step IDs and field names.Microsoft Learn

Common errors and fixes

MessageWhat to do
No history appears for a sessionA cleanup job, such as Work user session log cleanup, may be running or have removed the history. Microsoft Learn
The XML doesn't match the appUse the actual mobile app, not an alternative tool such as the browser-based emulator, to get the correct XML. Microsoft Learn

Test checklist

  1. Sign in to the Warehouse Management mobile app on a device, not the browser emulator.
  2. Process one step.
  3. Open the session here and find the step ID and field name in the XML.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Inspect an app session's messagesRun the flow on a real device, then open the user's session and read the XML for step IDs and field names.Detours and barcode data policies need exact step IDs and field names from the XML.Who may end sessions?Copying field names from the browser emulator's session, which can differ.Test: Step ID found

Feature management and licence

Licence or add-inWarehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 7 roles can open this page, among them Materials manager, Quality control clerk, Quality control manager and Receiving clerk.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Ending a session only signs the user out.
If you change it laterEnd session closes the user's session; the history is removed by the Work user session log cleanup job. Microsoft Learn
Technical architect

6Technical

Menu itemWHSWorkUserSession Checked in Dynamics 365
FormWHSWorkUserSession Checked in Dynamics 365
TableWHSWorkUserSessionShown as “WORK USER SESSION” in Record infoKey field: UserIdChecked in Dynamics 365
Who can open it

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

  • RoleMaterials managerInventMaterialsManager
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
  • RoleQuality control clerkInventQualityControlClerk
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
  • RoleQuality control managerInventQualityControlManager
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
  • RoleReceiving clerkInventReceivingClerk
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
  • RoleShipping clerkInventShippingClerk
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
  • RoleWarehouse managerWMSWarehouseManager
    • DutyEnable warehouse operation processWMSWarehouseOperationProcessEnable
      • PrivilegeMaintain work user sessionsWHSWorkUserSessionMaintain
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
  • RoleWarehouse workerWMSWarehouseWorker
    • DutyInquire into warehouse operation progressWMSWarehouseOperationProgressInquire
      • PrivilegeView work user sessionsWHSWorkUserSessionView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itWarehouse manager WMSWarehouseManagerTo use itWarehouse worker WMSWarehouseWorkerShipping clerk InventShippingClerkReceiving clerk InventReceivingClerkMaterials manager InventMaterialsManagerQuality control clerk InventQualityControlClerkGive people one of these roles. On this system, 7 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Refresh, Last user message, End sessionChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=WHSWorkUserSession
Data migrationLoad order: Work user sessions has no data entity in Data management, so it can't be loaded from a file or a configuration template. Sessions are runtime records and aren't migrated.Checked in Dynamics 365
Table definitionWHSWorkUserSession columns and relations Microsoft data model
Everyone

8Sources

To cite this step: WM-INQ-270, Inspect an app session's messages. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/WM-INQ-270