Browse Source

调整单据同步

master
lilili 2 years ago
parent
commit
4d992b2bab
  1. 4
      ICSSoft.FromERP/ICSSoft.FromERP/ICSDispatchDoc.cs
  2. 44
      ICSSoft.FromERP/ICSSoft.FromERP/ICSSAPDocGet.cs

4
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)

44
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)

Loading…
Cancel
Save