Error/Uncosted/Pending Material Transactions (文档 ID 603657.1) |
![]() |
![]() |

In this Document
APPLIES TO:Oracle Cost Management - Version 11.5.10.2 to 12.2.5 [Release 11.5 to 12.2]Information in this document applies to any platform. PURPOSE
Below mentioned set of script is specifically used to identify any pending or uncosted transactions which stops the Inventory period closing or Cost Manager activities of costing the transactions. REQUIREMENTSThese scripts can be used on SQL Developer, SQL*PLUS CONFIGURINGThese scripts can be used on any instance to check whether there are pending and uncosted transactions. INSTRUCTIONS1) This script output will give the number of error transactions that need to be resolved. Without resolving these transactions, cost manager will not cost the transactions which are uncosted. This list will be for all the Inventory Organizations in that legal entity.
Select * from Mtl_material_transactions where costed_flag = 'E'
Select count (*) from Mtl_material_transactions where costed_flag = 'N'
Select * from wip_cost_txn_interface
Select count (*) from wip_cost_txn_interface
Select * from wip_txn_interface_errors
Select *
from wip_txn_interface_errors where transaction_id IN ( Select transaction_id from wip_cost_txn_interface)
Select *
from wip_cost_txn_interface where transaction_id in (Select transaction_id from wip_txn_interface_errors)
Select *
from mtl_material_transactions_temp where error_code is not null and error_explanation is not null
Select count (*) from mtl_material_transactions_temp
SELECT request_id RequestId,
request_date RequestDt, phase_code Phase, status_code Status FROM fnd_concurrent_requests fcr, fnd_concurrent_programs fcp WHERE fcp.application_id = 702 AND fcp.concurrent_program_name = 'CMCTCM' AND fcr.concurrent_program_id = fcp.concurrent_program_id AND fcr.program_application_id = 702 AND fcr.phase_code <> 'C'
CAUTION
This sample code is provided for educational purposes only, and is not supported by Oracle Support. It has been tested internally, however, we do not guarantee that it will work for you. Ensure that you run it in your test environment before using.
SCRIPTAs stated, output of all these uploaded scripts will help to diagnose and analyze the issue more quickly. REFERENCESNOTE:1069492.1 - Resolving Period Close Pending Transaction R12NOTE:246467.1 - BDEprdcls.sql - CstCheck.sql Diagnostics Scripts NOTE:865438.1 - How to resolve Costing Errors & Problems |