AlmondTill/G3N API

InventoryEntry

object type

ONE posted Stock-Card movement fact: the magnitude rides quantity (positive), the direction rides fromBucket/toBucket (the classic in/out card form; a bucket balance = sum of to minus sum of from).

Fields

FieldTypeNotes
idID ID!
typeString String!
captionString String!The derived display caption — movement + quantity; never editable.
statusString String!The state: active | doomed (doomed = voided, reserved for a future void-family flow — excluded from the card and the verify sum).
parentIdID ID!The parent InventoryItem.
rootIdID ID!
movementStockMovementType StockMovementType!The canned movement type.
quantityString String!The movement magnitude — a positive strict decimal string in the variant stock UoM; direction rides the buckets.
fromBucketStockBucketThe bucket this movement drains (adjust-down · reclass source); absent for receive / adjust-up.
toBucketStockBucketThe bucket this movement fills (receive · adjust-up · reclass target); absent for adjust-down.
unitCostMoneyEntryThe receive unit cost. Receive-only.
costImpactCostImpactThe signed value delta this movement caused; absent when no cost basis exists.
reasonStringThe reason code/text — required on adjust; carries the canned held reason on a reclass into held.
refsString [String!]Provenance document refs (bounded free strings — the PO/receipt refs land typed).
overcommittedBooleanPresent (true) exactly when this movement drove a touched bucket negative.
fromBinIdIDThe bin this movement left.
toBinIdIDThe bin this movement entered.
lotCodeStringThe lot identity the relocate moved.
createdAtString String!
updatedAtString String!
revisionID ID!
revisionNumInt Int!

Used by