|
|
@ -3757,12 +3757,7 @@ namespace ICSSoft.DataProject |
|
|
|
} |
|
|
|
foreach (string tranCode in tranCodes) |
|
|
|
{ |
|
|
|
string sqlCheck = @"IF NOT EXISTS(select ID from ICSWareHouseLotInfoLog where TransType='15' AND TransCode='{0}')
|
|
|
|
BEGIN |
|
|
|
RAISERROR('" + language.GetNameByCode("WMSAPIInfo478") + @"',16,1); |
|
|
|
RETURN |
|
|
|
END; |
|
|
|
IF NOT EXISTS( SELECT ID FROM ICSMOApply WHERE ApplyCode='{0}' AND Desks='{1}') |
|
|
|
string sqlCheck = @"IF NOT EXISTS( SELECT ID FROM ICSMOApply WHERE ApplyCode='{0}' AND Desks='{1}')
|
|
|
|
BEGIN |
|
|
|
RAISERROR('" + language.GetNameByCode("WMSAPIInfo477") + @"',16,1); |
|
|
|
RETURN |
|
|
|