diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs index 0ec15b0..b33d5b4 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs @@ -85,7 +85,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan); if (Extensionline == null) @@ -209,7 +209,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan); if (Extensionline == null) diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs index 08d7caf..583e3a6 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs @@ -117,7 +117,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -222,7 +222,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -383,7 +383,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -485,7 +485,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -646,7 +646,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -809,7 +809,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~~~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1035,7 +1035,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1124,7 +1124,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1242,7 +1242,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1367,7 +1367,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1521,7 +1521,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1647,7 +1647,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1802,7 +1802,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -1933,7 +1933,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -2095,8 +2095,8 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; - ColspanAfter = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; + ColspanAfter = "~~~000000~~~~~~~~~~"; } Colspan = Item.VBELN_VA + "~" + Item.SERNP + "~~" + Item.POSNR_VA + "~~~~~~~~~~"; @@ -2270,13 +2270,13 @@ namespace ICSSoft.FromERP string ColspanAfter; if (Item.SOBKZ == "E") { - Colspan = Item.VBELN_VA + "~" + SubInfo.GERNR + Item.POSNR_VA + "~~~~~~~~~~"; - ColspanAfter = Item.VBELN_JS + "~" + SubInfo.GERNR + Item.POSNR_JS + "~~~~~~~~~~"; + Colspan = Item.VBELN_VA + "~" + SubInfo.GERNR +"~~"+ Item.POSNR_VA + "~~~~~~~~~~"; + ColspanAfter = Item.VBELN_JS + "~" + SubInfo.GERNR + "~~" + Item.POSNR_JS + "~~~~~~~~~~"; } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; - ColspanAfter = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + ColspanAfter = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); @@ -2480,7 +2480,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~~~~000000~~~~~~~~~~"; + Colspan = "~~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null) @@ -2647,7 +2647,7 @@ namespace ICSSoft.FromERP } else { - Colspan = "~~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; + Colspan = "~" + SubInfo.GERNR + "~~000000~~~~~~~~~~"; } var Extensionline = db.ICSExtension.SingleOrDefault(a => a.Colspan == Colspan && a.WorkPoint == Info.WERKS); if (Extensionline == null)