ZENCART ZENSDAY – Predictive inventory. Ok, folks this is likely one of the most useful parts of our Adafruit business we’re thrilled to share with the world… One of the ‘brick walls’ that any business eventually hits is how to manage inventory. If you’re a one person shop and you have 10 items to keep track of, you can probably do it all in your head. But once you get to 25 or so items it can get really messy. That’s why a few years ago we wrote up our own ‘predictive’ inventory system. Now to make it absolutely clear, this php code cannot actually see into the future. However, it can look into the past and make a good educated guess about how long your inventory will last assuming you have pretty steady purchasing history.
Basically, this code will look at all your product categories and items and sum up how many orders were placed for these items. Then it puts them in a table with the current inventory/stock. The table entries have a background of light red if your current inventory will run out before then. For example lets look at this screenshot:
If the future purchasing is like the past, then we’ll run out of 9V regulated adapters in about 4-6 weeks. If you know the approximate lead time for stuff you buy then you can just keep ordering just when the ‘red bars’ start showing up too much!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
No comments yet.
Sorry, the comment form is closed at this time.