Appearance
PerformStockCountPayload
Type: Object
Result of performStockCount: the recounted stock, the adjustments raised for any discrepancies, or the validation errors that blocked them.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| adjustments | [WarehouseTransferState!] | Stock movements recording the discrepancies, one per record whose count differed from the system quantity by more than 0.001, with reason ADJUSTED, status COMPLETED and the absolute difference as the quantity. Null when every count matched (or when validation failed). | ||
| errors | [FieldError!]! | Per-field validation errors (paths such as "counts[0].countedQuantity"), including stock records not found at the given location. Empty on success; when non-empty nothing was adjusted. | ||
| updatedStocks | [WarehouseStockState!] | The stock records after the count, with their on-hand quantity set to the counted figure and lastCountedAt stamped — returned for every counted record, including those that matched. Null when validation failed. |