MSBA-332 · Lesson 5 of 12 · 18 min

Work templates and location directives

▶ Video coming soon A video version of this lesson is on the way.

By the fifth session the CONFIG sandbox could receive and ship, but it made odd choices. A pallet of gaskets went to the top shelf of aisle 11 while aisle 1 stood half empty. A picker was sent to bulk for two boxes that were sitting in the pick face. Seal kits from a newer batch were picked before an older batch that would expire first. "The system is doing exactly what you told it," Annelise said. "We just haven't told it much yet." The session was about the two kinds of rules that turn warehouse management from a recording system into a directing one: work templates, which decide what work looks like, and location directives, which decide where it happens.

MB-330 lists implementing location directives, configuring wave, load and work templates, and configuring work policies and work breaks. Of all the warehouse objectives, these are the ones that most reward practice in a sandbox, because the rules interact. Desmond, the developer, joined this session too: when a directive behaves strangely, the work's details and the location directive log are often the only way to see why.

Work order types

Every work belongs to a work order type, which names the process that created it. The main types are Purchase orders, Transfer receipt, Transfer issue, Sales orders, Replenishment, Raw material picking, Finished goods put away, Return orders, Cycle counting, Inventory movement and Packed container picking, plus types for cross docking and warehouse management only mode shipment orders. Work templates and location directives are both defined per work order type, so the first question in any troubleshooting is which type the work belongs to.

Work templates

A work template defines the lines of the work: the sequence of pick and put steps, and sometimes custom or print steps. Each template has a sequence number and a query that decides which orders or items it applies to; the first template in sequence whose query matches is used. Each line has a work class, which groups work for filtering on the scanner and is used by location directives to pick the right directive for the line.

Work templates at DW01.
Work order typeTemplateLinesQuery
Purchase ordersPO-QCPick RECV, Put QC (work class QCIN)Items in quality item sampling
Purchase ordersPO-STDPick RECV, Put storage (work class PUTAWAY)All other items
Sales ordersSO-PARCELPick storage, Put pack station (PICKPK)Mode of delivery parcel
Sales ordersSO-TRAILERPick storage, Put STAGE (PICKST); Pick STAGE, Put SHIP (LOAD)Truck and trailer modes
ReplenishmentREPLPick BULK, Put PICK (REPL)All
Inventory movementMOVEPick, Put (MOVE)All

Work templates also hold work header breaks, which start a new work when, for example, the order or the target license plate changes, and maximums, such as the maximum number of lines or the estimated time per work. A template can be set to create work only when certain conditions are met, and lines can require the worker to confirm the location, item or quantity by scanning. Templates can also add print steps for labels and custom steps that call extension code.

Work policies and work breaks

A work policy tells the system not to create work for an order type at a given location or for given items. DW01's small-parts receiving point uses one so the receiver can put shelving items away directly, as lesson 3 described. Policies can also suppress inventory movement work at certain locations, where goods are moved with other tools. Work breaks are a separate setting: they record planned breaks in a worker's shift so that the work's planned times and labor measures account for them. MB-330 lists both, and they are easy to confuse because both have "work" in the name.

Location directives

A location directive decides which location a pick line or a put line uses. Directives are set up per work order type and direction (pick or put), and each has a sequence number, an optional directive code that ties it to particular work template lines, and a query of criteria such as item, item group, warehouse or inventory status. When work is created, the system checks the directives for that work order type and direction in sequence order and uses the first one whose criteria match and that finds a location.

Each directive has lines and actions. Lines set the quantity range and unit the directive covers, for example "from 1 to 39 each" and "from 40 boxes up", and whether a quantity may be split across several locations. Actions, also in sequence, each hold a location query, such as "locations in zone PICKFACE with profile PICK-FIX", a sort order and a strategy. The system tries each action in turn until one returns a location that can take or supply the quantity.

A flowchart for a put line. Start: work line Put for item G-110, quantity 3 boxes. Box 1: find the first location directive for work order type Purchase orders, direction Put, in sequence, whose query matches the item and whose directive code matches the line. Box 2: find the directive line whose quantity range includes 3 boxes. Box 3: try action 1 (fixed pick face location); if it has capacity, use it. Otherwise action 2 (empty bulk location with no incoming work). Otherwise action 3 (any location in zone BULK with capacity). If none, the next directive is tried; if all fail, work creation reports an error.
How a put directive is evaluated: directive, then line, then actions in sequence.

Strategies

The strategy on an action changes how the location query's results are used. Common strategies include:

Common location directive strategies.
StrategyEffectTypical use
NoneUses the query and its sort order as they areSimple searches
Fixed locationOnly the item's fixed locationsPutting or picking at pick faces
ConsolidateLocations already holding the same itemTopping up mixed shelving
Empty location with no incoming workEmpty locations not reserved by other open workPutting full pallets to bulk
Round up to full license platePicks whole license plates where possibleReplenishment from bulk
FEFO batch reservationPicks the batch with the earliest expiry firstSeal kits and lubricants
Match packing quantityPrefers locations that hold the exact quantityPallet picking

Strategy names and their exact behavior vary slightly between versions, and some appear only when related features are turned on, so the team checked the list in the sandbox rather than relying on older documentation. The important principle is that a directive's action does two jobs: the query narrows the locations, and the strategy decides which of them is chosen.

Fixing the sandbox's odd choices

Each of the morning's odd choices had a clear cause. The pallet sent to aisle 11 was put by a directive with one action, "any location in zone BULK", with no sort order, so the search found the last aisle first. Adding a sort by location sort code, which runs from the front of the warehouse to the back, put pallets near the doors first. The picker sent to bulk was using a pick directive whose first action searched BULK; the fix was to add a first action with the fixed location strategy for quantities under one full pallet. The newer seal kits were picked first because the directive used no batch strategy; adding FEFO batch reservation for the seal kit item group put the oldest expiry first, which also matches the quality team's shelf-life rules from the inventory course.

