> 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/intelligent-po-consolidation-and-shipment-optimization.md).

# Intelligent PO Consolidation & Shipment Optimization

Groups purchase requisitions by supplier and truck capacity to recommend consolidated POs.

**Core Domain:** Supply Chain Management

**Supported Digital Worker:** Inventory Replenisher (IR)

#### Overview

Retrieves planned Purchase Requisition lines and proposes compatible consolidation groups based on supplier, receipt-date constraints, and shipment weight. Users can approve or modify the proposed groups before the skill releases the selected PR lines and creates one Purchase Order for each finalized group.

#### Business Challenge

Buyers manually consolidate requisitions to optimize shipping costs and maximize truck utilization.

#### How this skill fits into the workflow for:

**Inventory Replenisher (IR)**

{% stepper %}
{% step %}
Retrieves planned requisitions
{% endstep %}

{% step %}
Groups by supplier and delivery window
{% endstep %}

{% step %}
Calculates shipment weight
{% endstep %}

{% step %}
Applies truck capacity rules
{% endstep %}

{% step %}
Optimizes shipment dates
{% endstep %}

{% step %}
Recommends consolidated PO creation
{% endstep %}
{% endstepper %}

#### Decision Logic / HITL

* Consolidate when: same supplier, delivery dates within configured window, truck capacity not exceeded, and no delivery delays introduced
* Planner may approve, reject, or modify recommendations

#### Business Value

* Reduced freight costs
* Better truck utilization
* Fewer supplier shipments
* Reduced buyer effort
* Improved logistics efficiency

#### Key Capabilities

* Planned purchase requisition retrieval
* Supplier-based grouping
* Receipt-date constraint validation
* Shipment weight calculation
* Consolidation group recommendations
* User-controlled group modification
* HITL approval before execution
* Sequential PR release and PO creation
* Created PO count reporting

#### Required IFS Cloud Components & Permission Sets

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"><strong>Component</strong></td><td valign="top"><strong>API Name</strong></td></tr><tr><td valign="top">PURCH</td><td valign="top">PurchaseRequisitionLinesHandling.svc</td></tr><tr><td valign="top">PURCH</td><td valign="top">CreateRequisitionToPurchaseOrder.svc</td></tr><tr><td valign="top">INVENT</td><td valign="top">InventoryPartHandling.svc</td></tr></tbody></table>
