BeyondERP.Newsletter
Menu

Setup step on the Warehouse app task validation page · Warehouse management

Record and replay warehouse app tasks

Use this page to record warehouse app flows and replay them to check that they still run after a setup change.

See how to set it up Back to Warehouse management

Used by
System administrator
Business process
Define warehouse processes
Menu item
WHSValidator
Main table
WHSValidatorRun
Data entity
None for this page's own settings
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, “Replay a recorded sales pick”, 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 page where you set up tasks to test, record their steps and run them to validate warehouse app operations.
What you do hereUse this page to record and run warehouse app tasks, such as sales picking, so that you can check they are executed without errors.
ExampleFor example, before BEAT updates its work templates, a supervisor records a 6-step sales pick on the warehouse app as task 'SO pick A0001' and replays it after the change; all 6 steps pass, so the flow still works.
Warehouse app task validation 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.

When to run it

When to run itWhen you change warehouse app setup, such as menu items or work templates, and want to replay recorded flows to see that they still run.
How oftenOn demand, after warehouse configuration changes or updates.
What the output showsThe task history with the result of each replayed step and its validation rules. A failure on rerun usually means records used by the task were changed or removed by the previous run.

Source: Microsoft Learn

Setup steps on this page

Record and replay warehouse app tasks

Use this page to record warehouse app flows and replay them to check that they still run after a setup change.

Steps from Microsoft

  1. Go to Warehouse management > Periodic tasks > Warehouse app task validation.
  2. In Tasks to test, select New task and enter a Description of validation run and a User ID.
  3. With the task selected, use Start recording and carry out the flow in the warehouse app, for example a sales pick.
  4. Use Run task to replay it, and View task history to see the results. Each step replays recorded XML, not the output of the previous step.
  5. Before a rerun, make sure the orders, work and other records the task uses still exist in the expected state, because a run changes them.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Description of validation runThe name of the task to test, entered when you select New task in Tasks to test.Microsoft Learn SO pick A0001
User IDThe warehouse app user whose session is recorded and replayed.Microsoft Learn 24

Common errors and fixes

MessageWhat to do
Unexpected difference between request and session data. Warehouse Mobile Devices XML protocol violated.REQUEST_XML_TAMPERINGReview the output XML of the last successful step, then re-create or edit the records the test needs (orders, work headers), or build a new test on valid records. Microsoft Learn

Test checklist

  1. The recorded task replays all steps.
  2. The task history shows each step as passed.
  3. Data used by the task was reset before a rerun.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Record and replay warehouse app tasksUse it only in a test company, and reset or re-create the orders and work a task uses before each rerun.A run changes real data, such as work and order status; the replay sends recorded XML, not the output of the previous step.Where are recorded warehouse app tasks run?Rerunning a task after its work was completed, which fails with the request and session data difference error.Test: Replay a recorded sales pick

Feature management and licence

Licence or add-inWarehouse management is part of the Dynamics 365 Supply Chain Management licence. In this system 0 roles can open this page, among them Maintain warehouse app task validation and View warehouse app task validation.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyPer company: tasks and their runs are kept for the legal entity they were recorded in (the Data management entities for validation runs aren't shared). Checked in Dynamics 365
Can it be undoneNot reversible: A run changes the data it uses.
If you change it laterRunning a validation task changes the underlying data, so before you rerun a task you might have to reset the records that it uses. Microsoft Learn
Technical architect

6Technical

Menu itemWHSValidator Checked in Dynamics 365
FormWHSValidator Checked in Dynamics 365
TableWHSValidatorRunShown as “TABLE STORES ALL TASKS TO BE TESTED” in Record infoKey field: DescriptionChecked in Dynamics 365
Data entitiesWHSWarehouseAppTaskValidatorRunEntityWarehouse app task validation runs (The tasks to test (descriptions and users).) WHSWarehouseAppTaskValidatorRunStepEntityWarehouse app task validation run steps (The recorded steps of each task.) WHSWarehouseAppTaskValidatorRunStepValidationRuleEntityWarehouse app task validation run step rules (The validation rules on recorded steps.) WHSWarehouseAppTaskValidatorReplacementVariableEntityWarehouse app task validation replacement variables (The replacement variables used when a task is replayed.)
Who can open it

1 security role.

No security role holds the privileges that grant this page, so only the System administrator role, which is not limited by security, can open it. To give it to others, add one of these privileges to a role.

  • PrivilegeMaintain warehouse app task validationWHSWarehouseAppTaskValidatorRunMaintain
  • PrivilegeView warehouse app task validationWHSWarehouseAppTaskValidatorRunView
  • RoleSystem administrator-SYSADMIN-
Checked against Microsoft's standard security setup and a working Dynamics 365 system (version 10.0.49): no role holds these privileges
Roles to set it up and use itTo set it up or change itMaintain warehouse app task validation WHSWarehouseAppTaskValidatorRunMaintainTo use itView warehouse app task validation WHSWarehouseAppTaskValidatorRunViewGive people a role that holds these privileges. On this system, 0 roles give access to this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=WHSValidator
Data migrationWHSWarehouseAppTaskValidatorRunEntity Tasks first.WHSWarehouseAppTaskValidatorRunStepEntity Then their steps.WHSWarehouseAppTaskValidatorRunStepValidationRuleEntity Then step rules.WHSWarehouseAppTaskValidatorReplacementVariableEntity Then replacement variables.Load order: Move recorded tasks between test environments in this order. The records they use (orders, work) must exist in the target, so record tasks again where the data differs.Load first: Mobile device users, Test orders and workMicrosoft Learn
Everyone

8Sources