|
|
@ -1016,8 +1016,8 @@ LEFT JOIN ICSConfiguration conWhCode ON conWhCode.Code='ERPWHCode' AND a.WorkPoi |
|
|
|
JObject det = (JObject)detail; |
|
|
|
|
|
|
|
string ERPupdate = @"update ICSODeliveryNotice set ODNCode='{0}',Sequence='{1}',ODNID='{2}',ODNDetailID='{3}'
|
|
|
|
where OODetailID='{4}' AND ODNType='1' AND ODNCode='{5}' and Sequence='{1}'";
|
|
|
|
ERPupdate = string.Format(ERPupdate, jo["ODNCode"], det["Sequence"], jo["ID"], det["DetailID"], det["OODetailID"], ODNCode); |
|
|
|
where OODetailID='{4}' AND ODNType='1' AND ODNCode='{5}' and Sequence='{6}'";
|
|
|
|
ERPupdate = string.Format(ERPupdate, jo["ODNCode"], det["Sequence"], jo["ID"], det["DetailID"], det["OODetailID"], ODNCode, det["Sequence"].ToString().Substring(0, det["Sequence"].ToString().Length - 1)); |
|
|
|
|
|
|
|
if (!DBHelper.ExecuteNonQuery(ERPupdate, cmd)) |
|
|
|
{ |
|
|
|