> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firstresonance.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Part-Procedure Relation Imports

> Link parts to procedures in bulk from a CSV file.

## Overview

The Part-Procedure Relations importer links parts to procedures — one CSV row per `(part, procedure)` pair. The part is identified by `part_number` + `revision`, the procedure by `procedure_title` + `procedure_version`, and the only data field is the `required` flag.

Re-imports are idempotent: if the link already exists, its `required` flag is updated to match the CSV; otherwise a new link is created.

## Columns

| Column              | Required | Description                                                                                                                                                        |
| ------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `part_number`       | Yes      | Part number. Matched case-insensitively.                                                                                                                           |
| `revision`          | No       | Part revision. If omitted and the part has exactly one revision, that revision is used; multiple revisions produce an ambiguity error asking you to specify one.   |
| `procedure_title`   | Yes      | Title of the procedure.                                                                                                                                            |
| `procedure_version` | Yes      | Procedure version. Must be a positive integer.                                                                                                                     |
| `required`          | No       | Whether the procedure is required for the part. Boolean field (see [accepted values](/administration/ion-importers#accepted-boolean-values)). Defaults to `false`. |

<Warning>
  Each `(part, procedure)` pair may appear only once per file — duplicate rows are rejected.

  Procedure titles aren't globally unique, so a `(procedure_title, procedure_version)` pair that matches more than one procedure produces an ambiguity error rather than guessing.
</Warning>

<Info>
  This importer does not support custom attributes — any column outside the list above causes a validation error.
</Info>

## Related pages

For general import behavior, empty cell handling, and error reporting, see [Importers](/administration/ion-importers).
