> For the complete documentation index, see [llms.txt](https://docs.flowlity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowlity.com/concepts/supplier-constraints.md).

# Supplier constraints and order management

Supplier constraints are the rules and limits that govern how orders are generated and structured in Flowlity. They ensure that planned supply orders respect real-world logistics — minimum quantities, delivery schedules, capacity limits, and closure periods.

### Constraint types

Constraints are defined per supplier in [Suppliers settings](/settings/suppliers.md) and can also be set per product-supplier combination in [Products](/settings/products.md):

* **Lead time** — The number of days between placing an order and receiving delivery. Flowlity uses lead time to calculate when an order must be placed to arrive on time.
* **Minimum order quantity (MOQ)** — The smallest quantity a supplier will accept per order. Orders are rounded up to meet this threshold.
* **Order multiple** — Orders must be placed in multiples of this value (e.g. if the multiple is 50, you can order 50, 100, 150, etc.).
* **Maximum order quantity** — An upper limit per order, if the supplier cannot handle larger shipments.
* **Full truck quantity** — The quantity that fills a truck, shown in the Supply Orders detail panel to help you optimize logistics costs.

Constraints can be edited directly from the application. Open the Product details panel, click Edit, and make changes in the Suppliers tab.

<figure><img src="/files/a6nN8FcmnG4YVVQwULkf" alt=""><figcaption></figcaption></figure>

### Supplier closures

Suppliers can have closure periods — dates when they cannot process or ship orders. When a closure overlaps with a planned order date, Flowlity pushes the order forward to account for the gap.

Closures are managed in the supplier's detail panel under the **Site closures** tab, or from the [Site closures](/settings/site-closures.md) settings page. Closures can also be visualized in the Planning module — by hovering over relevant week cells or within the Inventory tab of the Product strategy panel.

<figure><img src="/files/S3pNFwyLCVDs81G68lot" alt=""><figcaption></figcaption></figure>

### How constraints affect planning

The Planning Agent runs daily and takes all supplier constraints into account when generating supply orders:

1. **Timing** — Lead time determines the order placement deadline shown in Supply Orders.
2. **Quantity rounding** — Planned quantities are adjusted to satisfy MOQ and order multiple rules.
3. **Splitting** — If a quantity exceeds the maximum order quantity, the order may be split across multiple deliveries.
4. **Closure shifting** — Orders that fall during a supplier closure are moved to the next available date.

These adjusted orders appear in the [Planning](/modules/planning.md) module as planned supply orders and flow into [Supply Orders](/modules/supply-orders.md) for validation.

### Related pages

* [Review and validate supply orders](/how-tos/review-validate-orders.md) — Step-by-step guide to checking constraints and releasing orders.
* [Suppliers](/settings/suppliers.md) — Where constraints are configured per supplier.
* [Products](/settings/products.md) — Where product-supplier constraints are set.
* [Supply Orders](/modules/supply-orders.md) — Where orders are reviewed and validated.
* [Planning](/modules/planning.md) — Where planned orders are visible on the chart.
* [Capacity](/modules/capacity.md) — Capacity constraints that complement supplier constraints.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.flowlity.com/concepts/supplier-constraints.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.
