← All types

ReserveJobMaterialsPayload

Result of the reserveJobMaterials macro action

Fields

All non-cancelled job reservation summaries after processing, including already reserved or consumed headers, for allocation discovery

Returned headers fully satisfied by outstanding reservations plus cumulative consumption; includes CONSUMED, not only newly reserved in this call

Number of reservations partially satisfied

unmetCount

Int!Non-null

Number of reservations with no available stock

errors

[FieldError!]!Non-null

Any errors encountered

Referenced by (1)
Exact type SDL
"""Result of the reserveJobMaterials macro action"""
type ReserveJobMaterialsPayload {
  """
  All non-cancelled job reservation summaries after processing, including already reserved or consumed headers, for allocation discovery
  """
  reservations: [JobMaterialReservationState!]
  """
  Returned headers fully satisfied by outstanding reservations plus cumulative consumption; includes CONSUMED, not only newly reserved in this call
  """
  fullyReservedCount: Int!
  """Number of reservations partially satisfied"""
  partiallyReservedCount: Int!
  """Number of reservations with no available stock"""
  unmetCount: Int!
  """Any errors encountered"""
  errors: [FieldError!]!
}