Quality inspections
A quality inspection of a receipt or of manufacturing order production, checked against the characteristics of a control plan.
- API name:
qualityinspections - Domain: Quality
- Modules: Manufacturing analytics, Inventory, Manufacturing
Fields
The API name is what the API, MCP and the CLI use.
| Name | API name | Type | Required | Description |
|---|---|---|---|---|
| ID | id | Record ID | Yes | |
| Name | label | Text | ||
| Inspection number | uid | Text | The number is a human-readable, unique identifier for the record. | |
| Day | date | Date | Yes | Calendar date for this value. |
| User | userId | User | ||
| Quantity inspected | quantityInspected | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Quantity rejected | quantityRejected | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Catalog | catalog | Constant | Yes | Fixed option from the allowed set for this field. |
| Item | productitemId | Reference | ||
| Item | customitemId | Reference | ||
| Stage | stage | Constant | Yes | Fixed option from the allowed set for this field. |
| Entry | inventoryreceiptnoteitemId | Reference | ||
| Identifier | inventoryidentifierId | Reference | ||
| Output | manufacturingorderoutputId | Reference | ||
| Control plan | qualitycontrolplanId | Reference | ||
| Passed | isPassed | Boolean | Yes | When enabled, the named condition applies to this record. |
| Tags | tagIds | Tags | ||
| Description | description | Text Area | ||
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| Processed by | processedBy | User | ||
| Processed at | processedAt | Date and Time | ||
| Canceled by | canceledBy | User | ||
| Canceled at | canceledAt | Date and Time | ||
| Blocked by | blockedBy | User | ||
| Blocked at | blockedAt | Date and Time | ||
| Archived by | archivedBy | User | ||
| Archived at | archivedAt | Date and Time |
Relations
Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.
| Field | Points to | Kind |
|---|---|---|
User userId | Users | reference |
Identifier inventoryidentifierId | Inventory identifiers | reference |
Control plan qualitycontrolplanId | Quality control plans | reference |
Tags tagIds | Tags | reference |
Actions
What you can do with a record. Every action also sends the webhook event qualityinspections.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add an new inspection. | App · API · MCP · CLI |
| Edit | update | Save changes to this inspection. | App · API · MCP · CLI |
| Process | process | Record the result and release the accepted quantity from hold. | App · API · MCP · CLI |
| Cancel | cancel | Reverse the posted effect of this inspection. | App · API · MCP · CLI |
| Block | block | Stop edits and deletion of this inspection. It stays visible and can still appear on existing documents. Unblock to edit again. | App · API · MCP · CLI |
| Unblock | unblock | Allow edits and deletion of this inspection again. | App · API · MCP · CLI |
| Archive | archive | Retire this inspection from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it. | App · API · MCP · CLI |
| Restore | unarchive | Return this inspection to active lists and actions. | App · API · MCP · CLI |
| Delete | delete | Delete this inspection and the data that belongs with it. This cannot be undone. | App · API · CLI |
States
How a record moves from state to state. Archive and block can happen in any state.