热门关键词好会计 好业财 T+ 易代账 好生意 用友U8 用友BIP

    详细信息

    您现在的位置:网站首页 >> 百科问答 >> 详细信息

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

    发布时间:2025-3-8  

    人工客服

    特价活动:>>>> 用友U8、T6、T+、T3软件产品4折优惠,畅捷通T+cloud、好会计、易代账、好业财、好生意云产品8折优惠 

    问题描述:建立新年度账后,科目没有期初余额,删除科目时,系统不允许删除, 提示科目已使用。


    分析及处理:这是由于系统通常要检查一些表中是否有该科目,如果没有才允许删除。检查的表有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'

    go

    select top 1 ccode from GL_accvouch where ccode='111'

    go

    select top 1 ccode from GL_accsum where ccode='111' and (mb<>0 or  md<>0 or mc<>0 or me<>0 or mb_f<>0 or md_f<>0 or mc_f<>0 or me_f<>0  or nb_s<>0 or nd_s<>0 or nc_s<>0 or ne_s<>0)

    go

    select top 1 ccode from GL_accass where ccode='111' and (mb<>0 or  md<>0 or mc<>0 or me<>0 or mb_f<>0 or md_f<>0 or mc_f<>0 or me_f<>0  or nb_s<>0 or nd_s<>0 or nc_s<>0 or ne_s<>0)

    go

    select top 1 * from dsigns where ccode='111' order by ccode

    go

    select top 1 * from GL_bfreq where ccode='111' order by ccode

    go

    select top 1 * from GL_bautotran where ccode='111' order by ccode

    go

    select top 1 * from GL_bmulti where ccode='111' order by ccode

    go

    select top 1 * from GL_bmulti where ccodes='111' order by ccodes

    go

    select top 1 * from GL_bdigest where ccode='111' order by ccode

    go

    select top 1 ccode from GL_mcodeused where ccode='111'

    go

    select top 1 * from RP_bankrecp where ccode='111' order by ccode

    go

    select top 1 * from RP_cheque where ccode='111' order by ccode

    go

    select top 1 * from code where ccode='111' order by ccode

    go

     

     

    上一篇:对于一些旧版本的T3安装sql版本2008r2 安装完成连接上服务器后出现 activex部件不能创建对象 对象名“UFSYSTEM..UA JZSN无效 等等报错

    客服电话:400-665-0028

    关键字:用友财务软件,畅捷通软件,财务软件,进销存软件,U9官网,用友U8,用友T1,用友T+,用友T3,用友T6,畅捷通好会计,好生意,智+好业财,用友培训服务售后公司,畅捷通运营培训服务公司

    版权所有:用友畅捷通软件 Copyright © 2025 All rights reserved.

    鲁ICP备2020041017号-6