产品版本: | 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 在整理下现存量 然后做盘点调整数量 |