問題現(xiàn)象:用友U8ERP系統(tǒng)年結(jié)后新年度賬套多出一個庫存模塊?

問題原因:

1、首先“建立年度帳”和“結(jié)轉(zhuǎn)上年數(shù)據(jù)”時可進行數(shù)據(jù)庫跟蹤,跟蹤時可以發(fā)現(xiàn)是否有異常;

2、賬套參數(shù)表(AccInformation)查看下“庫存系統(tǒng)啟用日期”是否有正常;

3、查詢“賬套年度設(shè)置表”(UA_Account_sub),查看模塊啟用日期(ST代表“庫存系統(tǒng)”)是否有問題。經(jīng)檢查發(fā)現(xiàn)此表中多了兩條“庫存系統(tǒng)”的啟用記錄?;究梢耘袛喑隹蛻舻馁忎N存模塊曾經(jīng)啟用過之后又反啟用,所以造成以上的操作。

解決方案:

在“查詢分析器”執(zhí)行下列語句:

delete from ua_account_sub where cacc_id='賬套號' and csub_id='ap'

delete from ua_account_sub where cacc_id='賬套號' and csub_id='ar'

delete from ua_account_sub where cacc_id='賬套號' and csub_id='pu'

delete from ua_account_sub where cacc_id='賬套號' and csub_id='st'

delete from ua_account_sub where cacc_id='賬套號' and csub_id='sa'