Browse Source

工单生成条码上传倒冲u8 增加工单行对应库存仓库卡控

master
Juj 1 year ago
parent
commit
e8e08adb5c
  1. 4
      WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs

4
WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs

@ -2623,8 +2623,8 @@ CAST( (a.Quantity-ISNULL(c.LOTQTY,0)) as DECIMAL(18,{0})) as thisCreateQty,isnu
string SqlBackflush = @"select a.LotNo,a.Quantity,c.BatchCode from dbo.ICSWareHouseLotInfo a
left join dbo.ICSInventoryLot b on a.LotNo=b.LotNo and a.WorkPoint=b.WorkPoint
left join dbo.ICSExtension c on b.ExtensionID=c.ID and a.WorkPoint=c.WorkPoint
where a.InvCode='{0}' and a.WorkPoint='{1}' and a.Quantity<>0 order by InDate asc";
SqlBackflush = string.Format(SqlBackflush, item["InvCode"].ToString(), WorkPoint);
where a.InvCode='{0}' and a.WorkPoint='{1}' and a.WarehouseCode='{2}' and a.Quantity<>0 order by InDate asc";
SqlBackflush = string.Format(SqlBackflush, item["InvCode"].ToString(), WorkPoint, item["WHCode"].ToString());
DataTable DtBackflush = SqlCommandHelper.SQlReturnData(SqlBackflush, cmd);
//DataTable DtBackflush = Repository().FindTableBySql(SqlBackflush.ToString());

Loading…
Cancel
Save