← All types
In Input object

CreateWarehouseStockInput

Input for createWarehouseStock: a new stock record is always created, with a server-assigned WarehouseStock TypeID, in the caller's tenant.

Fields

WarehouseLocation TypeID (wlc_…) of the location holding this stock.

Kind of item being stocked; with stockableId it identifies the polymorphic catalog entity this row counts.

Possible values (7)
OPERATION_PRODUCT

Durable operation output identity. Actual stock receipts remain gated pending the material receipt service.

SUBSTRATE

Substrate / paper / media.

COMPONENT

A component used in production.

FINISHED_GOODS

Finished goods.

TOOL

Tooling.

INK

Ink.

CONSUMABLE

Generic consumable.

TypeID of the catalog entity of stockableType being stocked (e.g. the substrate or component record). Resolved through the vertical's stockable resolver; ids it cannot resolve are still stored and surfaced as an unresolved stockable marker.

quantity

Float!Required

Quantity on hand at the location, expressed in unit. Must not be negative.

Unit of measure for quantity, reservedQuantity and availableQuantity (e.g. SHEET, KG, PC). Defaults to PC when omitted.

Possible values (15)
CLICK

A billing counter rather than a physical measure: one metered page charged under a cost-per-click press or copier contract.

CM

Centimetres — metric length, a hundredth of a metre.

FT

Feet — imperial length, twelve inches.

G

Grams — metric mass, for light items stocked by weight.

IMPRESSION

A production counter rather than a physical measure: one pass of one sheet through a press. Distinct from SHEET, since a sheet printed on both sides can cost two impressions.

IN

Inches — imperial length, the unit paper sizes are quoted in outside metric markets.

KG

Kilograms — metric mass, the usual unit for reel and other bulk substrate stock.

LB

Pounds — imperial mass, roughly 0.45 kg.

M

Metres — metric length, the usual unit for material bought by the running metre such as a reel or a roll of laminate.

MM

Millimetres — metric length, a thousandth of a metre, and the granularity trim sizes and other sheet dimensions are normally given in.

OZ

Ounces — imperial mass, a sixteenth of a pound.

PC

Pieces: a plain count of discrete items, carrying no dimension at all. The unit stock and transfer quantities fall back to when none is given.

PT

Points — the typographic length unit of one seventy-second of an inch, used for type sizes and rule weights rather than for stock quantities.

REPEAT

One printed repeat of a web: a cut-off in web offset, a repeat in flexo and labels. What a roll press counts when it produces signatures.

SHEET

A count of substrate sheets, the usual unit for sheet-fed stock. Counts the physical sheets held or moved, not the press passes over them (see IMPRESSION).

Portion of quantity already committed to jobs and therefore not available. Must be between 0 and quantity. Defaults to 0 when omitted.

Supplier or production batch/lot number this stock belongs to. Null when the item is not batch-tracked.

ISO-8601 timestamp at which this batch expires. Null when the item does not expire.

ISO-8601 timestamp of the most recent physical stock count of this record. Null when it has never been counted.

notes

StringOptional

Free-text operator notes about this stock record.

Referenced by (1)
Exact type SDL
"""
Input for `createWarehouseStock`: a new stock record is always created, with a server-assigned WarehouseStock TypeID, in the caller's tenant.
"""
input CreateWarehouseStockInput {
  """WarehouseLocation TypeID (`wlc_…`) of the location holding this stock."""
  locationId: WarehouseLocationID!
  """
  Kind of item being stocked; with `stockableId` it identifies the polymorphic catalog entity this row counts.
  """
  stockableType: StockableType!
  """
  TypeID of the catalog entity of `stockableType` being stocked (e.g. the substrate or component record). Resolved through the vertical's stockable resolver; ids it cannot resolve are still stored and surfaced as an unresolved stockable marker.
  """
  stockableId: String!
  """
  Quantity on hand at the location, expressed in `unit`. Must not be negative.
  """
  quantity: Float!
  """
  Unit of measure for `quantity`, `reservedQuantity` and `availableQuantity` (e.g. SHEET, KG, PC). Defaults to PC when omitted.
  """
  unit: MeasurementUnit
  """
  Portion of `quantity` already committed to jobs and therefore not available. Must be between 0 and `quantity`. Defaults to 0 when omitted.
  """
  reservedQuantity: Float
  """
  Supplier or production batch/lot number this stock belongs to. Null when the item is not batch-tracked.
  """
  batchNumber: String
  """
  ISO-8601 timestamp at which this batch expires. Null when the item does not expire.
  """
  expiryDate: ISO8601
  """
  ISO-8601 timestamp of the most recent physical stock count of this record. Null when it has never been counted.
  """
  lastCountedAt: ISO8601
  """Free-text operator notes about this stock record."""
  notes: String
}