新旧科目对照启用报错
1、问题描述
启用新旧科目对照报错
错误信息:null Caused exception message is: Sql1 execute exception : UPDATE t_gl_acctverify act SET fvchassistrecordid = (SELECT tem.FnewID from VTSDGOTTZ2JQNGRPA08V22L8MIPGPHO651 tem where tem.FoldId = act.fvchassistrecordid and tem.FnewId is not null ) where fsourcebillid='11111111' and fcompanyid='D9gAAAAABDzM567U' and fperiodid='D9gAAADpDRWCOIxM' Caused exception message is: 不能将值 NULL 插入列 'FVCHASSISTRECORDID',表 'nyjtnew.dbo.T_GL_ACCTVERIFY';列不允许有 Null 值。UPDATE 失败。
2、解决方案
--查询挂账记录的辅助账ID不存在
select ac.* from t_gl_acctcussent ac
left join t_gl_voucherassistrecord vs ON Ac.FVCHASSISTRECORDID = VS.FID
where ac.FUNVERIFIEDAMTFOR <>0 and ac.FVCHASSISTRECORDID is not null and vs.fid is null
--查询核销记录的辅助账ID不存在
select av.* from t_gl_acctverify av
left join t_gl_voucherassistrecord vs ON AV.FVCHASSISTRECORDID = VS.FID
where av.FUNVERIFIEDAMTFOR <>0 and av.FVCHASSISTRECORDID is not null and vs.fid is null
处理方案:后台备份删除此类挂账(核销)记录(注意:后台修复数据前请备份,不熟悉系统逻辑的,请提单处理)
新旧科目对照启用报错
1、问题描述启用新旧科目对照报错错误信息:null Caused exception message is: Sql1 execute exception : UPDATE t_gl_acctveri...
点击下载文档
本文2024-09-16 22:06:43发表“eas cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-eas-45995.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章