-
Is there a way to create find out what was in inventory on a specific date? This is in context of doing the year end bookkeeping, trying to find out what was in stock on December 31st. Yes, I know it is now July and had this ask been made sooner I could have just downloaded a backup of the database and use the stock take system to generate the report, but alas our database backups are not kept this long. I see there is a reporting function in Inventree, but I am not sure that I have ever got it to work. The documentation suggests that there are Stocktake report types but I don't see it in my 0.7 installation. Is the information required to accomplish this report in the database (I assume so because the stock items stay around after being sold or counted out, but I thought I would ask those more familiar with Inventree before digging into the code)? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@nwns this is generally possible with the current version - I am not sure how long all the stuff was there and when you made the according updates. This can be done with the API, with a plugin or just debugging your instance. |
Beta Was this translation helpful? Give feedback.
@nwns this is generally possible with the current version - I am not sure how long all the stuff was there and when you made the according updates.
My suggestion would be to just filter for the stocktracking entries before your cutoff day, ordering by date and just getting the latest entry. The entry contains the quantity at time of creation.
This can be done with the API, with a plugin or just debugging your instance.
This is only appropriate for more advanced users. I am positive @nwns can do it, this is more a warning for new users without experience with django and/or inventree.