← All types
ProductionIn Input object

UpsertOperationItemEdgesInput

Batch replace (delete-then-insert, in one transaction) of a job's item-level dependency edges, optionally scoped to a single source/target operation pair.

Fields

Owning manufacturing form; select exactly one jobId or batchComponentId. Scope follows the successor.

jobId

JobIDOptional

TypeID of the job ("job_01K…") whose item edges are being replaced. All successor items must belong to this scope, or the mutation returns field errors and writes nothing.

Optional TypeID of an operation ("opr_01K…") that narrows which existing edges are deleted before insert. Combined with targetOperationId it confines the replace to a single operation pair; when both are null, every item edge in the job is replaced.

Optional TypeID of an operation ("opr_01K…") that narrows which existing edges are deleted before insert; see sourceOperationId.

The complete set of edges to exist within the deletion scope after the mutation. Passing an empty list clears the scoped edges.

Referenced by (1)
Exact type SDL
"""
Batch replace (delete-then-insert, in one transaction) of a job's item-level dependency edges, optionally scoped to a single source/target operation pair.
"""
input UpsertOperationItemEdgesInput {
  """
  Owning manufacturing form; select exactly one jobId or batchComponentId. Scope follows the successor.
  """
  batchComponentId: BatchComponentID
  """
  TypeID of the job ("job_01K…") whose item edges are being replaced. All successor items must belong to this scope, or the mutation returns field errors and writes nothing.
  """
  jobId: JobID
  """
  Optional TypeID of an operation ("opr_01K…") that narrows which existing edges are deleted before insert. Combined with targetOperationId it confines the replace to a single operation pair; when both are null, every item edge in the job is replaced.
  """
  sourceOperationId: OperationID
  """
  Optional TypeID of an operation ("opr_01K…") that narrows which existing edges are deleted before insert; see sourceOperationId.
  """
  targetOperationId: OperationID
  """
  The complete set of edges to exist within the deletion scope after the mutation. Passing an empty list clears the scoped edges.
  """
  edges: [OperationItemEdgeInput!]!
}