Clear all transactions and sales on V4

I want to make a button to clear all transaction and sale data. Does anyone know it?

I dont think having a button to clear data would be a good practice.

however if you use your search function, and use “clear transaction” words, you may find a lot of info about that…

for example: How To Clear Only Transaction Data