Finally working

Going to tweak stockdetails and then stop