亚洲AV无码一区二区一二区西西_亚洲美女毛片视频_亚洲无码中文字幕一区_能看的成人网站福利_chengren在线日韩_亚洲日韩在线高清资源网_a级电影免费看网址_91人人精品亚洲热女_ⅤA美女在线视频_9999热视频三级毛片AV区

首頁 關于我們 新聞資訊 金蝶軟件 實施流程 在線預約 會計技巧 服務咨詢 聯系我們 常見問題
金蝶K3清空數據庫財務+物流+生產+質量管理模塊歷史單據數據
2018-07-14 23:50:01

金蝶K3清空數據庫財務+物流+生產+質量管理模塊歷史單據數據的語句,請謹慎使用。
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

--刪除余額表
--財務部份
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 

--應收應付部份
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'
-----刪除財務總帳/應收/應付累計
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 

-----更改應收應付本年累計=本期合計
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
昆山云數軟件信息技術有限公司 2007-2023 @ All Rights Reserved 蘇ICP備15052466號-1
友情鏈接:PbootCMS 百度 金蝶官網 云數建站 金蝶精斗云
主站蜘蛛池模板: 无码小视在线观看免费网站| 欧美爆乳巨臀在线观看视频| A视频在线免费播放| 黄色裸体视频亚洲日韩| 国产+农村+高+黄+少扫+淫| 国产又色又爽又黄又免费| 亚洲嫩草久久有码| 欧美色乱视频人人香蕉久久| 日本在线视频地址一二三区| 区一区二性网站| A片成人电影久久三久久| 动漫黄片在线看五月婷色| 精品久久国产成人性爱视频| 中文字幕人妻丝袜| 久久精品无码一区二区三区| 国产无码芊芊视频| 黄色电影网站中文字幕在线观看免费 | 日本一级片无码人人草在| 亚洲一二三区蜜婷婷夜夜| AV影院天堂三级大片| 一本久道欧美日免费在线看| 国模晓晓私拍一类黄色大片| 亚洲精品V欧美精品V日韩精品| 日韩一级视频天天看高清无码| 在线无码毛片无码福利日本| 成人做爱AV超碰高清无| 欧美 日韩 亚洲久久| 久久国产精品久亚洲久草| 久久人人爱人人澡| 亚欧黄色无码一级AAA影院| 国家a级毛片性爱视频91| 欧洲一本视频网站| 三极黄色视频三级片毛片专区| 亚洲午夜精点人人操AV在线| 色专区性一区二区| 成人无码区免费AV片| 午夜久久久久久免费视频| 成人激情五月色色一区| av国产小说在线| 久久私拍写真视频| 69AV视频观看|