总账月末事务FAQ
1、示例1:由于期初余额导入,核算属性大小写与系统中的核算属性不一致

2、解决方案:
1、首先在数据库中查出是哪些核算属性不一致。
Select ta.crdid,tb.accpropertyid
From AAGLNFA ta
left join GLAccPd tb on ta.crdid = tb.accpropertyid
where tb.accpropertyid is not null and cast(ta.crdid as varbinary)<> cast(tb.accpropertyid as varbinary)
3、将结账表中的核算属性更新为系统中最新的核算属性。
update ta
set ta.crdid = tb.accpropertyid
From AAGLNFA ta
left join GLAccPd tb on ta.crdid = tb.accpropertyid
where tb.accpropertyid is not null and cast(ta.crdid as varbinary)<> cast(tb.accpropertyid as varbinary)
1、示例2:由于期间ID定义错误,导致结账异常

2、解决方案:
1、数据库中查询与核算属性S514610相关的分录是否有空格。
3、期间定义是否正确,期间ID比如是201301,却被定义成2013,这时需要更新所有表中的AbsID,重新结账。
1、示例3:科目原来有两个辅助核算,后续更新取消掉一个,导致结账异常

2、解决方案:
1、通过反查GLVouA(会计分录细表)、GLCum(科目期间累积值表)、GLDum(科目日累积值)、AGLnFA(财务结账表),看是否有异常数据。
3、经查询发现该科目原来有有个辅助核算,后续更新取消掉一个,但是该科目存在的期初里还有该科目已取消的核算记录,将其更新为空,即可解决。