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

# Transfer Handling Unit Ownership to Company

Transfers customer-owned or supplier-loaned stock in one handling unit to company ownership after gate validation and approval.

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

## Overview

In IFS Cloud, a handling unit (HU) can carry stock that the company does not own: customer-owned stock (CUSTOMER OWNED) or supplier-loaned stock (SUPPLIER LOANED). When the company takes over ownership (for example, after a buy-out agreement), the stock in the HU must be re-owned through the Transfer Ownership to Company command.

IFS Cloud transfers HU stock to company ownership.

## How it works

{% stepper %}
{% step %}
Get Handling Unit Ownership Context.
{% endstep %}

{% step %}
List Handling Unit Stock Lines.
{% endstep %}

{% step %}
Validate Ownership Transfer Gate.
{% endstep %}

{% step %}
After approval Transfer Handling Unit Ownership To Company.
{% endstep %}

{% step %}
Verify Handling Unit Ownership.
{% endstep %}
{% endstepper %}

## Key capabilities

* Resolve one HU by HandlingUnitId (or SSCC via $filter=Sscc eq '...') and read its location, stock status and ownership.
* Read the complete HU structure (parent and children) with GetHandlingUnitStructure to detect mixed or nested ownership.
* List the stock lines inside the HU (part, lot, serial, qty on hand, reserved, owner, freeze flag).
* Apply the exact IFS client gate: ownership must be CUSTOMER OWNED or SUPPLIER LOANED.
* Detect blockers: mixed ownership (...), HU not in stock, HU in inventory transit, counting freeze, non-top-level HU selected.
* Validate the ownership transfer reason against OwnershipTransferReason.
* Preview the change and require explicit human approval before writing.
* Execute ChangeOwnershipToCompany for exactly one HU and read back the new ownership.
* Return a structured verdict with evidence, blockers and the next permissible step.

{% 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 (PURCH MUST BE INSTALLED FOR THE TRANSFER TO TAKE EFFECT) | HandlingUnitHandling |

## Version compatibility

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

## Known limitations

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