diff --git a/ICSSoft.FromERP/ICSSoft.FromERP/ICSPurchaseReceive.cs b/ICSSoft.FromERP/ICSSoft.FromERP/ICSPurchaseReceive.cs index d7f3528..84c3f47 100644 --- a/ICSSoft.FromERP/ICSSoft.FromERP/ICSPurchaseReceive.cs +++ b/ICSSoft.FromERP/ICSSoft.FromERP/ICSPurchaseReceive.cs @@ -133,7 +133,7 @@ LEFT JOIN {1}.dbo.[RdRecords01] b With(NoLock) ON a.RCVDetailID=b.Autoid WHERE a.WorkPoint='{0}' and b.Autoid IS NULL AND LEN(a.RCVDetailID)>0 DELETE ICSPurchaseReceive - WHERE WorkPoint='{0}' and RCVDetailID IN ( SELECT PODetailID from #tableICSPurchaseReceive) + WHERE WorkPoint='{0}' and RCVDetailID IN ( SELECT RCVDetailID from #tableICSPurchaseReceive) "; Dictionary values = new Dictionary(); diff --git a/ICSSoft.FromERP/ICSSoft.Test/Program.cs b/ICSSoft.FromERP/ICSSoft.Test/Program.cs index d99dd00..2e4a637 100644 --- a/ICSSoft.FromERP/ICSSoft.Test/Program.cs +++ b/ICSSoft.FromERP/ICSSoft.Test/Program.cs @@ -13,7 +13,7 @@ namespace ICSSoft.Test //ICSVendor test = new ICSVendor(); //test.Execute(); - ICSUser test = new ICSUser(); + ICSOtherOut test = new ICSOtherOut(); test.Execute(); }