用友软件进货单或销货单,点击保存提示“不能被0整除”
微信号:yyrjgls
技术咨询,有偿服务!
复制微信号
技术咨询,有偿服务!
复制微信号
原因分析:进货单,销货单等单据中表体的存货,存在多计量存货,并且这些多计量存货的换算比例在软件中错误。
问题解答:将数据库中多计量存货换算率修改正确。1.查询出哪些多计量存货换算率有问题。select rateOfExchange,idinventory, * from AA_InventoryUnitPrice where rateOfExchange is null and idinventoryin( select id from AA_Inventory where UnitType = '8EC99106-F418-4E12-BEB0-04EDB45DA638' )2.将错误多计量存货的换算率修改正确。update AA_InventoryUnitPrice set rateOfExchange='1' where rateOfExchange is null and idinventoryin( select id from AA_Inventory where UnitType = '8EC99106-F418-4E12-BEB0-04EDB45DA638' )