SupplierOrderLineItem
A single line on a SupplierOrder. Carries the product, the ordered, received, cancelled and still open quantities, lot-size constraints captured at the time of ordering, the per-line dates, and the prices.
type SupplierOrderLineItem implements Node {
id: ID!
actualDeliveryDate: DateTime
cancelledQuantity: Int
expectedDeliveryDate: DateTime
minPurchase: Int
openQuantity: Int
productId: ID
purchaseSteps: Int
quantity: Int
receivedQuantity: Int
supplierOrderId: ID!
supplierProductNumber: String
totalPrice: Float
unitPrice: Float
product: Product
supplierOrder: SupplierOrder
}
Fields
SupplierOrderLineItem.id ● ID! non-null scalar
Global identifier for this entity.
SupplierOrderLineItem.actualDeliveryDate ● DateTime scalar
Date the last open quantity for this line was actually received.
SupplierOrderLineItem.cancelledQuantity ● Int scalar
Quantity of the remainder the supplier will not deliver any more and that was settled for that reason. Never changes quantity, unitPrice or totalPrice.
SupplierOrderLineItem.expectedDeliveryDate ● DateTime scalar
Per-line expected delivery date. Optional; falls back to the order-level expected date when absent.
SupplierOrderLineItem.minPurchase ● Int scalar
Minimum purchasable quantity captured from the product's supplier configuration when the line was added.
SupplierOrderLineItem.openQuantity ● Int scalar
Quantity still expected from the supplier: quantity - receivedQuantity - cancelledQuantity, never below zero.
SupplierOrderLineItem.productId ● ID scalar
ID of the product being ordered.
SupplierOrderLineItem.purchaseSteps ● Int scalar
Quantity step (lot size) captured from the product's supplier configuration when the line was added.
SupplierOrderLineItem.quantity ● Int scalar
Ordered quantity. Always positive.
SupplierOrderLineItem.receivedQuantity ● Int scalar
Quantity received through goods receipts of this supplier order that are approved or further along.
SupplierOrderLineItem.supplierOrderId ● ID! non-null scalar
ID of the parent supplier order.
SupplierOrderLineItem.supplierProductNumber ● String scalar
Article number the supplier uses for this product. Frozen at line creation so historical orders keep printing the original number.
SupplierOrderLineItem.totalPrice ● Float scalar
Line total in the parent order's currency (unitPrice * quantity).
SupplierOrderLineItem.unitPrice ● Float scalar
Per-unit price in the parent order's currency.
SupplierOrderLineItem.product ● Product object
SupplierOrderLineItem.supplierOrder ● SupplierOrder object
Interfaces
Node interface
Any entity that can be loaded by its global id through the node(id: ID!) query.
Returned By
supplierOrderLineItem query
Member Of
SupplierOrderLineItemEdge object