Skip to main content

Open in TWICE Admin

inventory/stock-items
Archive a stock item to take it out of use and out of Inventory → Stock items, whether it was sold, scrapped or lost. Archiving releases its holds that have not ended, apart from a sale’s hold and a reservation with no end date. Archiving and Deletion explains what it releases and keeps.

Prerequisites

Required permissions:
  • Create and edit stock items to archive a stock item (inventory:stock_item:manage). Every built-in role holds it, Member included.
See Users & Roles.
Have ready before you start:
  • Nothing booked on it that still needs it. Orders that have it lose it, a running one included. To keep a rental that is out with a customer running, set the stock item inactive instead.
  • A replacement unit for each order still booked on it, if there are any.
  • The whole stock item in mind. Archiving takes every unit of a bulk stock item out of use, however few of them you select.

The walkthrough

1

Open the stock item

Open Inventory → Stock items, enter the stock item’s name or code in “Search item name or SKU”, and click its row. With more than one location, check the location selector in the top-left corner first.To archive several, select their rows and click Archive above the table or in the Scanned items drawer. The same confirmation opens.
The Stock items table filtered to one stock item, with the search field and the row highlighted
2

Open More

Click More in the top-right corner of the stock item. A dialog opens with the actions you can take on it: Print, Export and Archive.
The More panel on a stock item, with its heading and the Archive row highlighted
3

Choose Archive

Choose Archive. The Archive Stock item dialog opens and says archived items are kept and can be restored from Settings → Archived assets. TWICE checks what still holds the stock item as the dialog opens, and shows the result under that line.
The Archive Stock item dialog as it opens, with the title and the sentence about restoring it highlighted
4

Read the impact scan

Read the panel headed “This archive affects live data”. It counts the order bookings that will lose the stock item and need a replacement unit, and the reservations that lose their hold, each with up to five examples and their start dates. When nothing still holds the stock item, no panel shows.
The archive dialog's impact panel, with the order bookings and the reservations findings highlighted
5

Acknowledge the impact

Select the checkbox “I understand the impact on the items listed above” under the panel. Until you do, Archive stays greyed out.Skip this step when no panel shows. The dialog has no checkbox then.
The archive dialog with the acknowledgement ticked and the Archive button enabled
6

Archive the stock item

Click Archive at the bottom of the dialog. The dialog closes and Stock items opens, without the stock item in it.
The Stock items table searched for the archived stock item, with no row found
7

Check the orders it left

Open Orders. Where archiving released an order booking, Some orders have conflicts shows above the table, counting the orders that need another unit. Resolve a stock item conflict puts one on each.
The Orders table with the conflicts banner and its View orders button highlighted

How do I know it worked?

  • The stock item is gone from Inventory → Stock items, and listed under Settings → Archived assets → Stock items instead.
  • Its own page still opens, with This asset is archived at the top and Unarchive beside it.
  • It no longer counts toward availability, and no listing offers it.
  • Orders that had it booked are counted under Some orders have conflicts until each has another unit.

Troubleshooting / common pitfalls

The scan counts holds that have not ended, so a booking already over is not counted, and nor is the hold of a unit already sold or a reservation with no end date. A scan that could not run shows nothing either: cancel and choose Archive again before you confirm. See Archiving and Deletion.
Archiving released their holds, and they keep the stock item assigned until each gets another unit. See Stock Item Conflicts.
Every list in the admin shows stock items in use, and archived ones only under Settings → Archived assets. See Archiving and Deletion.

Archiving and Deletion

What archiving releases and keeps, and how deleting differs.

Retiring stock

Every walkthrough for taking stock out of use.

Unarchive a stock item

Bring an archived stock item back into use.

Set a stock item inactive

Stop new orders and keep the ones it has.

Resolve a stock item conflict

Put a unit back on the orders archiving left without one.

Delete a stock item

Remove an archived stock item for good.