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
| Field | Type | Notes |
|---|---|---|
variantId | ID ID! | |
logicalFacilityId | ID ID! | |
quantity | String | |
packQuantity | Int | |
purchasePackId | ID | |
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! | See [SuggestionLineProvenance](/types/SuggestionLineProvenance/). |