Restore deleted¶
Restore deleted lists the inventory records that were deleted, and brings them back. Open it from Restore deleted in the sidebar.
Admin only
Only admins see Restore deleted in the sidebar.
What lands here¶
Deleting a record does not remove it at once. It disappears from its list and from every picker, and waits here until you restore it or automatic cleanup removes it for good.
These record types are listed: items, item blueprints, assemblies, assembly blueprints, invoices, maintenance records, categories, partners, locations and customers.
Deleted user accounts never land here: User management deletes them for good.
The list¶
Search, Filter rows, Show columns, sorting, paging, selecting rows and Export filtered rows work as in every list; see Tables.
The search matches the record's name, its type, its ID (such as #144), and the email or name of whoever created or deleted it.
The status filter bar shows Deleted rows and how many rows the filters leave (Filtered). Its filter groups are Type (one entry per record type) and Delete method. Filter rows narrows by Deleted on and Created on dates.
| Column | What it shows |
|---|---|
| Deleted on | When the record was deleted. Newest first by default. |
| Entity | The record's type icon, name and ID. |
| Deleted by | Who deleted it. |
| Delete method | Delete single for a record deleted on its own, Delete multiple for one deleted with others in one bulk delete, With assembly for an item deleted together with its assembly. |
| Created on | When the record was first created. |
| Created by | Who created it. |
Restoring a record¶
- Click at the end of the row.
- Check what the dialog lists, then click Restore.
The record goes back to its list with its fields as they were. A toast confirms "name restored".
Restoring several¶
- Tick the rows you want back.
- Click Restore multiple.
- Click Restore in the dialog.
The toast says how many rows were restored, and how many were not. You can tick a record together with the record it belongs to, such as an item and its blueprint: parents are restored first.
What restore brings back¶
When the dialog includes a deleted assembly that had items in it, it shows those items and asks Restore also items in this assembly?, switched on by default. With it on, restoring the assembly also puts back:
- Its items that were deleted together with it, restored and back in the assembly.
- Its items that were taken out when it was deleted and still sit unused in a warehouse location, back in the assembly.
- The amounts of lot items it held, back in the assembly, where the lot still has that much on hand.
With it off, only the assembly comes back, empty.
A restored item or assembly whose location was removed for good, or is itself still deleted, moves to the Warehouse location for new items set in System settings.
What blocks a restore¶
The button is greyed out when a record can't come back yet. Ticking only that row and clicking Restore multiple, then Restore, shows why in a toast:
- "name" is taken: another live record now uses the same name. Rename that record first.
- Restore name first: something the record belongs to is still deleted. Restore that first, or tick both and use Restore multiple.
A record belongs to:
| Record | Needs these restored first |
|---|---|
| Item | Its blueprint, and the assembly it was in. |
| Assembly | Its blueprint. |
| Invoice | Its supplier. |
| Maintenance record | The assembly or item it serviced, and the partner who maintained it. |
Automatic cleanup¶
Deleted records don't stay here forever. When Enable automatic cleanup is on in System settings > Automatic cleanup, each cleanup run removes for good every record deleted longer ago than Delete after, together with its gallery pictures and files. A deleted record that a live record still points to is kept until nothing does.
Warning
A record removed by cleanup is gone from the app. Only a backup taken while it still existed can bring it back, and restoring a backup replaces everything else too.
With automatic cleanup off, deleted records stay here until you restore them.