Location directives at DW01 after the session.
DirectiveWork order type, directionQueryActions in sequence
PUT-PICKFACEPurchase orders, PutItems with fixed locations, quantity under one pallet1 Fixed location with capacity; 2 Consolidate in SHELF; 3 Empty BULK, sorted front to back
PUT-BULKPurchase orders, PutAll other1 Empty location with no incoming work in BULK, sorted front to back
PICK-SEALSales orders, PickItem group SEALS1 FEFO batch reservation in PICK; 2 FEFO batch in BULK
PICK-STDSales orders, PickAll other1 Fixed location; 2 PICK zone; 3 BULK, round up to full license plate
PUT-STAGESales orders, PutDirective code STAGE1 STAGE locations for the load's dock door

Directive codes

A directive code links a work template line to a particular directive. Without codes, every put line of a work order type competes for the same directives, and the sequence decides. With codes, a template's put-to-staging line can use the STAGE directive while its put-to-dock line uses the DOOR directive, even though both are puts for sales orders. DW01 uses directive codes for staging, loading and quality check lines, and leaves storage puts and picks without codes so that the item-based queries decide.

Testing and troubleshooting

When a work goes somewhere unexpected, the first place to look is the work's details: the work order type, the template and the work class of each line. The next is the location directive log or tracing options, which record which directives and actions were tried and why each was rejected. Desmond showed the team how to turn on the tracing for a test user in the CONFIG sandbox and read it after creating work. Most failures fall into a few patterns: a directive earlier in sequence matches too much; a directive line's quantity range does not include the quantity, often because of the unit; or the location query excludes every location because a profile or stocking limit is too tight.

Annelise's rule for maintaining directives was to change one thing at a time, keep a test script of ten typical receipts and picks, and rerun the script after every change before promoting the configuration from CONFIG to UAT. The script became part of the regression tests the team runs after every service update.

Work classes and work pools

Work classes do more than select directives. Each work line has a class, and each worker or menu item can be limited to certain classes, which is how DW01 keeps forklift work away from pickers on foot: putaway and replenishment of full pallets are in classes that only certified drivers' menu items include. Work pools group works for assignment, for example all works for a priority customer, so a supervisor can send a team to them. Classes are permanent design choices; pools are day-to-day tools.

Unit conversions in directives

Many directive problems are unit problems. A directive line written for boxes does not match work created in each unless the line covers the converted quantity, and a line with Allow split turned off insists on one location for the whole quantity. The team adopted two rules. First, write directive lines in the item's largest handling unit where possible and let the system convert down. Second, turn on Allow split for picking from bulk, where a large order may need two pallets, and leave it off for putaway of a single license plate, which should never be divided between locations.

Directives for the Monterrey future

Annelise also asked the team to name directives and templates in a way that would make sense in another warehouse. Names such as PUT-BULK and PICK-SEAL, with the warehouse in the query rather than the name, mean the same rule set can be copied to a new site with only the queries changed. The capstone in lesson 12 relies on this.

Reading work details together

In practice, the team learned to troubleshoot in pairs: Roshni, who knew how the floor should work, and Desmond, who could read the trace. Their notes from the pilot became a one-page guide with the five questions to ask of any misdirected work: which work order type, which template, which work class, which directive matched first, and which action returned the location. Most problems were answered by the third question.

Worked problem

Directing returned stock

Returns received at DW01-RET with disposition RET-STOCK should go back to normal storage, but returns with status DMG must go to the returns cage. All return receipts currently go to the cage.

Show solution
  1. Check the work: the return receipt work order type is Return orders, and both kinds of return use the same work template.
  2. Create a Put directive for Return orders with a query on inventory status AVAIL, sequence 1, with actions for fixed locations and then empty BULK.
  3. Change the existing cage directive to query inventory status DMG and give it sequence 2.
  4. Receive one test return of each kind in the CONFIG sandbox and check the put locations.
  5. Run the regression script and promote the change to UAT.

Answer: Splitting the directive by inventory status sends restockable returns back to storage and damaged ones to the cage. The order matters: the more specific directive must come first in sequence.

Common mistakes

  • MistakePutting a broad directive with no query first in the sequence.

    InsteadPut specific directives first and the catch-all last.

  • MistakeUsing a location query with no sort order.

    InsteadSort locations deliberately, for example by sort code from front to back.

  • MistakeForgetting that directive lines are unit-specific.

    InsteadCheck that line quantity ranges and units cover the quantities work will create.

  • MistakeChanging several directives at once in production.

    InsteadChange one rule at a time in a sandbox and rerun a regression script.

Summary and key terms

  • Work order types group work by process; templates and directives are defined per type.
  • Work templates define pick and put lines, work classes, header breaks and maximums; the first matching template in sequence is used.
  • Work policies stop work being created; work breaks record planned breaks in shifts.
  • Location directives are checked in sequence; each has lines by quantity and unit and actions with location queries and strategies.
  • Directive codes tie template lines to directives; tracing and a regression script make directive changes safe.
Work template
The definition of a work's pick, put and other lines for a work order type.
Work class
A grouping of work lines used for filtering work and selecting directives.
Location directive
A rule that chooses the pick or put location for a work line.
Strategy
An option on a directive action that changes how locations are chosen, such as FEFO or fixed location.
Directive code
A code that links a work template line to a particular location directive.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. In what order does the system check location directives?

    Show answer

    By sequence number, using the first one that matches and finds a location.

  2. Which strategy picks the batch with the earliest expiry date first?

    Show answer

    FEFO batch reservation.

  3. What stops putaway work being created at a given location?

    Show answer

    A work policy.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz