ORDERREQ: Requisition
A requisition for a specific component quantity, linked to a project, tracking order and delivery status.
Default definition. This article describes the default
ORDERREQ definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches ORDERREQ.Entity properties
| Property | Value |
|---|---|
| Entity code | ORDERREQ |
| Display name | Requisition |
| Plural | Requisitions |
| Level | 800 |
Use cases
ORDERREQ is a project-level requisition entity used to request specific components (COMP) for a project (PJ). It differs from PRREQ (which is a broader purchase request with business justification and financial profiling) by being item-specific: each ORDERREQ requests a particular component in a defined quantity. The status workflow (Requested -> Order placed -> Goods received -> Preparing -> Shipped) tracks the item through the fulfilment cycle.
Fields
Request
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name |
qty | number | Yes | Quantity |
comp | reference → COMP | Yes | Item |
pj | reference → PJ | Yes | Project |
ownerId | reference → user | Requestor Read only. |
Status
| Field | Type | Required | Notes |
|---|---|---|---|
status | enum | Status Valid ids: 0 (Requested), 1 (Order placed), 2 (Goods received), 3 (Preparing), 4 (Shipped). | |
dateOrdered | date | Date ordered | |
dateReceived | date | Date received | |
dateShipped | date | Date shipped |
Relationships
- Lookups:
comppoints at aCOMPrecord.pjpoints at aPJrecord.
Creating a Requisition via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "ORDERREQ",
"level": 800,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"qty": 1,
"comp": "",
"pj": ""
}
Listing Requisitions records
# All requisitions in your tenant
GET /v1/entities/ORDERREQ/SUB