【正文】
delete from t_FABaldevice where fbalid in (select fbalid from t_fabal_hetemp ) delete from t_FABalfor where fbalid in (select fbalid from t_fabal_hetemp ) delete from t_FABaldept where fbalid in (select fbalid from t_fabal_hetemp ) delete from t_FABalexpense where fbalid in (select fbalid from t_fabal_hetemp ) delete from t_fabalance where fbalid in (select fbalid from t_fabal_hetemp ) update t_systemprofile set fvalue=0 where fcategory=‘fa’ and fkey=‘closed‘— 初始化 update t_systemprofile set fvalue=1 where fcategory=39。fa39。 and fkey=39。currentperiod39。初始化 反結(jié)帳到卡片初始化期間 案例四 在初始化界面,修改卡片的部門和費用科目 關(guān)閉初始化,然后重新計提折舊 案例四 問題: ,2022年 1月啟用 ,固定資產(chǎn)為從其他帳套引入的 ,在第一期計體提折舊錯誤 ,提示使用 null無效。 (賬套: ) 案例五 問題定位 出現(xiàn)這種問題,一般的問題是參與折舊的記錄丟失,到底是丟失了那些數(shù)據(jù)(方向):上期余額,卡片等記錄丟失,如果是啟用期間,則上期記錄為初始記錄,期間為 0的記錄 案例五 select * from t_fabalance where fperiod=0 and fyear=2022 找出問題的根本原因 案例五 Select * from t_systemprofile where fcategory=39。fa‘ select * from t_fabalance where fperiod=1 and fyear=2022 select * from t_faalter where fperiod=0 select * from t_faalter where fnew=1 找出問題的解決方法 一個基本問題:把數(shù)據(jù)反到初始化期間,但是根本沒有初始化記錄,如何反。 2022年 1月啟用,當(dāng)前期間為 2022年 1期 t_faalter,t_fabalance正確的數(shù)據(jù)是如何存放? 案例五 內(nèi)部輪訓(xùn) 謝謝!