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

应收款管理中无法取消核销操作

- 浏览:685 - 发布时间:2008-01-08 00:00:00.0
问题版本: 803-U8.52 问题模块: 8-应收应付
所属行业: 0-通用 问题状态: 2-UU通注册用户
关 键 字: 取消核销 适用产品: U852----应收款管理
补 丁 号: 开放状态: 0-UU通注册用户
原问题号: 提交时间: 2008-1-8
问题名称: 应收款管理中无法取消核销操作
问题现象: 应收款管理中无法取消核销操作,客户使用自动核销二次,在AP_DETAIL表有多次相同记录
原因分析: 由于许多单据都核销多了,例如:付款单0000000010,金额为419.3,但是核销了两次,每次都是419.3,导致余额为-419.3,其相应的发票也是,所以需要取消核销,重新核销,而取消核销时报“使用null无效”,是因为ap_detail表中许多字段不应为null值,但却为null值导致,应付取消核销时也报同样的错误
解决方案: 执行下面语句即可 update ap_detail set idamount=0 where idamount is null update ap_detail set idamount_f=0 where idamount_f is null update ap_detail set idamount_s=0 where idamount_s is null update ap_detail set bprepay=0 where bprepay is null update ap_detail set