Modify zsql method so that movements without source or destination can be selected in stock table