用友软件系统采购订单明细表累计数量有误

微信号:yyrjlls
技术咨询,有偿服务!
复制微信号
技术咨询,有偿服务!
复制微信号
原因分析:数据错误。
问题解答:问题造成原因无法查找,新做的单据不会出现这样的情况,请备份好账套执行如下语句:updatebbsetbb.ireceivedqty=aa.ckslfrompo_podetailsasbbleftjoin(selecta.iposid,a.cinvcode,sum(a.iquantity)asckslfromrdrecordsasaleftjoinrdrecordasbona.id=b.idwhereb.cvouchtype=01groupbya.iposid,a.cinvcode)asaaonbb.id=aa.iposidleftjoinpo_pomainascconcc.poid=bb.poidwherebb.ireceivedqty<>aa.cksl