现象:
凭证审核也提示错误


解决办法:先解决科目末级问题
1,查询
select ccode as 科目编码,ccode_name as 科目名称, igrade as 科目级次, bend as 是否末级科目 from code
where ccode like '1002%'
2,更新末级
update code set bend='1' where ccode ='100201'
2,快速解决凭证标记错误(把iflag值修改为空)
SELECT iflag
FROM GL_accvouch