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
| Field | Type | Notes |
|---|---|---|
variantId | ID ID! | No further notes. |
logicalFacilityId | ID ID! | No further notes. |
quantity | String | No further notes. |
packQuantity | Int | No further notes. |
purchasePackId | ID | No further notes. |
estimatedUnitCost | String | The EXACT per-stock-unit cost when derivable (plain listCost, or the pack division when exact-at-4dp) — informational; the create op re-derives authoritatively. |
provenance | SuggestionLineProvenance SuggestionLineProvenance! | No further notes. |