# Generate Orders

{% hint style="info" %}
**Quick Answer:** Once your order quantities look right, click **Generate Purchase Orders** in your plan — or ask Mo directly. Mo groups line items by supplier, pulls pricing and lead times from your catalog, and creates draft POs for you to review before activating.
{% endhint %}

## Overview

Generating orders is the final step in the planning workflow. Moselle takes your approved buy quantities, matches each SKU to its supplier, and creates purchase orders ready for review and activation.

**Time Required:** 2–5 minutes\
**Difficulty:** Beginner

**Before generating orders:**

* [ ] Your plan's order quantities are reviewed and ready
* [ ] Suppliers are configured with lead times and pricing in Moselle
* [ ] You've decided on your optimization priority: cost or lead time

***

## Option A: Generate Orders via Mo (Recommended)

Mo can create purchase orders directly from your plan in a conversational flow. This is the recommended approach when you want Mo to handle supplier grouping and delivery date logic automatically.

### How It Works

Mo reads your plan's approved buy quantities, groups line items by supplier, looks up unit costs from your item catalog, and sets expected delivery dates based on each supplier's configured lead time. It then shows you a summary of the POs it will create before generating anything.

### Example Prompts

**Generate all orders from the plan:**

* "Create purchase orders from this plan"
* "Generate POs for everything in my Q3 replenishment plan"
* "Build purchase orders for all at-risk items in this plan"

**Targeted generation:**

* "Create a PO for Supplier X from this plan"
* "Generate orders for Grade A SKUs only"
* "Build a PO for items that will stock out in the next 60 days"

**Review before generating:**

* "Show me a summary of what POs would be created before I confirm"
* "Which suppliers would receive orders and for how much?"
* "What's the total spend if I generate all orders right now?"

{% hint style="success" %}
Mo always shows a summary of the POs it will create before generating them. Review the supplier groupings, quantities, and expected delivery dates, then confirm to proceed.
{% endhint %}

***

## Option B: Generate Orders via the Button

Use the **Generate Purchase Orders** button in your plan for bulk PO creation without a conversational flow.

{% stepper %}
{% step %}

### Finalize Your Order Quantities

Review your plan and confirm the **Order** column quantities are correct. These are the quantities that will be used to generate POs — not Mo's suggested quantities, but your actual approved amounts.

{% hint style="info" %}
**Tip:** The **Total Suggested Order** column shows Mo's original recommendations. Your **Total Order** column reflects your final approved quantities. Make sure you're satisfied with the **Order** column before proceeding.
{% endhint %}
{% endstep %}

{% step %}

### Click "Generate Purchase Orders"

Click the **Generate Purchase Orders** button at the top of your plan.
{% endstep %}

{% step %}

### Choose Your Optimization Priority

Select how Moselle should prioritize supplier selection when a SKU is available from multiple suppliers:

| Option        | How It Works                                                                                | Best For                                      |
| ------------- | ------------------------------------------------------------------------------------------- | --------------------------------------------- |
| **Cost**      | Selects the lowest-priced supplier for each SKU across all available vendors                | Cash-constrained buying cycles                |
| **Lead Time** | Selects the geographically closest supplier with the best pricing, minimizing shipping time | Time-sensitive restocking, avoiding stockouts |

{% hint style="warning" %}
**Current behavior:** Purchase orders are generated for the **full coverage period** in a single PO per supplier. If you need monthly POs, see the workaround below.
{% endhint %}
{% endstep %}

{% step %}

### Review and Activate

Generated orders are created in **draft status**. Review the POs in the Orders section before activating.
{% endstep %}
{% endstepper %}

***

## Draft → Active: Reviewing Your Orders

All generated purchase orders start as drafts. Nothing is committed to a supplier until you activate.

### What to Check Before Activating

* **Quantities** — confirm the line item quantities match your plan
* **Supplier** — verify the correct supplier was selected for each SKU
* **Delivery date** — check the expected arrival date based on the supplier's lead time
* **Unit cost** — confirm pricing matches your current supplier agreement

### How to Activate a Purchase Order

1. Go to **Orders** in the left nav
2. Find the draft PO you want to activate
3. Click **Activate PO**

Once activated, the order moves to active status and can be managed through the full Orders workflow — tracking receipt, partial deliveries, and reconciliation.

{% content-ref url="/pages/zJTX33Agu64EJnWEBenj" %}
[Orders](/planning-and-execution/orders.md)
{% endcontent-ref %}

***

## Monthly PO Workaround

POs are currently generated for the full coverage period rather than split by month. If you need monthly purchase orders:

**Using Mo:**

* "Help me split this full-period PO into monthly orders"
* "Show me how much inventory arrives each month if I place this order now"
* "Create a monthly ordering schedule based on the quantities in this plan"

**Manual approach:**

1. Export your plan: **Overflow Menu (⋮) > Download Order Schedule**
2. Open the CSV in Excel or Google Sheets
3. Split quantities by month based on your preferred ordering cadence
4. Create individual POs manually for each month

{% hint style="info" %}
Monthly PO generation is on the Moselle roadmap. This section will be updated when it ships.
{% endhint %}

***

## Frequently Asked Questions

### What if a SKU has no supplier assigned?

Moselle will not generate a PO line item for SKUs without a configured supplier. Assign suppliers to affected SKUs in **Operations > Suppliers** before generating orders. Mo will flag these gaps if you ask: "Are there any SKUs in this plan without a supplier assigned?"

### Can I generate orders for only some SKUs?

Yes — use Mo for targeted generation ("Generate a PO for Grade A SKUs only") or manually zero out order quantities for SKUs you don't want to order before clicking Generate Purchase Orders.

### Can I edit a draft PO after it's generated?

Yes. Draft POs can be edited in the Orders section before you activate them. You can adjust quantities, change delivery dates, and add or remove line items.

### What happens to the plan after I generate orders?

The plan remains active and unchanged. You can continue editing the plan, rebuilding it with new data, or generating additional orders for future periods. The plan and the purchase orders are independent once orders are created.

***

## Related Guides

{% content-ref url="/pages/XujjS3140dWgq4aagxaz" %}
[Manage Your Production Plan](/planning-and-execution/replenishment/production-planning.md)
{% endcontent-ref %}

{% content-ref url="/pages/rt03PNU9zAGxsqubrFMs" %}
[Planning with Mo](/planning-and-execution/replenishment/production-planning-with-mo.md)
{% endcontent-ref %}

{% content-ref url="/pages/zJTX33Agu64EJnWEBenj" %}
[Orders](/planning-and-execution/orders.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.moselle.io/planning-and-execution/replenishment/generate-orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
