Packaging assignment in documents

Detailed description of packaging assignment, weight logic, and lot handling in operational HUM document processes.

Purpose

This page describes the operational packaging assignment on documents. It expands on the default logic, manual changes, weight calculation, and the use of lots and expiration dates in daily operations.

Business value

  • Shows how standard and alternative packaging structures are actually used on documents.
  • Describes which manual interventions are allowed and how structural consistency is maintained.
  • Explains weight and tracking logic through registration and posting.

Process map

graph LR;

%% Nodes
  A(Propose standard structure)
  B[Select standard or alternative]
  C[Apply manual changes if required]
  D[Use wizard/detail assignment for tracking]
  E[Validate weights]
  F[Register package assignment]
  G[Post document]
  H[Review posted assignment]

%% Flow
  A -.- B
  linkStyle 0 stroke:#ffffff
  B ==> C
  C ==> D
  D ==> E
  E ==> F
  F ==> G
  G ==> H

%% Classes
  class A btProcessTitle
  class B,C,D,E,F,G,H btProcessActive

Content focus

General packaging-assignment process

The packaging assignment is maintained in the document through which the relevant shipping, purchasing, or transfer process is posted. The decisive value is the quantity that must be shipped, received, or moved on the respective document line.

In the standard scope, end users work with package assignment in these document types:

  • Sales order
  • Purchase order
  • Transfer order
  • Warehouse shipment
  • Warehouse pick
  • Warehouse receipt

Sales order with access to packaging assignment and the relevant quantity to ship Click to enlarge

Standard packaging assignment and alternatives

A standard packaging structure can be proposed automatically for document lines. If release status, fill quantity, or customer requirements demand it, an alternative can be selected instead. Remaining quantities or deviating fill quantities can lead to additional content and packaging lines.

Automatic selection uses central package structure selection. As soon as item, variant, partner, destination, or location are clear on the document line, HUM can copy the matching released package structure to the line. A manually selected package structure is not overwritten; it remains a deliberate user decision.

If Packaging required is set on a matching rule, the following practical rule applies:

  • During entry, the system notifies users about the missing or unusable package structure.
  • For sales, purchase, and transfer documents, release or posting is blocked until a usable package structure is selected or setup is corrected.
  • Packaging material lines created by HUM itself are not evaluated again as content lines that need packaging.

Delivery packaging view with the Standard Packaging Structure action Click to enlarge

The alternative can be selected directly inside the document-specific packaging structure.

Selecting an alternative packaging structure inside the packaging assignment Click to enlarge

Manual changes inside the assignment

Within the packaging assignment, new packaging or content lines can be added, existing assignments can be removed, and lines can be deleted or restructured. The manually packed quantity must always match the target quantity on the document so that the structure remains registerable.

Change view of the packaging assignment with actions for new lines and reassignment Click to enlarge

Typical manual corrections include moving individual content lines or restructuring existing packaging levels.

Manual restructuring of packaging and content lines inside the packaging assignment Click to enlarge

For guided manual package creation, the wizard is also available:

  • Define package: choose package material type and package material number.
  • Fill package: enter quantities per source line.
  • Suggest next package: continue directly with remaining quantities.

Wizard as a dedicated function

The wizard is not only an alternative entry form, but a dedicated guided function for operational shipping teams. It is especially useful when many lines must be packed quickly and users should not manually navigate the hierarchy.

In sales scenarios, this means:

  • The wizard guides users in a fixed sequence through package-material selection, quantity assignment, and remaining-quantity checks.
  • Each run creates an immediately reviewable package assignment in the document packaging structure.
  • Remaining quantities stay visible and can be continued in the next wizard run without changing context.
  • For tracked items, assignment can be completed directly per detail quantity (lot/serial).

Weights and registration

Each line differentiates between net, gross, and tare weight. After business changes in the packaging assignment, the full weight update is deliberately performed only during registration. At that stage, additional document lines for packaging materials can also be created and prepared for later posting.

Additional document lines for packaging materials after packaging-assignment registration Click to enlarge

Lots and expiration dates

For lots and expiration dates, Handling Unit Management builds on the standard Business Central logic. Lots can be assigned to content lines automatically or manually. During registration, the tracking information is transferred to item tracking lines and reused during posting.

Item tracking lines with lot number and expiration date within the packaging assignment Click to enlarge

In practice, lots are often distributed automatically first and then refined manually if required.

Automatic lot assignment inside the packaging assignment Click to enlarge

Manual lot assignment inside the packaging assignment Click to enlarge

For serial numbers and multiple lots per source line, detail lines can be used. The package assignment then creates separate content lines automatically to keep tracking and quantities consistent.

Complete sales item-tracking assignment

For sales orders, item tracking assignment in package assignment is fully documented and follows a clear business sequence:

  1. Start from the sales line and its quantity to ship.
  2. Distribute that quantity to package lines in package assignment.
  3. Complete tracking assignment on detail lines for tracked items:
    • Lot-tracked items: split one line into multiple lots with partial quantities.
    • Serial-number-tracked items: maintain one tracked unit per serial number.
  4. Ensure the sum of detail lines exactly matches the assigned content quantity.
  5. Complete registration only after all assignments are consistent and validated.

Important in practice:

  • Automatic lot allocation can be used as a proposal and then adjusted manually.
  • Mixed cases with multiple lots and additional serial numbers on one source line can be modeled through detail lines.
  • Incomplete or quantity-inconsistent tracking assignments produce errors and stop registration.
  • After successful registration, assigned tracking data is transferred to the sales item tracking lines.

