亚洲AV无码一区二区一二区西西_亚洲美女毛片视频_精品视频来自播放_超碰人人妻人人操_日韩丝袜精品在线视频久久久_av天堂页面久久中字_天堂无码专区亚洲AV_亚洲精品久久亚洲A片一级

首頁 關(guān)于我們 新聞資訊 金蝶軟件 實(shí)施流程 在線預(yù)約 會(huì)計(jì)技巧 服務(wù)咨詢 聯(lián)系我們 常見問題
金蝶K3清空數(shù)據(jù)庫財(cái)務(wù)+物流+生產(chǎn)+質(zhì)量管理模塊歷史單據(jù)數(shù)據(jù)
2018-07-14 23:50:01

金蝶K3清空數(shù)據(jù)庫財(cái)務(wù)+物流+生產(chǎn)+質(zhì)量管理模塊歷史單據(jù)數(shù)據(jù)的語句,請(qǐng)謹(jǐn)慎使用。
TRUNCATE TABLE DRP_CarryingInvoice
TRUNCATE TABLE ICExpenses
TRUNCATE TABLE ICItemReplace
TRUNCATE TABLE ICitemScrap
TRUNCATE TABLE ICJobPay
TRUNCATE TABLE ICMO
TRUNCATE TABLE ICMORpt
TRUNCATE TABLE ICMrpResult
TRUNCATE TABLE ICOperShift
TRUNCATE TABLE ICPlanAdjPrice
TRUNCATE TABLE ICPurchase
TRUNCATE TABLE ICQCBill
TRUNCATE TABLE ICSale
TRUNCATE TABLE ICSaleQcbill
TRUNCATE TABLE ICSTJGBill
TRUNCATE TABLE ICStockBill
TRUNCATE TABLE ICTaskDispBill
TRUNCATE TABLE POInStock
TRUNCATE TABLE POOrder
TRUNCATE TABLE POrequest
TRUNCATE TABLE PORFQ
TRUNCATE TABLE POStockBill
TRUNCATE TABLE PPBOM
TRUNCATE TABLE PPOrder
TRUNCATE TABLE QMIcmoCkRequest
TRUNCATE TABLE QMINQCReq
TRUNCATE TABLE QMOtCkRequest
TRUNCATE TABLE QMQCBill
TRUNCATE TABLE QMSaleCkRequest
TRUNCATE TABLE SEOrder
TRUNCATE TABLE SEOutStock
TRUNCATE TABLE SHProcRptMain
TRUNCATE TABLE SHWorkBill
TRUNCATE TABLE t_Voucher
TRUNCATE TABLE ZPStockBill
TRUNCATE TABLE DRP_CarryingInvoiceEntry
TRUNCATE TABLE ICExpensesEntry
TRUNCATE TABLE ICItemReplaceEntry
TRUNCATE TABLE ICitemScrapEntry
TRUNCATE TABLE ICJobPayEntry
TRUNCATE TABLE ICMORptEntry

TRUNCATE TABLE ICPlanAdjPriEntry
TRUNCATE TABLE ICPurchaseEntry
TRUNCATE TABLE ICQCBillEntry
TRUNCATE TABLE ICSaleEntry
TRUNCATE TABLE ICSaleQcbillEntry
TRUNCATE TABLE ICSTJGBillEntry
TRUNCATE TABLE ICStockBillEntry
TRUNCATE TABLE ICTaskDispBillEntry
TRUNCATE TABLE POInStockEntry
TRUNCATE TABLE POOrderEntry
TRUNCATE TABLE POrequestEntry
TRUNCATE TABLE PORFQEntry
TRUNCATE TABLE POStockBillEntry
TRUNCATE TABLE PPBOMEntry
TRUNCATE TABLE PPOrderEntry
TRUNCATE TABLE QMIcmoCkRequestEntry
TRUNCATE TABLE QMINQCReqEntry
TRUNCATE TABLE QMOtCkRequestEntry
TRUNCATE TABLE QMQCBillEntry
TRUNCATE TABLE QMSaleCkRequestEntry
TRUNCATE TABLE SEOrderEntry
TRUNCATE TABLE SEOutStockEntry
TRUNCATE TABLE SHProcRpt
TRUNCATE TABLE SHWorkBillEntry
TRUNCATE TABLE t_VoucherEntry 
TRUNCATE TABLE ZPStockBillEntry

--刪除余額表
--財(cái)務(wù)部份
delete from t_balance where FYear+FPeriod*0.01<2007.03 
delete from t_QuantityBalance where FYear+FPeriod*0.01<2007.03 
delete from t_ProfitAndLoss where FYear+FPeriod*0.01<2007.03 

