diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs index bae4896..41d9e81 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs @@ -73,8 +73,7 @@ namespace ICSSoft.FromERP } Info.T_HEAD = new SAPDispatchGetZS.ZWMS_DO_HEAD[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(); client.Timeout = 300000; result = client.CallZWMS_SK_DO_READ(Info); @@ -101,7 +100,7 @@ namespace ICSSoft.FromERP { 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) { ExtensionID = AppConfig.GetGuid(); diff --git a/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll b/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll index 21f94c4..6d1c381 100644 Binary files a/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll and b/ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll differ