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

# Predict Shop Order Operation Delay

Read-only delay risk for one shop order operation.

| Business area                           | Action type                                |
| --------------------------------------- | ------------------------------------------ |
| Manufacturing and Supply Chain Planning | Updates IFS Cloud data after user approval |

## Overview

Each shop order operation in IFS Cloud has a scheduled window (OpStartDate, OpFinishDate), a status (OperStatusCode), quantities (RevisedQtyDue, QtyComplete, QtyScrapped, RemainingQty) and remaining work (RemainingMachTime, RemainingLaborHours). Supervisors need to know early whether an operation will finish late, and why: it has not started although its start is in the past, predecessors are still open, remaining hours exceed the time left, an interruption is active, or the work center queue ahead of it is heavy.

Reads shop order operation timing context.

## How it works

{% stepper %}
{% step %}
Operation: ShopOrderOperations by key.
{% endstep %}

{% step %}
Sequence: Filtered list by order.
{% endstep %}

{% step %}
WC: GetWorkCenterInformation function.
{% endstep %}

{% step %}
Load: Operations on same WC/date.
{% endstep %}

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

## Key capabilities

* Read one operation by full key with schedule, status, quantities and remaining hours.
* Check predecessors in the same shop order (lower OperationNo / OpSequenceNo) for open status and lateness.
* Detect not-started-but-due, active interruptions (InterruptionCause), parked order, and tardy order (Tardy).
* Read work center code and queue time with GetWorkCenterInformation.
* Quantify competing work at the same work center before the planned finish.
* Compute a projected finish and a risk level with transparent rules.
* Explain drivers with exact IFS values and recommend the next action.

{% 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                  |
| ---------------------------- | --------------------------- |
| SHPORD (MFGSTD ENUMERATIONS) | ShopOrderOperationsHandling |

## Version compatibility

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

## Known limitations

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