增加已经到货数量
This commit is contained in:
@@ -15,14 +15,15 @@ namespace NX.ERP.U8.Purchase
|
||||
B.Autoid as id,b.ID as ArrivalID,
|
||||
b.cInvCode AS MaterialCode,
|
||||
b.cBatch AS BatchNo,
|
||||
b.fRealQuantity as RealQuantity,
|
||||
b.cUnitID AS UnitCode,b.ioricost as oricost,b.ioritaxcost as oritaxcost ,b.icost as cost,b.iorimoney as orimoney,b.ioritaxprice as oritaxprice,b.iorisum as orisum,
|
||||
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 ";
|
||||
Left Join PO_Podetails C WITH (NOLOCK) ON B.iPOsID = C.ID where ISNULL( a.cverifier,'')<>'' ";
|
||||
if (!string.IsNullOrEmpty(strWhere))
|
||||
{
|
||||
strSQL += $" where {strWhere} ";
|
||||
strSQL += $" and {strWhere} ";
|
||||
}
|
||||
var lookup = new Dictionary<int, Model.Purchase.Arrival>();
|
||||
// return conn.Query<Model.Purchase.Arrival>(strSQL,null);
|
||||
|
||||
Reference in New Issue
Block a user