亚洲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ù)建站 金蝶精斗云
主站蜘蛛池模板: 欧美性爱免费福利视频| 加勒比成人AV导航| 亚洲色情毛片国产簧片免费看| 超碰在线无码欧美乱人伦| 欧美成人在线第二页| 制服丝袜另类亚洲日韩| 国产美女欧美在线| 日韩视频18超碰欧美性生活| 日韩欧美在线免费播放| 亚洲a级电影在线观看| 欧美69视频19| 亚洲AV动漫无线免费看| 欧州成人AV成人无码电影院| 悠悠色成人网站在线免费| 国产色情免费观看女高潮| 精品1级黄色A片| 国内自拍偷拍视频网页| 少妇特黄A一区二区三区| 亚洲无码色色人人操97免费| 久草网在线69AV| 高清无码毛片在线| 亚洲成人在线视频看| 欧美日韩人人爽人人操| 被射了在线成人无码长视频| 日韩国产七区91色色色色| 国产曰产亚洲A√系列| 免费的国产黄色视频| 国产三级三级三级看三级| 欧美精品一区二区三区无码视频| 91人人视频激情性无码| 亚洲黄页网站在线观看 | 婷婷五月天无码AV| 日韩有码黄片97人妻无码| 无码特级毛片做爱视频| 欧美香蕉视频在线看| 青青草无码在线观看| 日韩成人在线另类视频| A片全黄30分钟免费视频| 国产91av总站| 日韩在线视频有码| 欧美一二三四日韩免费性片|