Appearance
IssueStockToProductionPayload
Type: Object
Result of issueStockToProduction: the completed transfers and reduced stock, or the validation errors that blocked them.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| errors | [FieldError!]! | Per-field validation errors (paths such as "items[0].quantity"), including unknown stock records and issues exceeding available quantity. Empty on success; when non-empty no stock was moved. | ||
| transfers | [WarehouseTransferState!] | The stock movements recorded for the issue, one per item, with reason ISSUED_TO_PRODUCTION and status COMPLETED (issuing is immediate — no approval step). Null when validation failed. | ||
| updatedStocks | [WarehouseStockState!] | The warehouse stock records after their on-hand quantity was reduced. Null when validation failed. |