Resolved #6622

-integers from set_stock function were being  prepared as floats in
database strings