|
|
@ -254,7 +254,7 @@ namespace ICSSoft.DataProject |
|
|
|
try |
|
|
|
{ |
|
|
|
|
|
|
|
string sql = @"IF EXISTS (SELECT ID FROM ICSMOApply WHERE IssueQuantity=Quantity AND ApplyCode='{0}' and WorkPoint='{1}' )
|
|
|
|
string sql = @"IF EXISTS (SELECT ID FROM ICSMOApply WHERE IssueQuantity=Quantity AND Quantity>0 AND ApplyCode='{0}' and WorkPoint='{1}' )
|
|
|
|
BEGIN |
|
|
|
RAISERROR('" + language.GetNameByCode("WMSAPIInfo472") + @"',16,1); |
|
|
|
RETURN |
|
|
|