|
|
@ -82,6 +82,9 @@ namespace ICSSoft.FromERP |
|
|
|
SAPGetDocInfoZS.ZWMS_SK_WS_HEADResponse result = new SAPGetDocInfoZS.ZWMS_SK_WS_HEADResponse(); |
|
|
|
client.Timeout = 300000; |
|
|
|
result = client.CallZWMS_SK_WS_HEAD(DocInfo); |
|
|
|
|
|
|
|
log.Info(JsonConvert.SerializeObject(result)); |
|
|
|
|
|
|
|
List<SAPGetDocInfoZS.ZWMS_SK_HEAD> HeadInfoList = new List<SAPGetDocInfoZS.ZWMS_SK_HEAD>(); |
|
|
|
HeadInfoList.AddRange(result.Z_HEAD); |
|
|
|
List<SAPGetDocInfoZS.ZWEBSERVICE_ITEM> ItemInfoList = new List<SAPGetDocInfoZS.ZWEBSERVICE_ITEM>(); |
|
|
@ -527,7 +530,7 @@ namespace ICSSoft.FromERP |
|
|
|
line.EATTRIBUTE = Info.LEIXING; |
|
|
|
line.VenCode = Info.TEST2;//供应商编码
|
|
|
|
line.VenName = Info.TEST3;//供应商名称
|
|
|
|
|
|
|
|
|
|
|
|
if (isNew == true) |
|
|
|
{ |
|
|
|
db.ICSOApply.InsertOnSubmit(line); |
|
|
@ -632,7 +635,7 @@ namespace ICSSoft.FromERP |
|
|
|
line.EATTRIBUTE = Info.LEIXING; |
|
|
|
line.VenCode = Info.TEST2;//供应商编码
|
|
|
|
line.VenName = Info.TEST3;//供应商名称
|
|
|
|
|
|
|
|
|
|
|
|
if (isNew == true) |
|
|
|
{ |
|
|
|
db.ICSOApply.InsertOnSubmit(line); |
|
|
@ -837,7 +840,7 @@ namespace ICSSoft.FromERP |
|
|
|
line.EATTRIBUTE = Info.LEIXING;//单据类型
|
|
|
|
|
|
|
|
//售后领料 同步 客户名称和分页
|
|
|
|
if (Info.LEIXING=="17") |
|
|
|
if (Info.LEIXING == "17") |
|
|
|
{ |
|
|
|
line.CustomerName = Info.TEST4; |
|
|
|
line.Pagination = Info.TEST5; |
|
|
@ -1140,7 +1143,7 @@ namespace ICSSoft.FromERP |
|
|
|
client.Timeout = 300000; |
|
|
|
client.CallZWMS_SK_WS_HEAD(DocInfo); |
|
|
|
#endregion
|
|
|
|
log.Error(ex.ToString()); |
|
|
|
log.Error(ex.Message.ToString()); |
|
|
|
} |
|
|
|
} |
|
|
|
#endregion
|
|
|
@ -1817,7 +1820,7 @@ namespace ICSSoft.FromERP |
|
|
|
line.MTIME = DateTime.Now; |
|
|
|
line.WorkPoint = Info.WERKS;//站点
|
|
|
|
line.EATTRIBUTE1 = Item.WERKS_JS;//接收站点
|
|
|
|
line.Memo=Item.BEIZHU2;//拣料条码
|
|
|
|
line.Memo = Item.BEIZHU2;//拣料条码
|
|
|
|
|
|
|
|
//单据类型
|
|
|
|
line.OrderType = Info.LEIXING; |
|
|
@ -3130,7 +3133,7 @@ namespace ICSSoft.FromERP |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|
log.Error(ex.ToString()); |
|
|
|
log.Error(ex.Message.ToString()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|