Appearance
OperationCompletionState
Type: Object
Authoritative record of a completed operation's actual outcomes
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| actualDurationMinutes | Int! | Wall-clock duration in minutes | ||
| averageSpeed | Float | Average speed during RUNNING phase | ||
| capabilityCode | String | Capability code from the planned operation | ||
| completedAt | ISO8601! | When the operation completed (ISO8601) | ||
| componentId | ComponentID | Reference to the component (if any) | ||
| countUnit | MetricUnit | Unit for production counts | ||
| createdAt | ISO8601! | When this record was created (ISO8601) | ||
| errorCount | Int! | Number of errors during execution | ||
| expectedDurationMinutes | Int | Duration the operation blueprint specified | ||
| goodCount | Float | Final good count | ||
| hadFatalError | Boolean! | Whether a FATAL error occurred | ||
| id | OperationCompletionID! | Unique identifier | ||
| jobId | JobID! | Reference to the parent job | ||
| jobQuantity | Int | Job quantity (denormalized) | ||
| operationId | OperationID! | Reference to the completed operation | ||
| operationKind | OperationKind! | Operation type (e.g. PRINTING_OFFSET, FOLDING) | ||
| runDurationMinutes | Int | Time spent in RUNNING phase (minutes) | ||
| scheduledDurationMinutes | Int | Duration the scheduler predicted | ||
| setupDurationMinutes | Int | Time spent in SETUP phase (minutes) | ||
| speedUnit | MetricUnit | Unit for speed measurement | ||
| startedAt | ISO8601! | When the operation started (ISO8601) | ||
| substrateCoating | String | Substrate coating type (denormalized) | ||
| substrateWeightGsm | Int | Substrate weight in gsm (denormalized) | ||
| substrateWidthMm | Float | Substrate width in mm (denormalized) | ||
| totalPlanned | Float | Planned production quantity | ||
| wasteCount | Float | Final waste count | ||
| wasteRatio | Float | Waste ratio: waste / (good + waste) | ||
| workCenterId | WorkCenterID | Work center that executed the operation | ||
| workCenterName | String | Work center name (denormalized) |