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

# Release Ready Shop Order

Release one planned shop order with gates and approval.

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

## Overview

Releasing a shop order moves it from Planned to Released and makes it available for reservation, issue and operation reporting. In IFS Cloud the Release command on the Shop Order page first checks the structure revision that is effective on the start date (GetRevByDateAndType), asks the user to confirm mismatches, then opens the ReleaseShopOrderWarning assistant, which decides whether an automatic availability check is run and finally calls ReleaseExecuteShopOrder.

Releases shop orders via ReleaseShopOrderWarningHandling.

## How it works

{% stepper %}
{% step %}
Order: ShopOrds read.
{% endstep %}

{% step %}
Material: MaterialArray.
{% endstep %}

{% step %}
Gate: GetRevByDateAndType and GetAvailCheckParamValue.
{% endstep %}

{% step %}
Release: POST ReleaseExecuteShopOrder.
{% endstep %}

{% step %}
Verify: Read `Objstate`.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one shop order by full key with state, dates, lot size, revision and material status.
* Enforce the IFS command gate not(IsDispositionShopOrder) and ReleaseEnabled > 0 and the state machine rule (Release only from Planned).
* Check structure-revision effectivity on the start date with GetRevByDateAndType and flag mismatches the IFS client would confirm.
* Read the availability-check setting (GetAvailCheckParamValue: Y, N or A) and set AutoAvailCheck accordingly.
* Summarize material readiness from the material lines (required, assigned, issued, remaining, on order, date required).
* Preview the release and require explicit human approval.
* Release exactly one shop order through ReleaseExecuteShopOrder and confirm Objstate = Released.
* Return IFS warnings and errors verbatim (for example mandatory postings, MRB or first-article checks raised by the state machine).

{% 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 (MPCCOM SYSTEM PARAMETER `AUTO_AVAILABILITY_CHECK`) | ShopOrderHandling               |
| SHPORD (MPCCOM SYSTEM PARAMETER `AUTO_AVAILABILITY_CHECK`) | ReleaseShopOrderWarningHandling |

## Version compatibility

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

## Known limitations

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