问题现象: | 数据库文件名为“广东法拉达汽车散热器有限公司(20110602).rar" |
问题原因: | |
解决方案: | 您好!经对企业数据诊断分析问题原因为:存货档案中ATO模型件的需求跟踪方式不是‘订单行号’导致问题产生。注意:ATO模型件的需求跟踪方式必须是'订单行号',程序录入是有此约束的,企业数据存货档案中的问题很可能是批改导致。[解决方案]:运行如下脚本,使ATO模型件属性符合逻辑,具体如下: update Inventory_Sub set iRequireTrackStyle=2 where cinvsubcode in (select cinvcode from Inventory where bATOModel=1) update SO_SODetails set idemandtype = case when B.iRequireTrackStyle=1 then 5 when B.iRequireTrackStyle=2 then 1 when B.iRequireTrackStyle=3 then 4 else 0 end from SO_SODetails A, Inventory_Sub B where A.cInvCode=B.cInvSubCode update ex_orderdetail set idemandtype = case when B.iRequireTrackStyle=1 then 6 when B.iRequireTrackStyle=2 then 3 when B.iRequireTrackStyle=3 then 4 else 0 end from ex_orderdetail A, Inventory_Sub B where A.cInvCode=B.cInvSubCode update ex_orderdetail set idemandseq=irowno where idemandtype=3 update ex_orderdetail set idemandseq=null where idemandtype<>3 如有问题请及时反馈, |
相关补丁: | |
版本: | 8.90 |
模块: | 需求规划 |
产品: | 生产制造 |
问题名称: | MRP运算提示“创建子件需求失败”补充问题号(201106030026) |
最后更新: | 2011-06-14 23:35:28 |