Added verifications for qty & item code , fix SQL +

Changed heading to Details