|#429|+Rahul| Fixing build. Calculating order quantity after stock in hand and quantity dispensed