|
@ -1131,11 +1131,11 @@ namespace ICSSoft.DataProject |
|
|
RETURN |
|
|
RETURN |
|
|
END |
|
|
END |
|
|
|
|
|
|
|
|
IF EXISTS(SELECT id FROM ICSWareHouseLotInfo WHERE WarehouseCode='{9}' AND LocationCode='{10}' AND WorkPoint='{1}' AND LotNo = '{0}') |
|
|
|
|
|
BEGIN |
|
|
|
|
|
RAISERROR('" + string.Format(language.GetNameByCode("WMSAPIInfo355")) + @"',16,1); |
|
|
|
|
|
RETURN |
|
|
|
|
|
END |
|
|
|
|
|
|
|
|
--IF EXISTS(SELECT id FROM ICSWareHouseLotInfo WHERE WarehouseCode='{9}' AND LocationCode='{10}' AND WorkPoint='{1}' AND LotNo = '{0}') |
|
|
|
|
|
--BEGIN |
|
|
|
|
|
--RAISERROR('" + string.Format(language.GetNameByCode("WMSAPIInfo355")) + @"',16,1); |
|
|
|
|
|
--RETURN |
|
|
|
|
|
--END |
|
|
|
|
|
|
|
|
INSERT INTO ICSWareHouseLotInfoLog(ID,Identification,TransCode,TransSequence,LotNo,InvCode, |
|
|
INSERT INTO ICSWareHouseLotInfoLog(ID,Identification,TransCode,TransSequence,LotNo,InvCode, |
|
|
FromWarehouseCode,FromLocationCode,ToWarehouseCode,ToLocationCode,Quantity, |
|
|
FromWarehouseCode,FromLocationCode,ToWarehouseCode,ToLocationCode,Quantity, |
|
|