启用拆分成功后可清理的存货成本表原创
金蝶云社区-羊羊羊羊羊羊
羊羊羊羊羊羊
17人赞赏了该文章 43次浏览 未经作者许可,禁止转载编辑于2024年08月13日 16:41:04

所有期间启用拆分成功后可清理的存货成本表

可以根据启用成本拆分表操作界面,显示的已拆分期间,以及拆分日志进行判断

--存货
truncate Table t_hs_balance ;
truncate Table t_hs_balanceentry ;
truncate Table t_hs_balanceexp ;
truncate Table t_hs_balanceexpentry ;
truncate Table t_hs_balance_H ;
truncate Table t_hs_balanceentry_H ;
truncate Table t_hs_balanceexp_H ;
truncate Table t_hs_balanceexpentry_H ;
truncate Table t_hs_inivbalance ;
truncate Table t_hs_inivbalanceentry ;
truncate Table t_hs_inivbalanceexp ;
truncate Table t_hs_inivbalanceexpentry ;
truncate Table t_hs_inivbalance_H ;
truncate Table t_hs_inivbalanceentry_H ;
truncate Table t_hs_inivbalanceexp_H ;
truncate Table t_hs_inivbalanceexpentry_H ;
truncate Table t_hs_acctgprocess ;
truncate Table t_hs_acctgprocess_h ;
truncate Table t_hs_acctgprocessentry ;
truncate Table t_hs_acctgprocessentry_h ;
truncate Table t_hs_expenses ;
truncate Table t_hs_expenses_lk ;
truncate Table t_hs_expenses_h ;
truncate Table t_hs_expensesprocess ;
truncate Table t_hs_expensesprocess_h ;
truncate Table t_hs_outinstockseq ;
truncate Table t_hs_outinstockseq_h ;
truncate Table t_hs_outinstockseq_lk ;
--成本
truncate Table t_cb_proorderinfo ;
truncate Table t_cb_proorderinfo_h ;
truncate Table t_cb_costcalexpense ;
truncate Table t_cb_costcalexpense_h ;
truncate Table t_cb_costmatterial ;
truncate Table t_cb_costmatterial_h ;
truncate Table t_cb_costmatterialdetail ;
truncate Table t_cb_costmatterialdetail_h ;
truncate Table t_cb_costalloprorec ;
truncate Table t_cb_costalloprorec_h ;
truncate Table t_cb_costalloprorecexp ;
truncate Table t_cb_costalloprorecexp_h ;
truncate Table t_cb_costalloprosend ;
truncate Table t_cb_costalloprosend_h ;
truncate Table t_cb_costalloprosendexp ;
truncate Table t_cb_costalloprosendexp_h ;
truncate Table t_cb_expalloprocessrec ;
truncate Table t_cb_expalloprocessrec_h ;
truncate Table t_cb_expalloprocesssend ;
truncate Table t_cb_expalloprocesssend_h ;
truncate Table t_cb_costalloresultrec ;
truncate Table t_cb_costalloresultrec_h ;
truncate Table t_cb_costalloresultrecexp ;
truncate Table t_cb_costalloresultrecexp_h ;
truncate Table t_cb_costalloresultsend ;
truncate Table t_cb_costalloresultsend_h ;
truncate Table t_cb_Costalloresultsendexp ;
truncate Table t_cb_Costalloresultsendexp_h ;
truncate Table t_cb_expalloresultrec ;
truncate Table t_cb_expalloresultrec_h ;
truncate Table t_cb_expalloresultsend ;
truncate Table t_cb_expalloresultsend_h ;


赞 17