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

采购订单保存时供货单位消失,但单据可以保存-用友U8

admin2016-06-20313用友U8演示供货采购
对应版本:用友U8.52对应产品线:供应链对应模块:采购管理模块问题现象:采购订单保存时供货单位消失,但单据可以保存.问题原因:1、尝试sql事件探查器跟踪,只能捕获insertinto语句中cvencode为NULL,即保存时后台未取到正确的供应商编码值;2、分析:可能是供应商档案存在非法字符,或采购订单模板存在错误。处理思路:a、检查供应商档案合法性(数据表:vendor);b、检查单据模板信息(数据表:voucheritems,vouchertemplates)3、查看供应商档案比较正常;4、单据模板信息:a、根据vouchertemplates查询采购订单vt_id号;selectvt_idfromvouchertemplateswherevt_namelike’%采购订单显示%’==》vt_id=23;b、根据voucheritems查询采购订单中供货记录信息,并对比查询演示帐套:select*fromvoucheritemswherevt_id=’23’andcarditemnamelike’%供货%’演示帐套:select*fromufdata_999_2003..voucheritemswherevt_id=’23’andcarditemnamelike’%供货%’对比两个帐套中记录,着重对比关键字段信息,如cannotselect,showit,cardsection,canmodify,candelete;发现供货单位编号记录上的列cardsection,candelete与演示帐套中数据值不同,如cardsection,演示帐套中为T,用户数据为B;因演示帐套功能正常,故可参照演示帐套修改:updatevoucheritemssetcardsection=’T’,candelete=’0’wherevt_id=’23’andcarditemnamelike’%供货单位编号%’5、登录采购进行订单保存操作,问题解决。解决方案:syfy您好!1、尝试sql事件探查器跟踪,只能捕获insertinto语句中cvencode为NULL,即保存时后台未取到正确的供应商编码值;2、分析:可能是供应商档案存在非法字符,或采购订单模板存在错误。处理思路:a、检查供应商档案合法性(数据表:vendor);b、检查单据模板信息(数据表:voucheritems,vouchertemplates)3、查看供应商档案比较正常;4、单据模板信息:a、根据vouchertemplates查询采购订单vt_id号;selectvt_idfromvouchertemplateswherevt_namelike’%采购订单显示%’==》vt_id=23;b、根据voucheritems查询采购订单中供货记录信息,并对比查询演示帐套:select*fromvoucheritemswherevt_id=’23’andcarditemnamelike’%供货%’演示帐套:select*fromufdata_999_2003..voucheritemswherevt_id=’23’andcarditemnamelike’%供货%’对比两个帐套中记录,着重对比关键字段信息,如cannotselect,showit,cardsection,canmodify,candelete;发现供货单位编号记录上的列cardsection,candelete与演示帐套中数据值不同,如cardsection,演示帐套中为T,用户数据为B;因演示帐套功能正常,故可参照演示帐套修改:updatevoucheritemssetcardsection=’T’,candelete=’0’wherevt_id=’23’andcarditemnamelike’%供货单位编号%’5、登录采购进行订单保存操作,问题解决。

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

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

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