账表或凭证序时簿查询时无法进入相应的界面
金蝶云社区-云社区用户M7v93718
云社区用户M7v93718
0人赞赏了该文章 673次浏览 未经作者许可,禁止转载编辑于2015年04月24日 17:49:01
(执行脚本有风险,请慎重)
背景:这种情况是设置了默认的查询方案,但在查询时,根本无法进入相应的界面。一般是默认查询方案出错。
解决思路:删除默认查询方案,新增即可。
具体操作步骤:1.使用administrator登录系统打开系统化菜单编辑界面,找到对应的账表,获取“ui对象”的全名称;
2.select fid,fname_l2,fnumber from t_pm_user where fname_l2 = '用户名' and fnumber = '用户编码'
3.备份:
3.1备份查询界面:select * into T_QUERY_QueryPanel _bak from T_QUERY_QueryPanel where FSolutionID in (select fid from T_QUERY_QuerySolution where fparentuiname = '第一步中获得的菜单UI' and fowner= '第二步中获得的用户FID')
3.2备份查询方案:select * into T_QUERY_QuerySolution_bak from T_QUERY_QuerySolution where fparentuiname = '第一步中获得的菜单UI' and fowner= '第二步中获得的用户FID')
4. 清除查询方案 4.1. 清除查询界面 delete from T_QUERY_QueryPanel where FSolutionID in (select fid from T_QUERY_QuerySolution where fparentuiname = '第一步中获得的菜单UI' and fowner= '第二步中获得的用户FID') 4.2. 清除查询方案 delete from T_QUERY_QuerySolution where fparentuiname = '第一步中获得的菜单UI' and fowner= '第二步中获得的用户FID')