> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/inventory-warehousing-and-replenishment/find-unattached-shipment-reservations.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Find Unattached Shipment Reservations

Finds shipment lines with reserved quantity not yet attached to a handling unit for one shipment or Preliminary shipments at a site in a planned ship date window. Read-only.

| Business area                             | Action type |
| ----------------------------------------- | ----------- |
| Inventory, Warehousing, and Replenishment | Read-only   |

## Overview

Before a shipment can be completed, every reserved quantity should be packed into a handling unit (HU) so that labels, weights, SSCCs and packing lists are correct. In IFS Cloud, the Shipment Handling Unit Structure page shows an "Unattached Shipment Reservations" tab per shipment.

IFS Cloud reads shipment handling unit structure to report unattached reservations.

## How it works

{% stepper %}
{% step %}
If shipment ID given, Get Shipment Header. Else List Open Shipments For Site (Preliminary only).
{% endstep %}

{% step %}
For each shipment call Get Unattached Reservations On Shipment.
{% endstep %}

{% step %}
If rows exist, Get Shipment Handling Units for HU and consolidation context.
{% endstep %}

{% step %}
Optionally Get Attached Reservations On Shipment when explaining partial attachment.
{% endstep %}

{% step %}
Classify: FULLY\_ATTACHED, UNATTACHED\_OPEN, or NOT\_ATTACHABLE.
{% endstep %}

{% step %}
Rank UNATTACHED\_OPEN by PlannedShipDate ascending, then total ReservedQtyLeftToAttach descending.
{% endstep %}
{% endstepper %}

## Key capabilities

* Resolve a bounded shipment set: one shipment ID, or Preliminary shipments for one site and planned ship date window.
* Read the unattached-reservation rows exactly as the IFS "Unattached Shipment Reservations" tab shows them (same navigation filter).
* Return quantity evidence per line: InventoryQuantity, QuantityAttachedReservation, ReservedQtyLeftToAttach, UnattachedReservationQty.
* Show HU context for each row (HU ID, type, SSCC, top parent HU).
* Read already-attached reservations to explain partial attachment.
* Check attach eligibility: shipment Objstate/ShipmentObjstate = Preliminary and HU LoadedConsolShpmntId empty.
* Rank shipments by planned ship date, then by total open quantity.
* Return a verdict per shipment: FULLY\_ATTACHED, UNATTACHED\_OPEN, NOT\_ATTACHABLE (state or consolidation blocks).

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component         | Projection                            |
| ----------------- | ------------------------------------- |
| SHPMNT (ENTITIES) | ShipmentHandlingUnitStructureHandling |

## Version compatibility

| Projection                            | Supported IFS Cloud releases |
| ------------------------------------- | ---------------------------- |
| ShipmentHandlingUnitStructureHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

* Read-only: does not create, update, or delete IFS Cloud data.
