AlmondTill/G3N API

SuggestedPurchaseOrderLine

object type

One DRAFT-PO-SHAPED line (realization-ready VERBATIM for createPurchaseOrder — lean): pack entry when the rounded qty is whole packs, unit entry otherwise (ONE entry mode per line, the XOR law).

Fields

FieldTypeNotes
variantIdID ID!No further notes.
logicalFacilityIdID ID!No further notes.
quantityStringNo further notes.
packQuantityIntNo further notes.
purchasePackIdIDNo further notes.
estimatedUnitCostStringThe EXACT per-stock-unit cost when derivable (plain listCost, or the pack division when exact-at-4dp) — informational; the create op re-derives authoritatively.
provenanceSuggestionLineProvenance SuggestionLineProvenance!No further notes.