成本对象有关问题
金蝶云社区-刘宜宏
刘宜宏
0人赞赏了该文章 1,600次浏览 未经作者许可,禁止转载编辑于2015年09月06日 10:00:40
n成本对象看不到
n原因:物料在多页签复制过程中,导致成本对象中字段FcontrolUnitId值不正确
n问题已修复,历史问题参考脚本:
update t_bd_costobject co set fcontrolunitid=(select fcontrolunitid from t_org_company com where co.fcompanyid=com.fid) where co.fnumber=‘编码’n物料组无法删除,提示被成本对象引用
n原因:物料在移动数据过程中,成本对象中字段FgroupId值不正确
n问题已修复,历史问题参考脚本:
1、select*from t_bd_materialgroup where fnumber=‘物料组编码’ 2、updatet_bd_costobject co set fgroupid=(select fmaterialgroupid from t_bd_material mat where co.fstdproductidid=mat.fid) where fgroupid=‘物料组ID’n成本对象出现编码重复
n原因:物料在财务资料核准生成品种法成本对象后,又修改物料编码,导致成本对象和物料编码不一致,出现重复情况
n问题已修复,历史问题参考脚本:
update t_bd_costobject co set fnumber=(select fnumber from t_bd_material mat where co.fstdproductidid=mat.fid) where co.fcalculatemode='1’ and co.fnumber=‘编码’