Przejdź do głównej zawartości

PurchaseOrder

Dla: Programista

Typ obiektowyPurchaseOrder

An order of materials from a supplier.

Pola

PoleTypOpis
codeString!

Code of the purchase order, unique and given by Prynt, e.g. "PO-240".

createdAtDateTime!

When the order was added.

currencyString!

Currency of the prices, a 3-letter code (e.g. PLN).

expectedDeliveryAtDateTime

When the delivery is expected; null when unknown.

externalRefString

Your integration's own identifier of the purchase order (CreatePurchaseOrderInput.externalRef); null until you set one. Each integration sees only its own; in the app it is always null.

idID!

Identifier of the purchase order.

items[PurchaseOrderItem!]!

What is ordered: the items of the order.

notesString

Notes about the order; null when none.

orderedAtDateTime

When the order was placed; null when not recorded.

receivedAtDateTime

When the last item arrived in full (the order became RECEIVED); null before.

statusPurchaseOrderStatus!

Current status.

supplierSupplier

The supplier the goods are ordered from.

supplierIdID!

The supplier the goods are ordered from.

totalNetFloat

Net total: the sum of quantity x unit price of the items, in currency (2 decimals); null when not computed.

Wymaga zakresu prices:read.

updatedAtDateTime!

When the order or its items last changed: an edit, a change of status or a delivery received. A change of the supplier itself does not move it. What updatedFrom and the UPDATED_AT sort read.

Używane w