|
问题现象:在用友8.60erp系统中用友U8版本号:U8.60软件的财务系统产品线总账模块出现如下问题:客户端or服务器端总账=>账簿=>账簿打印辅助账客户往来明细账输入查询条件(注意最后一页未满页也打印选项)预览提示"运行时错误'94'使用NULL无效"客户往来明细账输出为Excel格式错乱,数据截断且有的数据列消失请帮忙解答!
原因分析:数据问题。
解决方案:在用友erp 系统版本U8.60软件中1.selectdistinctcdept_idfromgl_accvouchwherecdept_idnotin(selectcdepcodefromdepartment)selectdistinctcCus_idfromgl_accvouchwherecCus_idnotin(selectcCusCodefromcustomer)selectdistinctcPeron_idfromgl_accvouchwherecCus_idnotin(selectcPersoncodefromPerson)检查是否存在明细账中对应档案不存在,返回为NULL2.测试zt888演示账套及ufdata_001_2003无问题,确定数据问题3.跟踪发现select*fromprintexwherecsystemname='AR'andnTableNum=16返回结果不一致(对比ufdata_888_2004,ufdata_001_2004)SQLEM复制粘贴此记录测试正常,客户端测试不正常4.备份数据SQLEM导表printexfromufdata_888_2004=>ufdata_001_2004,ufdata_001_2005,注意选择复制表和视图,且转换中选择替换(默认附加)5.用户确认OK。
|
|