Advertisement
QuangDepTrai

SELECT MOVE LINE

Aug 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select sp.name, sp.tk_unique_ref, prod.default_code, tmp.name, mline.qty_done, sp.tk_picking_type_id, sp.state, sp.date_done
  2. from stock_picking sp
  3. join stock_move_line mline on sp.id = mline.picking_id
  4. join product_product prod on mline.product_id = prod.id
  5. join product_template tmp on tmp.id = prod.product_tmpl_id
  6. where sp.name in ('CP05/INT/19000422','CP05/INT/19000425','CP05/PICK/00126','CP05/PICK/00149','CP05/PICK/00150','CP05/PICK/00176','CP05/PICK/00207','CP05/PICK/00217','CP05/PICK/00317','CP05/PICK/00331','CP05/PICK/00351','CP05/PICK/00400','CP05/PICK/00426');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement