> 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/sales-and-customer-orders/identify-customer-delivery-delay-risk.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Identify Customer Delivery Delay Risk

Assesses delay risk for one customer order line versus the wanted delivery date using dates, quantities and deliveries. Read-only.

| Business area             | Action type |
| ------------------------- | ----------- |
| Sales and Customer Orders | Read-only   |

## Overview

A customer asks "will my order arrive on time?" Answering needs several IFS dates and quantities on the order line (wanted, promised, planned delivery and planned ship dates, planned supply due date), its fulfilment progress (reserved, picked, shortage, delivered), the order header status (blocked or not), and actual deliveries already made. This skill reads those for one customer order line and returns a delay-risk verdict against the customer's requested (wanted) delivery date.

IFS Cloud reads customer order lines and deliveries for delay risk analysis.

## How it works

{% stepper %}
{% step %}
Get Order Line Delivery Profile (or Get Delivery By Number first)
{% endstep %}

{% step %}
Get Order Header Status.
{% endstep %}

{% step %}
List Line Deliveries.
{% endstep %}

{% step %}
Evaluate Delay Risk with line and header fields.
{% endstep %}

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

## Key capabilities

* Read the full date set of one order line: wanted, promised, planned delivery, planned ship, planned due and supply-site due dates.
* Read fulfilment progress: reserved (QtyAssigned), picked, shortage, pegged (QtyOnOrder), delivered and shipment connection.
* Read the order header state and block type (credit, advance payment, manual).
* Read actual deliveries for the line from QueryCustomerOrderDeliveriesSet, or resolve a DelivNo to its order line.
* Compute slack (wanted minus planned delivery) and lateness against today.
* Classify delay risk (Delivered on time / Delivered late / Critical / High / Medium / Low) with configurable thresholds.
* Return evidence, verdict and the next permissible business action, never write.

## Requirements

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

| Component | Projection                      |
| --------- | ------------------------------- |
| ORDER     | CustomerOrderLinesHandling      |
| ORDER     | CustomerOrderHandling           |
| ORDER     | CustomerOrderDeliveriesHandling |

## Version compatibility

| Projection                      | Supported IFS Cloud releases |
| ------------------------------- | ---------------------------- |
| CustomerOrderLinesHandling      | 24R2, 25R1, 25R2, 26R1, 26R2 |
| CustomerOrderHandling           | 24R2, 25R1, 25R2, 26R1, 26R2 |
| CustomerOrderDeliveriesHandling | 24R2, 25R1, 25R2, 26R1, 26R2 |

## Known limitations

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