问题现象: | 821做暂估处理时提示:xxx单据暂估处理失败;在记账时提示:xxx单据记账失败. |
问题原因: | 由于在ia_summary表中有重复记录, |
解决方案: | 执行如下语句即可: delete ia_summary from ia_summary join select cwhcode,cinvcode from ia_summary where imonth=‘3‘ group by cwhcode,cinvcode having count*>1 b on ia_summary.cwhcode=b.cwhcode and ia_summary.cinvcode=b.cinvcode where imonth=‘3‘ and autoid not in select maxautoid from ia_summary where imonth=‘3‘ group by cwhcode,cinvcode having count*>1 |
相关补丁: | |
版本: | 其他 |
模块: | 存货核算 |
产品: | u821 |
问题名称: | 821做暂估处理时提示:xxx单据暂估处理失败 |
最后更新: | 2005-06-28 00:00:00 |