> 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/engineering-product-lifecycle-and-quality/prioritize-overdue-purchasing-analyses.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Prioritize Overdue Purchasing Analyses

Lists open purchasing analyses for a site, enriches supplier exposure and control plan receipt policy, then ranks analyses with a documented scoring model. Read-only.

| Business area                               | Action type |
| ------------------------------------------- | ----------- |
| Engineering, Product Lifecycle, and Quality | Read-only   |

## Overview

When goods are received against a purchase order line covered by a purchasing control plan, IFS Cloud creates a purchase order analysis (PurchOrderAnalysis, state Planned until results are confirmed). Open analyses pile up, and when the control plan has "Analysis Required for Receipt" (ReceiptNotAllowed) set, the received goods stay blocked until the analysis is handled.

The IFS Cloud integration reads purchasing analyses and control plans to prioritize overdue work.

## How it works

{% stepper %}
{% step %}
List Open Purchasing Analyses.
{% endstep %}

{% step %}
Get Supplier Quality Exposure for vendors in scope.
{% endstep %}

{% step %}
Get Control Plan Receipt Policy for related control plans.
{% endstep %}

{% step %}
Rank Purchasing Analyses locally.
{% endstep %}

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

## Key capabilities

* Read open purchasing analyses for one site with order, receipt, supplier, control plan and result status fields.
* Compute age in days from TimeCreated against an evaluation date and an overdue threshold.
* Detect early warning signals in partially registered results (OutOfSpecification, PartlyInSpecification, NonConformitiesExists, Rejected, Reinspect).
* Compute supplier exposure: open analysis count and recent non-conformity rate per supplier.
* Read control plan receipt policy (ReceiptNotAllowed = Analysis Required for Receipt, IsMandatory, SkipLotApproved).
* Produce a transparent weighted score and a ranked list with reasons.
* Summarize by supplier and recommend the next business action.
* Enforce a bounded scope (site required, row cap).

## Requirements

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

| Component          | Projection                    |
| ------------------ | ----------------------------- |
| QUAMAN (WITH PURCH | PurchasingAnalysesHandling    |
| RCEIPT REFERENCES) | ControlPlanPurchasingHandling |

## Version compatibility

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

## Known limitations

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