> 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/prioritize-warehouse-handling-unit-exceptions.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Prioritize Warehouse Handling Unit Exceptions

Read-only ranked HU exceptions for one site/warehouse scope.

| Business area                             | Action type                                |
| ----------------------------------------- | ------------------------------------------ |
| Inventory, Warehousing, and Replenishment | Updates IFS Cloud data after user approval |

## Overview

Warehouse supervisors need a short, ordered worklist of handling units (HUs) that need attention: stock reserved in locations where it cannot be picked, HUs whose content has mixed or non-company ownership, HUs over their weight or volume capacity, HUs stuck in inventory transit, frozen or expired content, and HUs not counted for a long time. In IFS Cloud the Warehouse Navigator shows HUs per site, warehouse, bay, row, tier and bin through the function GetHandlingUnitInStockDetails, but it does not rank exceptions.

Reads warehouse navigator HU data for exception prioritization.

## How it works

{% stepper %}
{% step %}
Scope: SiteSet and GetWarehouses.
{% endstep %}

{% step %}
List HUs: GetHandlingUnitInStockDetails.
{% endstep %}

{% step %}
Lines: InventoryPartsInStockForHuArray.
{% endstep %}

{% step %}
Detail: HandlingUnitInStockSet read.
{% endstep %}

{% step %}
Return structured results and any escalation guidance.
{% endstep %}
{% endstepper %}

## Key capabilities

* Validate site access and resolve the warehouse/bay/row/tier/bin scope.
* Read in-stock HUs in scope with GetHandlingUnitInStockDetails (top level or all levels).
* Detect ownership exceptions: mixed ownership (...), customer-owned, supplier-loaned.
* Detect reservation exceptions: reservations in non-pickable location types (QA, ARRIVAL, SHIPMENT, MANUFACTURING), partial reservations, reservations on frozen or expired stock.
* Detect location exceptions: inventory transit, missing bin structure, over weight/volume capacity, pending transport task, stale counts.
* Drill into stock lines (lot, serial, expiry, freeze flag, reserved quantity) for top candidates only.
* Produce a transparent score per HU and a ranked list with next action.
* Respect bounded scope and paging, never scan unbounded data.

{% hint style="info" %}
This skill keeps a human in the loop. It previews every change and updates IFS Cloud only after a user approves it.
{% endhint %}

## Requirements

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

| Component | Projection                 |
| --------- | -------------------------- |
| INVENT    | WarehouseNavigatorHandling |

## Version compatibility

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

## Known limitations

* Write paths require explicit user confirmation or authorization where configured.
