17_31_凭证类型无法分配PT110130
金蝶云社区-头像是熊
头像是熊
0人赞赏了该文章 902次浏览 未经作者许可,禁止转载编辑于2017年02月26日 18:40:56

问题描述
凭证类型分配的时候报错,找不到字段,日志如下

Caused exception message is: 该游标未声明。
错误详细堆栈信息:com.kingdee.bos.BOSException: Sql execute exception : select count(1) from ( select t.fid from T_BD_DataBaseDAssign d inner join t_bd_vouchertypes t on d.FDATABASEDID = t.fid where t.FPRETERMIT =1 and d.FAssignCUID =? union SELECT fid FROM t_bd_vouchertypes where FPRETERMIT =1 and FCONTROLUNITID = ? )
Caused exception message is: 该游标未声明。
at com.kingdee.eas.util.app.DbUtil.executeQuery(DbUtil.java:226)
at com.kingdee.eas.basedata.framework.app.DataBaseDNewImpl.checkPretermit(DataBaseDNewImpl.java:819)