12
返回列表 发新帖
楼主: Jonyson

[精华] Sales Order Can't Consume MDS(Oracle ERP )

[复制链接]
论坛徽章:
0
11#
 楼主| 发表于 2003-8-6 14:02 | 只看该作者
到目前為止,還沒有找到解決問題的方案.不過我有在Oracle Metalink 上找到一個說明如下,供各位大俠參考.

*********************************************************
MDS DID NOT GET RELIEVED BY THE SHIPMENT OF A SALES ORDER:
---------------------------------------------------------   
Verify that the Planning Manager is Active.      

Make sure that the Profile Option, MRP: Consume MDS is set to Yes      

Make sure that the relief box is checked when you create your MDS
Name.      
Run the following query to determine if the sales order shipment triggered   the creation of a relief entry in MRP_RELIEF_INTERFACE.  If your sales    order shipment did not create a record in this table, MDS consumption  would not have occurred for this shipment:  

select   substr(mdo.demand_id,1,10) dmd_id,   
            substr(ola.line_number,1,4)||'.'||substr(ola.shipment_number,1,4) line_num,   
           substr(mri.transaction_id,1,10) tran_id,   
           substr(mri.last_update_date,1,10) ls_update,   
          substr(mri.new_order_quantity,1,10) relief_qty,   
          substr(mri.relief_type,1,8) rel_type,   
          substr(mri.process_status,1,8) proc_stat,   
          substr(mri.error_message,1,200) error_msg
from    mrp_relief_interface mri,   mtl_sales_orders mso,            
           mtl_demand_omoe mdo,  
           oe_order_headers_all oha,   
           oe_order_lines_all ola
where mso.sales_order_id = mdo.demand_source_header_id   
    and mri.disposition_id = mdo.demand_id   
    and mso.segment1 = oha.order_number   
    and oha.header_id = ola.header_id   
    and mdo.demand_source_line = ola.line_id   
    and mdo.demand_source_header_id =   
(select sales_order_id   from mtl_sales_orders   where segment1 ='&your_sales_order_number');      

If this query does not return any rows, please log a tar with  Inventory Support, as it is the Inventory code in the file, inldqc.ppc,    that triggers the creation of a relief record into MRP_RELIEF_INTERFACE   when a sales order line is shipped.      
If you can see a record in mrp_relief_interface for your sales      order shipment, then what is the process_status?  If the process_status      is 4, that means that the record has errored in the interface.      
MDS relief would not have occurred for that record.  
Run the   following query to get the error message:      

select  error_message   
from    mrp_relief_interface     
where transaction_id = <transaction_id returned from query above>;      

Fix the error and run the following update script to reset the record    so it can be processed by the Planning Manager:      

update mrp_relief_interface      
      set process_status = 2,     
           error_message = NULL,     
           request_id = NULL     
where transaction_id = &transaction_id;      
   commit;      

If you can see a record in mrp_relief_interface for your sales order shipment     and the process_status = 5, then this record should have consumed an     MDS entry for the same date.  Run the following query to determine     which MDS entry was consumed.   If this query returns no     consumptions for the schedule date that you expected to be relieved,      please contact Oracle MFG Support :  


select    substr(msd.schedule_designator,1,10) Sched_name,      
              substr(msc.transaction_id,1,10) tran_id,      
              substr(msi.segment1,1,15) item_num,      
              substr(ola.line_number||'.'||ola.shipment_number,1,8) ,
            substr(msd.schedule_date,1,10) sched_dt,      
            substr(msc.order_quantity,1,9) order_qty,      
              substr(msc.relief_quantity,1,10) relief_qty,      
             substr(msc.relief_type,1,10) relief_type     
from      mrp_schedule_consumptions msc,      
            mrp_schedule_dates msd,      
            mtl_system_items msi,      
            oe_order_headers_all oha,      
            oe_order_lines_all ola,      
          mtl_sales_orders mso      
where msc.transaction_id = msd.mps_transaction_id      
          and msd.inventory_item_id = msi.inventory_item_id      
          and msd.organization_id = msi.organization_id      
         and oha.header_id = ola.header_id      
         and msc.line_num = ola.line_number      
         and msd.source_sales_order_id = mso.sales_order_id      
          and mso.segment1 = oha.order_number      
         and mso.segment1 = '&your_sales_order_number'      
         and msd.schedule_level = 2      
         and msd.supply_demand_type = 1   
   order by 1,3,2;
***************************************************************************************
根據它的說明,我有執行上述兩個Sql,但第一個Sql 為空,按照它說明的意思是為Inventory Manager 沒有將一筆做Ship Confirm 的S/O資料寫進MRP_relief_interface 造成的.我想請問各位大俠, 對這個說明,我應當怎樣在MRP 與INV兩個模塊間找原因?

thanks in advance

使用道具 举报

回复
论坛徽章:
0
12#
 楼主| 发表于 2003-8-7 21:09 | 只看该作者
各位大哥,沒人幫小弟出個謩潅

使用道具 举报

回复
论坛徽章:
0
13#
 楼主| 发表于 2003-8-11 14:50 | 只看该作者
各位大哥,一定要幫忙喲. ^ _ ^.
thanks.

使用道具 举报

回复
论坛徽章:
0
14#
 楼主| 发表于 2003-8-15 10:52 | 只看该作者
各位大哥,對於這個問題,看來只有尋求Oracle Consulant 的幫忙了.
我要Load  TAR ,請他們幫忙了.

到目前為止,我已經不再認為是系統設定的問題,可能另有其它問題,我還沒有發現或者說還不知道.

使用道具 举报

回复
论坛徽章:
2
沸羊羊
日期:2015-03-04 14:43:432015年新春福章
日期:2015-03-06 11:57:31
15#
发表于 2003-8-23 15:44 | 只看该作者
请问MRP Planning Manager是处于运行状态吗?
如果它没有运行,S/O是不会抵扣MDS的。

使用道具 举报

回复
论坛徽章:
0
16#
 楼主| 发表于 2003-8-26 11:21 | 只看该作者
Planning Manager status is Active.

使用道具 举报

回复
论坛徽章:
0
17#
发表于 2006-1-18 10:30 | 只看该作者
各位观众,有没有人知道订单做了发运确认后在什么程序里面去冲减MDS?我现在要改到WIP完工入库的时候做冲减,已经做好这个程序,不过要屏蔽标准的发运确认后的冲减,不知道在哪里屏蔽,有没有人做过?请指教一下.谢谢.

使用道具 举报

回复
论坛徽章:
48
每日论坛发贴之星
日期:2006-03-15 01:01:12马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14管理团队成员
日期:2011-05-07 01:45:08NBA常规赛纪念章
日期:2008-04-18 19:48:16会员2007贡献徽章
日期:2007-09-26 18:42:10ITPUB元老
日期:2007-08-23 08:42:38NBA常规赛纪念章
日期:2007-04-19 15:06:34
18#
发表于 2006-3-31 15:41 | 只看该作者
這個問題不知道解決沒有?

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表