How to use orders to manage the stock of products with lots or serial numbers