Maintenance order materials
A spare part or material planned for a maintenance order.
- API name:
maintenanceordermaterials - Domain: Maintenance
- Modules: 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 | |
| Order | maintenanceorderId | Reference | Yes | |
| Position | rank | Order rank | Yes | |
| Item | productitemId | Reference | Yes | |
| Quantity expected | quantityPlanned | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Actual quantity | quantityActual | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Unit | catalogunit | Unit | ||
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Updated by | updatedBy | User | ||
| Updated at | updatedAt | Date and Time | Yes | |
| 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 |
|---|---|---|
Order maintenanceorderId | Maintenance orders | owned by |
Item productitemId | Product items | reference |
Actions
What you can do with a record. Every action also sends the webhook event maintenanceordermaterials.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Create | create | Add a new material. | App · WebMCP · API · MCP · CLI |
| Edit | update | Save changes to this material. | App · API · MCP · CLI |
| Delete | delete | Delete this material and the data that belongs with it. This cannot be undone. | App · WebMCP · API · MCP · CLI |