InventoryPurchaseOrder
- Object
- Inventory and fulfillment
An order for stock placed with a supplier, with its line items, destination location, status, costs and the transfers that receive it.
Implements Node.
Fields
| Field | Type | Description |
|---|---|---|
archivedAt | DateTime | |
currency | CurrencyCode! | |
dateCreated | DateTime! | |
destination | LocationSnapshot | |
id | ID! | |
lineItems | InventoryPurchaseOrderLineItemConnection! | |
name | String! | |
orderedAt | DateTime | |
origin | InventorySupplierSnapshot | |
status | InventoryPurchaseOrderStatus! | |
tanqoryExtAcceptedQuantity | Int! | Units accepted into stock. |
tanqoryExtClosedAt | DateTime | |
tanqoryExtCostAdjustments | [TanqoryExtCostAdjustment!]! | |
tanqoryExtCostSummary | TanqoryExtPurchaseOrderCostSummary! | |
tanqoryExtDisplayStatus | TanqoryExtPurchaseOrderDisplayStatus! | The status the admin shows: DRAFT and ORDERED split by what was received, and CLOSED. |
tanqoryExtEvents | EventConnection! | The purchase order's timeline, newest first with reverse: true (comments and every change). |
tanqoryExtFiles | [TanqoryExtPurchaseOrderFile!]! | The files attached to the purchase order (the supplier's invoice), in the order they were attached. |
tanqoryExtNoteToSupplier | String | |
tanqoryExtPaymentTerms | TanqoryExtPurchaseOrderPaymentTerms! | |
tanqoryExtReferenceNumber | String | |
tanqoryExtRejectedQuantity | Int! | Units rejected on receipt. |
tanqoryExtShipment | TanqoryExtPurchaseOrderShipment! | Shipment details: estimated arrival, carrier, tracking number and URL. |
tanqoryExtSupplier | TanqoryExtSupplier | The live supplier (null when none was chosen or it was deleted; origin.supplierName keeps the saved name). |
tanqoryExtSupplierCurrency | CurrencyCode! | The supplier's currency (purchasing information), a label: every amount of the purchase order, and its |
tanqoryExtTags | [String!]! | |
tanqoryExtTotalQuantity | Int! | Units ordered (sum of line quantities). |
tanqoryExtUnreceivedQuantity | Int! | Units neither accepted, rejected nor canceled yet. |
transfers | InventoryTransferConnection! |
Returned by
inventoryPurchaseOrderquery