ITPUB??ì3
ITPUB论坛 » Oracle ERP » cost periods无法关闭: unprocessed shipping transaction


标题: cost periods无法关闭: unprocessed shipping transaction
离线 wh991327
博弃之星


精华贴数 1
个人空间 0
技术积分 3139 (463)
社区积分 241 (2094)
注册日期 2002-9-6
论坛徽章:28
ITPUB元老红孩儿    
      

发表于 2008-5-26 11:29 
cost periods无法关闭: unprocessed shipping transaction

需要怎么才可以关闭 怎么解决
以前没遇到过 现在metalink上不去了 没法混了


__________________
作男人難,做個好男人更難.
只看该作者    顶部
离线 wh991327
博弃之星


精华贴数 1
个人空间 0
技术积分 3139 (463)
社区积分 241 (2094)
注册日期 2002-9-6
论坛徽章:28
ITPUB元老红孩儿    
      

发表于 2008-5-26 11:31 
图片




wh991327 上传了这个附件:
2008-5-26 11:31
28.JPG (39.57 KB)
 

__________________
作男人難,做個好男人更難.
只看该作者    顶部
离线 richardliu1123
One World One Dream


精华贴数 0
个人空间 0
技术积分 1993 (791)
社区积分 8 (11875)
注册日期 2005-4-14
论坛徽章:6
授权会员2008北京奥运纪念徽章:射击ERP板块每日发贴之星生肖徽章2007版:鼠  
      

发表于 2008-5-26 11:41 
A Guide To Resolving Pending Transaction Issues

1.察看Pending Transactions
Path: Nav > Cost > Accounting Close Cycle > Inventory Accounting Periods

甲.Resolution Required區:一定要先解決才可關帳
01.Unprocessed Material field:MTL_MATERIAL_TRANSACTONS_TEMP有未處理的料件交易資訊
02.Uncosted Material field:MTL_MATERIAL_TRANSACTIONS有未處理的會計分錄
03.Pending WIP Costing:WIP_COST_TXN_INTERFACE有資源和製造費用的會計分錄尚未處理

乙.Resolution Recommended區:可以關,但若關帳後則不能在處理
01.Pending Receiving:RCV_TRANSACTIONS_INTERFACE,於採購交易未處理如:從倉庫收料或退回,可以關但會有警告訊息。
02.Pending Material:MTL_TRANSACTIONS_INTERFACE,有未處理的料件交易資訊。
03.Pending Move:WIP_MOVE_TXN_INTERFACE,有未處理的Shop Floor搬移交易(Move Txn.)。

2.RESOLVING UNPROCESSED AND UNCOSTED MATERIAL TRANSACTIONS

甲.Resolution Required區:一定要先解決才可關帳
01.Unprocessed Material field:MTL_MATERIAL_TRANSACTONS_TEMP
可以經由此路徑了解原因:解決問題更正,然後重新執行
Path: Nav > Inventory > Transactions > Pending Transactions
可以透過Resubmitted更正後重新執行或透過下列程式更正:

Update MTL_MATERIAL_TRANSACTIONS_TEMP
Set PROCESS_FLAG = ‘Y’,
LOCK_FLAG = ‘N’,
TRANSACTION_MODE = 3,
ERROR_CODE = NULL
Where TRANSACTION_ID = ‘& TRANSACTION_ID’;


02.Uncosted Material field:MTL_MATERIAL_TRANSACTIONS有未處理的會計分錄
可以察看此Table中COSTED_FLAG are: N = Not Costed
E = Error
Null = Costed

只能透過SQL來更新處理(更新costed_flag = ‘N’ 和 transaction_group_id = NULL.)
Update MTL_MATERIAL_TRANSACTIONS
set COSTED_FLAG = ‘N’,
set TRANSACTION_GROUP_ID = NULL
where COSTED_FLAG = ‘E’ or COSTED_FLAG = ‘N’;

若有錯誤資料記錄,可以透過查詢Concurrent Process方式查詢
Path: Nav > System Administrator > Concurrent > Request
a.並在Find Requests中的Name鍵入:“ %ost%orker% “
b.Status鍵入:” Error ”

