← All types
ProductionIn Input object

UpdateProductionPlanInput

Input for updating a production plan. Only provided fields are changed.

Fields

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

jobId

JobIDOptional

Job this plan belongs to

name

StringOptional

Plan name

Plan status

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.

Replace all planned operations with this set. Omit to leave existing planned operations/edges untouched.

Replace all dependency edges with this set. Only applied when plannedOperations is also provided.

Referenced by (1)
Exact type SDL
"""
Input for updating a production plan. Only provided fields are changed.
"""
input UpdateProductionPlanInput {
  """
  Owning batch form; supply exactly one of jobId or batchComponentId on creation. Owner is immutable.
  """
  batchComponentId: BatchComponentID
  """Job this plan belongs to"""
  jobId: JobID
  """Plan name"""
  name: String
  """Plan status"""
  status: ProductionPlanStatus
  """
  Replace all planned operations with this set. Omit to leave existing planned operations/edges untouched.
  """
  plannedOperations: [PlannedOperationInput!]
  """
  Replace all dependency edges with this set. Only applied when plannedOperations is also provided.
  """
  edges: [PlannedEdgeInput!]
}