> For the complete documentation index, see [llms.txt](https://academy.pakk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.pakk.io/school-of-erp/purchasing-and-demand-planning/demand-planning.md). Agents can also search and read this documentation through its [MCP server](https://academy.pakk.io/~gitbook/mcp).

# Demand Planning

**Understanding Demand Planning**

Demand planning is the process of forecasting the quantity of products or materials your business will need over a specific period. It helps ensure that you have the right products in stock at the right time, avoiding stockouts or overstock situations. Demand planning takes into account sales history, market trends, and seasonal demand to predict future needs.

**Key Concepts:**

* **Reorder Points:** The inventory level that triggers a reorder to ensure stock doesn’t run out.
* **Lead Times:** The time it takes from placing an order with a supplier to receiving the goods.
* **Safety Stock:** Extra inventory kept on hand to prevent stockouts due to unforeseen demand spikes.

<figure><img src="https://2730446929-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcGTthTPJX2LiOOtMQ0VH%2Fuploads%2F0frAYUaVrBgcPLibqxI5%2FClipboard_10-18-2024_02.jpg?alt=media&amp;token=8dd48b61-c918-4a68-9000-8227c7cb4c8d" alt=""><figcaption><p>On demand planning in Pakk</p></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.pakk.io/school-of-erp/purchasing-and-demand-planning/demand-planning.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