在某些例子中可以改變Profile設定,例如:MRP: Debug Mode = ‘ Yes’並重新執行(Re-Submit),看得出之錯誤資訊寫入Log File.
Path: System Administrator > Profile > System

03.Pending WIP Costing:WIP_COST_TXN_INTERFACE有資源和製造費用的會計分錄尚未處理
可透過Pending Resource Transactions查詢、刪除、更正與重新執行
Path: WIP > Resource Transactions > Pending Resource Transactions
或透過下列程式更正:
Update WIP_COST_TXN_INTERFACE
Set GROUP_ID = NULL,
TRANSACTION_ID = NULL,
REQUEST_ID = NULL,
PROCESS_STATUS = 1
Where PROCESS_STATUS = 3;

乙.Resolution Recommended區:可以關,但若關帳後則不能在處理
01.Pending Receiving:RCV_TRANSACTIONS_INTERFACE,於採購交易未處理如:從倉庫收料或退回,可以關但會有警告訊息。

02.Pending Material:MTL_TRANSACTIONS_INTERFACE,有未處理的料件交易資訊。

可以透過Transaction Open Interface查詢、更正並重新執行
Path: Inventory > Transactions > Transaction Open Interface
可以察看此Table中Process_Flag are:    1 = Pending
2 = Running
3 = Error
可以透過畫面中的Re-Submit或下列SQL程式更新後執行:
Update MTL_TRANSACTIONS_INTERFACE
Set PROCESS_FLAG = 1,
LOCK_FLAG = 2,
TRANSACTION_MODE = 3,
ERROR_CODE = NULL
Where PROCESS_FLAG = 3;

03.Pending Move:WIP_MOVE_TXN_INTERFACE,有未處理的Shop Floor搬移交易(Move Txn.)
可透過Pending Move Transactions重新Re-Submit
Path: WIP > Move Transactions > Pending Move Transactions

Update WIP_MOVE_TXN_INTERFACE
Set GROUP_ID = NULL,
TRANSACTION_ID = NULL,
PROCESS_STATUS = 1
Where TRANSACTION_ID = ‘&TRANSACTION_ID’;

3.CONCLUSION
註釋:若Transactions中有Pending但並非Error,則Re-Submit就必須透過相關 SQL方式來執行。


__________________
-------与人分享/其乐无穷-------------
|                                                 |
| MSN:liubing1123@tom.com     |
| Blog:richardliu1123.cublog.cn  |
----------------------------------------
只看该作者    顶部
离线 wh991327
博弃之星


精华贴数 1
个人空间 0
技术积分 3139 (463)
社区积分 241 (2094)
注册日期 2002-9-6
论坛徽章:28
ITPUB元老红孩儿    
      

发表于 2008-5-26 13:07 
我的是so出货有问题 上面的没讲到


__________________
作男人難,做個好男人更難.
只看该作者    顶部
离线 richardliu1123
One World One Dream


精华贴数 0
个人空间 0
技术积分 1993 (791)
社区积分 8 (11875)
注册日期 2005-4-14
论坛徽章:6
授权会员2008北京奥运纪念徽章:射击ERP板块每日发贴之星生肖徽章2007版:鼠  
      

发表于 2008-5-26 13:31 
Troubleshooting Summary

1. Unprocessed Shipping Transactions Records already processed through Inventory

2. Unprocessed Shipping Transactions Records not visible in Inventory



--------------------------------------------------------------------------------
Troubleshooting Details
1. Issue 1 [ Unprocessed Shipping Transactions Records already processed through Inventory ]

Navigation> Inventory> Accounting Close Cycle> Inventory Accounting Periods

Select the "Pending" button

The Unprocessed Shipping Transactions zone shows "Pending Transactions".

Solution:

a) Ensure that all the Sales Orders for this accouting period have status of "Interfaced" in the Shipping Transactions Form.

Navigation> Order Management> Shipping> Transactions

Or use the following to identify any sales orders that have not been Shipped or Inventory Interfaced.

