← All types
ProductionIn Input object

UpsertOperationItemInput

Input for creating or updating an operation item

Fields

ID for update; omit for create

Parent operation ID (required)

jobId

JobIDOptional

Parent job ID (required)

External system identifier for third-party integrations

HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.

label

String!Required

Human-readable label (required)

sortOrder

IntOptional

Sort order (defaults to 0)

Initial status (defaults to pending)

Possible values (6)
PENDING

Not yet available for work

AVAILABLE

Ready to be worked on

RUNNING

Work in progress

COMPLETED

Successfully completed

FAILED

Item failed

CANCELLED

Item cancelled

Assigned work center ID

Item-specific production parameters (JSON)

Estimated duration in minutes for scheduling

Net output of this item, in its operation's quantityUnit. Recomputes the item's and the operation's planned gross.

This item's own makeready waste; omit when it runs under the operation's setup.

Run-waste override for this item, at least 0 and below 1000; omit to use the operation's rate.

Scheduled start time (ISO8601)

Scheduled completion time (ISO8601)

Referenced by (1)
Exact type SDL
"""Input for creating or updating an operation item"""
input UpsertOperationItemInput {
  """ID for update; omit for create"""
  id: OperationItemID
  """Parent operation ID (required)"""
  operationId: OperationID!
  """Parent job ID (required)"""
  jobId: JobID
  """External system identifier for third-party integrations"""
  externalId: String
  """
  HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.
  """
  externalUrl: String
  """Human-readable label (required)"""
  label: String!
  """Sort order (defaults to 0)"""
  sortOrder: Int
  """Initial status (defaults to pending)"""
  status: OperationItemStatus
  """Assigned work center ID"""
  workCenterId: WorkCenterID
  """Item-specific production parameters (JSON)"""
  parameters: JSON
  """Estimated duration in minutes for scheduling"""
  estimatedDurationMinutes: Int
  """
  Net output of this item, in its operation's quantityUnit. Recomputes the item's and the operation's planned gross.
  """
  plannedQuantity: Float
  """
  This item's own makeready waste; omit when it runs under the operation's setup.
  """
  plannedSetupWasteQuantity: Float
  """
  Run-waste override for this item, at least 0 and below 1000; omit to use the operation's rate.
  """
  plannedRunWastePercent: Float
  """Scheduled start time (ISO8601)"""
  scheduledStartAt: ISO8601
  """Scheduled completion time (ISO8601)"""
  scheduledCompletionAt: ISO8601
}