> For the complete documentation index, see [llms.txt](https://docs.enlyze.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enlyze.com/en/resources/production-context/production-runs/import-production-runs.md). Agents can also search and read this documentation through its [MCP server](https://docs.enlyze.com/~gitbook/mcp).

# Import production runs

Import many production runs at once from a CSV or Excel file.

The import lets you add many runs at once, for example next week's production plan or past runs you want to backfill. `.csv` and `.xlsx` files are supported.

{% hint style="info" %}
The import is being rolled out step by step. If you want to use it, contact your Customer Success Manager.
{% endhint %}

{% hint style="warning" %}
For machines whose runs are synced automatically from an external system, you can't import runs. The app marks these machines as **Synced externally**.
{% endhint %}

## Prepare the file

Each row of the file is one run, and the first row holds the column names. **Download template** in the import gives you an example file.

| Field                                                        | Required | Note                                                                                                                                                                    |
| ------------------------------------------------------------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Order code**                                               | Yes      | The run code. If the same code appears more than once, [split runs](https://docs.enlyze.com/en/resources/production-context/production-runs.md#split-runs) are created. |
| **Machine**                                                  | Yes      | The machine's name in ENLYZE. You assign unknown names during the review.                                                                                               |
| **Product code**                                             | Yes      | Products that don't exist yet are created during the import.                                                                                                            |
| **Planned start** / **Planned end**                          | No       | For planned runs. May lie in the future.                                                                                                                                |
| **Start** / **End**                                          | No       | For running or finished runs. Must not lie in the future.                                                                                                               |
| **Total quantity** / **Yield quantity** / **Scrap quantity** | No       | Only for runs with a start.                                                                                                                                             |

ENLYZE recognizes common column names from ERP exports automatically (e.g. `Order number`, `Production order`, `Material`, `Item`, `Planned start`), in English and German.

## Import the file

{% stepper %}
{% step %}

### Choose the file

Open the **Production runs** page and click **Import**. Drag your file into the window or click **Choose file**. Under **Import settings** you can adjust the delimiter, encoding, sheet and time zone if the preview doesn't look as expected.
{% endstep %}

{% step %}

### Map the columns

ENLYZE maps the columns of your file to the fields. Check the mapping and correct it if needed. If dates can be read in more than one way (e.g. `03/04/2026`), choose the right format.
{% endstep %}

{% step %}

### Review

ENLYZE compares every row with the existing runs and shows its status:

* **New**: imported as a new run.
* **Partial run**: the run code already exists. You decide whether to **Import as partial runs** or skip these rows.
* **Exact duplicate**: the run already exists exactly like this and isn't imported.
* **Error**: the row can't be imported, e.g. because the run code already belongs to another machine or product.

Also assign any machine names ENLYZE doesn't know. Then click **Import** to import the runs.
{% endstep %}

{% step %}

### Check the result

The **Import results** show how many runs and split runs were imported and which rows weren't. Use **Download rows with errors** to save those rows as a CSV file, fix them and import them again.
{% endstep %}
{% endstepper %}
