ScheduleAllocationState
An allocation booking within a schedule scenario
TypeID of this allocation ("sal_01K…").
TypeID of the schedule scenario this allocation belongs to ("sch_01K…"). Allocations only ever exist inside one scenario.
TypeID of the work center the operation is booked onto ("wcr_01K…").
TypeID of the routing operation being scheduled ("opr_01K…").
TypeID of the planned operation this booking realises ("pop_01K…"); null for allocations created without a production-plan link.
ISO-8601 timestamp at which the operation starts on the work center.
ISO-8601 timestamp at which the operation finishes. Always after startAt.
isLockedBoolean!True when the allocation is pinned by a planner: the schedule optimizer leaves locked allocations in place and only rewrites unlocked ones.
ISO-8601 timestamp at which the allocation was first booked. Preserved across upserts of an existing allocation.
ISO-8601 timestamp of the last change to this allocation.
The routing operation booked by this allocation, including its job. Requires operation:read permission.
The work center booked by this allocation. Requires workCenter:read permission.
The planned operation this allocation books time for. Requires productionPlan:read permission.
View exact SDL
"""An allocation booking within a schedule scenario"""
type ScheduleAllocationState {
"""TypeID of this allocation ("sal_01K…")."""
id: ScheduleAllocationID!
"""
TypeID of the schedule scenario this allocation belongs to ("sch_01K…"). Allocations only ever exist inside one scenario.
"""
scheduleScenarioId: ScheduleScenarioID!
"""TypeID of the work center the operation is booked onto ("wcr_01K…")."""
workCenterId: WorkCenterID!
"""TypeID of the routing operation being scheduled ("opr_01K…")."""
operationId: OperationID!
"""
TypeID of the planned operation this booking realises ("pop_01K…"); null for allocations created without a production-plan link.
"""
plannedOperationId: PlannedOperationID
"""ISO-8601 timestamp at which the operation starts on the work center."""
startAt: ISO8601!
"""
ISO-8601 timestamp at which the operation finishes. Always after startAt.
"""
endAt: ISO8601!
"""
True when the allocation is pinned by a planner: the schedule optimizer leaves locked allocations in place and only rewrites unlocked ones.
"""
isLocked: Boolean!
"""
ISO-8601 timestamp at which the allocation was first booked. Preserved across upserts of an existing allocation.
"""
createdAt: ISO8601!
"""ISO-8601 timestamp of the last change to this allocation."""
updatedAt: ISO8601!
"""
The routing operation booked by this allocation, including its job. Requires operation:read permission.
"""
operation: OperationState
"""
The work center booked by this allocation. Requires workCenter:read permission.
"""
workCenter: WorkCenterState
"""
The planned operation this allocation books time for. Requires productionPlan:read permission.
"""
plannedOperation: PlannedOperationState
}One stable address across all schema views. Follow a field’s type to explore connections between domains.