> 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/manufacturing-and-supply-chain-planning/trace-supply-bottom-up.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Trace Supply Bottom Up

For one MRP supply line on a part, lists demand served via FIFO netting context, parent MRP parts and non-MRP parent demands. Read-only bottom-up trace with impact guidance.

| Business area                           | Action type |
| --------------------------------------- | ----------- |
| Manufacturing and Supply Chain Planning | Read-only   |

## Overview

Before a buyer cancels, delays or expedites a purchase order, or a planner moves a shop order, they need to know which higher-level demands depend on it. IFS Cloud shows this in MRP Part Information - Bottom Up (client MrpPartInfoBottomUp, tree BottomUpPlanningTree), whose nodes come from GetBottomupNodes (parent MRP parts that consume this part) and GetBottomupNodes1 (demand lines whose parent is not an MRP part in the scenario, for example master-scheduled parents).

The IFS Cloud integration reads MRP bottom-up planning data to trace supply to demand.

## How it works

{% stepper %}
{% step %}
Get Part Plan Header: confirm part in scenario.
{% endstep %}

{% step %}
Get Supply Line: must have SupplyQty > 0.
{% endstep %}

{% step %}
List Part Supply Demand Sequence to horizon for FIFO netting (agent-side).
{% endstep %}

{% step %}
Get Parent Mrp Parts and Get Non Mrp Parent Demands to attach parent context.
{% endstep %}

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

## Key capabilities

* Locates one supply line by order reference or SupplyDemandSeq and validates it is supply (SupplyQty > 0).
* Reads the part plan header to seed the netting with BegOnhand and SafetyStock.
* Rebuilds the chronological supply/demand sequence for the part within a bounded horizon.
* Allocates on hand and supplies to demands first-in-first-out and isolates the demands served by the target supply.
* Resolves parent MRP parts with the IFS bottom-up function GetBottomupNodes.
* Lists demand lines whose parent is not an MRP part with GetBottomupNodes1.
* Assesses impact of delay or cancellation (which demand becomes uncovered first).
* States clearly that allocation is approximate and shows the inputs used.

## Requirements

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

| Component | Projection                  |
| --------- | --------------------------- |
| MRP       | MrpPartInfoBottomUpHandling |

## Version compatibility

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

## Known limitations

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