> For the complete documentation index, see [llms.txt](https://docs.codegiganten.de/plugin-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codegiganten.de/plugin-documentation/apps/nachbestell-manager-automatische-lagerbestande-und-prognosen/funktionen.md).

# Funktionen

<figure><img src="https://2593420173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuEsjhAVOA2wlUumeZYPB%2Fuploads%2Fgit-blob-ef20db375f0dabe447cc24362a307e68bafec326%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Anzahl der Tage auf die der Durchschnitt berechnet werden soll

Für die Berechnung werden alle Bestellungen innerhalb des definierten Zeitraums berücksichtigt und daraus der Verkauf pro Produkt ermittelt. Auf dieser Grundlage wird kalkuliert, wie oft ein Produkt durchschnittlich pro Tag verkauft wird.

### Anzahl der Tage für die ein Produkt mindestens noch verfügbar sein soll

Auf Basis des zuvor berechneten durchschnittlichen Verkaufs pro Tag und des aktuellen Bestands wird ermittelt, wie viele Tage ein Produkt noch verfügbar sein wird. Sobald die konfigurierte Anzahl an Tagen unterschritten wird, wird automatisch eine Nachbestellung ausgelöst.

{% hint style="danger" %}
Achtung: Für die Berechnung wird der verfügbare Bestand eines Produktes herangezogen. Dieser wird erst dann aktualisiert und reduziert, wenn eine Bestellung den Status *Abgeschlossen* erreicht hat!
{% endhint %}

### Festlegung der Tage - und Festlegung der Stunde, an denen die Verfügbarkeitskalkulation ausgeführt werden soll

Zu den konfigurierten Zeitpunkten wird der Bestand erneut kalkuliert und bei Bedarf automatisch eine Nachbestellung ausgelöst.


---

# 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://docs.codegiganten.de/plugin-documentation/apps/nachbestell-manager-automatische-lagerbestande-und-prognosen/funktionen.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.
