银行账户的余额为0销户时提示“有余额发生”无法销户
金蝶云社区-头像是熊
头像是熊
0人赞赏了该文章 3230次浏览 未经作者许可,禁止转载编辑于2013年11月29日 10:31:58

执行风险评估
风险“低”:余额记录是通过凭证计算出来的,即使删除错误通过总账重算工具可以修复。


1、前置条件
已经检查出纳日记账与总账余额表该银行账户的余额为0。
当前组织没有启用报告币。
2、提示的原因
组织没有启用报告币但是有该银行账户的报告币脏数据。
3、修复方案

[list]

[*]获取科目的FID
[/list] select fid 科目的FID from t_bd_accountview at
inner join t_org_company c on c.fid = at.fcompanyid
where

at.fnumber = '科目的编码'
and c.fnumber = '组织的编码'

[list]

[*]清除报告币数据
[/list] delete from t_gl_accountbalance where faccountid = '科目的FID' and fcurrencyid= '22222222-2222-2222-2222-222222222222DEB58FDC'
delete from t_gl_assistbalance where faccountid = '科目的FID' and fcurrencyid= '22222222-2222-2222-2222-222222222222DEB58FDC'
delete from t_gl_assistmeasurebalance where faccountid = '科目的FID' and fcurrencyid= '22222222-2222-2222-2222-222222222222DEB58FDC'

4、重新执行销户操作。

5、如果操作完后还是无法销户,请提供客户端、服务端日志,补丁列表 提单处理。