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

# Transfer Handling Unit to Project Inventory

Transfers one in-stock handling unit into project inventory on a released activity with gate checks, preview, approval and verification. Bounded write.

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

## Overview

Project-driven companies earmark physical stock for a project by moving it into project inventory: the stock records keep their location but get a project activity sequence (ActivitySeq), and the transfer can report earned value to the project. For a handling unit, IFS Cloud offers "Transfer to Project Inventory" on the Handling Units In Stock page (HandlingUnitsInStockList\_TransferHandlingUnitToProjectInventoryCommand).

The IFS Cloud integration transfers handling units in stock into project inventory on a released activity.

## How it works

{% stepper %}
{% step %}
Get Handling Unit In Stock.
{% endstep %}

{% step %}
Get Handling Unit Contents (note mixedActivities)
{% endstep %}

{% step %}
Resolve Target Activity (ValidateCompany + GetProjectsHu + GetActivitySeqHu)
{% endstep %}

{% step %}
Validate Transfer Gate: stop on BLOCKED.
{% endstep %}

{% step %}
Preview and require YES.
{% endstep %}

{% step %}
Transfer Handling Unit To Project (approved + approvaltoken + previewhash)
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one HU in stock with project, shipment, availability and location type indicators.
* Read HU content with activity sequence per stock record.
* Apply the client enable rule: ShipmentId empty, TotalAvaialableQty > 0, LocationTypeDb not QA/ARRIVAL.
* Resolve company from the HU's site using ValidateCompany.
* Resolve and validate the target project (Approved/Started) and activity (Released) via the dialog's lookup functions.
* Support standard-to-project and project-to-project (activity-to-activity) transfers.
* Preview with from/to activity, note (max 25 chars) and earned-value flag. Execute after explicit approval.
* Verify the HU and content now carry the target activity sequence.

{% 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 (PROJECTION | HandlingUnitsInStockHandling |

## Version compatibility

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

## Known limitations

* Write paths require explicit user confirmation or authorization where configured.
* Requires projection-level security. Permission errors halt the run.
