Typ obiektowyOperation
A production operation on an element, for example printing or laminating, done on one machine.
Pola
| Pole | Typ | Opis |
|---|---|---|
colorProfileId | ID | Identifier of the color profile (an entry of |
comments | [OperationComment!]! | Notes for production on the operation. An empty list when there are none. |
description | String | What the operation is, in the print shop words; null when empty. |
element | Element | The element the operation makes. Always set for an API key; null in the app for a person who may not see the product. |
elementId | ID! | Identifier of the element the operation belongs to. |
endedAt | DateTime | When production completed the operation; null while it is not completed. |
finishingTypeId | ID | Identifier of the finishing type (an entry of |
id | ID! | Identifier of the operation (UUID). |
machineId | ID! | Identifier of the machine that does the operation. |
operationTypeId | ID | Identifier of the operation type (an entry of |
order | Order | The order the operation belongs to. Always set for an API key; null in the app for a person who may not see the order. |
orderId | ID! | Identifier of the order the operation belongs to (through its element and product). |
previousOperation | Operation | The operation right before this one in its element ( |
previousOperationId | ID | Identifier of the operation that precedes this one in the production order of its element (the nearest lower |
price | Float! | Net price of the whole operation (its full Wymaga zakresu |
product | Product | The product the operation belongs to. Always set for an API key; null in the app for a person who may not see the product. |
productId | ID! | Identifier of the product the operation belongs to (through its element). |
productionStatus | ProductionStatus! | Where production of the operation stands: COMPLETED once Wymaga zakresu |
quantity | Float! | How many units the operation processes, in |
quantityCompleted | Float! | How many units production has completed so far, in |
readyToStart | Boolean! | Whether the shop floor may take the operation up now, by the same rule the machine queue in Prynt uses: every earlier operation of its element (a lower Wymaga zakresu |
sequenceOrder | Int | Position of the operation within its element; only the order of values matters: the first operation has the lowest value (0 or 1, depending on how the order was made). Null for an operation saved without a position (older data); such operations come last. |
tasks | [Task!]! | Production tasks of the operation, oldest first: one for each time the shop floor took it up (a partly done operation gets a new task). An empty list (never null) before production starts. Wymaga zakresu |
timePerUnitSeconds | Int! | Estimated machine time per unit of |
unit | Unit! | Unit of |
updatedAt | DateTime! | When the operation last changed: its own fields (quantities, time, machine, position, completion) or its production tasks (one created, started, paused, resumed, completed or cancelled). Changes of the order, product or element it belongs to move |