|
@ -103,7 +103,7 @@ namespace ICSSoft.DataProject |
|
|
{ |
|
|
{ |
|
|
string updatesql = @"Update ICSSDN set EATTRIBUTE1='待过账' where SDNCode='{0}' AND WorkPoint='{1}'"; |
|
|
string updatesql = @"Update ICSSDN set EATTRIBUTE1='待过账' where SDNCode='{0}' AND WorkPoint='{1}'"; |
|
|
updatesql = string.Format(updatesql, dt.Rows[i]["SDNCode"].ToString(), dt.Rows[i]["WorkPoint"].ToString()); |
|
|
updatesql = string.Format(updatesql, dt.Rows[i]["SDNCode"].ToString(), dt.Rows[i]["WorkPoint"].ToString()); |
|
|
if (!DBHelper.ExecuteNonQuery(chksql, cmd)) |
|
|
|
|
|
|
|
|
if (!DBHelper.ExecuteNonQuery(updatesql, cmd)) |
|
|
{ |
|
|
{ |
|
|
throw new Exception(language.GetNameByCode("WMSAPIInfo141"));//"销售领料单更新失败!");
|
|
|
throw new Exception(language.GetNameByCode("WMSAPIInfo141"));//"销售领料单更新失败!");
|
|
|
} |
|
|
} |
|
|