Back to Blog
Published:
Last Updated:
Recently Updated
Warehouse MethodsChapter 3

Why does your pick path zig-zag? Your location format is a sort key

8 min read
1,713 words
high priority
Mudassir Marwat

Mudassir Marwat

Founder & CEO, Cognilium AI

TL;DR

A location name is a string, and anything that orders pick lines orders that string. Microsoft's location format has a fixed-length segment field — the page documents the width it enforces, and a fixed width is what stops aisle 10 sorting before aisle 2 — plus a ten-character ceiling on the whole name, and a sort code that is documented for warehouses which do not use warehouse management processes at all.

Why does your pick path zig-zag? Your location format is a sort key

A location name is a string, and every mechanism that orders pick lines orders that string. So the naming scheme somebody chose in week three of your implementation is load-bearing on every shift's walk — and the fix is probably not the one you would reach for.

The name is a string, and the string is what gets sorted

Microsoft is explicit that the name is a constructed thing rather than a label. Configure locations in a WMS-enabled warehouse (ms.date 2026-05-04) defines the object:

"Location formats are a naming system that you use to create unique and consistent names for the different location bin positions within a warehouse. Use separators as part of the location format to make it easier to identify components of the location, such as the aisle number."

A format is a list of segments. Each segment has a Segment description — "For example, it could be Aisle" — a Length, and a Separator, which "determines which character or symbol is used between the first and second component of the name."

That structure matters because sorting happens downstream of it, and the sorter does not know what an aisle is. It knows what a string is.

  • Location format — What it holds: Segments, their lengths, their separators · Where it is set: Warehouse management > Setup > Warehouse > Location formats
  • Location profile — What it holds: Which format applies, plus capacity and mixing policy · Where it is set: Warehouse management > Setup > Warehouse > Location profiles
  • Zone and zone group — What it holds: Logical grouping used as filters in templates · Where it is set: Warehouse management > Setup > Warehouse > Zones

The profile is where the format is attached to real locations, and Microsoft's own emphasis is worth keeping: "The definition of location profiles is very important."

A fixed-length segment stops aisle 10 sorting before aisle 2, and nothing fills it in for you

The classic complaint is that A10 sorts before A2. That is what a text sort does with variable-length segments, and the location format has a field whose entire job is to stop it:

"In the Length field, enter a number. This field determines how many characters this part of the location name must have."

A fixed length is a zero-padded segment. 02 and 10 sort in the order a human expects; 2 and 10 do not. Microsoft documents the field and what it does to the name's width; the sort consequence is ordinary text-sorting behaviour rather than a claim on the page. Either way it is enforced at the format, not left to whoever types the location in.

The Location setup wizard then generates locations from numeric ranges, and Microsoft's example shows the shape:

"The From number and To number fields define how many locations will be created. For example, if you set From number to 1 and To number to 3 for all four lines in the location format, 81 locations will be created (3x3x3x3)."

So the supported path produces consistent, fixed-width, numerically ordered names. A location name that sorts wrongly is one whose segment is shorter than a Length value would have forced. The defect is in the names, not in the product — and the field is one somebody has to fill in, not a default that protects you.

The sort code you are about to look for is on the other side of the fence

Search the documentation for warehouse sorting and you will land on sort codes. Read the scope line before you plan anything around them.

Inventory locations (ms.date 2026-05-04) documents them clearly:

"Use sort codes to optimize the handling of picking lines, which describe the information that is required for picking items from inventory, including the picking order. Sort codes can be specified by the aisle and other coordinates, or assigned manually for the location."

That is exactly the feature you want — and by that page's own two opening statements, not on your side of the fence if you run WMS (warehouse management system — the module that directs work on the scanner):

"Inventory locations determine where you store and pick items in warehouses that don't use warehouse management processes (WMS)." "This article applies to features in the Inventory management module. It doesn't apply to features in the Warehouse management module."

The same boundary appears on warehouse configuration overview (ms.date 2025-11-20), whose opening Note reads: "This article applies to features in the Warehouse management module. It doesn't apply to warehouse features in the Inventory management module."

Two location models, two documentation sets, one word.

If you are WMS-enabled, ordering comes from work and wave configuration rather than from a code on the location record. The cluster profile's own sorting criteria "control the order in which the worker performs the work" (ms.date 2026-04-24).

Chapter 11 gives that setting its own article.

Three mechanisms get confused for each other, and they live in different places:

  • Sort code on the location — What it orders: Picking lines, by aisle and other coordinates or manually · Which documentation set it is published in: Inventory management — a page scoped to warehouses that do not use WMS
  • Sorting criteria on the cluster profile — What it orders: "the order in which the worker performs the work" · Which documentation set it is published in: Warehouse management
  • Sort picking work lines wave method — What it orders: Pick lines within a work record, by measured distance · Which documentation set it is published in: Warehouse management, preview, version floor

