Browse Source

委外检验合格单入库修改

master
陆晔 12 months ago
parent
commit
b8412b94d6
  1. 2
      WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs

2
WMS-BS/NFine.Application/WMS/WMSCreateItemLotApp.cs

@ -3523,7 +3523,7 @@ CAST( (a.Quantity-ISNULL(c.LOTQTY,0)) as DECIMAL(18,{0})) as thisCreateQty,isnu
else else
{ {
log.Debug("过账返回值:" + result.Z_NULL + "过账返回信息:" + result.L_MESSAGE); log.Debug("过账返回值:" + result.Z_NULL + "过账返回信息:" + result.L_MESSAGE);
string updatesql = @"update ICSDeliveryNotice set RCVQuantity+=Convert(decimal(18,6),SAPSequence)
string updatesql = @"update ICSDeliveryNotice set RCVQuantity=Convert(decimal(18,6),Quantity)
where DNCode='{0}' and WorkPoint='{1}'"; where DNCode='{0}' and WorkPoint='{1}'";
updatesql = string.Format(updatesql, dt.Rows[i]["DNCode"].ToString(), WorkPoint); updatesql = string.Format(updatesql, dt.Rows[i]["DNCode"].ToString(), WorkPoint);
SqlHelper.CmdExecuteNonQueryLi(updatesql.ToString()); SqlHelper.CmdExecuteNonQueryLi(updatesql.ToString());

Loading…
Cancel
Save