Skip to main content

SupplierOrderLineItem

A single line on a SupplierOrder. Carries the product, ordered quantity, lot-size constraints captured at the time of ordering, the per-line dates, and the prices.

type SupplierOrderLineItem implements Node {
id: ID!
supplierOrderId: ID!
productId: ID
supplierProductNumber: String
minPurchase: Int
purchaseSteps: Int
quantity: Int
unitPrice: Float
totalPrice: Float
expectedDeliveryDate: DateTime
actualDeliveryDate: DateTime
supplierOrder: SupplierOrder
product: Product
}

Fields

SupplierOrderLineItem.id ● ID! non-null scalar

Global identifier for this entity.

SupplierOrderLineItem.supplierOrderId ● ID! non-null scalar

ID of the parent supplier order.

SupplierOrderLineItem.productId ● ID scalar

ID of the product being ordered.

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.minPurchase ● Int scalar

Minimum purchasable quantity captured from the product's supplier configuration when the line was added.

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.unitPrice ● Float scalar

Per-unit price in the parent order's currency.

SupplierOrderLineItem.totalPrice ● Float scalar

Line total in the parent order's currency (unitPrice * quantity).

SupplierOrderLineItem.expectedDeliveryDate ● DateTime scalar

Per-line expected delivery date. Optional; falls back to the order-level expected date when absent.

SupplierOrderLineItem.actualDeliveryDate ● DateTime scalar

Date the last open quantity for this line was actually received.

SupplierOrderLineItem.supplierOrder ● SupplierOrder object

SupplierOrderLineItem.product ● Product 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