用友T6软件用友软件建立新年度账后,科目没有期初余额,删除科目时,系统不允许删除, 提示科目已使用

微信号:yyrjlls
技术咨询,有偿服务!
复制微信号
技术咨询,有偿服务!
复制微信号
用友软件建立新年度账后,科目没有期初余额,删除科目时,系统不允许删除, 提示科目已使用
问题描述:用友软件建立新年度账后,科目没有期初余额,删除科目时,系统不允许删除, 提示科目已使用。, k; O9 ^& y' b: G分析及处理:这是由于系统通常要检查一些表中是否有该科目,如果没有才允许删除。检查的表有code(科目表)、gl_accvouch(凭证及明细账表)、gl_accsum(科目总账)、gl_accass(辅助总账)、dsigns(凭证类别子表)、gl_bfreq(常用凭证)、gl_bautotran (自定义转账定义)、gl_bmulti(多栏定义)、gl_bdigest(常用摘要表)、gl_mcodeused (科目常用项)、rp_bankrecp(银行对账单)、rp_cheque(支票登记薄)。具体语句如下:select * from code where ccode ='111'select top 1 ccode from GL_accvouch where ccode='111'.select top 1 ccode from GL_accsum where ccode='111' and (mb<>0 ormd<>0 or mc<>0 or me<>0 or mb_f<>0 orselect top 1 ccode from GL_accass where ccode='111' and (mb<>0 ormd<>0 or mc<>0 or me<>0 or mb_f<>0 or md_f<>0 or mc_f<>0 or me_f<>0or nb_s<>0 or nd_s<>0 or nc_s<>0 or ne_s<>0)select top 1 * from dsigns where ccode='111' order by ccode)select top 1 * from GL_bfreq where ccode='111' order by ccodeselect top 1 * from GL_bautotran where ccode='111' order by ccodeselect top 1 * from GL_bmulti where ccode='111' order by ccodeselect top 1 * from GL_bmulti where ccodes='111' order by ccodesselect top 1 * from GL_bdigest where ccode='111' order by ccodeselect top 1 ccode from GL_mcodeused where ccode='111'select top 1 * from RP_bankrecp where ccode='111' order by ccode9 y. I4 select top 1 * from RP_cheque where ccode='111' order by ccodeselect top 1 * from code where ccode='111' order by ccode3如果您的问题还没有解决,或者在百度上找不到答案可以到右上角搜索中进行搜索。