Transfer
object type
A stock transfer: ONE shipment event moving stock between two LogicalFacilities of the same org group (the never-cross-group law IS the tenancy boundary; the source and destination orgs may differ = intercompany, attribution stamped at birth). Light weight (same physical location — birth-derived from the lf-pf-pfl spine) completes in the ONE submit step (no reserve, no in_transit). Cancel is pre-ship only; cancelled is the ONE doomed terminal (lists filter it); completed/closed are immutable non-doomed history — a write there refuses CONFLICT/IMMUTABLE.
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like TF-… — stable for the record’s life. |
type | String String! | The kind of record — always Transfer here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of draft, pending_send_approval, ready, in_transit, pending_receive_approval, partially_received, received, in_dispute, completed, closed or cancelled. |
parentId | ID ID! | The parent source LogicalFacility; for a Transfer parentId!== rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
destinationLogicalFacilityId | ID ID! | The destination LogicalFacility (pointer ref; never the parent — a same-LF pair is a relocation, refused at birth: relocateStock is the doc-less sibling). |
weight | String String! | The transfer weight — light (same PFL: immediate handoff, no in_transit) or shipped (the full saga). Birth-derived from the live lf-pf-pfl spine and immutable. |
sourceOrganizationId | ID ID! | The source LF owning org. Immutable. |
destinationOrganizationId | ID ID! | The destination LF owning org (spine-derived at birth; == sourceOrganizationId for intra-org moves). Immutable. |
expectedArrivalAt | String | The expected arrival instant. Lands at ship, absent before. |
carrierRefs | String [String!] | Carrier / tracking references. Land at ship, absent before. |
lines | TransferLine [TransferLine!]! | The embedded lines. |