BeyondERP.Newsletter
Menu

Setup step on the Sort codes page · Inventory management

Recalculate location sort codes

Keep picking lists in walking order.

Used by
Process engineer, Warehouse manager
Business process
Define warehouse locations in Dynamics 365 Supply Chain Management
Menu item
action:WMSUpdateSortCodes
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, “Sort codes follow the aisle”, 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 job that recalculates the sort codes of inventory locations for the aisles you select. Sort codes set the order of picking lines, so pickers walk the warehouse in a sensible route. It is for warehouses that don't use warehouse management processes.
What you do hereUse it after you add or renumber locations or aisles, so picking lists come out in walking order again.
ExampleFor example, BEAT adds aisle 05 to MAIN-WH with 120 locations and sets the aisle's starting value to 5000. Running Sort codes for that aisle gives its locations sort codes from 5000 up, and picking lists then list aisle 05 after aisle 04.
Sort codes 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 itAfter you add or renumber locations or aisles.
How oftenOn demand, after layout changes.
What the output showsUpdated sort codes on the selected locations.

Source: Microsoft Learn

Setup steps on this page

Recalculate location sort codes

Keep picking lists in walking order.

Steps from Microsoft

  1. Go to Inventory management > Periodic tasks > Locations > Sort codes.
  2. On the aisles, check the starting value and descending setting that the sort codes are built from.
  3. Limit the run to the warehouse and aisles that changed.
  4. Leave out locations whose sort code was set by hand if you want to keep them.
  5. After the run, open Inventory locations and check the sort codes of a few locations in the aisle, then print a picking list to see the order.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
WarehouseLimits the run to the aisles of this warehouse.Checked in Dynamics 365MAIN-WH
AisleLimits the run to this aisle.Checked in Dynamics 36505
Aisle numberLimits the run by the aisle's number.Microsoft data model 5

Common errors and fixes

MessageWhat to do
Picking lines come out in a strange order after the run.The aisle's starting value or descending setting, or the selection, was wrong. Correct the aisle and run the job again. Microsoft Learn

Test checklist

  1. Set the starting value of aisle 05 to 5000.
  2. Run Sort codes for aisle 05.
  3. Open Inventory locations for aisle 05.
  4. Check that the lowest sort code is 5000 and the codes rise along the aisle.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Recalculate location sort codesRun it per aisle after layout changes, after setting the aisle's starting value.Sort codes drive the order of picking lines; stale codes send pickers back and forth.Are sort codes calculated or set by hand?Running it for the whole warehouse and overwriting hand-set codes.Test: Sort codes follow the aisle

Feature management and licence

Licence or add-inOn the live system, Warehouse manager and Process engineer use this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: the job reads and changes only the data of the legal entity you run it in. Microsoft data model
Can it be undoneHard to reverse: Previous codes are overwritten.
If you change it laterOverwrites the sort codes of the selected locations, which changes the order of picking lines. Microsoft Learn
Technical architect

6Technical

Menu itemaction:WMSUpdateSortCodes Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

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

  • RoleProcess engineerRouteProcessEngineer
    • DutyMaintain warehouse operation masterWMSWarehouseOperationMasterMaintain
      • PrivilegeUpdate sort codesWMSUpdateSortCodesProcess
  • RoleWarehouse managerWMSWarehouseManager
    • DutyMaintain warehouse operation masterWMSWarehouseOperationMasterMaintain
      • PrivilegeUpdate sort codesWMSUpdateSortCodesProcess
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 manager WMSWarehouseManagerProcess engineer RouteProcessEngineerGive 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:WMSUpdateSortCodes
Data migrationLoad order: Sort codes has no data entity in Data management. Load warehouses, aisles and locations first, then run this job once in the new system instead of migrating sort codes.Checked in Dynamics 365
Everyone

8Sources

To cite this step: IM-JOBB-230, Recalculate location sort codes. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/IM-JOBB-230