> For the complete documentation index, see [llms.txt](https://docs.nexcore.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexcore.de/documentation/integrationen/programme/afd/import-von-bedienauftragen.md).

# Import von Bedienaufträgen

Bedienaufträge werden aus [AFD](https://docs.nexcore.de/documentation/integrationen/programme/afd.md) über den Dienst [nexcore.CONNECT](https://docs.nexcore.de/documentation/integrationen/nexcore.connect.md) an nexcore übermittelt.

Dabei werden alle relevanten Daten automatisch verarbeitet und in nexcore als eigenständige Aufträge vom Typ Bedienauftrag angelegt.

***

## Ablauf des Imports

Sobald AFD einen entsprechenden Datensatz für einen Bedieneinsatz bereitstellt (nach Betätigung des Buttons "Auslieferung"), überträgt nexcore.CONNECT diesen an nexcore.

Der Import erfolgt automatisiert und zyklisch – es ist keine manuelle Aktion erforderlich.

In nexcore wird:

* ein [Bedienauftrag](https://docs.nexcore.de/documentation/kernfunktionen/auftrage/bedienauftrage.md) erstellt
* inklusive der zugehörigen Positionen und Ressourcenzuweisungen
* sowie der daraus automatisch generierten [Aufgaben vom Typ „Bedienung“](https://docs.nexcore.de/documentation/kernfunktionen/aufgaben/bedienung.md)

Die weitere Verarbeitung und Darstellung dieser Daten erfolgt dann vollständig in nexcore.

***

## Eingabe in AFD

### Standardeingabe

Bedieneinsätze werden in AFD als Aufträge angelegt. Damit die Daten korrekt übermittelt werden, muss das Feld **„Einsatzort“** nach folgendem Schema ausgefüllt werden:

**Einsatzort:** `BEDIENEINSATZ; Adresse; Adress-Info; Hinweis`

<figure><img src="https://3933206973-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLwGt5n5vU84tijWPZl2%2Fuploads%2F0R2xyeLlOrilw308gHsA%2Fbedieneinsaetze_1.png?alt=media&amp;token=d20235c0-d083-482e-bfed-79178b68f045" alt=""><figcaption></figcaption></figure>

### Alternative Eingabe

Falls ein zusätzlicher Hinweis über das Feld "Kopftext" hinterlegt werden soll, müssen die Felder **„Einsatzort“** und **„Kopftext“** wie folgt befüllt werden:

**Kopftext:** `bei Pförtner anmelden`

**Einsatzort:** `LIEFERUNG; Adresse; Adress-Info`

<figure><img src="https://3933206973-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLwGt5n5vU84tijWPZl2%2Fuploads%2FE9uHqugOILCHVJtha7B1%2Fbedieneinsaetze_2.png?alt=media&amp;token=96fd1c34-a035-447a-bb38-555d23259cb6" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Um die Übernahme des Hinweises aus dem Kopftext-Feld aktivieren zu lassen, kontaktiere bitte unseren Support.
{% endhint %}

***

## Übertragung zu nexcore

Nachdem Du einen Bedienauftrag (Bedieneinsatz) in AFD erstellt und gespeichert hast, muss dieser an nexcore übertragen werden.

{% hint style="warning" %}
Jeder Auftrag muss vor der Übertragung in AFD gespeichert werden. Auch bei Änderungen an bestehenden Aufträgen muss die Speicherung erneut erfolgen, damit die aktualisierten Daten korrekt an nexcore übertragen werden.
{% endhint %}

Mit dem Button **„Auslieferung“** in AFD wird in nexcore ein "Bedienauftrag" mit mit **Aufgaben vom Typ "Bedienung"** erstellt.

***

## Abhängigkeit der Aufgabenerstellung

Welche Aufgaben beim Import entstehen, hängt von der konfigurierten Task-Erstellungs-Strategie (Task Creation Strategy) ab:

<table><thead><tr><th width="242.51953125">Strategie</th><th>Beschreibung</th></tr></thead><tbody><tr><td><strong>Auto Strategy (Standard)</strong></td><td>nexcore erzeugt automatisch für jede Ressourcenzuweisung eine Bedienungsaufgabe – ein Auftrag pro Tag. Das System plant zunächst 10 Tage im Voraus („rollierendes Fenster“) und ergänzt fortlaufend neue Aufgaben, um eine aktuelle Aufgabenliste sicherzustellen.</td></tr><tr><td><strong>External Strategy</strong></td><td>AFD übermittelt die Aufgaben explizit mit allen relevanten Informationen (z. B. Zeitraum, Ressource, Benutzer). nexcore übernimmt diese exakt so, wie sie vom Quellsystem bereitgestellt werden.</td></tr></tbody></table>

{% hint style="warning" %}
Die Einstellung der Task-Erstellungs-Strategie erfolgt in Absprache mit Nexato während der Einrichtung der Schnittstelle.
{% 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 by asking a question.

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

```
GET https://docs.nexcore.de/documentation/integrationen/programme/afd/import-von-bedienauftragen.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.
