Planning run line items
A line of a planning run with the proposed quantity to make or buy of one product or custom item.
- API name:
manufacturingplanningrunitems - Domain: Manufacturing
- Modules: Manufacturing analytics, 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 | |
| Planning run | manufacturingplanningrunId | Reference | Yes | |
| Item | productitemId | Reference | ||
| Day | date | Date | Calendar date for this value. | |
| Project | projectId | Reference | ||
| Order | manufacturingorderId | Reference | ||
| Requisition | purchaserequisitionId | Reference | ||
| Quantity demanded | quantityDemand | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Minimum quantity | quantityMin | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Quantity available | quantityAvailable | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Quantity supplied | quantitySupply | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Proposed quantity | quantityProposed | Quantity | Yes | Quantity in the catalog unit after any unit conversion on the line. |
| Item | customitemId | Reference | ||
| Line item | salesorderitemId | Reference | ||
| Demand | projectdemandId | Reference | ||
| Bill of materials | billofmaterialId | Reference | ||
| Kind | kind | Constant | Yes | Fixed option from the allowed set for this field. |
| Created by | createdBy | User | ||
| Created at | createdAt | Date and Time | Yes | |
| Approved by | approvedBy | User | ||
| Approved at | approvedAt | Date and Time | ||
| Blocked at | blockedAt | Date and Time | ||
| 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 |
|---|---|---|
Planning run manufacturingplanningrunId | Planning runs | owned by |
Item productitemId | Product items | reference |
Project projectId | Projects | reference |
Order manufacturingorderId | Manufacturing orders | reference |
Requisition purchaserequisitionId | Purchase requisitions | reference |
Item customitemId | Custom items | reference |
Line item salesorderitemId | Sales order line items | reference |
Demand projectdemandId | Project demands | reference |
Bill of materials billofmaterialId | Bills of materials | reference |
Actions
What you can do with a record. Every action also sends the webhook event manufacturingplanningrunitems.<action>. Reads (find, get, count) work on every table.
| Name | API name | Description | Where |
|---|---|---|---|
| Approve | approve | Approve this line item so the next step can run. | App · API · CLI |
States
How a record moves from state to state. Archive and block can happen in any state.