精細管理 · 敏捷經(jīng)營 · 快速應用
產(chǎn)品版本: | 57-用友通標準版10.2 | 適用產(chǎn)品: | T3系列 |
產(chǎn)品模塊: | 21-核算管理 | 提交時間: | 2012-06-12 |
問題現(xiàn)象: | 標準版的10.2 單單核算模塊 年結(jié)前有單據(jù)未記賬,年結(jié)前沒整理現(xiàn)存量,現(xiàn)在發(fā)現(xiàn)出庫單據(jù)上的表體顯示的可用量跟收發(fā)存匯總表上的數(shù)不一樣 | ||
原因分析: |
需要先取消2月份,1月份賬,在執(zhí)行下腳本: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 在整理下現(xiàn)存量 然后做盤點調(diào)整數(shù)量 | ||
解決方案: |
需要先取消2月份,1月份賬,在執(zhí)行下腳本: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 在整理下現(xiàn)存量 然后做盤點調(diào)整數(shù)量 |