AlmondTill/G3N API

SuggestedPurchaseOrderLine

object type

One draft-po-shaped line: pack entry when the rounded qty is whole packs, unit entry otherwise (ONE entry mode per line, the XOR law).

Fields

FieldTypeNotes
variantIdID ID!
logicalFacilityIdID ID!
quantityString
packQuantityInt
purchasePackIdID
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!See [SuggestionLineProvenance](/types/SuggestionLineProvenance/).