|
@ -74,7 +74,6 @@ namespace ICSSoft.FromERP |
|
|
Info.T_HEAD = new SAPDispatchGetZS.ZWMS_DO_HEAD[1]; |
|
|
Info.T_HEAD = new SAPDispatchGetZS.ZWMS_DO_HEAD[1]; |
|
|
Info.T_ITEM = new SAPDispatchGetZS.ZWMS_DO_ITEM[1]; |
|
|
Info.T_ITEM = new SAPDispatchGetZS.ZWMS_DO_ITEM[1]; |
|
|
Info.T_GERNR = new SAPDispatchGetZS.ZWMS_DO_GERNR[1]; |
|
|
Info.T_GERNR = new SAPDispatchGetZS.ZWMS_DO_GERNR[1]; |
|
|
|
|
|
|
|
|
SAPDispatchGetZS.ZWMS_SK_DO_READResponse result = new SAPDispatchGetZS.ZWMS_SK_DO_READResponse(); |
|
|
SAPDispatchGetZS.ZWMS_SK_DO_READResponse result = new SAPDispatchGetZS.ZWMS_SK_DO_READResponse(); |
|
|
client.Timeout = 300000; |
|
|
client.Timeout = 300000; |
|
|
result = client.CallZWMS_SK_DO_READ(Info); |
|
|
result = client.CallZWMS_SK_DO_READ(Info); |
|
@ -101,7 +100,7 @@ namespace ICSSoft.FromERP |
|
|
{ |
|
|
{ |
|
|
Colspan = "~~~~~~~~~~~~~"; |
|
|
Colspan = "~~~~~~~~~~~~~"; |
|
|
} |
|
|
} |
|
|
var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan); |
|
|
|
|
|
|
|
|
var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan&&a.WorkPoint== Item.WERKS); |
|
|
if (Extensionline == null) |
|
|
if (Extensionline == null) |
|
|
{ |
|
|
{ |
|
|
ExtensionID = AppConfig.GetGuid(); |
|
|
ExtensionID = AppConfig.GetGuid(); |
|
|