Order Item Status Codes
Order Item Type | Code | Description |
---|---|---|
PURCHASE_PENDING | 0 | Approved but not purchased. |
PURCHASE_INUSE | 1 | Added to purchaser's PO list. |
RECEIVE_PENDING | 2 | Purchased but not yet received, i.e. receivedPassQty == 0. |
RECEIVED | 3 | Fully received, i.e. receivedPassQty == quantity. |
REJECTED_FOR_PURCHASE | 4 | Rejected at procurement, i.e. denied. |
RECEIVE_PARTIAL | 5 | Partially received, i.e. receivedPassQty != quantity and receivedPassQty > 0. |
FULFILLED | 6 | Received but unused. |
APPROVAL_DENIED | 7 | Denied in approval routing (by approver). |
REQUEST_DRAFT | 8 | Preparing for draft instead of using sessions. |
object | |
Array of objects (OrderItem) |
{- "metadata": {
- "pagination": {
- "count": 10,
- "next": null,
- "previous": null,
- "page_size": 10,
- "num_pages": 1,
- "current_page": 1
}
}, - "data": [
- {
- "PO": [
- 0
], - "PO_line_num": -2147483648,
- "account": 0,
- "accountCode": "string",
- "active": true,
- "approved_currency_rate": "string",
- "approved_datetime": "2019-08-24T14:15:22Z",
- "approved_price": "string",
- "approved_quantity": "string",
- "approved_shipping_amount": "string",
- "approved_tax_amount": "string",
- "attachments": "string",
- "catalog_item": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "currency": 0,
- "dateInvoiced": "2019-08-24T14:15:22Z",
- "external_id": "string",
- "hot": true,
- "id": 0,
- "inventoryItem": 0,
- "is_active": true,
- "item_attachments": [
- 0
], - "last_changed_by": 0,
- "last_modified": "2019-08-24T14:15:22Z",
- "lineComment": "string",
- "name": "string",
- "num": "string",
- "orderNum": 0,
- "po_note": "string",
- "po_version": -2147483648,
- "pref_vendor": 0,
- "price": "string",
- "purchase_order": 0,
- "purchaser": 0,
- "quantity": "string",
- "receivedFailQty": "string",
- "receivedPassQty": "string",
- "shipping_amount": "string",
- "sku": "string",
- "status": 0,
- "tax_amount": "string",
- "total_cost": "string",
- "unit": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "vendor": "string",
- "receive_method": 0,
- "type": 0,
- "blanket": {
- "price": "string",
- "quantity": 0,
- "amount": 0
}
}
]
}