AlmondTill/G3N API

PurchaseOrderLine

object type

One embedded PurchaseOrder line.

Fields

FieldTypeNotes
lineNoInt Int!1-based position (input order) — the receipt addressing key (poLineNo).
variantIdID ID!The ordered variant (ACTIVE-gated; stockless service/bundle styles refuse — stock cannot be received into a stockless junction).
logicalFacilityIdID ID!The RECEIVING LogicalFacility (must belong to the buying org) — defaulted from the OrgVendor defaultShipToLogicalFacilityId when omitted at create.
quantityString String!The ordered quantity (decimal string, stock UoM, strictly positive).
unitCostMoneyEntry MoneyEntry!The merchandise unit cost — REQUIRED effective; in the PO snapshot currency. The landed share joins at receipt post, NOT here.
manufacturerIdIDOptional per-line manufacturer.
expectedArrivalAtStringOptional expected-arrival instant (UTC ISO-8601) — defaulted create-date + (OVI?? OrgVendor) leadTimeDays when either declares one.
receivedQtyString String!Rollup: total received across POSTED receipts (stamped in the receipt-post transaction under the doc OCC).
outstandingQtyString String!DERIVED: ordered minus received — never stored (the TR outstandingQty stance); the outstanding on partially_received IS the backorder.
purchasePackIdIDThe pack-ENTRY audit capture: the pack whose IMMUTABLE unitsPerPack derived quantity (quantity == packQuantity x unitsPerPack, forever).
packQuantityIntThe entered pack count (present iff purchasePackId is).
orderLineRefSpecialOrderLineRefThe special_order demand line this PO line backorders.