Skip to main content
objectPurchaseOrderCustomLine

Implements

Fields

id
ID!

The ID of the line item.

purchaseOrderId
ID!

The ID of the purchase order.

sortOrder
Int!

The position of the line on the order. Allowances and charges come last.

name
String!

The name of the line: the item's name when it was added, the text of a custom line, the name of an allowance or charge.

quantity
Decimal!

The ordered quantity. Cancelling reduces it to the delivered quantity.

netUnitPrice
Decimal!

The net price per unit in the order currency. Negative for a discount.

taxRate
Decimal!

The tax rate in percent.

netAmount
Decimal!

The net amount of the line: quantity times unit price. Computed.

note
String

A note on the line, printed on the order documents.

What the supplier confirmed for the line. Empty when nothing is confirmed.

Discriminator: the kind of the line.

deliveredQuantity
Decimal!

The quantity received so far. It can be higher than the ordered quantity.

openQuantity
Decimal!

The quantity still expected: the confirmed quantity, or the ordered quantity when none is confirmed, minus the delivered quantity, never below 0; 0 once the order is completed.

expectedDeliveryDate
DateTime

When the line is expected. The ERP sets it to the day of the receipt that delivers the line completely, and to the day of every receipt booked from an advance shipping notice.

sku
String

A free number of the line.