calculate unitinstock from sales - updated still much work to do