WarehouseTransferState
A warehouse transfer moving stock between locations
Batch identity shared across stock locations and transfers; quantities remain on warehouse stock
TypeID of this transfer (prefix "wtr").
TypeID of the warehouse location stock is moved out of (prefix "wlc").
TypeID of the warehouse location stock is moved into (prefix "wlc"). Must differ from sourceLocationId.
The item being moved, resolved from (stockableType, stockableId) to the concrete catalog entity by the active vertical; falls back to a StockableMarker when the vertical cannot resolve it.
quantityFloat!Amount of the stockable being moved, expressed in unit. Must be greater than zero.
Unit of measure the quantity is expressed in. Defaults to PC when not supplied.
Why the stock is being moved (e.g. TRANSFERRED, ISSUED_TO_PRODUCTION, SCRAPPED).
notesStringFree-text note about the transfer; null when none was recorded.
referenceTypeStringKind of the originating document this transfer was raised against (e.g. a job or order). Free-form string, not a foreign key; null when the transfer stands alone.
referenceIdStringIdentifier of the originating document named by referenceType. Stored as an opaque string and not resolved by the server; null when the transfer stands alone.
Lifecycle status of the transfer. Starts at REQUESTED when not supplied on create; APPROVED / IN_PROGRESS / COMPLETED / CANCELLED are set by callers via update.
TypeID of the user who raised the transfer (prefix "usr"); null when unattributed.
TypeID of the user who approved the transfer (prefix "usr"); null until approved.
TypeID of the user who completed the physical move (prefix "usr"); null until completed.
ISO-8601 timestamp the transfer was requested. Defaults to the mutation time when not supplied.
ISO-8601 timestamp the transfer was approved; null until it is approved.
ISO-8601 timestamp the stock movement was completed; null until it is completed.
createdAtString!ISO-8601 timestamp the transfer record was created.
updatedAtString!ISO-8601 timestamp the transfer record was last written by a mutation.
View exact SDL
"""A warehouse transfer moving stock between locations"""
type WarehouseTransferState {
"""
Batch identity shared across stock locations and transfers; quantities remain on warehouse stock
"""
materialLotId: MaterialLotID
"""TypeID of this transfer (prefix "wtr")."""
id: WarehouseTransferID!
"""TypeID of the warehouse location stock is moved out of (prefix "wlc")."""
sourceLocationId: WarehouseLocationID!
"""
TypeID of the warehouse location stock is moved into (prefix "wlc"). Must differ from sourceLocationId.
"""
destinationLocationId: WarehouseLocationID!
"""
The item being moved, resolved from (stockableType, stockableId) to the concrete catalog entity by the active vertical; falls back to a StockableMarker when the vertical cannot resolve it.
"""
stockable: Stockable!
"""
Amount of the stockable being moved, expressed in `unit`. Must be greater than zero.
"""
quantity: Float!
"""
Unit of measure the quantity is expressed in. Defaults to PC when not supplied.
"""
unit: MeasurementUnit!
"""
Why the stock is being moved (e.g. TRANSFERRED, ISSUED_TO_PRODUCTION, SCRAPPED).
"""
reason: StockMovementReason!
"""Free-text note about the transfer; null when none was recorded."""
notes: String
"""
Kind of the originating document this transfer was raised against (e.g. a job or order). Free-form string, not a foreign key; null when the transfer stands alone.
"""
referenceType: String
"""
Identifier of the originating document named by referenceType. Stored as an opaque string and not resolved by the server; null when the transfer stands alone.
"""
referenceId: String
"""
Lifecycle status of the transfer. Starts at REQUESTED when not supplied on create; APPROVED / IN_PROGRESS / COMPLETED / CANCELLED are set by callers via update.
"""
status: TransferStatus!
"""
TypeID of the user who raised the transfer (prefix "usr"); null when unattributed.
"""
requestedByUserId: UserID
"""
TypeID of the user who approved the transfer (prefix "usr"); null until approved.
"""
approvedByUserId: UserID
"""
TypeID of the user who completed the physical move (prefix "usr"); null until completed.
"""
completedByUserId: UserID
"""
ISO-8601 timestamp the transfer was requested. Defaults to the mutation time when not supplied.
"""
requestedAt: ISO8601!
"""
ISO-8601 timestamp the transfer was approved; null until it is approved.
"""
approvedAt: ISO8601
"""
ISO-8601 timestamp the stock movement was completed; null until it is completed.
"""
completedAt: ISO8601
"""ISO-8601 timestamp the transfer record was created."""
createdAt: String!
"""ISO-8601 timestamp the transfer record was last written by a mutation."""
updatedAt: String!
}One stable address across all schema views. Follow a field’s type to explore connections between domains.