问题现象: |
总账查明细账发现期初余额+发生数据≠余额,1501610412这个科目是借方科目,期初余额699655.09,贷方发生是3123915.6,余额应该是贷方2424260.51,而查询结果是5548176.11。同样的道理查演示账是没这个问题的,请检查是什么原因,谢谢!(数据环境是打上了861hotfix和861dbhotfix并打上了脚本补丁) |
问题原因: |
您好, 此问题【经查看数据/测试】现做如下分析与答复: 发现数据表foreigncurrency的数据排列有问题造成的,具体修改办法如下: delete from foreigncurrency insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'RMB','RMB',0,3,0.00001,-1) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'USD','USD',1,3,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'EURO','EUR',1,3,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'HKD','HKD',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'AUD','AUD',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'GBP','GBP',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'JPY','JPY',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'NZD','NZD',1,5,0.00001,0) |
解决方案: |
您好, 此问题【经查看数据/测试】现做如下分析与答复: 发现数据表foreigncurrency的数据排列有问题造成的,具体修改办法如下: delete from foreigncurrency insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'RMB','RMB',0,3,0.00001,-1) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'USD','USD',1,3,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'EURO','EUR',1,3,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'HKD','HKD',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'AUD','AUD',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'GBP','GBP',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'JPY','JPY',1,5,0.00001,0) insert into foreigncurrency ( cexch_name, cexch_code, bcal, idec, nerror, iotherused) values( 'NZD','NZD',1,5,0.00001,0) |
相关补丁: |
|
版本: |
8.61 |
模块: |
总账 |
产品: |
U861--财务会计--总账 |
问题名称: |
查明细账数据不对 |
最后更新: |
2006-11-15 00:00:00 |