select wdd.source_header_id, ooh.order_number,wnd.delivery_id, wnd.name, wdd.delivery_detail_id,
wdl.pick_up_stop_id, wdd.inv_interfaced_flag
from wsh_delivery_details wdd, wsh_delivery_assignments wda,
wsh_new_deliveries wnd, wsh_delivery_legs wdl, wsh_trip_stops wts,
oe_order_headers_all ooh, oe_order_lines_all ool
where wdd.source_code = 'OE'
and wdd.released_status = 'C'
and wdd.inv_interfaced_flag in ('N' ,'P')
and wdd.organization_id = &organization_id
and wda.delivery_detail_id = wdd.delivery_detail_id
and wnd.delivery_id = wda.delivery_id
and wnd.status_code in ('CL','IT')
and wdl.delivery_id = wnd.delivery_id
and trunc(wts.actual_departure_date) between '&period_start_date'and '&period_end_date'
and wdl.pick_up_stop_id = wts.stop_id
and wdd.source_header_id = ooh.header_id
and wdd.source_line_id = ool.line_id

b) Run the omse11il.sql (Metalink Note: 133464.1 ) for any Sales Order that may show as Interfaced or Shipped, but it is suspected that it has not been processed through Inventory.

c) Verify that there are NO records for this Sales Order in the Pending Transactions Form or the Transaction Open Interface Form. Address the errors if any. The records retrieved in these forms will list the Sales Order Number under the "Source" or "Transaction Source"columns for the Source TAB respectively.

Navigation> Inventory> Transactions> Pending Transactions

Navigation> Inventory> Transactions> Transaction Open Interface

d ) If records are not in any of these forms, then confirm the Material Transactions Form. Please query by transaction type (Sales Order Issue), and address errors if any. If records are listed in this form for any particular Sales Order, this will confirm that material has been processed out of stores.

Navigation> Inventory> Transactions> Material Transactions

e) If there are records in the Material Transactions Form for the Sales Orders, then confirm the value for the columns WSH_DELIVERY_DETAILS.OE_INTERFACED_FLAG and WSH_DELIVERY_DETAILS.INV_INTERFACED_FLAG. Use the output from the omse11i.sql.

Look for the MTL_MATERIAL_TRANSACTIONS.TRX_SOURCE_LINE_ID and MTL_MATERIAL_TRANSACTIONS.PICKING_LINE_ID to correspond to the OE_ORDER_LINES_ALL.LINE_ID and WSH_DELIVERY_DETAILS.DELIVERY_DETAIL_ID respectively.

The sum of the primary quantity for sales order records (do not include the records for the Move Order Transactions) should match the original Sales Order line quantity. Unless overpicking is allowed, then the sum of the primary quantity must match the total of deliveries for each line.

select
substr(decode(mmt.trx_source_line_id,NULL,'NULL',mmt.trx_source_line_id),1,9) "Line Id",
substr(decode(mmt.picking_line_id,NULL,'NULL',mmt.picking_line_id),1,9) "Pick Id",
substr(decode(mmt.transaction_type_id,NULL,'NULL',mmt.transaction_type_id),1,9) "Txn Type",
substr(decode(mmt.primary_quantity,NULL,'NULL',mmt.primary_quantity),1,12) "Pri Qty",
substr(decode(wdd.delivery_detail_id,NULL,'NULL',wdd.delivery_detail_id),1,9) "Del Id",
substr(decode(mmt.locator_id,NULL,'NULL',mmt.locator_id),1,9) "Loc Id",
substr(decode(mmt.transaction_type_id,52,'Move Order',33,'Sales Order',mmt.transaction_type_id),1,15) "Type",
substr(decode(ooh.header_id,NULL,'NULL',ooh.header_id),1,9) "Header",
substr(decode(ooh.order_number,NULL,'NULL',ooh.order_number),1,12) "Ord Num",
substr(decode(ool.line_id,NULL,'NULL',ool.line_id),1,9) "OE Line"
from mtl_material_transactions mmt,
wsh_delivery_details wdd, oe_order_headers_all ooh,
oe_order_lines_all ool
where mmt.trx_source_line_id = wdd.source_line_id
and mmt.trx_source_line_id = &line_id
and ool.line_id=mmt.trx_source_line_id
and ooh.order_number = '&order_number'

f) Contact Oracle Support for assistance how to resolve these issues. These flags can be updated, but data must be confirmed prior to conducting any changes to these records and authorized by Oracle Development.

g) Additionally, confirm that there are no records (duplicates) for Sales Orders in the Pending Transactions and Transaction Open Interface Forms. Contact Oracle Support for scripts how to fix duplicate records.

