Is your feature request related to a problem? Please describe.
Currently the Consumable items are treated/tracked as a grand total of items when they should be tracked similar to how an accounting ledger tracks cash and have similar functionality.
Describe the solution you'd like
- we should have a total on hand (not a grand total) as a starting stock. (could be Zero, could be thousand, its just a row on the ledger). Ideally we can track other stuff like location, cost, where we purchased it from or who it was given out to as well as time of event.
- The total on hand now reflects the new total. The total is NEVER directly changed but goes off what the ledger shows.
- we want to deduct from the total, we would have the function to do the following
- either an item was used and checked out to a person
- checked out to a location (as a deployment)
- device like an asset
- STOLEN/MISSING - checked out as shrink, missing, stolen, damaged. this would happen when running a physical inventory
-We want to ADD to the total
- We add to inventory, either a purchase, gift, found after missing
- list total added, track cost, location manufacture supplier ect.
- list total added (NEVER CHANGE THE TOTAL AMOUNT DIRECTLY) if (5) are in stock and you order (2) then you would add to the inventory (2) and the total gets updated.
Describe alternatives you've considered
There are a few ways to implement this but the best would be
- a single table (ledger) that just tracks all consumables changes when each instance of a consumable is changed
- columns that show the quantity it was changed by, who made the change, where the item is going (if deducted) or where it came from (if ordered and found), time date, ect.
The total field can be tracked several different ways,
- either snipe goes through ALL rows, adds or subtracts for the specific item being looked for and gives a total. This might not be the best since this could be a lot of work depending on how big the table gets and could be inaccurate if data is deleted from the table.
- After each journal entry the new total is calculated and gets its own column. SnipeIT then just looks up the last entry in the table for that item to get the total. This will preserve the total even if somthing happens to rows in a table.
Additional context
No response