AlmondTill/G3N API

CountLine

object type

One resolved count line: a StockRecord shard (binId present, lotCode per the shard) or the derived un-binned pool line (binId absent; whole-LF scope only). Blind-by-shape: while the doc is counting, snapshotQty/expectedAtCapture/variance read null — the counter sees what to count, never the expected; the full detail projects once the doc leaves counting (the store + archive always carry it).

Fields

FieldTypeNotes
lineNoInt Int!1-based position (resolution order at start) — the capture addressing key.
inventoryItemIdID ID!The counted InventoryItem (the (variant x LF) junction).
binIdIDThe record shard's bin — absent = the un-binned pool line.
lotCodeStringThe record shard's lot.
snapshotQtyStringThe line's on_hand at start. Null while counting (blind-by-shape).
countedQtyStringThe captured physical quantity. Null until captured.
expectedAtCaptureStringThe line's live on_hand point-read at capture. Null while counting (blind-by-shape).
capturedAtStringWhen the capture landed. Null until captured.
varianceStringDerived: countedQty − expectedAtCapture; null while counting and on uncaptured lines.