问题现象:在用友8.61erp系统中用友U8版本号:U8.61软件的财务系统产品线总账模块出现如下问题:总账查明细账发现期初余额+发生数据≠余额,1501610412这个科目是借方科目,期初余额699655.09,贷方发生是3123915.6,余额应该是贷方2424260.51,而查询结果是5548176.11。同样的道理查演示账是没这个问题的,请检查是什么原因,谢谢!(数据环境是打上了用友U861ERP系统hotfix和用友U861ERP系统dbhotfix并打上了脚本补丁)请帮忙解答!
原因分析:您好,此问题【经查看数据/测试】现做如下分析与答复:发现数据表foreigncurrency的数据排列有问题造成的,具体修改办法如下:deletefromforeigncurrencyinsertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('RMB','RMB',0,3,0.00001,-1)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('USD','USD',1,3,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('EURO','EUR',1,3,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('HKD','HKD',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('AUD','AUD',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('GBP','GBP',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('JPY','JPY',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('NZD','NZD',1,5,0.00001,0)。
解决方案:在用友erp 系统版本U8.61软件中您好,此问题【经查看数据/测试】现做如下分析与答复:发现数据表foreigncurrency的数据排列有问题造成的,具体修改办法如下:deletefromforeigncurrencyinsertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('RMB','RMB',0,3,0.00001,-1)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('USD','USD',1,3,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('EURO','EUR',1,3,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('HKD','HKD',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('AUD','AUD',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('GBP','GBP',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('JPY','JPY',1,5,0.00001,0)insertintoforeigncurrency(cexch_name,cexch_code,bcal,idec,nerror,iotherused)values('NZD','NZD',1,5,0.00001,0)。
|