# Part Intent/Quality

This page covers intent settings that apply based on a part's intent rating — enforcing that inventory intent stays within the bounds of what the underlying part supports.

## Part Quality Check

Setting key: `partQualityCheck`

### What it does

Part Quality Check enforces that the intent assigned to a piece of inventory does not exceed the intent rating of the part itself. Each part in your catalog can have a maximum intent designation (e.g., a part rated only for Development use). This setting prevents assigning a higher-grade intent to inventory than the part is rated for.

Depending on the configured mode, violations either block the assignment entirely or silently downgrade the intent to the part's own rating.

### When it runs

Any time intent is assigned to a piece of inventory — including manual assignment, receipt from a PO line, run side effects, and issue resolution.

### Configuration options

| Field     | Possible Values      | Description                                                             |
| --------- | -------------------- | ----------------------------------------------------------------------- |
| `enabled` | `true` / `false`     | Turns the check on or off. Default: `false`                             |
| `mode`    | `block`, `downgrade` | What happens when the inventory's intent would exceed the part's rating |

### Mode values

| Mode        | Behavior                                                                                                                                            |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `block`     | Raises an error and **prevents the intent assignment**. The user must either select a lower intent value or use a different part.                   |
| `downgrade` | Silently **uses the part's own intent rating** instead of the requested value. No error is shown; the system applies the lower value automatically. |

### Example scenario — Direct Assignment

A part is rated for Development use only. A user attempts to assign Flight intent to a piece of inventory of that part.

* With `mode: block`: the assignment fails with an error explaining that the part's maximum intent is Development.
* With `mode: downgrade`: the assignment succeeds, but the inventory is recorded as Development intent rather than Flight — matching the part's own rating.

### Example scenario — Purchase Order Line

A buyer is creating a PO line for a part that is rated only for Development use, and attempts to set Flight intent on the line. Part Quality Check intercepts the assignment at that point:

* With `mode: block`: saving the PO line fails with an error. The buyer must either select a Development (or lower) intent on the line, or switch to a Flight-rated part number.
* With `mode: downgrade`: the PO line is saved, but with Development intent rather than the requested Flight intent — the part's rating takes precedence silently.


---

# Agent Instructions: 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:

```
GET https://manual-v2.firstresonance.io/quality/intent-management/part-intent-quality.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
