← All types
In Input object

CreateProductionPlanInput

Input for creating a production plan

Fields

Owning batch form; supply exactly one of jobId or batchComponentId on creation. Owner is immutable.

jobId

JobIDOptional

Owning job; exclusive with batchComponentId

name

String!Required

Plan name (required)

Plan status (defaults to DRAFT)

Possible values (3)
DRAFT

A work-in-progress plan: freely editable, and not the plan the job is manufactured from.

ACTIVE

The one plan the job is currently manufactured from. Activating a plan archives every other active plan of the same owner in the same transaction.

ARCHIVED

Superseded 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!]!
}