What actually makes the path zig-zag, and why renaming will not fix it

Here is the part that survives a correct format. Ascending coordinates and walking order are different things, and no naming scheme reconciles them.

A picker walking a serpentine route goes up aisle 1 and down aisle 2. Sorted ascending, aisle 2's positions run against the way the picker faces. Names right, sort right, walk still wrong at every turn.

That is why the coordinate feature exists. Warehouse spatial location [PP] (ms.date 2026-04-24) replaces the sorted string with measured distance: X, Y and Z on the location record, plus a City Block distance model Microsoft offers for aisle-based buildings.

The distance models and the version floor are on the setup page (ms.date 2026-04-24), which states "10.0.49 or later" and that coordinates are read "directly from the fields on the location record" — maintained by you, one location at a time.

It is preview: the overview page opens "This article is prerelease documentation and is subject to change."

Derive those coordinates mechanically from the location name and you have re-encoded the naming convention as geometry, errors included. A format that sorts is a prerequisite for the coordinate work, not an alternative to it.

Ten characters, and it is a published ceiling

One constraint deserves naming because it decides naming schemes:

"The total of all components in the name, including the separators, can't exceed 10 characters."

Four segments and three separators leave seven characters of actual coordinate. Anyone who has tried to fit site, building, aisle, rack, shelf and bin into a scheme that also sorts has met this ceiling.

It is also the reason a rename is expensive. Every location, every fixed location, every printed label and every operator's memory is keyed on that string.

How we optimize on top of a format that sorts, and where we would draw the line

Pick-Path & Slotting Optimizer decides which orders travel together and which item earns which slot, and writes the answer back into the wave, cluster and slotting objects Dynamics 365 already executes, behind an approval step. Dynamics is the system of record for the warehouse; the optimization above it is a modelling problem.

A working demo exists; it is not off the shelf. We build it against your systems and your constraints on request, and we have no delivered warehouse engagements — so this is a capability, not a report on somebody's building.

We would not sell a slotting optimizer into a building whose location format does not sort. Every downstream sequence inherits it — including a coordinate-based one derived from the same names — so the model would optimize on a known-wrong ordering.

We would not run a rename project for you either. That is your implementation partner's work and it touches labels, fixed locations and training. We will tell you plainly whether it is a prerequisite.

What to do this week

  1. Open one location format and look at the Length fields. Warehouse management > Setup > Warehouse > Location formats. Blank or inconsistent lengths are how variable-width segments get in, and a text sort is unforgiving.
  2. Sort your locations as text and read the first twenty. If aisle 10 appears above aisle 2, the defect is in the data — and the format is where it is prevented for everything created afterwards.
  3. Check which module you are actually in before you plan around sort codes. If Use warehouse management processes is set, the sort-code page is documented as not applying to you.
  4. Walk one wave with the paper in your hand. Where the sequence sends someone back down an aisle they have already walked, that is the serpentine problem, and no naming scheme will fix it.

About Cognilium Cognilium is the AI optimization layer for Dynamics 365 — complementary apps that optimize the pricing, inventory, warehouse and planning decisions your ERP manages but can't optimize. Built on Power Platform, Dataverse and Azure. https://cognilium.ai · https://www.linkedin.com/company/37180269/

If you are looking at a location rename or a slotting project, book a fifteen-minute call and we will walk your format with you — whether it sorts, and whether that is your real constraint. No deck. https://cognilium.ai

Sources

Sources

Share this article

The work behind this series

The methods behind the articles — slotting, batching, routing — and the data each one needs.

Mudassir Marwat

Mudassir Marwat

Founder & CEO, Cognilium AI

Mudassir Marwat's argument is that ERP systems record decisions they never optimise.

Founder & CEO of Cognilium AI; 37 AI agents in production across four products; 4 production AI products built and operated; three clouds in production (AWSGCPAzure)
Agentic AIRAG → GraphRAG retrievalVoice AIMulti-Agent Orchestration
In short

Key takeaways

  • A location name is a constructed string with segments, lengths and separators, and every mechanism that orders pick lines orders that string rather than your understanding of the building.
  • The location format's Length field fixes each segment's width. Microsoft documents the width; that a fixed width is what stops a double-digit aisle sorting above a single-digit one is ordinary text-sort behaviour rather than something the page states — and on either reading the classic sort failure is preventable at the format for everything created through the supported path.
  • Sort codes are documented in the Inventory management module, on a page whose opening states it does not apply to features in the Warehouse management module, so a warehouse-enabled site should not plan its picking order around them.
  • A correct format still does not produce walking order, because ascending coordinates and a serpentine route disagree at every turn — which is the gap the coordinate-based preview feature addresses.
  • Deriving coordinates from location names re-encodes the naming convention as geometry, so a format that sorts is a prerequisite for coordinate work rather than an alternative to it.
What goes wrong

