|
|
|
@ -1272,7 +1272,7 @@ ORDER BY 销售车号, 物料编码 ,报工人 asc |
|
|
|
icsso tso with(nolock) |
|
|
|
left join ICSCustomer cus with(nolock) on tso.cusid = cus.FCUSTID |
|
|
|
left join icsmo tmo with(nolock) on tso.socode = tmo.molotcode |
|
|
|
left join ICSINVENTORY inv with(nolock) on inv.invcode=tmo.molotcode |
|
|
|
left join ICSINVENTORY inv with(nolock) on inv.invcode=tmo.itemcode |
|
|
|
where tso.status = 'C' and tmo.id in(select moid from ICSMO2ROUTE with(nolock) ) |
|
|
|
|
|
|
|
|
|
|
|
|