现象:
要增加会计科目管理费用(5201)的二级科目(如差旅费520101)无法增加,提示:"科目编码首位与分类编号不符,接受此编码吗?"(行业性质是民间非营利组织)
通过重装数据库,重装软件,重新建立账套还是没办法解决提示相同的问题
解决:
请先备份帐套和ufsystem库,然后在查询分析器中执行以下脚本:
use ufsystem go update GL_CodeClass set cclass = '收入',cclass_engl = 'SR' where (itrade = 34) and inum = 4 insert into GL_CodeClass (itrade,inum,cclass,cclass_engl,inumany,nproperty,bl_r,bcheck) values (34,5,'费用','FY',0,1,1,0) go update GL_DPrecode set cclass = '收入' , cclass_engl = 'SR' where itrade_id = 34 and cclass = '收入费用' update GL_DPrecode set cclass = '费用',cclass_engl = 'FY' where ccode like '5%' and itrade_id = 34 and cclass = '收入' go
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/15453181/viewspace-441437/ ,如需转载,请注明出处,否则将追究法律责任。