CreateProductionPlanInput
Input for creating a production plan
Fields
Owning batch form; supply exactly one of jobId or batchComponentId on creation. Owner is immutable.
Owning job; exclusive with batchComponentId
Plan name (required)
Plan status (defaults to DRAFT)
Possible values (3)
DRAFTA work-in-progress plan: freely editable, and not the plan the job is manufactured from.
ACTIVEThe one plan the job is currently manufactured from. Activating a plan archives every other active plan of the same owner in the same transaction.
ARCHIVEDSuperseded and kept only for history — either archived automatically when another plan of the job was activated, or retired by hand.
Planned operations for this plan
Dependency edges between planned operations
Referenced by (1)
Exact type SDL
"""Input for creating a production plan"""
input CreateProductionPlanInput {
"""
Owning batch form; supply exactly one of jobId or batchComponentId on creation. Owner is immutable.
"""
batchComponentId: BatchComponentID
"""Owning job; exclusive with batchComponentId"""
jobId: JobID
"""Plan name (required)"""
name: String!
"""Plan status (defaults to DRAFT)"""
status: ProductionPlanStatus
"""Planned operations for this plan"""
plannedOperations: [PlannedOperationInput!]!
"""Dependency edges between planned operations"""
edges: [PlannedEdgeInput!]!
}