consumeMaterialLot

Topics: Logistics

Final consumption: atomically debit source on-hand and reserved quantities and update reservation summary. Requires a resolved, active non-quarantined holding. Shares authority with allocated issueStockToProduction.

Returns

MaterialLotChangePayload!

Arguments

Partial consumption and expected cumulative counters

Exact field SDL
"""
Final consumption: atomically debit source on-hand and reserved quantities and update reservation summary. Requires a resolved, active non-quarantined holding. Shares authority with allocated issueStockToProduction.
"""
consumeMaterialLot(
  """Partial consumption and expected cumulative counters"""
  input: MaterialLotChangeInput!
): MaterialLotChangePayload! @topic(names: ["logistics"])

Declared on Mutation. Access is checked by the platform for each operation.