Browse Source

调整逻辑

master
lilili 1 year ago
parent
commit
ecb9434764
  1. 2
      WMS-BS/NFine.Application/WMS/PickMaterialApp.cs

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

@ -1715,7 +1715,7 @@ left join (select distinct TransCode,TransType,WorkPoint from dbo.ICSWareHouseLo
RAISERROR('{lotNo}',16,1);
RETURN
END;
IF NOT EXISTS(SELECT a.ID FROM ICSInventoryLot a WHERE a.LotNo='2023052500001' AND a.WorkPoint='1701' AND InvCode='20064648')
IF NOT EXISTS(SELECT a.ID FROM ICSInventoryLot a WHERE a.LotNo='{lotNo}' AND a.WorkPoint='{WorkPoint}' AND InvCode='{tableModel.Rows[i]["InvCode"]}')
BEGIN
RAISERROR('{lotNo}{transCode}{tableModel.Rows[i]["SAPSequence"]}',16,1);
RETURN

Loading…
Cancel
Save