问题现象: | 3月份启存货4月份启库存,期初取数无法取出单价金额 |
问题原因: | 需求问题 |
解决方案: | 执行如下语句即可解决: update rdrecords set iprice=iam.imoney,iunitcost=iam.imoney/iquantity from rdrecord join rdrecords on rdrecord.id=rdrecords.id join (select cwhcode,cinvcode,inum,imoney from ia_summary where inum<>0 and imonth=(select max(imonth) from ia_summary)) as iam on iam.cwhcode=rdrecord.cwhcode and iam.cinvcode=rdrecords.cinvcode and iam.inum=rdrecords.iquantity where cvouchtype='34' and csource='库存' and bisstqc='1' |
相关补丁: | |
版本: | 8.51 |
模块: | 库存管理 |
产品: | 850以上 |
问题名称: | 851库存期初取数的问题 |
最后更新: | 2005-06-28 00:00:00 |