Due and Overdue¶
Due & Overdue (/v2/inventory/due) is the work queue of test equipment
management: the devices whose calibration is coming up — instead of the entire
stock you would have to filter them out of first.
The everyday question is not "show me all devices" but "what is overdue". That is why the menu entry sits next to the lists, not inside them.
The buckets¶
Above the list sits a switch with five buckets. Each carries its count in the label:
| Bucket | What it holds |
|---|---|
| Overdue devices | Next calibration date lies before today |
| Due devices | Date within the lead-time window of the due period |
| Critical level 1 | Date within the window of the first warning level |
| Critical level 2 | Date within the window of the second warning level |
| Critical level 3 | Date within the window of the third warning level |
Without a selection the page opens on Overdue. The selected bucket is part
of the URL (?due=), so a shared link shows the same list.
The windows come from the settings under
rules (due_date_period,
critical_date_period_1 to _3). They are the same source the dashboard
tiles count from, so a tile opens exactly the list it counted.
Sign of the periods
A negative period reaches into the future ("due within the next 30
days"), a positive one into the past. If a period is 0, the bucket is
switched off and stays empty — the honest answer, instead of silently
showing the full list.
Counting and visibility¶
The number on the switch counts behind the same visibility barrier the list applies. Switching to Only mine changes number and list together; previously a list with a single entry occasionally carried the heading "Overdue devices (21)".
If the permission for counting is missing or the request fails, the switches remain without numbers. The list works regardless.
Working with the list¶
The list is an ordinary data grid: columns, sorting, filters and row actions behave as in the inventory list. The due filter is applied in addition and is also carried into the export — what gets exported is what was on the screen.
See also¶
- Inventory list — the complete stock
- Device detail page — the entry point to a single record
- Dashboard — the tiles that jump into these buckets
- Rules — the periods behind it