-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFG 2023] Add low inventory report to dashboard #3742
Comments
I realized overnight that, as written, this will not be useful for Sylvia's Sisters. We would need to add a "include in low inventory report" flag on the storage location (and they'll need to add the recommended levels, of course). |
Right now, it looks like we're configuring "minimum quantity" at the item level, which means that we're assuming all banks should have the same distribution and quantities at every location. We know this doesn't work for Sylvia's Sisters, but I think it's also an issue for organizations with banks that support different communities. Each community would have a population that needs different items. I want to propose a change. Could we add a minimum_quantity and recommended_quantity to InventoryItem? We could then use this value to allow banks to set location-specific quantity guidelines. Sylvia's Sisters could set the minimum_quantity for all their residential locations to 0, but they could also distribute more disposable products to Virginia, and more reusable products to Uganda. I have an idea for what the roll-out for this could look like, and how to transition minimum_quantity on item to a global value for an item, instead of a per-bank quantity. |
(I missed the first part of SS's stuff, didn't know they were doing Uganda) |
What I think I saw with the SS model is they wouldn't ever be concerned about their residential "storage locations" having low inventory. Ever. Because they aren't really storage locations, they are workstations with materials. |
I understand what you're saying about banks with different communities -- we have other banks that essentially have different branches, and those branches are being represented as storage locations. |
(Thinking 'aloud' -- apologize in advance for the blathery nature of this) I'm not (yet?) sure that InventoryItem is the right place for this -- I mean, logically it is -- but an InventoryItem only comes into being when Inventory is added to the storage location (until a very short time ago it also disappeared when it was taken down to 0) So there's some flow issues there. I'm a bit concerned about the extra input work, too, for those banks with a lot of storage locations. We'd need to add a whole slice for InventoryItems, right? Though for those banks that have already put recommended levels in, we could do a reasonably smooth default migration. |
I'm a bit confused by this part of your comment: "and how to transition minimum_quantity on item to a global value for an item, instead of a per-bank quantity." -- minimum_quantity is never going to be at higher than a bank level. Was that a mis-speak, or am I just not getting it? |
Would be happy to pop onto a Zoom to discuss in the am. Would love to hear your ideas for a relatively painless transition . |
(Hmmm... what is the reason we don't add InventoryItems until inventory is added to the storage location? Was there a business reason or was it an accident) |
Transition idea -
It'll be slow, but that'll give people time to adapt and change. |
I'm okay with it living somewhere other than InventoryItem. I'm looking for a relationship between Item and StorageLocation, and I think this is a good place for it, but if we want to introduce a separate join table, I'm open to that.
You're right. I was thinking of locations as bank branches and misspoke. |
I do think we might want to introduce a separate table -- but only because I'm not positive if there are business reasons for the current InventoryItem behaviour. |
So, we're thinking in terms of initially doing the report using the levels on Item (pretty sure S'sS doesn't use the recommended levels yet) , then? |
I'm thinking maybe we hide the report unless they have entered any recommended levels or non-zero minumums. |
Re transition: I think we'd want to do some research on the patterns over all the banks -- Sylvia's Sisters might be a special case in how they are using the residential. |
And I think we should populate both minimum and recommended from the Item levels (I expect you meant that, but being explicit) |
Hey @ChaelCodes -- just checking if there's anything blocking the initial version of this [I have been assuming we're doing an initial version that uses the item-level minimum and recommended values, then we work on making it better.] ? |
Nope! Nothing blocking it. Just haven't had a chance to pick it up since the RFG event. I worked on removing Donation (All Sources), and the Experimental Docker one still needs the Org spec fixed. |
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned. |
Automatically unassigned after 7 days of inactivity. |
That initial PR to add the low inventory report is ready for review: #3857 |
Formally assigning @awwaiid because I know Brock's doing a last push to get all the dashboard items in place. |
This is merged into |
Summary
Add a low inventory report to the dashboard
Why
Allow banks to see at a glance which items they need to get more of or risk not being able to fulfill requests
Details
There will be a new card on the dashboard, titled "Bank-wide Low inventory". It should be after the announcements.
It will show the items that are at or below the greater of minimum and recommended quantity at each storage location across the bank (some banks have given minimum but not recommended quantities)
It will have the following columns
If there are no items that are low, the card can just say "Inventory is at recommended levels (minimum and recommended levels can be set on each item)"
Initial sort: I suggest alpha by item within storage location.
Hopefully there won't be so many that the sort will really be an issue!
Other things you should know
We are grouping a number of dashboard-related changes together and will merge these individual changes into a long lived dashboard-related branch. We will merge this long lived branch into main when we are ready to release the whole suite.
Criteria for completion
Bonus round
The text was updated successfully, but these errors were encountered: