Warehouses are deleted in the browser. A deleted warehouse disappears from normal warehouse lists and selection lists on Android and iOS as well when the data is reloaded. The mobile apps' warehouse views do not have a delete function.
Permissions and preparation
The warehouse feature must be enabled. You need permission to view the warehouse and permission to delete warehouses. Edit and delete permissions are separate: edit permission alone does not allow deletion. The system's Projektilla warehouse cannot be deleted.
In the browser, open Manage warehouses → Warehouses and select the warehouse you want to delete from the list on the Warehouses tab. In its Warehouse balances section, check the balances for products and warehouse slots. Clear the table's search filters. The Show only products with balance option above the table is selected by default; clear it to see zero balances as well.
Transfer any remaining products to their actual destination warehouse or record their actual issue before deleting the warehouse. Corrective transactions require the appropriate permissions. Use stocktaking to correct an actual balance discrepancy, rather than simply to allow deletion. See making a warehouse transfer, receiving and issuing products and investigating a balance error.
Before deleting the warehouse, also check any transaction and value information you need. Open Warehouse value in the selected warehouse's Basic info section, then History in the window that opens to check the warehouse's value history. After deletion, these value views can no longer be opened, even if earlier value records are retained. For detailed instructions, see viewing warehouse value and the product breakdown and viewing warehouse value history.
Which balance prevents deletion?
Deletion is blocked if the total quantity of all stored warehouse slot balances for all products in the warehouse is positive. The check uses the quantities as stored, without rounding. It is not based on the warehouse's monetary value or only on rows visible on screen or matching the search filters.
The check does not require every individual balance to be zero. For example, a balance of +5 for the same product in one slot and −5 in another gives a total of 0, so this balance check does not block deletion. A negative total does not block deletion through this check either. Still, investigate unusual balances before deletion: a zero total does not prove that the warehouse is empty.
The visible balance table covers the slots included in the warehouse's current warehouse slot collection. It also excludes deactivated and deleted products, and records that have no associated purchase batch. However, the deletion check includes all stored slot balances for the warehouse, including records belonging to an earlier or different slot collection.
An empty visible list therefore does not prove that the conditions for deletion have been met. If deletion reports balances even though the list is empty, work with an administrator to investigate slot balances outside the current collection, balances for hidden products and records without purchase batch references.
Delete the warehouse
- In the warehouse's Basic info section, select Edit, which has a pencil icon.
- At the bottom of the edit form, select Delete, which has a trash can icon. The button is visible only if you have delete permission.
- Read the confirmation. Select Yes to delete the warehouse or No to cancel.
Yes starts deletion immediately. You do not confirm deletion again with the Save button. After successful deletion, the form closes and the warehouse disappears from the list. If you receive an error message, investigate its cause and check the warehouse's status before trying again.
What happens to the data?
A previously used warehouse is retained as deleted. If the warehouse has product slot records, it is marked as deleted even if their balances are already zero. The warehouse and slot records remain in the background to preserve old references. Deletion does not reset balances or reverse earlier receipts, transfers or other warehouse transactions.
New value records are no longer created. The deleted warehouse is no longer included in regular warehouse value calculations. A separately triggered value update will not create a new value either if the warehouse has already been deleted when the update is processed. Marking the warehouse as deleted does not itself remove earlier value records, but the warehouse's value history and current value breakdown can no longer be opened.
An unused warehouse can be deleted permanently. If there are no product slot records, the system attempts to delete the warehouse permanently. If an old reference prevents this, the warehouse is retained as deleted. Permanent deletion also removes the warehouse's value breakdowns, product values, default product slots and warehouse-specific alert thresholds. Warehouse links in value adjustments are removed, and the warehouse is removed from alert recipients' warehouse selections. These effects apply to permanent deletion, not merely to marking a warehouse as deleted.
The name of a warehouse retained as deleted may prevent you from creating a new warehouse with the same name. A warehouse reference previously selected for a task or service request may also still appear when editing its product row, even though the warehouse is missing from normal selection lists. Data and references retained in the background do not guarantee that all earlier history and report views remain available.
Warehouse slots and tags
When a warehouse is retained as deleted, its warehouse slot collection is also hidden unless another warehouse that has not been deleted uses the same collection. This exception applies to old shared slot collections. Simply clearing the Warehouse in use option for another warehouse does not make it a deleted warehouse.
When a slot collection is marked as deleted, the links to tags attached to its slots are removed. The tags remain in the register, but they no longer point to these warehouse slots.
The slot collection of an unused warehouse being deleted permanently may remain visible, and deleting the warehouse does not then automatically remove the tags' links to its slots. However, if the collection was also linked to a warehouse previously retained as deleted, it may be marked as deleted and the tag links removed.
Warehouse in use is a separate option
Clearing the Warehouse in use option on the same edit form and saving the change with Save requires edit permission and retains the warehouse. It does not mark the warehouse as deleted, clear its balances or hide its slot collection as deletion does. Clearing the option is blocked by the same check for a positive total balance.
The warehouse remains in normal warehouse lists on mobile as well, and its value records continue to be created. Its value views can still be opened according to your permissions. Clearing the option should not be treated as a guarantee that all warehouse transactions are blocked. See also warehouse and warehouse slot settings.
Check the result
Reload the warehouse list in the browser and make sure the deleted warehouse no longer appears. On the same page, check the Warehouse slot collections tab to see whether the collection remains visible according to the rules described above.
If the slot collection was hidden, open Assets and content → Tags from the browser navigation and check the targets of the tags attached to it. See managing the tag register.
On Android and iOS, refresh the Warehouses list by pulling down on it. The deleted warehouse should disappear from the reloaded list. Refreshing an open warehouse's product list is a separate action; an old view that is still open does not by itself confirm the result of deletion.