Typ obiektowyProductionProgress
How far production of an element, a product or an order has got: the roll-up of all its operations. Computed when read from the operations and their tasks, so it moves with Order.updatedAt.
Pola
| Pole | Typ | Opis |
|---|---|---|
completedOperationCount | Int! | How many of the operations are completed ( |
operationCount | Int! | How many operations there are (0 when there are none yet). |
percent | Float! | Share of the work done, 0 to 100 (one decimal place); 100 only when |
plannedSeconds | Int! | Planned machine time of the operations, in seconds: the sum of |
remainingSeconds | Int! | Planned machine time of the work still to do, in seconds (0 once production is completed): |
status | ProductionStatus! | Where production stands across the operations: COMPLETED when every one is; IN_PROGRESS while a task runs, or while some operations are completed and the others wait their turn; PAUSED when an operation is interrupted part-way (a paused task, a part of its quantity) and none runs; NOT_STARTED while none has started (or there are none). |