How to setup maximum stock of an item?
To add maximum stock while creating item first Go to Master > select Item
Then item view is display, then to create new Item Click on New button present on top left of corner.
Then fill all the details related to item in which you can see Maximum Stock field enter the value of Maximum stock which you
wish to set for that item.
Once you set Maximum stock value then at the time of purchase, if stock reaches up to maximum stock value then it will show warning message.
To setup error message for item when stock become Overstocked Click here