Browse Source

调整销售退货接口

master
lilili 2 years ago
parent
commit
665d856f64
  1. 10
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs

10
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSalesService.cs

@ -182,11 +182,11 @@ namespace ICSSoft.DataProject
RAISERROR('" + language.GetNameByCode("WMSAPIInfo081") + @"',16,1); RAISERROR('" + language.GetNameByCode("WMSAPIInfo081") + @"',16,1);
RETURN RETURN
END END
ELSE IF (@Status!='2')
BEGIN
RAISERROR('" + language.GetNameByCode("WMSAPIInfo142") + @"',16,1);
RETURN
END
--ELSE IF (@Status!='2')
--BEGIN
-- RAISERROR('" + language.GetNameByCode("WMSAPIInfo142") + @"',16,1);
-- RETURN
--END
UPDATE c SET SDNQuantity=ISNULL(SDNQuantity,0)+'{2}' UPDATE c SET SDNQuantity=ISNULL(SDNQuantity,0)+'{2}'
FROM ICSInventoryLot a FROM ICSInventoryLot a
INNER JOIN ICSInventoryLotDetail b ON a.LotNo=b.LotNo AND a.WorkPoint=b.WorkPoint INNER JOIN ICSInventoryLotDetail b ON a.LotNo=b.LotNo AND a.WorkPoint=b.WorkPoint

Loading…
Cancel
Save