后台删除科目下面挂的核算维度,科目余额表出现未录入...
641次浏览
编辑于2016年05月10日 12:46:58
之前这科目录过凭证,因为客户加错核算维度工程项目部和员工,我从后台数据库把这两个核算维度给删了,科目余额表显示核算维度明细时出现了未录入字样。具体删核算维度的代码
select FITEMDETAILID,* from T_BD_ACCOUNT where FNUMBER='6602.31.006'
update T_BD_ACCOUNT set FITEMDETAILID=0 where FNUMBER='6602.31.006'
select * from T_BD_FLEXITEMGRPENTRY
delete T_BD_FLEXITEMGRPENTRY where FID =186683
select * from T_BD_ACCOUNTFLEXENTRY where FACCTID=148822
delete T_BD_ACCOUNTFLEXENTRY where FACCTID=148822
推荐阅读