From ebf0591bc97c7e0e8ccbf4ba3c41547c6253170f Mon Sep 17 00:00:00 2001 From: xusc Date: Thu, 24 Oct 2024 15:32:25 +0800 Subject: [PATCH] .. --- .vs/ICSSoft.FromERP/v16/.suo | Bin 330752 -> 330752 bytes ICSSoft.FromERP/App.config | 4 ++-- ICSSoft.FromERP/SyncSO_WeiMas.cs | 4 +++- ICSSoft.Test/Program.cs | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.vs/ICSSoft.FromERP/v16/.suo b/.vs/ICSSoft.FromERP/v16/.suo index e63abf7a0c2125ebdf66e402f8ae1a3bb12d4c18..cc3669ad3cc5cb82c2a523a78bda12c455961567 100644 GIT binary patch delta 5637 zcmb`L4Oo;_+Q;WU=NZ05luvae1j11n1Vltb91K751EJULbXYncb)zAyOqWnPK5 zGw{?ul{vx-kqMw{nbqiefH9(@(#y~o)TPoZ(9JqA1tReB-N>wP0)7r`k9Rp1q%QdLD?3ttso1Ns-fDcTzxPOP6hUX9U} z188^~xWPei2)qLh13kz;E3|X@Ro7<`JO}P) z)8sOlT8;PUsMnK@Se7&dLsfz?AQV`^2B3s;3s$AC`~~p0g423ZcK`9);B7>m;$cg{ zb6_|45U7LV_uzRD2Sx&P(7qG)1@I!+0d@hsE<2=`8p49k>JeB0dI0qTPK_9<&@-pR z=us239x9}+-=KLrIHT`~3Qjx)uRo{-Z6FH#7f?_3f^7z8!4eF>fIe@^3i@Ak8m?37 zK-WO?8DqmECgw6Fwt72OFvp0HnuJoXx3CP;ja!$IS>L(V&s$x-HM_GTWMsjyR@g?i}PARP|A}nmy)8 z8}LY1@pSr|5w8I{*aB*SY7-v29d;Y|AJ6>@u&&ZQ)#RuRavZ^UuVB2Fn|&KTXd}Ok zXbi!Om4x;(FUM(C6N%;n&E(j{9EUW=dFD8(iEkdJo}z9n1-K$FeL^*bc%-SBJFYUv zhnnL$bDX=kHdI~J)u|2TD{UwXZP*8mY{FfqE>!e~x=^uBT{L*!R55k!P;08cYLBQ;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#-$xlk4$+=JRAerjrHqlfbFAtwX!gn9!EwbPs_mh4;{-En9 zs=}W%!sWKv#t-G8b3EtH9xIJJ3z6)VPXh+s`p1Vp*H42x&UH)v$v`oXMRp$Q_qmSo zMC%ar+ozB8-qLXlGL#35U>V$KWSGB!D2h>YThh`!&3ITAT;zdjW;5UO4<#;ot%#7$ zUPii_bb`OeWptQPB$n)oQ)^cn72G_}jZWp)LHUT~cTu`o&Y9ev!R^Yvk~fp`UE?%*(%0@Gn3$_|rD$8Lsjgd=>@z>4hmncM~ ruQPB+vHeDtIGt#dC3!}WifuRCR@pR-XVp3I6{GOuU - + - + diff --git a/ICSSoft.FromERP/SyncSO_WeiMas.cs b/ICSSoft.FromERP/SyncSO_WeiMas.cs index c2389b9..bedf76b 100644 --- a/ICSSoft.FromERP/SyncSO_WeiMas.cs +++ b/ICSSoft.FromERP/SyncSO_WeiMas.cs @@ -146,6 +146,7 @@ from dics.Add("tax", item.Tax.ToString()); dics.Add("SQCode", item.SQCode); dics.Add("SQLineNo", item.SQLineNo); + dics.Add("ProduceArea", item.ITEMCODE.Substring(item.ITEMCODE.Length-2,2)); dics.Add("Mtime", item.Mtime.ToString("yyyy-MM-dd HH:mm:ss")); dics.Add("Free1", item.Free1); dics.Add("Free2", item.Free2); @@ -175,12 +176,13 @@ from insertSql += @" insert into IcsSaleOrder (SoCode,SoType,[SoOrderDate],[RequestedDeliveryDate],[CusCode],[CusName],[SoLineNo],[ItemCode],[CASNo],[Qty] -,[Tax],[SqCode],[SqLineNo] +,[Tax],[SqCode],[SqLineNo],ProduceArea ,Default1,Default2,Default3,Default4 ,CreationTime,CreatorUserId,CreatorUserName,TenantId) select a.SoCode,a.SoType,a.SOORDERDATE,a.RequestedDeliveryDate,a.CUSCODE,a.CUSNAME,a.SOLineNo ,a.ITEMCODE,a.CASNo,a.Qty ,a.tax,a.SQCode,a.SQLineNo +,a.ProduceArea , a.Free1,a.Free2,a.Free3,a.Free4 ,Mtime,'job','job','{0}' from #tempFromErp4SaleOrder a diff --git a/ICSSoft.Test/Program.cs b/ICSSoft.Test/Program.cs index 09b8fbd..60cec7a 100644 --- a/ICSSoft.Test/Program.cs +++ b/ICSSoft.Test/Program.cs @@ -13,7 +13,7 @@ namespace ICSSoft.Test //ICSVendor test = new ICSVendor(); //test.Execute(); - IcsMo_Rhtyon test = new IcsMo_Rhtyon(); + SyncSO_WeiMas test = new SyncSO_WeiMas(); test.Execute(); // var ss= ICSHelper.ApiSign("sj_w_id", "70FF7F01C5899A5ACAAD4ECB7FA5B3C5", 1724650261);