Common mistakes to avoid

  • Planning your picking order around sort codes without checking which module the page applies to. The boundary is stated in the opening lines of both documentation sets, in opposite directions.
  • Treating a rename as the fix for a zig-zag. A correct name gives you a correct sort, and a correct sort is not a walking route in a serpentine building.
  • Leaving segment lengths unset and relying on people to type consistently. The field exists to make the width a property of the format rather than of the operator.
  • Deriving spatial coordinates from the existing location names. Whatever the names get wrong, the coordinates will now get wrong with more precision.

Bring your own numbers

Tell us how your warehouse is laid out and what your pickers actually walk. We will tell you which part of it a system can decide, and which part it cannot.

Get your pick diagnosticNo cost, no obligation.

Related Articles

Continue exploring related topics and insights from our content library.

8 min
1
Mudassir Marwat
August 3, 2026

One wave template, or four? What wave design says about your building

A wave template decides when work is created, in what batches, and whether a person sees it first. One template for a mixed building means parcel, pallet and line-feed work share a rhythm — and one field on it decides whether a wave that cannot reserve inventory fails loudly or quietly puts the stock in a blank location.

words
Read Article
8 min
2
Mudassir Marwat
August 3, 2026

Why is one worker doing the pick, the put and the load?

Microsoft's own example work template has four lines — pick, put to staging, pick from staging, put to the truck. They land on one worker because they share one work class, and the field that separates them is the same field that decides which workers are allowed to see each part.

words
Read Article
8 min
3
Mudassir Marwat
August 3, 2026

Work creation failed at 07:05. Which location directive did it stop on?

Whether a wave stops when no location can be found is a setting on the Location directive failures page. Two documented conditions make a directive line skip silently rather than fail. And Microsoft ships a coverage view that colours which directives, lines and actions were evaluated and which one found a location.

words
Read Article

Explore More Insights

Discover more expert articles on AI, engineering, and technology trends.

Personalized for You

Curated content recommendations based on your current reading and interests.

Trending
116%

Is advanced warehouse management a setting you can turn on later?

Same topic cluster: Warehouse Methods
Same author: Mudassir Marwat

Microsoft publishes a migration tool for moving items onto warehouse management processes, and states that open inventory transactions do not block it. The requirements, the validation list and two unsupported cases are the real answer — and the setting that is genuinely hard to revisit is not this one.

Mudassir Marwat
8 min read
Warehouse Methods
Read Article
Trending
30%

The walking is the cost: pick-path and slotting optimization for Dynamics 365 warehouses

High priority content
Related topic cluster: Warehouse Pick Optimization

Travel is roughly half of order-picking time, and your ERP records every move without ever optimizing it. Here's how pick-path and slotting optimization on Dynamics 365 cuts the walking.

Ali Ahmed
3 min read
Warehouse Pick Optimization
Read Article
Trending
116%

Batch above or below location — which did you choose, and can you change it?

Same topic cluster: Warehouse Methods
Same author: Mudassir Marwat

Where the batch number sits relative to location decides whether the order or the warehouse chooses which batch ships. Microsoft names both models, and the question of whether you can change your mind has three different answers — one yes, one no, and one that depends on whether the level structure matches.

Mudassir Marwat
8 min read
Warehouse Methods
Read Article
Trending
116%

Cluster picking: process by location, or process by position?

Same topic cluster: Warehouse Methods
Same author: Mudassir Marwat

One field on the cluster profile chooses between a consolidated pick with a sort step and one pick per position. Saving either by-position option deletes your existing cluster sort criteria and creates four defaults — and switching back does not restore what was deleted. The feature is in public preview as of April 2026, which the product page does not mention.

Mudassir Marwat
10 min read
Warehouse Methods
Read Article
Trending
116%

Which demand documents can Dynamics 365 actually cross-dock?

Same topic cluster: Warehouse Methods
Same author: Mudassir Marwat

There are two cross-docking features with two different answers. The opportunistic one supports one demand document type, hedged with Microsoft's own "Currently" on a page dated 2017. The planned one takes a supply-source list and reaches sales orders — and its real constraint is that its template query cannot filter by source document.

Mudassir Marwat
7 min read
Warehouse Methods
Read Article
Trending
116%

Is Dynamics 365 WMS fast enough for a high-volume distribution centre?

Same topic cluster: Warehouse Methods
Same author: Mudassir Marwat

Microsoft answers the scale question in its own deprecation register. Three warehouse surfaces were deprecated with performance named as the reason, each replaced by something it calls significantly faster — so the useful question is not whether the product is fast enough but whether you are still running the pages it retired.

Mudassir Marwat
8 min read
Warehouse Methods
Read Article

Smart Recommendations

Our AI analyzes topic clusters, author expertise, and content relationships to surface the most relevant articles for you.

Topic Matching
Author Expertise
Content Quality
Personal Interests

Questions on this?

Talk to an engineer

Schedule a call