问题现象: | MRP计划生成时总是提示“创建子件需求失败”,客户数据已上传到FTP服务器,文件名为“广东法拉达20110613.rar”,此问题已提过多次,客户数据也上传过多次,但每次给出的方案都没能解决问题或找到问题的原因所在,客户就此问题也投诉过多次了,请这次一定要解决 |
问题原因: | |
解决方案: | 您好, 此问题【经查看数据/测试】现做如下分析与答复: 【问题原因】 存货LP跟踪订单行号,由于以前档案错误修改过,造成有遗留错误数据,现存量有跟踪到订单号,因错误数据造成矛盾,mrp计算出错; 【解决方案】 更新单据使LP跟踪订单行号的存货档案,如单据上是跟踪到订单号,清空跟踪,参考脚本如下,执行脚本后需要整理现存量 update a set isotype=0,isodid=null,csocode=null from rdrecords a join Inventory_Sub b on a.cInvCode=b.cInvSubCode where b.iRequireTrackStyle=2 and a.isotype is not null and a.isotype not in (0,1,2,3) update a set idemandtype=null,idemandseq=null,cdemandid=null from DispatchLists a join Inventory_Sub b on a.cInvCode=b.cInvSubCode where b.iRequireTrackStyle=2 and a.idemandtype <>1 update a set idemandtype=null,idemandseq=null,cdemandid=null from salebillvouchs a join Inventory_Sub b on a.cInvCode=b.cInvSubCode where b.iRequireTrackStyle=2 and a.idemandtype <>1 update a set idemandtype=null,idemandseq=null,cdemandid=null from ex_consignmentdetail a join Inventory_Sub b on a.cInvCode=b.cInvSubCode where b.iRequireTrackStyle=2 and a.idemandtype <>3; 【注意事项】修改前请务必做好数据备份; |
相关补丁: | |
版本: | 8.90 |
模块: | 生产管理 |
产品: | 生产制造 |
问题名称: | MRP运算提示“创建子件需求失败” |
最后更新: | 2011-06-28 23:04:32 |