TYPE REFERENCE
OrderConnection
Referenced by 1 generated operations.
Documented fields
The rows on this page, in order.
Example:
[{"cursor":"WyIyMDI2LTA5LTMwIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDAwMDAxIl0","node":{"id":"0192f0c1-0000-7000-8000-000000d00001","poNumber":"PO-2026-0001","customerName":"Alpha Auto Components 1","partName":"Flange 120","quantity":40,"status":"NEW","priority":"HIGH","dueDate":"2026-09-30"}},{"cursor":"WyIyMDI2LTEwLTAyIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDAwMDAyIl0","node":{"id":"0192f0c1-0000-7000-8000-000000d00002","poNumber":"PO-2026-0002","customerName":"Bharat Hydraulics 2","partName":"Bush 25x30","quantity":60,"status":"IN_PROGRESS","priority":"MEDIUM","dueDate":"2026-10-02"}},{"cursor":"WyIyMDI2LTEwLTA0IiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDAwMDAzIl0","node":{"id":"0192f0c1-0000-7000-8000-000000d00003","poNumber":"PO-2026-0003","customerName":"Cauvery Pumps 3","partName":"Pulley 90","quantity":80,"status":"IN_PROGRESS","priority":"LOW","dueDate":"2026-10-04"}}]Show children
Opaque position of this row in the list.
Example:
"WyIyMDI2LTA5LTMwIiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDAwMDAxIl0"The Order.
Example:
{"id":"0192f0c1-0000-7000-8000-000000d00001","poNumber":"PO-2026-0001","customerName":"Alpha Auto Components 1","partName":"Flange 120","quantity":40,"status":"NEW","priority":"HIGH","dueDate":"2026-09-30"}Show children
UTC time the order was entered.
The customer’s email, for the order screen.
The customer (see
customer).The customer’s name, so a list needs no second call.
Example:
"Alpha Auto Components 1"Delivery challan date, YYYY-MM-DD.
Delivery challan number.
Description.
The design file.
Attached documents.
Drawing number.
Promised delivery date, YYYY-MM-DD in the shop’s timezone.
Example:
"2026-09-30"Heat number.
Stable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-000000d00001"The job card made for this order (open it with
jobCard).Job name.
Material to use.
Where the material comes from; null until chosen.
BOUGHT_OUTBought from a supplier.IN_HOUSECut from the shop’s own stock.
Notes.
Part name.
Example:
"Flange 120"Part number.
PO value in paise (integer). Not on the app’s type; shown when entered.
The customer’s PO number.
Example:
"PO-2026-0001"How urgently to take it.
Example:
"HIGH"HIGHAhead of other orders.LOWFill gaps in the schedule.MEDIUMThe default.
Project id.
Pieces ordered.
Example:
40The quote this order was converted from, if any (see
quote).Raw material grade.
Raw material size.
Raw material part number.
Route card no.
Shop order number.
Worked out from the job card and invoice.
Example:
"NEW"COMPLETEDProduction is complete and the invoice is paid.IN_PROGRESSAt least one operation is running or finished, and not all are.NEWEntered; work is not ready to start (design or material not cleared, nobody assigned).PAUSEDWork is paused.PAYMENT_DUEProduction is complete and the invoice is not paid (or not yet raised).YET_TO_STARTReady to start: cleared for work or an operator is assigned, nothing running.
What happened to the order, oldest first.
Show children
UTC ISO timestamp.
Additional context.
Event id.
Activity label.
Badge tone.
DANGERFailure.INFOInformation.NEUTRALNeutral.SUCCESSSuccess.WARNINGWarning.
UTC time of the last change.
Whether more pages exist, and the cursors to reach them.
Example:
{"hasNextPage":true,"hasPreviousPage":false,"endCursor":"WyIyMDI2LTEwLTA0IiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDAwMDAzIl0"}Show children
Cursor of the last row; pass it as
afterto get the next page. Null when the page is empty.Example:
"WyIyMDI2LTEwLTA0IiwiMDE5MmYwYzEtMDAwMC03MDAwLTgwMDAtMDAwMDAwZDAwMDAzIl0"Whether another page follows this one.
Example:
trueWhether another page comes before this one.
Example:
falseCursor of the first row; pass it as
beforeto page backwards. Null when the page is empty.
All rows matching the filter and search, not just this page.
Example:
24
Used by
- ordersMock