供应链年度结转失败
- 浏览:691 - 发布时间:2008-01-08 00:00:00.0
问题版本: |
802-U8.51A |
问题模块: |
818-报账中心 |
所属行业: |
0-通用 |
问题状态: |
1-UU通注册用户 |
关 键 字: |
供应链年度结转失败 |
适用产品: |
U851A----系统管理 |
补 丁 号: |
|
开放状态: |
0-UU通注册用户 |
原问题号: |
|
提交时间: |
2008-1-8 |
问题名称: |
供应链年度结转失败 |
问题现象: |
供应链年度结转失败. |
原因分析: |
通过sql事件跟踪器捕获后台出错语句,发现insert into语句的value中有空白值, insert into rdrecords(...cinvcode,inum,iquantity,...) value(...,'501',,'2569.2') 即inum取了空白值,产生语法错误。 向上分析后台跟踪语句,发现数据来源于现存量表currentstock,查询现存量表中记录发现存在iquantity非0,inum=null的记录(存货501为无换算率) 。 |
解决方案: |
调整语句: update currentstock set inum=0 where inum is null and iquantity is not null 再进行年度结转成功。 | |