> 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/procurement-and-sourcing/find-parts-without-sourcing-coverage.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Find Parts Without Sourcing Coverage

Finds manual-sourcing order lines whose parts lack viable external supplier coverage for a bounded site and date horizon. Read-only except transient virtual supplier evaluation.

| Business area            | Action type |
| ------------------------ | ----------- |
| Procurement and Sourcing | Read-only   |

## Overview

Customer order lines with supply code Not Decided (SUPPLY\_CODE\_DB = 'ND') must be sourced manually in Source Order Lines Manually. The Source From Suppliers assistant builds a supplier list per part through the virtual PurchasePartSupplierHeaderVirtual: on create, IFS loads every supplier for the part/site with status\_code = '2' (Active) and an invoice address, and computes FulfillsDemand, EarliestPossibleDeliveryDate, CoPlannableQuantity, ExpectedAdditionalCost per supplier.

Reads order sourcing lines and evaluates supplier coverage.

## How it works

{% stepper %}
{% step %}
Worklist: SourceOrderLinesManuallySet.
{% endstep %}

{% step %}
Sourced qty: GetTotalSourcedQty.
{% endstep %}

{% step %}
Existing: GetSourcedCustOrderLine.
{% endstep %}

{% step %}
Coverage: POST PurchasePartSupplierHeaderVirtualSet then read PurchasePartSuppliersArray.
{% endstep %}

{% step %}
Master: PurchasePartSupplierSet.
{% endstep %}
{% endstepper %}

## Key capabilities

* Lists unsourced customer order lines (supply code Not Decided) for one site and a bounded wanted-date horizon.
* Skips lines already fully sourced (sourced quantity >= revised quantity due).
* Uses the IFS Source From Suppliers engine (virtual create) to obtain real supplier candidates with FulfillsDemand, earliest possible delivery date, plannable quantity and expected additional cost.
* Classifies coverage per line: No supplier, Late only, Covered, Already sourced, Not purchasable.
* Explains root cause from supplier master (PurchasePartSupplier.StatusCode, primary flag).
* Lists existing sourced lines for partially sourced order lines.
* Ranks results by wanted delivery date and severity.
* Never creates sourcing lines or changes master data.

## Requirements

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

| Component | Projection                       |
| --------- | -------------------------------- |
| ORDER     | SourceOrderLinesManuallyHandling |
| PURCH     | SupplierForPurchasePartsHandling |

## Version compatibility

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

## Known limitations

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