问题现象:客户由7.21升级到通标准版10.3,升级过程无疑常。在9月时忽然发现1-3月的账执行对账时不平了,但原来是平的,否则结不了账的。如何处理?发现
解决方案:解决方法: 例如一月份对账不平,查看错误信息提示000001、000002、000003、000004部门总账和明细账对不上。 在数据库执行语句: select * from GL_accass where ccode='209010101'and cdept_id='000001' and iperiod='1' select * from GL_accass where ccode='209010101'and cdept_id='000002' and iperiod='1' select * from GL_accass where ccode='209010101'and cdept_id='000003' and iperiod='1' select * from GL_accass where ccode='209010101'and cdept_id='000004' and iperiod='1' 可以看出在1月份这四个部门在辅助总账分别形成了两条记录,正常情况下应该分别显示一条记录,删除多余的一条即可。执行下面语句: delete from GL_accass where ccode='209010101'and cdept_id='000001' and iperiod='1'and i_id='1123' delete from GL_accass where ccode='209010101'and cdept_id='000002' and iperiod='1'and i_id='1135' delete from GL_accass where ccode='209010101'and cdept_id='000003' and iperiod='1'and i_id='1147' delete from GL_accass where ccode='209010101'and cdept_id='000004' and iperiod='1'and i_id='1159' 同样的道理,解决2月份、3月份对账不平问题。其他月份正常。 |