產品版本: | 57-用友通標準版10.2 | 適用產品: | T3系列 |
產品模塊: | 21-核算管理 | 提交時間: | 2012-06-12 |
問題現象: | 標準版的10.2 單單核算模塊 年結前有單據未記賬,年結前沒整理現存量,現在發現出庫單據上的表體顯示的可用量跟收發存匯總表上的數不一樣 | ||
原因分析: |
需要先取消2月份,1月份賬,在執行下腳本:delete St_Totalaccount where iMonth=1 insert into St_Totalaccount(cWhCode, cInvCode,cBatch,cFree1,cFree2,iBeginQuantity,iMonth) select cWhCode,cInvCode, cBatchCode,cFree1,cFree2,SUM(ISNULL(iAInQuantity,0)-ISNULL(iAOutQuantity,0)),1 from IA_Subsidiary where iMonth = '0'and cvoutype='34' group by cWhCode,cInvCode,cBatchCode,cFree1,cFree2 order by cInvcode 在整理下現存量 然后做盤點調整數量 | ||
解決方案: |
需要先取消2月份,1月份賬,在執行下腳本:delete St_Totalaccount where iMonth=1 insert into St_Totalaccount(cWhCode, cInvCode,cBatch,cFree1,cFree2,iBeginQuantity,iMonth) select cWhCode,cInvCode, cBatchCode,cFree1,cFree2,SUM(ISNULL(iAInQuantity,0)-ISNULL(iAOutQuantity,0)),1 from IA_Subsidiary where iMonth = '0'and cvoutype='34' group by cWhCode,cInvCode,cBatchCode,cFree1,cFree2 order by cInvcode 在整理下現存量 然后做盤點調整數量 |