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

物料清单资料维护按上张或下张都会出现错误提示:“Objectreferencenotsettoaninstanceofanobject”-用友U8

admin2016-06-20275用友U8物料中不纪录
对应版本:用友U8.61对应产品线:生产制造对应模块:物料清单模块问题现象:打开物料清单资料维护,定位到J2241021202C母件编码的物料清单后,按上张或下张都会出现错误提示:“Objectreferencenotsettoaninstanceofanobject”,打了最新的hotfix和dbhotfix后问题依旧。问题原因:此问题就是由于在bom_parent表中存在的物料对应到bas_part中的存货在inventory表中不存在了。解决方案:此处有几个脚本:1、select*frombas_partwhereinvcodenotin(selectcinvcodefrominventory)查询在bas_part表中存在,但在inventory表中不存在的纪录。2、select*frombom_parentwhereparentidin(selectpartidfrombas_partwhereinvcodenotin(selectcinvcodefrominventory))查询在bas_part表中存在,但在inventory表中不存在的纪录,其对应的于bom_parent表中的值。3、select*frombom_bomwherebomidin(selectbomidfrombom_parentwhereparentidin(selectpartidfrombas_partwhereinvcodenotin(selectcinvcodefrominventory)))查询在bas_part表中存在,但在inventory表中不存在的纪录,对应的于bom_parent表中的值其对应的BOM_bom中的纪录。在查询到这些内容后仔细甄别,是否有客户还需要的BOM。如果确认这些都是客户不需要的BOM,可顺序执行以下三行脚本,删除这些值:deletefrombom_bomwherebomidin(selectbomidfrombom_parentwhereparentidin(selectpartidfrombas_partwhereinvcodenotin(selectcinvcodefrominventory)));deletefrombom_parentwhereparentidin(selectpartidfrombas_partwhereinvcodenotin(selectcinvcodefrominventory));deletefrombas_partwhereinvcodenotin(selectcinvcodefrominventory)如果其中有些BOM是客户需要的,只不过在存货档案中无意删除了,请在执行脚本前纪录下结构以便客户再次添加BOM时参考。请在执行脚本前务必备份原有用户数据。

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

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

网友评论

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