用友-知识库

核销时报错

  • 问题描述:软件平台:WIN2000 SERVER/SP4 + SQL2000/SP3 +u8.52 问题描述: 1。查询发货统计表时,去年和今年比较,结果不一样。 2。核销是出错,客户010802的不能核销,报bof或eof错误,客户0101023不能核销,没有反应。
  • 问题原因:1.010802的不能核销,是由于Ap_Detail的对应iclosesid,icoclosesid和ap_closebills.id 的数据不一致造成的。目前是2274,应该是5274;同时发现其他单据也有类似的问题: 查询语句: select * from Ap_Detail where cvouchtype='49' and cflag='ar' and iperiod=0 and iclosesid not in ( select ap_closebills.id from ap_closebills inner join ap_closebill on ap_closebills.iid=ap_closebill.iid where cvouchtype=49 and cflag='ar' ) 错误单据: 0000000008 0000000018 0000000019 0000000020 0000000021 select * from Ap_Detail where cvouchtype='49' and cflag='ar' and cvouchid in ('0000000008','0000000018','0000000019','0000000020','0000000021') select ap_closebills.* from ap_closebills inner join ap_closebill on ap_closebills.iid=ap_closebill.iid where cvouchtype=49 and cflag='ar' and cvouchid in ('0000000008','0000000018','0000000019','0000000020','0000000021') 数据修改办法: update Ap_Detail set iclosesid=bb.id,icoclosesid=bb.id from Ap_Detail inner join ( select ap_closebill.cvouchid,ap_closebills.* from ap_closebills inner join ap_closebill on ap_closebills.iid=ap_closebill.iid where cvouchtype=49 and cflag='ar' and cvouchid in ('0000000008','0000000018','0000000019','0000000020','0000000021') ) bb on Ap_Detail.cvouchid=bb.cvouchid where cvouchtype='49' and cflag='ar' and Ap_Detail.cvouchid in ('0000000008','0000000018','0000000019','0000000020','0000000021') 2.0101023不能核销: 在查询界面,核销条件中的收付款单按付款单时就可以核销。 3.查询发货统计表时,去年和今年比较,结果不一样。 客户:0315007 解决办法: 请对此数据库执行最新的U852DBHotfix.exe可以解决。查询结果和04年的一样。 如有疑问请及时联系。
  • 解决方案:游客无权查看
  • 相关补丁:
  • 模块:应收
  • 产品:U852
  • 问题名称:核销时报错
  • 更新时间:2006-03-22 00:00:00
  • 有用 没用34 浏览