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

# Rank Manual Reservation Candidates

Lists and ranks manual reservation stock candidates for a supply-site order line and simulates quantities. Read-only.

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

## Overview

When a customer order line is sourced from another site through the internal order flow (supply code IPT or IPD), the planner can reserve stock directly at the supply site using the "Manual Reservations on Supply Site" page. The page lists the candidate stock records (InventoryPartInStock in picking or floor-stock locations, ActivitySeq = 0, QtyOnhand > 0) that match the line's part, configuration, condition code and ownership rules, and shows how much is available for that line.

IFS Cloud reads manual reservation candidates on the supply site.

## How it works

{% stepper %}
{% step %}
Get Supply Site Order Line.
{% endstep %}

{% step %}
List Reservation Candidates.
{% endstep %}

{% step %}
Rank Reservation Candidates.
{% endstep %}

{% step %}
Simulate Reservation Quantity for plan rows.
{% endstep %}

{% step %}
Get Stock Record to confirm keys.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one internal-supply customer order line with open and reserved quantity at the supply site.
* Retrieve candidate stock exactly as the IFS page does (ownership, condition code, configuration, location type rules).
* Compute per-record availability for the line (QtyAvailable includes quantity already reserved for this line).
* Rank by full coverage, expiration date (FEFO), receipt date (FIFO), HU and lot fragmentation, location.
* Exclude records with zero availability or blocked availability control, and explain why.
* Show location breakdown (warehouse, bay, row, tier, bin) and HU top parent.
* Simulate a proposed quantity per record with IFS's own validation (CalculatedQuantity).
* Return a recommended reservation plan without executing it.

## Requirements

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

| Component          | Projection                             |
| ------------------ | -------------------------------------- |
| ORDER (PROJECTION) | ManualReservationsOnSupplySiteHandling |

## Version compatibility

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

## Known limitations

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