You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question about stock status field.
Does it have some special meaning in inventree business logic, i.e. stock items handled differently depending on status?
I have a use case of separation between new and used/salvaged parts.
So for example I would like to track new and used kinds of the same part in the same (or different) storage locations.
If it makes sense I propose to create new status: "Used" or "Salvaged".
That's good point. Statuses are hard-coded in InvenTree but maybe it should be more flexible, like option for adding user-defined statuses to the logic.
I've added a note to update the docs with some info on how the stock "status" impacts the business logic.
Very short version - some stock status code will remove the stock from certain operations - e.g. you can't add "destroyed" or "lost" stock to a sales order, etc.
Adding a "Used" status flag would be pretty straight forward. It would require manually marking each stock item as "used"
We run a small ISP and is looking to convert our stock system to InvenTree. We primarily have two types of stock, first is consumeables in different variants, like fiber patches and similar. And then there is unique components like fiberoptic transcievers and disk drives which we want to track through their life. What we have run into is that we havent found any way to mark a tracked item as "in use". For example an SSD should be "in use" when its used, yet if its returned to storage we should mark it OK or used or whatever is appropriate. Meaning that "in use" items isnt made available in the stock list.
Does this make any sense to any of you?
Considering the above usecase in comparison to the original usecase in the thread, maybe the status field would benefit from beeing dynamically configurable with custom statuses with their relevant attributes setable?
@milssen I do not mean to intrude but have you thought about using a more traditional asset- and inventory-management solution?
I like to recommend a great FOSS called snipe-it. I use it for IT-tracking in a company with around 300 Endpoints, a several hundred licenses and a lot of shared assets with a lot of changing users (in an AD). The usecase you describe is covered by it.
Activity
eeintech commentedon Feb 15, 2021
That's good point. Statuses are hard-coded in InvenTree but maybe it should be more flexible, like option for adding user-defined statuses to the logic.
sintech commentedon Feb 15, 2021
I think at this point new status: Used/Not New/Salvaged with color: green and available+receiving will be enough.
SchrodingersGat commentedon Feb 15, 2021
I've added a note to update the docs with some info on how the stock "status" impacts the business logic.
Very short version - some stock status code will remove the stock from certain operations - e.g. you can't add "destroyed" or "lost" stock to a sales order, etc.
Adding a "Used" status flag would be pretty straight forward. It would require manually marking each stock item as "used"
rnilssen commentedon Feb 16, 2021
Perhaps this should be dynamically configureable?
We run a small ISP and is looking to convert our stock system to InvenTree. We primarily have two types of stock, first is consumeables in different variants, like fiber patches and similar. And then there is unique components like fiberoptic transcievers and disk drives which we want to track through their life. What we have run into is that we havent found any way to mark a tracked item as "in use". For example an SSD should be "in use" when its used, yet if its returned to storage we should mark it OK or used or whatever is appropriate. Meaning that "in use" items isnt made available in the stock list.
Does this make any sense to any of you?
Considering the above usecase in comparison to the original usecase in the thread, maybe the status field would benefit from beeing dynamically configurable with custom statuses with their relevant attributes setable?
matmair commentedon May 12, 2021
@milssen I do not mean to intrude but have you thought about using a more traditional asset- and inventory-management solution?
I like to recommend a great FOSS called snipe-it. I use it for IT-tracking in a company with around 300 Endpoints, a several hundred licenses and a lot of shared assets with a lot of changing users (in an AD). The usecase you describe is covered by it.