Skip to content
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

Multiple stock locations #60

Open
kingsloi opened this issue Feb 25, 2017 · 0 comments
Open

Multiple stock locations #60

kingsloi opened this issue Feb 25, 2017 · 0 comments

Comments

@kingsloi
Copy link

Hey Steve,

Great package!

My client has a lot of big stock, transformers, generators, big electrical/construction stuff. It's common for one inventory item to have many locations (wherever it fits pretty much), so in it's current form, the package doesn't work for my situation.

Inventory can be big, or it can be extremely big, so the "locations" of where stock can be are pretty much endless.

Rather than re-write any code, one thing I have been toying with is generating a unique location per a stocks aisle, row, and bin. Stock can span over one single aisle, or can span over multiple.

So if I have a 10x Item 1 at row 1, section A-B (we call aisle section), it'll generate a new location with the name of: 1A-B. That way we could check to see if location 1A-B is free, and if it's not, then throw a StockAlreadyExistsException

The only downside that I can foresee is that if there's stock on Row 1 A-B and a user tries to add stock on Row 1 A, then it wouldn't consider Row 1 A-B as an existing location. But maybe I can just leave that up to the client take those precautions.

Do you have any ideas that may help?

Cheers, Steve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant