采购到货单不输出采购

This commit is contained in:
admin
2021-01-28 15:52:28 +08:00
parent 2ab5c0d2af
commit 1531213854

View File

@@ -20,7 +20,7 @@ namespace NX.ERP.U8.Purchase
B.iQuantity as Quantity,b.iposid as PosId ,B.CORDERCODE as OrderCode,C.POID as Poid from
pu_ArrHead as a
left join pu_arrbody as b on a.id=b.id
Left Join PO_Podetails C WITH (NOLOCK) ON B.iPOsID = C.ID where ISNULL( a.cverifier,'')<>'' ";
Left Join PO_Podetails C WITH (NOLOCK) ON B.iPOsID = C.ID where ISNULL( a.cverifier,'')<>'' and a.id in (select id from PO_Podetails where fRealQuantity<>iQuantity ) ";
if (!string.IsNullOrEmpty(strWhere))
{
strSQL += $" and {strWhere} ";