> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/documentation-simax-anglais/functional/production/machine-revision-and-maintenance/planning.md).

# Planning

It is necessary to define **a planning margin duration** **in advance** of maintenance so that they can be planned and integrated into **planning** schedules.

To do this, enter the duration in Plan ahead by, accessible via:

**Settings > Plug-ins and options, \[\[Production]]**.

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

In our case, maintenance must be scheduled **200 days in advance**, for example.

When using this feature for the first time, you can **manually start the planning process** from the menu:

**Production > Machines/CMMS > Machine maintenance planning.**

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

This action will generate **maintenance operations** in the **planning** for all maintenance tasks whose next maintenance date is **earlier than the date entered in the Until** setting.

Once processing is complete, you will be able to view the time **slots blocked by maintenance operations** in **Production > Production Planning.**

<figure><img src="/files/5KUV3gknadpA4B1BTmYi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1syyO6FE5dnZZYCTb0J5" alt=""><figcaption></figcaption></figure>

In **Production > Manufacturing Orders**, **maintenance manufacturing orders** associated with manufacturing operations are displayed **in green**.

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

{% hint style="info" %}
Planning is also done **on a daily basis**. **Nighttime automation** allows maintenance tasks to be automatically scheduled.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://doc.simax.fr/documentation-simax-anglais/functional/production/machine-revision-and-maintenance/planning.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
