Every waybill line in Shipping Manager represents a physical package, and every package is backed by a Packaging Unit — a record that carries the package number, type, dimensions, and weight. For most shipments, each packaging unit stands alone. For more complex shipments, however, goods may be packed into an inner box that is then loaded onto a pallet, or a pallet may itself be stacked on a master pallet. Package Hierarchy is the feature that models these multi-level structures inside Business Central.
When Package Hierarchy is active, a packaging unit can contain other packaging units as well as individual sales lines. The structure is shown on the Packing and Shipping page, where each node in the tree is linked to its parent. This means a single shipment can be represented as a tree of any depth — pallet → inner box → individual items — while still sending a single waybill to the shipping broker.
Weight is calculated automatically across the entire tree. When sales lines are added to or removed from a package, Shipping Manager recalculates the weights of all packages in the tree, adding tare weights from the packaging types at each level, and writes the consolidated totals back to the waybill line. This means the weight on the waybill always reflects the fully packed shipment, including all nested packages.
Key Facts
| Item | Detail |
|---|---|
| Main pages | Packaging Unit Card, Packaging Unit List, Package Hierarchy Entries, Packing and Shipping |
| Hierarchy structure | One node per package or sales line; each child is linked to its parent package |
| Hierarchy code | PACKAGING UNIT HIERARCHY (default hierarchy template, created automatically) |
| Nesting limit | 50 levels (circular-link guard raises an error above this) |
| Weight recalculation | Automatic on each add/remove; consolidated totals are written to the waybill line |
| Tare weight | Added per package node from the Tare Weight on the Packaging Type |
| SSCC Number | Optional 18-digit Serial Shipping Container Code on each packaging unit |
| Hazardous materials | Contains Hazmat indicator and hazard symbol actions |
| License plate labels | Print License Plate action (requires Document Customizer) |
| API exposure | packageHierarchies endpoint on API v2.0 and v3.0 |
| Package status | Package Open → Package Closed (same lifecycle as a standard waybill line) |
| Requires | Abakion Manager Foundation; Hierarchy feature installed |
Getting Started
- Open the Waybill Card for the shipment you are packing, and add a waybill line for the outermost package (for example, a EUR pallet). This creates the top-level Packaging Unit.
- On the Waybill Lines subpage, select the top-level line and choose Add Package Below to nest an inner package (for example, a cardboard box) inside the pallet. A new Packaging Unit is created and linked to the pallet as a child in the hierarchy.
- With the inner package selected, choose Add Sales Line to Package to assign individual sales order lines to that box. The sales lines appear as leaf nodes in the hierarchy.
- Repeat steps 2–3 for additional boxes or pallets as needed. The hierarchy can be as deep as required (up to 50 levels).
- To inspect the complete structure at any time, choose Show Package Hierarchy on any waybill line. The hierarchy viewer shows every node indented by level, with package numbers, types, and weights.
- When packing is complete, choose Close Package on each line, or use Close All Packages on the waybill to close all lines at once. Weight totals are written to the waybill line automatically.
Related Features
Packaging Types are the foundation for package nodes in the hierarchy. Every packaging unit references a Packaging Type, which supplies the default dimensions, volume, and tare weight. Without packaging types, the hierarchy has no weight baseline to calculate from.
Waybill Lines are the top-level anchor for each hierarchy tree. Only a packaging unit flagged as Original Waybill Line has a corresponding waybill line — child packages created through Add Package Below exist only in the hierarchy and do not generate additional waybill lines. Weight totals flow upward from the deepest children and are written to the original waybill line. With Auto-Add Related Packages to Waybill enabled in Shipping Manager Setup, packages already linked to a sales order, warehouse shipment or transfer order are added as waybill lines when the waybill is created.
Customs Tariffs are attached at the waybill level and are independent of the package hierarchy. Item-level tariff data is provided separately on the Customs Tariff Lines subpage and transmitted to the broker alongside the consolidated package information.
Shipping Fees are calculated per package type on the waybill lines. Child packages inside the hierarchy do not create separate fee lines.
User Stories
US-01: Add a package below an existing waybill line to create a nested package
Scenario: You are packing a pallet that contains multiple inner boxes. You want to register each box as a separate package inside the pallet.
- Open the Waybill Card and locate the waybill line for the pallet.
- Choose Add Package Below from the Waybill Lines actions.
- Select or confirm the Package Type for the inner box. A new Packaging Unit is created and linked to the pallet as a child.
- Repeat for each additional inner box.
The pallet now appears as the parent, and the inner boxes appear as children in the hierarchy viewer.
US-02: Add a sales line to a specific package inside the hierarchy
Scenario: You want to record which sales order lines are packed into a specific inner box.
- On the Waybill Lines subpage, select the line for the inner box.
- Choose Add Sales Line to Package.
- In the dialog, select the sales order lines you want to assign to this package. The lines are added as leaf nodes below the inner box.
- Weight is recalculated automatically: the net and gross weight of the selected lines is summed and propagated up to the waybill line.
Tip: You can also choose Add to Packaging Unit directly on a Sales Order line or Warehouse Shipment line. The quantity defaults to the quantity not yet packed, and you cannot pack more than what remains.
US-03: View the full package hierarchy for a waybill line
Scenario: You want to see the complete nesting of packages and items for a shipment before closing it.
- On the Waybill Lines subpage, select any line.
- Choose Show Package Hierarchy from the actions.
- The hierarchy viewer opens and shows all nodes in tree order, indented by level. Each node displays the Package No., Package Type, Description, and Weight.
- Close the viewer when done. No changes are made by viewing the hierarchy.
US-04: Understand how weight is recalculated when items are added or removed
Scenario: You want to understand what happens to the waybill line weight when you pack or unpack items.
When a sales line is added to or removed from a package:
- Shipping Manager identifies the top-level package (Original Waybill Line) for the affected tree.
- All item weights are refreshed based on quantity and item unit of measure.
- Gross and net weights are summed for each package in the tree, and the tare weight from the Package Type is added.
- The consolidated gross and net weights are written to the Waybill Line.
This process runs automatically every time the hierarchy changes. You do not need to trigger it manually. If a weight has been entered manually and locked, it is not overwritten.
US-05: Navigate to the Packaging Unit Card from a waybill line
Scenario: You want to view or edit the packaging unit record for a specific waybill line.
- On the Waybill Lines subpage, select the line.
- Choose Packaging Unit from the actions.
- The Packaging Unit Card opens for the package on that line, showing the Package No., Package Type, SSCC Number, and hierarchy actions.
US-06: Assign an SSCC number to a packaging unit
Scenario: Your logistics process requires each physical package to carry an SSCC barcode.
- Open the Packaging Unit Card for the relevant package (via the Waybill Lines action or the Packaging Unit List).
- Enter the 18-digit SSCC number in the SSCC Number field.
- The SSCC number is stored on the Packaging Unit and can be transmitted to the broker as part of the waybill.
US-07: Close all packages and verify that consolidated weights are correct on the waybill
Scenario: Packing is complete. You want to close all packages and confirm that the waybill shows the correct total weight before sending it to the broker.
- On the Waybill Card, choose Close All Packages from the actions. All waybill lines move to status Package Closed.
- Review the Gross Weight and Net Weight fields on each waybill line. These values reflect the full hierarchy total, including all nested packages and their tare weights.
- If a weight looks incorrect, reopen the package, adjust the contents, and close again. Weight is recalculated each time.
- Once satisfied, proceed to send the waybill to the broker.
US-08: Identify packages with hazardous materials
Scenario: You need to know which packages contain hazardous materials and which hazard labels the outer package needs.
- Open the Packaging Unit List. The read-only Contains Hazmat indicator shows which packages contain hazardous materials.
- In the hierarchy, choose Show Hazard Symbols to see all unique GHS hazard symbols in the entire hierarchy — each symbol is shown once.
- Choose Show Hazard Pictograms for the selected line: a hazmat line shows its own pictograms, and a package line shows all pictograms for the whole package.
US-09: Print license plate labels
Scenario: You want to print a license plate label for each package.
- Make sure Document Customizer is installed.
- Choose Print License Plate on the Waybill, Sales Order, Warehouse Shipment, Transfer Order or Packing and Shipping page.
- Select the packages or lines to print and confirm.
Field Reference
| Field | Where to find it | What it does | Default |
|---|---|---|---|
| Package No. | Packaging Unit | Unique identifier for the packaging unit. Generated automatically from the Packaging Unit Nos. number series in Shipping Manager Setup. | Auto-assigned |
| Package Description | Packaging Unit | Descriptive label for the package. Copied from the Packaging Type description when a type is selected. | (blank) |
| Package Type | Packaging Unit | The Packaging Type that supplies default dimensions, volume, and tare weight. | (blank) |
| SSCC Number | Packaging Unit | Serial Shipping Container Code — an 18-digit logistics identifier for the package, used for scanning at logistics checkpoints. | (blank) |
| Original Waybill Line | Packaging Unit | Marks the packaging unit as the top-level package that has a corresponding waybill line. Set automatically when the unit is created from a waybill line. | Disabled |
| Parent Package No. | Packaging Unit | The Package No. of the packaging unit that contains this one. Set automatically during packing. | (blank) |
| Hierarchy Code | Packaging Unit | The code of the packaging hierarchy this unit belongs to. Set to PACKAGING UNIT HIERARCHY by the packing flow. |
(blank) |
| Weight | Packaging Unit | The gross weight of the packaging unit as measured or calculated. Updated automatically when the hierarchy changes. | 0 |
| Weight Locked | Packaging Unit | Prevents the weight from being overwritten by automatic recalculation. Set automatically when weight is entered manually. | Disabled |
| Weight Date | Packaging Unit | The date on which the weight was last set or recalculated. | (blank) |
| Contains Hazmat | Packaging Unit List | Read-only indicator showing whether the package contains hazardous materials. | Set automatically |
| Indentation | Packing and Shipping | The depth of the node in the hierarchy display. 0 = top level, 1 = first child level, and so on. | 0 |
| Hierarchy Description | Packing and Shipping | The type of record for this node (for example, a packaging unit or a sales line). Populated automatically. | (blank) |
| Package No. | Waybill Line | The package number of the original packaging unit this waybill line represents. Links the waybill line to the top of the hierarchy tree. | (blank) |
| Gross Weight | Waybill Line | The total gross weight of the fully packed hierarchy tree, including all nested packages and their tare weights. Updated automatically when weight is recalculated. | 0 |
| Net Weight | Waybill Line | The total net weight of all items in the hierarchy tree, excluding tare weights. Updated automatically when weight is recalculated. | 0 |