HU Load Calculation
3PL Dynamics can calculate, per warehousing document, how the ordered goods will be built up into shipping handling units (HUs): which quantities leave the warehouse as full pallets straight from bulk, how the remaining quantity is distributed over pick pallets, how high and how heavy every HU becomes, and how many pallet places the shipment takes up on the vehicle. The result is a versioned calculation with load units that can be checked in a 3D preview, saved as a template for repeat orders, written to the document as the expected number of shipping carriers, and turned into warehouse activities and order picks.
Note
The pages of this module use the captions HU, Load Unit and Carrier Type. Every load unit is exactly one HU (one shipping handling unit). A carrier type is a Handling Unit Type.
Prerequisites
- Handling unit types with Length, Width, Height, Tare Weight and, where applicable, the Pick Max. Load (Height), Pick Max. Load (Weight) and Pick Max. Load (Cubage) fields. These maxima describe the load on top of the handling unit; the calculation adds the handling unit itself.
- Handling unit type units of measure per customer item (or per handling unit type group) with Qty. per UOM Code and Qty. per Layer, so the calculation knows how many units make a full pallet and a layer. Length, width and height of the unit of measure are needed for the LAFF distribution method.
- For the BOX FIT distribution method: a handling unit type per box size, marked Use for Packaging, with the inner Length, Width and Height of the box, Tare Weight and Pick Max. Load (Weight), and length, width and height on the units of measure of the customer items. See BOX FIT: as few boxes as possible.
- To stack full pallets automatically: a Shipment Stacking Policy on the customer items that may be stacked, a handling unit type group on the handling unit types, and a Loading Meter Factor on that group. See Stacking HUs: loading units and pallet places.
- The WMS conditions that the calculation reads as constraints: maximum number of items per handling unit, maximum handling unit height, weight and cubage, the shipment and order pick handling unit type filters, interleave handling units and order pick per layer. See Conditions.
- To turn a calculation into warehouse work: a warehouse journal template (by default WAREHOUSE), allocation functions such as WHSEBULK and WHSEPICK, and a warehouse action such as DIRECTSHIP. See Allocation System and Warehouse Actions.
Setup
1. Create the calculation methods
Every step of the calculation is a method: a record that points at a function in a function library and holds the parameters of that function. Methods are configuration, not code, so a consultant can add a method or change the behaviour of an existing one without a code change.
- Open HU Load Calculation Methods.
- Choose Initialize HU Load Calculations. A method is created for every function the built-in libraries publish, with its default parameters. An existing method keeps its values; only parameters that its function has gained or lost are added or removed, so the action can be repeated after an update.
- Open the Function Set of a method to change its parameters, or add your own methods that point at the same functions with other parameters. Two methods may distribute the same document differently.
A method has a Method Type that says which step it performs:
| Method Type | What it does | Built-in functions |
|---|---|---|
| Get Source Line | Splits the document lines into Mono and Handling calculation lines | NORMATIVE: full handling units from the handling unit type unit of measure, the rest as Handling. Its parameter MAX HUS PER STACK switches on automatic stacking of the full handling units |
| Distribution | Spreads the Handling lines over load units | FIRST FIT, VOLUME FIT, LAFF, BOX FIT, WHSE TRANSFER (see below) |
| Allocation | Reserves the stock of the load units of the active calculation | WHSE ALLOCATION |
| Transfer | Turns the load units into warehouse activities and order picks | ACTIVITY OR TRANSFER |
2. HU Load Setup
Open HU Load Setup and fill in:
| Field | Effect |
|---|---|
| Default Get Source Line Method | The method a new calculation starts with to split the document lines. Empty = the built-in normative split. |
| Default Distribution Method | The method a new calculation distributes with. Empty = distribute by hand in the matrix. |
| Default Allocation Method, Default Transfer Method | The methods used by Allocate and Create Transfers when the calculation has none of its own. |
| Auto Distribute on Calculate | On (default): the Handling lines are distributed directly after the calculation lines have been collected. Off: the quantities stay unassigned, so you distribute them by hand. |
| Max. No. of Load Units | Stops a runaway calculation on incorrect master data (default 999). |
| Calculation Journal Template Name | Warehouse journal template used by the WHSE TRANSFER distribution method (batch LOADUNIT) and by allocation and transfer (batch HUEXECUTE). Empty = WAREHOUSE. |
| Calculation Nos. | Number series for calculations without a source document number. |
| Default Carrier Type Code | Handling unit type for a new load unit when none can be derived from the conditions, the document line or the customer item. |
| Intermediate Carrier Type Code | Handling unit type that is inserted between two different items in one load unit. |
| Update Document Carrier Quantity | On: when the calculation is activated, the number of HUs is written to Expected Shipment Carrier Qty. of the document and the loading meters of the calculation are written to Load Meter of the document. See Loading meters on the document. |
| Archive on Posting | On (default): the active calculation is archived as a read-only version linked to the posted document. |
3. Automate it in a status template (optional)
The library codeunit 72270230 "WMS HU Load Status Functions" adds four status functions that can be used in a status template on a warehousing document, so the calculation runs as a step in the status flow without any code. See Status Functions for the general mechanism.
| Function | Purpose |
|---|---|
| 1 | Calculate HU load (expected shipping carriers) |
| 2 | Activate the HU load calculation of the document |
| 3 | Allocate the active HU load calculation (reserve the stock of the load units) |
| 4 | Transfer the active HU load calculation (create warehouse activities and order picks) |
Parameters of function 1:
| Parameter | Effect |
|---|---|
GET SRC LINE METH |
Get Source Line method; empty = the setup default |
DISTRIBUTION METHOD |
Distribution method; empty = the setup default |
SKIPIFEXISTS |
Skip when the document already has an active calculation |
ACTIVATE |
Activate the new version directly (default TRUE), which also writes the number of HUs to the document |
ERRORIFINVALID |
Stop with an error when the calculation has errors or unassigned quantity, instead of only setting the function status to False |
ALLOCATION METHOD |
Allocation method that reserves the stock directly after calculating; empty = skip |
TRANSFER METHOD |
Transfer method that creates the warehouse work after calculating and allocating; empty = skip |
SHOWNOTIFICATION |
With an allocation or transfer method: first show the number of Mono and order pick load units and ask whether to process the calculation or open it |
Function 1 sets the function status to True when the calculation has no errors and no unassigned quantity, so the status flow can branch on it. With ALLOCATION METHOD or TRANSFER METHOD the step calculates, allocates and transfers in one go; because that is only possible on the active version, these parameters activate the new version even when ACTIVATE is off. When SHOWNOTIFICATION is on and the user chooses to open the calculation, the version stays active and the function status is False. Without a user interface (for example a job queue) the calculation is processed directly.
Function 2 has ERRORIFMISSING. Function 3 has METHOD (empty = the allocation method of the calculation), ERRORIFMISSING, SKIPIFALLOCATED and REALLOCATE. Function 4 has the same set for the transfer method: METHOD, ERRORIFMISSING, SKIPIFTRANSFERRED and RETRANSFER. The source record of the status step may be a document header or a document line.
How it works
Starting a calculation from a document
On the WMS Shipment and WMS Receipt cards and on the WMS Document List, the action Load Units opens the active calculation of the document. When no version is active it shows the list of versions, and when the document has no calculation yet it offers to create one. The document FactBox shows the number of HUs of the active calculation in the field Load HUs. The HU Load Calculation FactBox on the shipment and receipt cards (hidden by default, show it through personalization) shows the active version, the number of versions, the unassigned quantity and the number of errors and warnings, and has a Calculate now link that builds a new version.
The calculation reads the customer item lines of the document and runs these steps:
- A new version is created with status Open.
- The Get Source Line method splits every document line into full Mono handling units and a Handling remainder. The quantity per handling unit comes from the handling unit type unit of measure of the customer item, or else from Qty. per Carrier on the document line.
- A full handling unit only stays Mono when it fits its constraints (handling unit type filter, maximum height, weight and cubage). Otherwise the whole quantity becomes Handling, and the line shows why.
- Every Mono handling unit becomes a load unit of its own.
- The Distribution method spreads the Handling lines over load units.
- All physical totals are recalculated and every load unit is validated against its constraints.
Calculation lines
The Calculation Lines subpage shows one line per split of a document line. A line is of Line Type Item or Intermediate Carrier (packaging inside a load unit, never a shipping handling unit) and of Handling Type Mono or Handling. Mono lines are hidden by default because there is nothing to distribute on them; use Include Mono to show them.
Each line holds a snapshot of the item data and the constraints it was calculated with: Qty. per Layer, Qty. per Carrier, unit and total height, weight and cubage, Mono Carrier Type Code and Pick Carrier Type Code, the maximum weight, height, cubage and number of distinct items, Interleave Carriers, Stacking Allowed, Order Pick per Layer and Separate Batch. Changing a condition on the document does not change the snapshot: use Conditions Source Line to view or edit the conditions and recalculate afterwards.
Before distributing you can regroup the quantity that is not on a load unit yet:
- Split: enter a Qty. to Handle (less than the Remaining Quantity) and choose Split. That quantity moves to a new Handling line; the original line keeps the rest.
- Merge: select several lines of the same document line and choose Merge. The line with the lowest line number receives the Qty. to Handle of every other line, or its whole remaining quantity when that field is empty. A line that becomes empty is deleted.
A Mono line that no longer holds exactly one full handling unit after a split or merge becomes a Handling line.
Distribution methods
The Distribution method decides how the Handling lines are placed on load units. The built-in functions are:
| Function | Model |
|---|---|
| FIRST FIT | Sorts the lines per compatibility group, largest first, and places each line in the first load unit where all blocking constraints stay valid. A new load unit is created only when no existing one fits. Capacity is the outer volume of the load unit against the maximum cubage condition. |
| VOLUME FIT | Same placement loop, but the capacity is the volume of the handling unit type (Pick Max. Load (Cubage), or footprint times the allowed stacking height) minus the volume of the colli and the intermediate carriers already on it. This is usually what is meant by "a volume calculation". |
| LAFF | Places the colli three-dimensionally on the footprint of the handling unit (Largest Area Fit First) with the packaging engine. Only handling unit types marked Use for Packaging are considered; lines without length, width or height cannot be placed and stay unassigned with a message. |
| BOX FIT | Chooses the box size per load unit: as few boxes as possible, then as few boxes of a size to avoid as possible, then the same item together, within the weight, the volume and the dimensions of the box. Only handling unit types marked Use for Packaging are used as box. See BOX FIT: as few boxes as possible. |
| WHSE TRANSFER | Lets the existing transfer functions SPLIT MAX or SPLIT CUBAGE of Transfer Strategies form the order picks, and turns every transfer cluster into a load unit. The parameters of the chosen transfer function appear on the method itself. |
Common parameters of the distribution methods:
| Parameter | Effect |
|---|---|
CARRIER TYPE |
Handling unit type for a new load unit, overrules the setup default (for LAFF: the type to pack on; empty lets the engine choose) |
INTERM. CARRIER TYPE |
Handling unit type for intermediate carriers, overrules the setup default |
MAX LOAD UNITS |
Maximum number of load units for this calculation |
SPLIT LINES |
Allow a line to be split over several load units (FIRST FIT and VOLUME FIT) |
FORCE INTERLEAVE |
Always insert an intermediate carrier when a different item is stacked, without checking the interleave condition |
OPTIMIZATION |
LAFF only: FAST (default, predictable run time), BALANCED or FULL |
Distributing without a method stops with an error on purpose; otherwise a calculation would silently end up with everything unassigned. To distribute by hand, switch off Auto Distribute on Calculate in the setup.
BOX FIT: as few boxes as possible
BOX FIT is meant for parcel shipments, where the goods of a shipment are packed in boxes and every box becomes a transfer of its own. Unlike the other distribution methods it does not build on one handling unit type: it chooses the box size per load unit from the handling unit types marked Use for Packaging.
The method applies these priorities, strictly in this order:
- Use as few boxes as possible.
- Use as few boxes as possible of the sizes named in
AVOID CARRIER TYPES, for example the large sizes that cost more to ship. - Keep the same item together. A line is only split over several boxes when its whole quantity does not fit in one box.
Because the order is strict, fewer boxes always wins from avoiding a size: a shipment that fits in one large box goes into that box, also when the size is on the list to avoid. When two boxes are needed anyway, two medium boxes are preferred over a large and a small one.
Every box has three hard limits:
- Weight: Pick Max. Load (Weight) of the handling unit type plus its Tare Weight, and the maximum handling unit weight condition of the line. To limit a parcel to a gross weight, enter that weight minus the weight of the box in Pick Max. Load (Weight).
- Volume: length times width times height of the box, times the
FILL RATE %, against length times width times height of the units of measure. Pick Max. Load (Cubage) is not used by this method. - Dimensions: every single unit must fit in the box. The three dimensions of the unit and of the box are compared from large to small, so the unit may be turned in any direction.
A dimension limit goes before the priorities: an item that only fits in a size to avoid is packed in that size. The order pick handling unit type condition and the maximum number of items per handling unit condition of a line are respected as well.
Parameters of the method:
| Parameter | Effect |
|---|---|
BOX CARRIER TYPES |
Filter that narrows the box sizes. Only handling unit types marked Use for Packaging are ever used as box; empty uses all of them |
AVOID CARRIER TYPES |
Filter on box sizes to avoid, for example XL\|XXL. They are only used when that saves a box, or when an item only fits in them |
FILL RATE % |
Percentage of the inner box volume that may be filled (default 100). A lower value leaves room, a higher value allows more, for example when the dimensions of the units of measure include air |
MAX LOAD UNITS |
Maximum number of load units for this calculation |
SPLIT LINES |
Allow a line to be split over several boxes (default on). A split is made in whole units of the unit of measure of the line |
Example with the box sizes M (20 litres), L (35 litres) and XL (60 litres), XL in AVOID CARRIER TYPES and a fill rate of 100:
| Goods of the shipment | Result |
|---|---|
| 15 litres | 1 x M |
| 55 litres | 1 x XL: one box is fewer than two, so the size to avoid is used |
| 68 litres | 2 x L, not XL + M |
| 100 units of 1 litre on one line | 2 x XL with 60 and 40 units |
Quantity that cannot be packed stays unassigned with a message on the calculation line, for example when the unit of measure has no length, width or height, when one unit does not fit in any box, or when the maximum number of load units is reached. In the last case the boxes that fit within the maximum are still created. The calculation never stops with an error for this reason.
To create one transfer per box, use a Transfer method based on ACTIVITY OR TRANSFER with ONE TRANSFER switched off, and run status function 1 with DISTRIBUTION METHOD, ALLOCATION METHOD and TRANSFER METHOD filled in. See From calculation to warehouse work.
Note
BOX FIT calculates with volume and checks the dimensions per unit; it does not place the units three-dimensionally in the box, as LAFF does. Use the fill rate to match the calculation to practice. The length, width and height of the box and of the units of measure must be entered in the same unit. Intermediate carriers, layers, Stacking Allowed, Separate Batch and the compatibility of items are not used by this method.
Constraints
A handling unit type marked Use for Packaging is treated as a closed box by every distribution method: the goods are packed inside it instead of stacked on top of it. The calculated height and cubage of such a load unit are the outer size of the box, the maximum height and cubage are not checked on it, and its capacity is the inner volume (Pick Max. Load (Cubage), otherwise length times width times height) against the volume of its content. The maximum weight and the maximum number of items are checked as on any other load unit. The rest of this section applies to handling unit types that are not marked Use for Packaging.
The maxima of a load unit come from the existing WMS conditions of the document line and from the Pick Max. Load fields of the handling unit type; the strictest value wins and zero means no restriction. The condition maxima and the calculated totals of a load unit include the primary handling unit itself; the Pick Max. Load fields describe only the load on top of it. When the shipment handling unit type condition gives a filter, the handling unit type of a Mono line must come from that filter: first the type the item is actually in stock on, otherwise a type for which the item has a handling unit type unit of measure. Without a filter the document line, the customer item and the setup default decide, in that order. The handling unit type of a Handling line follows the order pick handling unit type condition in the same way, and without a filter it follows the Mono type. Cubage is always the outer volume: footprint of the primary handling unit times the total height.
Load units
The Load Units subpage shows one row per HU with its Primary Carrier Type Code, calculated height, weight and cubage (including the primary and intermediate carriers), the number of layers, distinct items and intermediate carriers, and a Validation Status of Valid, Warning or Error with a Validation Message.
- Add Load Unit adds an empty load unit for manual distribution; Delete Load Unit releases its allocations, so the quantities become unassigned again.
- Add Intermediate Carrier adds packaging inside a load unit. It adds height, weight and cubage but never counts as a shipping handling unit.
- Distribution Matrix shows the calculation lines as rows and the load units as columns. Enter the quantity of a line that goes on a load unit; one line can be spread over several load units and one load unit can hold several items. Columns come in sets of twelve with Previous Set and Next Set.
- Show Unassigned filters the lines that still have quantity without a load unit.
- Validate recalculates the totals and checks every load unit against its constraints.
The Load Unit card shows the content of one HU as a stack, top layer first. After every automatic distribution the stacking order is set by default: the heaviest unit of measure at the bottom, goods that may not be stacked on at the top, and an intermediate carrier between two different items. Use Move Up and Move Down to change the order by hand, and Sort by Weight to restore the default order without redistributing.
Load unit preview
The Load Unit Preview FactBox on the calculation card and on the load unit card draws the selected load unit in 3D: the primary handling unit at the bottom and every allocation stacked on top in sequence, against the maximum height. The same item keeps the same colour across load units. Allocations without a height in the master data are not drawn but are counted, with a message below the viewer. Use the navigation in the viewer to step through the loading units, or Open full screen to see the whole build-up at once.
Stacking HUs: loading units and pallet places
For transport, two HUs can be stacked on top of each other. Together they form one loading unit: one ground position on the vehicle. Stacking does not change the number of HUs, but it does change the number of pallet places a carrier plans with. The calculation shows both counters: No. of HUs (all load units, the expected number of shipping handling units) and No. of Loading Units (the ground positions).
Automatic stacking of full pallets
Full pallets (Mono load units) can be stacked automatically. Fill the parameter MAX HUS PER STACK on a Get Source Line method that uses the function NORMATIVE:
| Value | Effect |
|---|---|
| Empty, 0 or 1 | No automatic stacking; every HU keeps a ground position of its own |
| 2 | At most two HUs in a stack: a ground HU with one on top |
| 3 | At most three HUs in a stack: a ground HU with two on top |
The value is stored on the calculation in Max. HUs per Stack. The calculation then stacks the full pallets by these rules:
- A full pallet is stackable when the Shipment Stacking Policy of its customer item is filled in.
- With the policy Any Item the pallet is stacked with any other stackable full pallet. With every other policy it is only stacked with full pallets of the same customer item; batch and expiration date are not known yet when the calculation runs.
- Only pallets whose handling unit types belong to the same handling unit type group are stacked on each other. A handling unit type without a group is never stacked.
- Within a stack the heaviest HU is at the bottom. Pallets that do not fill a stack stay on their own.
- Only full pallets are stacked automatically; load units with order pick quantities are not. The total height and weight of a stack are not checked.
On an Open version you can change Max. HUs per Stack on the calculation card and choose Distribute to stack again with the new value. Recalculate takes the value of the method again. Distribute Automatically leaves existing stacks, including manual ones, as they are, and a template keeps the stacking it was saved with. The Calculation Lines subpage can show the Shipment Stacking Policy the line was calculated with (hidden by default).
Example with a maximum of 2 and five full pallets of one stackable item: three stacks of 2, 2 and 1 HU. No. of HUs is 5 and No. of Loading Units is 3.
Loading meters on the document
When Update Document Carrier Quantity is on in the setup, activating a calculation writes two values to the document:
- Expected Shipment Carrier Qty.: the No. of HUs, so the number of pallets, whether they are stacked or not.
- Load Meter: per stack the Loading Meter Factor of the handling unit type group of the ground HU, added up. A group without a factor, or a handling unit type without a group, counts with factor 1. Load units on a handling unit type marked Use for Packaging (boxes) are not counted.
In the example above, with a loading meter factor of 0.4, Load Meter becomes 3 x 0.4 = 1.2, where five unstacked pallets would give 2.0.
Note
Load Meter is written at every activation, also when nothing is stacked, and replaces a value that was already on the document. A status function that calculates loading meters later in the status flow replaces it again; see Loading Meter Functions. Load Meter is hidden by default on the shipment card and list.
Manual stacking
While the version is Open, you can also stack by hand on the Load Units subpage or the load unit card:
- Base Position: enter the number of another base position to put this HU on top of that stack, or a new number to give it a ground position of its own. Base positions are renumbered without gaps afterwards.
- Stack Level: the place within the stack, 1 is the bottom HU. Hidden by default on the subpage; the indentation already shows the stacking order.
The subpage shows a stack as a tree: the bottom HU is the node, the HUs on top are its collapsed children. A collapsed stack only shows the status of the bottom HU; expand it to see an error on a stacked HU.
Versions and templates
A calculation has versions. A new version starts as Open and can be edited. Activate releases it and makes it the active calculation of the document; only a version without errors and without unassigned quantity can be activated, and the previous active version becomes Superseded. The calculation card offers:
- Recalculate: read the document again and rebuild the calculation with the methods shown on the card. An Open version is rebuilt in place, including manual changes; a Released or archived version stays unchanged and a new draft version is created instead.
- Distribute: remove all load units and allocations of an Open version and distribute again with the distribution method on the card. The calculation lines, including manual splits and merges, are kept. Use it to compare distribution methods on the same version.
- Edit, Copy to New Version and All Versions.
- Description: a free remark per version, for example why it was made or what is special about the build-up.
A proven pallet build-up can be reused on a repeat order:
- Save as Template saves the calculation to a template. Enter a new Template Code to create a template, or an existing one to add a new version; an existing template is never overwritten silently. The description of the version goes with it.
- Select Template applies the active version of a template to the calculation: its load units and intermediate carriers are recreated and matched to the lines of the document. Quantity that cannot be matched is shown as unassigned.
- HU Load Templates lists the templates, optionally per Customer No. and Document Type, with their versions. A template can be Blocked.
Templates are chosen by the user; there is no automatic template recognition.
From calculation to warehouse work
An active, valid calculation of a shipment can be turned into warehouse work in two steps, each with a method of its own:
- Allocate reserves the stock of the load units with the Allocation Method. The built-in WHSE ALLOCATION runs the allocation functions of 3PL Dynamics through the warehouse journal:
MONO ALLOCATION(default WHSEBULK) for the Mono load units andPICK ALLOCATION(default WHSEPICK) for the Handling load units; an empty parameter skips the load units of that kind. The reservations stay on the document lines; Qty. Created on the calculation line and Allocated on the load unit show the result, Allocation Message shows what could not be reserved. Allocating again releases the reservations of the load units that have not been transferred yet. - Create Transfers turns the load units into warehouse work with the Transfer Method. The built-in ACTIVITY OR TRANSFER creates a warehouse activity with the
WHSE ACTION(default DIRECTSHIP) for every Mono load unit whose whole quantity is reserved on exactly one handling unit, and transfer (order pick) lines for everything else, picked from the location of the reserved handling units. WithONE TRANSFER(default on) all load units go into one transfer; otherwise one per load unit.TRANSFER STATUSsets the status of the new transfers. The load unit shows Transferred, Order Pick No., No. of Whse. Activities and a Transfer Message. Transferring again creates new activities and transfers next to the existing ones.
Warehouse Activities and Transfers on the calculation card open the activities and order picks of the document. When a transfer is deleted, the load units it was created for are reset.
History
When the document is posted and Archive on Posting is on, the active calculation is copied to an archived version with status Posted, linked to the posted document. Archived versions are read-only and can be opened from All Versions. Open calculations are removed when the document is deleted.
Good to know
- The calculation is indicative; the physical realization may differ.
- Every load unit counts as exactly one shipping handling unit. Intermediate carriers increase height, weight and cubage, but never the number of HUs.
- The quantity that is calculated is the ordered Quantity of the document line.
- Use for Packaging on a handling unit type means that its Height is the inner height of a box. Do not mark a pallet type whose Height is the thickness of the pallet: its capacity would be the volume of the pallet itself, so the calculation would create far too many load units on it.
- Shipment Handling Unit Functions calculate an expected handling unit quantity per document line with a formula. HU Load Calculation instead builds the actual load units of the whole document and writes their number to the document header.
- The Load Units action is also available on receipts, but Allocate and Create Transfers only work on the calculation of a shipment.
- The earlier packaging preview on the shipment and transfer cards is marked obsolete and is replaced by this module.