My requirement is quite simple, but I feel it'll be a useful feature for stock visibility and reporting. In brief what I would like to do is write a log entry whenever a stock is updated for a product. The end result is if I get a report it should be something like below (a simple format).
Date | SKU/Product | StockIn | StockOut
10/04/2019 | ABCDEF | 10 |
10/04/2019 | ABC123 | 10 |
11/04/2019 | ABCDEF | | 2
12/04/2019 | ABC123 | | 5
13/04/2019 | ABC123 | 5 |
Basically this tracks what products came in and went out(we assume those are sold) each day. I couldn't find a plugin for this and I don't think we can get such report from current system.
Any idea where I should start if I am to write a plugin?