[top]

2. Issue 2 [ Unprocessed Shipping Transactions Records not visible in Inventory ]

Navigation> Inventory> Accounting Close Cycle> Inventory Accounting Periods

Select the "Pending" button

The Unprocessed Shipping Transactions zone shows "Pending Transactions".

Solution:

a) Ensure that all the Sales Orders for this accouting period have status of "Interfaced" in the Shipping Transactions Form.

Navigation> Order Management> Shipping> Transactions

Or use the following to identify any sales orders that have not been Shipped or Inventory Interfaced.

select wdd.source_header_id, ooh.order_number,wnd.delivery_id, wnd.name, wdd.delivery_detail_id,
wdl.pick_up_stop_id, wdd.inv_interfaced_flag
from wsh_delivery_details wdd, wsh_delivery_assignments wda,
wsh_new_deliveries wnd, wsh_delivery_legs wdl, wsh_trip_stops wts,
oe_order_headers_all ooh, oe_order_lines_all ool
where wdd.source_code = 'OE'
and wdd.released_status = 'C'
and wdd.inv_interfaced_flag in ('N' ,'P')
and wdd.organization_id = &organization_id
and wda.delivery_detail_id = wdd.delivery_detail_id
and wnd.delivery_id = wda.delivery_id
and wnd.status_code in ('CL','IT')
and wdl.delivery_id = wnd.delivery_id
and trunc(wts.actual_departure_date) between '&period_start_date'and '&period_end_date'
and wdl.pick_up_stop_id = wts.stop_id
and wdd.source_header_id = ooh.header_id
and wdd.source_line_id = ool.line_id

b) Run the omse11il.sql (Metalink Note: 133464.1 ) for any Sales Order that may show as Interfaced or Shipped, but it is suspected that it has not been processed through Inventory.

c) Verify that there are NO records for this Sales Order in the Pending Transactions Form or the Transaction Open Interface Form. Address the errors if any. The records retrieved in these forms will list the Sales Order Number under the "Source" or "Transaction Source"columns for the Source TAB respectively.

Navigation> Inventory> Transactions> Pending Transactions

Navigation> Inventory> Transactions> Transaction Open Interface

d )If records are not in any of these forms, then confirm the Material Transactions Form. Please query by transaction type (Sales Order Issue), and address errors if any. If records are listed in this form for any particular Sales Order, this will confirm that material has been processed out of stores.

Navigation> Inventory> Transactions> Material Transactions



Look for the MTL_MATERIAL_TRANSACTIONS.TRX_SOURCE_LINE_ID and MTL_MATERIAL_TRANSACTIONS.PICKING_LINE_ID to correspond to the OE_ORDER_LINES_ALL.LINE_ID and WSH_DELIVERY_DETAILS.DELIVERY_DETAIL_ID respectively.

The sum of the primary quantity for sales order records (do not include the records for the Move Order Transactions) should match the original Sales Order line quantity. Unless overpicking is allowed, then the sum of the primary quantity must match the total of deliveries for each line.

select
substr(decode(mmt.trx_source_line_id,NULL,'NULL',mmt.trx_source_line_id),1,9) "Line Id",
substr(decode(mmt.picking_line_id,NULL,'NULL',mmt.picking_line_id),1,9) "Pick Id",
substr(decode(mmt.transaction_type_id,NULL,'NULL',mmt.transaction_type_id),1,9) "Txn Type",
substr(decode(mmt.primary_quantity,NULL,'NULL',mmt.primary_quantity),1,12) "Pri Qty",
substr(decode(wdd.delivery_detail_id,NULL,'NULL',wdd.delivery_detail_id),1,9) "Del Id",
substr(decode(mmt.locator_id,NULL,'NULL',mmt.locator_id),1,9) "Loc Id",
substr(decode(mmt.transaction_type_id,52,'Move Order',33,'Sales Order',mmt.transaction_type_id),1,15) "Type",
substr(decode(ooh.header_id,NULL,'NULL',ooh.header_id),1,9) "Header",
substr(decode(ooh.order_number,NULL,'NULL',ooh.order_number),1,12) "Ord Num",
substr(decode(ool.line_id,NULL,'NULL',ool.line_id),1,9) "OE Line"
from mtl_material_transactions mmt,
wsh_delivery_details wdd, oe_order_headers_all ooh,
oe_order_lines_all ool
where mmt.trx_source_line_id = wdd.source_line_id
and mmt.trx_source_line_id = &line_id
and ool.line_id=mmt.trx_source_line_id
and ooh.order_number = '&order_number'

