Fixed bug in get_next_trans_no() resulting in invisibility of new stock movements...