测试版本库,随便折腾。
陈炜
2020-09-29 d45d960866abff2defa42a2a58858567b4b13943
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
--ÖÊÁ¿¹ÜÀí
TRUNCATE TABLE ICQCBill
TRUNCATE TABLE ICQCBillEntry
truncate table  dbo.QMReject
truncate table  dbo.QMRejectEntry
truncate table  QMSaleCkRequest
truncate table  QMSaleCkRequestEntry
truncate table  QMINQCReq
truncate table  QMINQCReqEntry
truncate table  QMOtCkRequest
truncate table  QMOtCkRequestEntry
 
--ÎïÁÏÐèÇ󼯻®
truncate table ICMrpInfo
truncate table ICMrpResult
truncate table ICMrpDestBills
 
--Éú²ú¹ÜÀí
DELETE FROM ICSerialFlow
truncate table ICClientVer
truncate table ICPlan_PMCDetail
truncate table ICPlanOrderRel
truncate table ICShop_ItemConsumeEntry
truncate table ICMOConvertBill
truncate table ICMOConvertBillEntry
truncate table PPBomChange
truncate table PPBomChangeEntry
truncate table PPBOMEntry
truncate table ICitemScrap
truncate table ICitemScrapEntry
truncate table ICMORpt
truncate table ICMORptEntry
truncate table ppbom
truncate table dbo.PPBOMEntry
truncate table ICChange
truncate table ICChangeEntry
truncate table ICMOChange
truncate table ICMOChangeEntry
truncate table ICMO
 
--²É¹º¹ÜÀí
truncate table dbo.PORequest
truncate table dbo.PORequestEntry
truncate table dbo.POInStock
truncate table dbo.POInStockEntry
truncate table dbo.ICExpenses
truncate table dbo.ICExpensesEntry
   
--ίÍâ¼Ó¹¤
 
--ÏúÊÛ¹ÜÀí
truncate table t_dev_freight
truncate table t_dev_freightEntry2
 
--²Ö¿â¹ÜÀí
truncate table ICSTJGBill
truncate table ICSTJGBillEntry
  
--ÐèÈ«²¿É¾³ýºó£¬Ðè¸üÐÂÆôÓÃÆÚ¼äºóÕËÌײÅÄÜ¿ªÊ¼Ê¹ÓÃ
update t_SystemProfile set FValue=9 where FCategory='ic' and FKey='currentperiod'
update t_SystemProfile set FValue=2020 where FCategory='ic' and FKey='currentyear'
update t_SystemProfile set FValue=9 where FCategory='ic' and FKey='startperiod'
update t_SystemProfile set FValue=2020 where FCategory='ic' and FKey='startyear'