Shipping and warehouse specifics

In warehouse-controlled scenarios, packaging materials must be available on the correct bins. For warehouse shipment and picking, it is especially important that packaging materials are available on the intended shipment bin in time.

Central selection also recognizes the Warehouse Shipment and Warehouse Receipt contexts and can use their source lines when resolving criteria. However, automatic assignment and blocking enforcement for mandatory packaging are currently implemented in the standard HUM path for sales, purchase, and transfer documents. For warehouse shipment and receipt, do not rely on a setup rule alone; check the structure actually offered and the process integration in your environment.

For warehouse shipment, an additional control applies: before final reservation, the system checks whether package quantities and document quantities match per item/variant. If they differ, registration is stopped.

Warehouse card showing the relevant shipping, picking, and outbound-bin settings Click to enlarge

Field catalog for operational use

Header and totals

Field Mandatory Example Meaning
Total Net Weight System 190.0 kg Sum of content weights
Total Gross Weight System 243.0 kg Net plus packaging material
Max Gross Weight Optional 230.0 kg Overload threshold
Overloaded System Yes/No Final check before registration

Line and tracking fields

Field Mandatory Example Meaning
Quantity (Content) Yes 40 Packed content quantity
Qty To Assign Yes in wizard 12 Partial assignment per step
Remaining Qty System 8 Remaining quantity for full assignment
Lot No. Required for lot tracking L-2026-015 Lot traceability
Serial No. Required for serial tracking SN-9000123 Unit-level traceability

Automatic assignment on the document

Situation System behavior User control
No package structure on the line Central selection determines the most specific active rule and copies the released structure to the document line. Check whether the proposed package structure fits the business case.
Item, variant, partner, or destination changes Automatically assigned structures are reevaluated. Recheck the package instruction after master-data changes.
Package structure was selected manually The selection remains in place and is not replaced automatically. Select manually only when the standard rule does not fit this line.
Matching rule points to an unreleased structure The structure is treated as unusable. Release the structure or maintain a valid replacement rule.
Packaging is required but no usable structure exists Release or posting is blocked. Select a package structure or correct setup.

Calculation logic with example

Content lines

For a content line, the item weight is multiplied by the line quantity. No additional packaging weight is included at this level:

Total Net Weight = Net Weight × Quantity
Total Gross Weight = Total Net Weight
Filling Quantity = Quantity

Example:

  • 40 pieces × 2.5 kg = 100 kg
  • 30 pieces × 3.0 kg = 90 kg

Result: 190 kg net weight.

Package lines with contents

Each package line takes the total weights of its direct child lines. Its own tare is added for each package unit:

Net Weight = Σ(direct child lines: Total Net Weight)
Total Net Weight = Σ(direct child lines: Total Net Weight)
Total Gross Weight = Σ(direct child lines: Total Gross Weight) + (Tara Weight × Quantity)
Gross Weight = Total Gross Weight ÷ Quantity when Quantity > 0; otherwise 0
Filling Quantity = Quantity × Σ(direct child lines: Filling Quantity)

If the quantity of a package line changes after the tree is built, HUM scales the stored per-unit weights: Total Net Weight = Net Weight × Quantity and Total Gross Weight = Gross Weight × Quantity. The weight change is propagated to parent package levels as a delta.

Child totals already include their own packaging tare, so summing the hierarchy includes each packaging level exactly once.

Empty packaging materials

A package line without child lines has no net weight. Its gross weight consists of its tare:

Net Weight = 0
Gross Weight = Tara Weight
Total Gross Weight = Tara Weight × Quantity
Filling Quantity = 0

Example for the complete assignment

  • Total Net Weight of packed goods: 190 kg
  • Total packaging tare across all levels (each tare × quantity): 53 kg
  • Total Gross Weight: 190 kg + 53 kg = 243 kg

Overload

Overloaded = (Total Gross Weight > Max Gross Weight)

Example: a total gross weight of 243 kg exceeds a Max Gross Weight of 230 kg.

Remaining quantities in the wizard

Remaining Qty = Target quantity on the document line - already assigned content quantity

Example:

  • Target quantity on the sales line: 50 pieces
  • First package in the wizard: 24 pieces
  • Second package in the wizard: 18 pieces

Calculation:

Remaining Qty = 50 - 24 - 18 = 8 pieces

Result: The wizard suggests another package for the remaining 8 pieces, or the remaining quantity is assigned manually to an existing structure.

Variants and exception scenarios

Scenario Decision point Procedure
Standard structure fits No deviation in packing pattern Use standard assignment
Alternative required Customer-specific packaging pattern Select alternative in assignment
Remaining quantity open Target quantity not fully assigned Run wizard again or complete manually
Tracking mixed case Multiple lots/serials per source line Maintain detail lines per partial quantity

Completion checklist

  1. Target quantity per document line is fully assigned.
  2. Tracking data (lot/serial) is complete and consistent.
  3. Weights are plausible and overload status is resolved.
  4. Registration finished without errors.
  5. Posted document shows expected packaging and tracking information.

Result

  • The operational packaging assignment is documented consistently from proposal through posting.
  • Manual changes, weights, and tracking data can be interpreted in a structured way.
  • Warehouse and shipping scenarios can use the same structure and assignment logic across the documentation.