Reset Tools

Controlled maintenance tools for clearing transaction and operational data

Back to Setup
These tools permanently delete data. Broad pharmacy resets and department-scoped stock resets are split so each tool has one clear job.

Pharmacy Data

Use the broad reset only when you want the whole pharmacy branch cleared. Use the scoped reset when you want one branch, one department, or an all-departments cleanup.

Reset Pharmacy Transactions

Branch and department scoped wipe for PO, GRN, stock, bills, POS sales, payments, returns, adjustments, and transfers. Supports all branches and all departments.

reset_pharmacy_transactions.php
Available

Remove All Stock Data

Scoped cleanup for one branch and one department, with an all-departments option, including PO, GRN, open stock, transfers, returns, adjustments, and linked dispensing rows.

reset_stock_data.php
Available

Operational and Masters

These tools remove non-pharmacy operational data or master tables. They are separate so you do not accidentally clear the wrong layer.

Reset All Operational Data

Delete patients, sessions, admissions, bookings, stock transactions, billing, transfers, payments, and logs while keeping users and setup/master data.

reset_operational_data.php
Available

Remove All Items / Medicines

Delete all item masters, department item prices, stock, pharmacy item transactions, and prescription medicine rows.

reset_medicine_masters.php
Available

Remove All Tests

Delete all test categories, test masters, and prescription test rows.

reset_test_masters.php
Available