对应版本:用友U8.60sp对应产品线:供应链对应模块:库存管理模块问题现象:库存管理系统在收发存汇总表查看存货结存数量不对,例:存货101001108在库存管理中的期初库存为21,在存货核算系统中为18,存货核算为正确的。问题原因:数据问题解决方案:--更改红字的销售出库单,从821升级以后的库存期初标志错误的问题.应该为0.updaterdrecordsetbisstqc=0fromrdrecordjoinrdrecordsonrdrecord.id=rdrecords.idwherecvouchtype=’32’andbisstqc=1--在821的数据下,库存总帐的年初数据是正确的,将其生成临时表temstqcselect*intotemstqcfromst_totalaccountwhereimonth=1andibeginquantity0/*之后,将821下的临时表temstqc导入860sp环境下,使在升级后的860sp数据中根据temstqc的正确的期初数进行调整*/--更新升级后的库存期初结存数不正确的数据updaterdrecordssetrdrecords.iquantity=temstqc.ibeginquantityfromrdrecordjoinrdrecordsonrdrecord.id=rdrecords.idjointemstqcon(rdrecord.cwhcode=temstqc.cwhcodeandrdrecords.cinvcode=temstqc.cinvcode)wherecvouchtype=’34’andcmemo=’850补丁调整工具调整数据’andrdrecords.iquantitytemstqc.ibeginquantity

微信号:yyrjlls
技术咨询,有偿服务!
复制微信号
本文链接:https://www.bbsufida.com/u8/44031.html