產品版本: | 302-用友T3-用友通標準版 | 適用產品: | T3系列 |
產品模塊: | 1-總賬 | 提交時間: | 2012-06-12 |
問題現象: |
1-2月份憑證也有數據,但查詢明細賬時,月份選擇下拉框中只顯示3-12月,1-2月不能顯示,余額表可正常顯示1-12月的月份。 | ||
原因分析: |
此問題是由于2010年總賬的啟用時間在accinformation表和ua_account_sub中為2010-3-1導致。 | ||
解決方案: |
1、做好帳套備份 2、反結賬反記賬到期初 3、對帳套執行腳本修改accinformation表中的總賬建賬日期為一月份(注意腳本中的帳套號,本地是005帳套) use UFDATA_005_2010 update accinformation set cvalue='2010-01-01' where csysid='gl' and cid=01 update gl_mend set bflag=0 where iperiod=1 or iperiod=2 4、進入系統庫,找到帳套號為005、2010年、iyear=9999的記錄,將對應的總賬(gl)的啟用時間改為2010-1-1 use UFSystem update ua_account_sub set dsubsysused='2010-01-01 00:00:00.000' where cacc_id=005 and iyear='9999' and csub_id='gl' 5、重新記賬結賬 |