Very sorry it's not the desktop version, it must be the website I am trying to do it on.
Thanks for your prompt reply, bluebell81.
If you're using QuickBooks Online, then I'll be glad to share the steps:
You can run the same report which is the Transaction Detail by Account and customise the report by following these steps:
- Go to Reports on the left panel.
- Type Transaction Detail by Account in the search field.
- Select the Report period and click the Customise button.
- In the Rows/Columns section, put a check mark on the Product/Service box.
- Click the Filter drop-down and make sure that All is selected from the Product/Service menu.
- Hit Run report.
You will see a (deleted) word after the inventory item name. This means that it was made inactive.
Here's a sample screenshot for a visual guide:

For more information about customising or running other reports in QuickBooks Online, you can read these articles:
I'm always around if there's anything else you need. I'll you help you out again. Stay safe!