|
|
@ -1351,6 +1351,7 @@ Convert(decimal(18,1),isnull(QQ.COMQTY,0)) 完成数量, |
|
|
|
left join [UFDATA_001_2021].dbo.DispatchLists dls on dls.DLID = a.SDNID and dls.irowno = a.Sequence |
|
|
|
WHERE a.WorkPoint='UFDATA_001_2021' AND a.Type='1' AND a.Status<>'3' and a.Quantity-a.SDNQuantity>0 |
|
|
|
and a.SDNQuantity + dls.fOutQuantity <> a.Quantity and dls.iQuantity>dls.fOutQuantity and a.WHCode not in ('018','019','020') |
|
|
|
order by a.SDNCode desc |
|
|
|
";
|
|
|
|
|
|
|
|
|
|
|
|