服务热线:022-26677809 , 13821206318
坚守“用户之友”的初心,做“专业的奋斗者”,始终坚持“持续创新”
首页 > 知识库 > 正文

核销制单时生成的凭证不平

- 浏览:1437 - 发布时间:2007-11-30 21:05:00.0
问题版本: 57-用友通标准版10.2 问题模块: 21-核算管理
所属行业: 0-通用 问题状态: 1-UU通注册用户
关 键 字: 9 适用产品: 57
补 丁 号: 开放状态: 0-UU通注册用户
原问题号: 提交时间: 2007-11-30 21:05:00
问题名称: 核销制单时生成的凭证不平
问题现象: 销售系统里收款单结算,客户选qfqp,核销的是普通发票000000325,核销后,核销制单时生成的凭证不平,请帮忙尽快看下,谢谢!
原因分析: 经查看,数据库中000000325发票上张核销的金额出错,将本张核销单删除,然后请执行如下语句: update salebillvouchs set imoneysum=0,iexchsum=0 where sbvid=871 and autoid not in (select ibvid from ap_detail where cvouchid='0000000398' and cflag='AR' and ccovouchid='000000325' ) update salebillvouchs set imoneysum=961,iexchsum=961 where autoid=19131 操作数据库前请备份数据
解决方案: 经查看,数据库中000000325发票上张核销的金额出错,将本张核销单删除,然后请执行如下语句: update salebillvouchs set imoneysum=0,iexchsum=0 where sbvid=871 and autoid not in (select ibvid from ap_detail where cvouchid='0000000398' and cflag='AR' and ccovouchid='000000325' ) update salebillvouchs set imoneysum=961,iexchsum=961 where autoid=19131 操作数据库前请备份数据