Appearance
ScheduleAllocationState
Type: Object
An allocation booking within a schedule scenario
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| createdAt | ISO8601! | ISO-8601 timestamp at which the allocation was first booked. Preserved across upserts of an existing allocation. | ||
| endAt | ISO8601! | ISO-8601 timestamp at which the operation finishes. Always after startAt. | ||
| id | ScheduleAllocationID! | TypeID of this allocation ("sal_01K…"). | ||
| isLocked | Boolean! | True when the allocation is pinned by a planner: the schedule optimizer leaves locked allocations in place and only rewrites unlocked ones. | ||
| operationId | OperationID! | TypeID of the routing operation being scheduled ("opr_01K…"). | ||
| plannedOperation | PlannedOperationState | The planned operation this allocation books time for. Requires productionPlan:read permission. | ||
| plannedOperationId | PlannedOperationID | TypeID of the planned operation this booking realises ("pop_01K…"); null for allocations created without a production-plan link. | ||
| scheduleScenarioId | ScheduleScenarioID! | TypeID of the schedule scenario this allocation belongs to ("sch_01K…"). Allocations only ever exist inside one scenario. | ||
| startAt | ISO8601! | ISO-8601 timestamp at which the operation starts on the work center. | ||
| updatedAt | ISO8601! | ISO-8601 timestamp of the last change to this allocation. | ||
| workCenterId | WorkCenterID! | TypeID of the work center the operation is booked onto ("wcr_01K…"). |