Browse Source

调整接口

master
lilili 2 years ago
parent
commit
4008fa83fc
  1. 2
      WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs

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

@ -1772,7 +1772,7 @@ where a.DNType='3' and a.Status='2' and a.EATTRIBUTE1 is NOT null
from ICSMOApplyNegDetail a
left join ICSMOApplyNeg d on a.ApplyNegCode=d.ApplyNegCode and a.WorkPoint=d.WorkPoint
left join ICSInventory b on a.InvCode=b.InvCode and a.WorkPoint=b.WorkPoint
LEFT JOIN ICSInventoryDetail detail WHERE b.InvCode=detail.INVCode AND a.WHCode=detail.WHCode AND a.WorkPoint=detail.WorkPoint
LEFT JOIN ICSInventoryDetail detail ON b.InvCode=detail.INVCode AND a.WHCode=detail.WHCode AND a.WorkPoint=detail.WorkPoint
left join (
select mm.TransCode,mm.TransSequence,sum(isnull(ee.Quantity,0)) LOTQTY,ee.WorkPoint from ICSInventoryLot ee
left join ICSInventoryLotDetail mm on ee.LotNo=mm.LotNo and ee.type='12'

Loading…
Cancel
Save