用友软件免费下载(www.bbsufida.com)旨在提供全系列最新最全的用友财务软件免费下载地址,快速下载请添加微信 yyrjgls

应付核销生成凭证不平-用友U8

admin2016-06-20266用友U8核销执行应付
对应版本:用友U其他对应产品线:财务系统对应模块:应付模块问题现象:应付核销生成凭证不平问题原因:问题分析:该供应商采购专用发票在ap_detail表中的数据与发票子表中的数据不一致参照执行如下脚本,可以查询出在ap_detail表中与采购发票表体金额不对应的记录:selectc.*fromap_detailcinnerjoin(selecta.cvencode,a.cPBVBillType,a.cPBVCode,b.*frompurbillvouchainnerjoinpurbillvouchsbona.pbvid=b.pbvidwherea.cPBVBillTypein(’01’,’02’))donc.cdwcode=d.cvencodeandc.ccovouchtype=d.cPBVBillTypeandc.ccovouchid=d.cPBVCodeandc.ibvid=d.idandc.iCAmountd.isumwherec.cflag=’ap’andc.ccovouchtypein(’01’,’02’)andc.cprocstyle=c.ccovouchtype解决方案:--执行前,先取消全部的核销,否则无效。应付核销方式选择按单据--3个语句分开执行,每次执行一个createviewtemp2asselectibvid,sum(icamount_f)assum1,sum(icamount_f-idamount_f)asiamount_f,sum(icamount)assum2,sum(icamount-idamount)asiamountfromap_detailwhereccovouchtypelike’0%’andiflag

微信号:yyrjgls
技术咨询,有偿服务!
复制微信号

本文链接:https://www.bbsufida.com/u8/45005.html

网友评论

热门文章
侧栏广告位
随机文章