However, if no records are found for the Sales Order, then verify the status of the line. See the next step.

e) If there are no records in the Material Transactions, Pending Transactions, or the Transaction Open Interface Forms, then confirm the value for the columns WSH_DELIVERY_DETAILS.OE_INTERFACED_FLAG and WSH_DELIVERY_DETAILS.INV_INTERFACED_FLAG. Use the output from the omse11i.sql.

f) For records with WSH_DELIVERY_DETAILS.OE_INTERFACED_FLAG or WSH_DELIVERY_DETAILS.INV_INTERFACED_FLAG values "P", please run the Interface Trip Stop process in Order Management to complete workflow for the Sales Order.

Navigation> Order Management> Shipping> Interfaces> Run

Select the Interface Trip Stop - SRS


__________________
-------与人分享/其乐无穷-------------
|                                                 |
| MSN:liubing1123@tom.com     |
| Blog:richardliu1123.cublog.cn  |
----------------------------------------
只看该作者    顶部
离线 ora2008


精华贴数 0
个人空间 40
技术积分 2012 (778)
社区积分 133 (2885)
注册日期 2008-5-6
论坛徽章:5
      
      

发表于 2008-5-26 14:44 
richardliu1123 大师太牛了!
学习中.


__________________
享受ORACLE......,我的观点是快乐ORACLE.---米卢
只看该作者    顶部
离线 wh991327
博弃之星


精华贴数 1
个人空间 0
技术积分 3139 (463)
社区积分 241 (2094)
注册日期 2002-9-6
论坛徽章:28
ITPUB元老红孩儿    
      

发表于 2008-5-26 15:15 
richardliu1123
omse11il.sql  能不能帮忙down下来


__________________
作男人難,做個好男人更難.
只看该作者    顶部
离线 richardliu1123
One World One Dream


精华贴数 0
个人空间 0
技术积分 1993 (791)
社区积分 8 (11875)
注册日期 2005-4-14
论坛徽章:6
授权会员2008北京奥运纪念徽章:射击ERP板块每日发贴之星生肖徽章2007版:鼠  
      

发表于 2008-5-26 15:28 


QUOTE:
原帖由 wh991327 于 2008-5-26 15:15 发表
richardliu1123
omse11il.sql  能不能帮忙down下来

希望对你有所帮助.




richardliu1123 上传了这个附件:
2008-5-26 15:28
  下载次数: 27
omsel11il.sql (403.4 KB)
 
__________________
-------与人分享/其乐无穷-------------
|                                                 |
| MSN:liubing1123@tom.com     |
| Blog:richardliu1123.cublog.cn  |
----------------------------------------
只看该作者    顶部
离线 fairyrobin
小浑浑



来自 上海
精华贴数 0
个人空间 0
技术积分 816 (2280)
社区积分 395 (1565)
注册日期 2007-4-13
论坛徽章:4
ERP板块每日发贴之星行业板块每日发贴之星行业板块每日发贴之星行业板块每日发贴之星  
      

发表于 2008-5-26 16:51 
学习


__________________
ORACLE ERP MANUFACTURE CONSULTANT
只看该作者    顶部
离线 阳鼎天


精华贴数 0
个人空间 0
技术积分 701 (2656)
社区积分 160 (2603)
注册日期 2008-5-3
论坛徽章:22
授权会员ERP板块每日发贴之星2008北京奥运纪念徽章:曲棍球生肖徽章2007版:蛇生肖徽章2007版:羊2008北京奥运纪念徽章:棒球
生肖徽章2007版:马2008北京奥运纪念徽章:拳击2008北京奥运纪念徽章:赛艇2008北京奥运纪念徽章:蹦床2008北京奥运纪念徽章:跳水2008北京奥运纪念徽章:网球

发表于 2008-5-27 07:25 
*** 作者被禁止或删除 内容自动屏蔽 ***
相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问