Browse Source

同步修改

master
陆晔 2 years ago
parent
commit
232a0704e6
  1. 10
      ICSSoft.FromERP/ICSSoft.FromERP/ICSInventory.cs
  2. BIN
      ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll

10
ICSSoft.FromERP/ICSSoft.FromERP/ICSInventory.cs

@ -50,16 +50,16 @@ namespace ICSSoft.FromERP
{
foreach (DataRow dr in dt.Rows)
{
SAPGetINV.ZWMS_SK_MARA client = new SAPGetINV.ZWMS_SK_MARA();
SAPGetINV.ZWMS_SK_MARA1 Info = new SAPGetINV.ZWMS_SK_MARA1();
SAPGetINVVPN.ZWMS_SK_MARA client = new SAPGetINVVPN.ZWMS_SK_MARA();
SAPGetINVVPN.ZWMS_SK_MARA1 Info = new SAPGetINVVPN.ZWMS_SK_MARA1();
Info.WERKS = dr["WorkPointCode"].ToString();
Info.LGORT = WHCode;
Info.CHG_DATE = "";
Info.T_MARA = new SAPGetINV.ZWMS_MARA[1];
Info.T_MARA = new SAPGetINVVPN.ZWMS_MARA[1];
SAPGetINV.ZWMS_SK_MARAResponse result = new SAPGetINV.ZWMS_SK_MARAResponse();
SAPGetINVVPN.ZWMS_SK_MARAResponse result = new SAPGetINVVPN.ZWMS_SK_MARAResponse();
result = client.CallZWMS_SK_MARA(Info);
foreach (SAPGetINV.ZWMS_MARA item in result.T_MARA)
foreach (SAPGetINVVPN.ZWMS_MARA item in result.T_MARA)
{
var line = db.ICSInventory.SingleOrDefault(a => a.InvCode == item.MATNR && a.WorkPoint == item.WERKS);
bool isNew = false;

BIN
ICSSoft.FromERP/Root/ICSSoft.Frame.Data.Entity.dll

Binary file not shown.
Loading…
Cancel
Save