Categories
Introduction
Categories can be used to control where certain articles may be stored. Using categories, you can for example make sure that StockControl will place all toys together, or all electronics.
How it works
Both locations and articles can have a comma separated list of free-form “categories”. When StockControl starts looking for a location for an item, it will check the article table on which locations may be used. It will go through the list looking for the first match.
When a match is found, it will use the location connected to it. When no match is found, the StockControl will bail out with a “No room in warehouse” error. Note that if an article has a category, but there is no matching location, this article will never be put on stock automatically.
“Why not just place those articles on locations without categories?” you may ask. The reason for this design decision is to accomodate for articles that must be in a certain location, e.g. refrigerated or high-value articles. You don’t want those being placed an any shelf location for example.
Administration
Categories can be assigned to articles and locations using the Client . They are free-form, so be wary of possible typos. The priority of a category is its place in the list (so this can be different per article or location).