--應(yīng)收應(yīng)付部份
TRUNCATE TABLE t_RP_ARPBill 
TRUNCATE TABLE t_RP_ARPBillEntry 
TRUNCATE TABLE t_rp_ARBillOfSH 
TRUNCATE TABLE t_rp_ARBillOfSh_ICItem 
delete from t_RP_Contact where FYear+FPeriod*0.01<2007.03 
delete from t_RP_ContactBal where FYear+FPeriod*0.01<2007.03 
TRUNCATE TABLE t_RP_NewReceiveBill

update t_RP_SystemProfile set FValue=2007 where FCategory='ARP' and FKey='FAPUseYear'

update t_RP_SystemProfile set FValue=3 where FCategory='ARP' and FKey='FAPUsePeriod'

update t_RP_SystemProfile set FValue=2007 where FCategory='ARP' and FKey='FARUseYear'

update t_RP_SystemProfile set FValue=3 where FCategory='ARP' and FKey='FARUsePeriod'
--物流
delete from ICBal where FYear+FPeriod*0.01<2007.03 
delete from ICInvBal where FYear+FPeriod*0.01<2007.03 
TRUNCATE TABLE ICInventory
TRUNCATE TABLE ICInvInitial
update t_RP_SystemProfile set FValue=2007 where FCategory='GL' and FKey='StartYear'
update t_RP_SystemProfile set FValue=3 where FCategory='GL' and FKey='StartPeriod'
update t_RP_SystemProfile set FValue=2007 where FCategory='IC' and FKey='StartYear'
update t_RP_SystemProfile set FValue=3 where FCategory='IC' and FKey='StartPeriod'
-----刪除財(cái)務(wù)總帳/應(yīng)收/應(yīng)付累計(jì)
update t_Balance
set FYtdDebitFor=0 

update t_Balance
set FYtdcreditFor=0 

update t_Balance
set FYtdDebit=0 

update t_Balance
set FYtdcredit=0 

update t_QuantityBalance
set FDebitqty=0 

update t_QuantityBalance
set Fcreditqty=0 

update t_QuantityBalance
set FYtdDebitqty=0 

update t_QuantityBalance
set FYtdcreditqty=0 

update t_ProfitAndLoss
set FYtdAmountFor=0 

update t_ProfitAndLoss
set FYtdAmount=0 

update t_RP_ContactBal
set FYtdDebitFor=0 

update t_RP_ContactBal
set FYtdcreditFor=0 

update t_RP_ContactBal
set FYtdDebit=0 

update t_RP_ContactBal
set FYtdcredit=0 

-----更改應(yīng)收應(yīng)付本年累計(jì)=本期合計(jì)
update t_RP_ContactBal
set FYtdDebitFor=FDebitFor
update t_RP_ContactBal
set FYtdDebit=FDebit
update t_RP_ContactBal
set FYtdCreditFor=FCreditFor
update t_RP_ContactBal
set FYtdCredit=FCredit

bottom-map
昆山云數(shù)軟件信息技術(shù)有限公司 2007-2023 @ All Rights Reserved 蘇ICP備15052466號(hào)-1
友情鏈接:PbootCMS 百度 金蝶官網(wǎng) 云數(shù)建站 金蝶精斗云
主站蜘蛛池模板: 日韩免费观看黄色A级视屏| 亚洲三级A片视频| 三级片在线观看大全免费观看| 91精品就在91| 五月天色色播播| 无码国模高清网站| 亚洲第一黄色电影免费在线看| 久久久久久久久久久久久久久久Av| 免费看A级毛片av无码| 亚洲黄色成人免费在线观看视频 | a级黄色电影在线观看| 黄色无码小视频日熟女| 韩国免费av黄色| 最新在线免费AV| 国产情侣又大草草草在线| 亚洲无码乱码亚洲第一| 激情五月网桃桃video| 9999热视频三级毛片AV区| 无码9999中国黄色一级片| 少妇自慰电影日韩少妇无码| 加勒比成人AV无码| 国产精品免费一二三区| 国产精品无码久久久一区二区三区| 无码黄色网址在线超碰成人| 高清av中文色婷婷| 日韩一级片电影亚洲色逼| 免费亚洲A级片| 熟女亚洲中文字幕99riav| 亚洲色图天堂欧美爆乳在线| 中文精品资源91中| 国产强奸视频av大香蕉| 色情网站日韩人人操国产AV| 亚洲一级二级三级视频在线观看 | 东京成人无码免费视频| 东京热久久AV| Av网站婷婷三级区欧美| 欧美一级特黄A片免费看| 东京热aV片精品八区| 日韩免费一级毛园产1区| Av激情亚洲在线| 亚州激情无码东京热|