TYPE REFERENCE
JobCard
Referenced by 8 generated operations.
Documented fields
Whether the job has been invoiced.
INVOICEDAn invoice exists for the job.NOT_INVOICEDNo invoice yet.
The label on the paper card (“JOB1”).
Example:
"JOB1"UTC time the card was made.
Example:
"2026-09-03T05:00:00.000Z"The customer (see
customer).Example:
"0192f0c1-0000-7000-8000-0000000c0001"The customer’s name.
Example:
"Alpha Auto Components 1"Whether the drawing is approved. Work is ready only once it is.
Example:
"APPROVED"APPROVEDThe design is approved.PENDINGWaiting for a decision.REJECTEDThe design was rejected.
The drawing.
The order’s promised date, YYYY-MM-DD in the shop’s timezone.
Example:
"2026-09-30"Stable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-000000d2000b"Job name.
Example:
"Flange 120 batch"UTC time anything on the card last moved. “Stuck” is measured from here.
Example:
"2026-10-12T04:30:00.000Z"Material.
Example:
"SS304"The incoming material check. Work is ready only once it is accepted.
Example:
"REJECTED"ACCEPTEDPassed.PENDINGWaiting for a decision.REJECTEDFailed.
Where the material comes from; null until it is recorded.
Example:
nullBOUGHT_OUTBought from a supplier.IN_HOUSECut from the shop’s own stock.
The steps, in order.
Example:
[{"id":"0192f0c1-0000-7000-8000-000000d3006f","seq":1,"name":"Drilling","status":"PENDING","operatorId":null,"operatorName":null,"machineId":null,"machineName":null,"startedAt":null,"completedAt":null},{"id":"0192f0c1-0000-7000-8000-000000d30070","seq":2,"name":"Deburring","status":"PENDING","operatorId":null,"operatorName":null,"machineId":null,"machineName":null,"startedAt":null,"completedAt":null},{"id":"0192f0c1-0000-7000-8000-000000d30071","seq":3,"name":"Finishing","status":"PENDING","operatorId":null,"operatorName":null,"machineId":null,"machineName":null,"startedAt":null,"completedAt":null}]Show children
UTC time the step finished.
Example:
nullStable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-000000d3006f"The machine it runs on, if one is assigned.
Example:
nullThat machine’s name.
Example:
nullWhat the step does.
Example:
"Drilling"The operator it is assigned to, if any.
Example:
nullThat operator’s name.
Example:
nullOrder of the step, from 1.
Example:
1UTC time the step started.
Example:
nullWhere the step is.
Example:
"PENDING"COMPLETEDFinished.PAUSEDStopped part-way.PENDINGNot started.RUNNINGBeing worked on now.
The work order (see
order).Example:
"0192f0c1-0000-7000-8000-000000d00001"Part name.
Example:
"Flange 120"The order’s PO number.
Example:
"PO-2026-0001"The order’s priority.
Example:
"HIGH"HIGHAhead of other orders.LOWFill gaps in the schedule.MEDIUMThe default.
Every check made on this card, oldest first.
Show children
Stable id (UUIDv7).
Inspector’s name.
The job card checked.
The step checked; null for a raw material check.
What was checked.
MACHINEA finished operation.RMThe raw material, before the first operation.
What the step does; null for a raw material check.
The job card’s QR text.
UTC time the check was recorded.
Who made the check (
User.id).That person’s name.
Set on a raw material rejection.
Inspector’s remark.
The inspection report.
The outcome.
ACCEPTEDRaw material accepted.FAILEDOperation failed.PASSEDOperation passed.REJECTEDRaw material rejected.
Label shown in the app: “Incoming inspection”, “In-process QC” or “Final QC”.
The text printed as a QR code on the card. Unique in the shop;
jobCardByQrresolves it.Example:
"JC-00001"Pieces to make.
Example:
40Whether the customer accepted the quotation behind this job.
ACCEPTEDPassed.PENDINGWaiting for a decision.REJECTEDFailed.
Worked out from the operations.
Example:
"NOT_STARTED"COMPLETEDEvery operation is done.IN_PROGRESSAt least one operation has started and not every one is done.NOT_STARTEDNo operation has started.PAUSEDAn operation is paused and none is running.
Used by
- assignJobOperationMock
- dashboardMock
- jobCardMock
- jobCardByQrMock
- jobCardsMock
- myJobsMock
- saveJobCardRawMaterialMock
- setJobCardDesignApprovalMock