Applicable for Mobile WMS version 3.13 and above for Dynamics 365 Finance and Operations and Dynamics AX 2012
In this article we will:
- See how to remove batch numbers unplanned item registration flow from X++ code.
- See the result from the mobile device.
When you don't want to register batch numbers in your unplanned processes and your tracking dimension allows blank issues and receipts.
Mobile WMS will detect if the batch dimension is active and put it in the registration collector.
Removing a step in unplanned item registration collector
This customization catches all unplanned item registrations so it an easy way changing the behavior.
Add "returnMap.remove('InventBatchId');" before the return to remove the batch number collector. Example see line15.
Mobile Device - Before
Notice we have 4 steps where step number 2 is the batch number registration.
Mobile Device - After
Notice we have 3 steps, where as we had 4 steps previously. Now batch number is not a part of the registration flow.