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

应收账款为项目和客户核算,在应收制单后,项目无法保存上-用友U8

admin2016-06-20328用友U8项目凭证发票
对应版本:用友U其他对应产品线:财务系统对应模块:应收模块问题现象:应收账款为项目和客户核算,在应收制单后,项目无法保存上!问题原因:错误原因见下述解决方案解决方案:用户对大量的表做过二次开发,如表ap_detail、SaleBillVouchs、fitemss01Class有自定义触发器,person表改过表定义,需要用户自己修改。在ap_detail表中发现销售发票中的项目没有带过来。按如下语句可以把发票中的项目带到ap_detail表中。但凭证中的项目需要到数据库中增加,后面的语句可以查到无项目的凭证,以科目11310200为例。修改SaleBillVouch、SaleBillVouchs、ap_detail的表定义后可以把发票项目带到ap_detail中。--ap_detail中无项目的的记录selecta.ibvid,s.autoid,a.citem_class,a.citemcode,s.citem_class,s.citemcodefromap_detailainnerjoinsalebillvouchssona.ibvid=s.autoidwherea.citemcodeisnullands.citemcodeisnotnullanda.cvouchtype=27updateap_detailsetap_detail.citem_class=s.citem_class,ap_detail.citemcode=s.citemcodefromap_detailainnerjoinsalebillvouchssona.ibvid=s.autoidwherea.citemcodeisnullands.citemcodeisnotnullanda.cvouchtype=27--查总帐中无项目的凭证,以科目11310200为例。select*fromgl_accvouchwherecoutsign=‘ar‘andcoutbillsign=‘27‘andcitem_idisnullandccode=‘11310200‘

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

本文链接:http://www.bbsufida.com/u8/38188.html

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