How Can the Error CSTPACIN.COST_INV_TXN:Failure in procedure CST_RevenueCogsMatch_PVT.Process_RmaReceipt() Be Resolved?

(Doc ID 733275.1)

Last updated on AUGUST 31, 2017

Applies to:

Oracle Inventory Management - Version 12.0.6 and later
Oracle Cost Management - Version 12.0.6 and later
Information in this document applies to any platform.


This document provides the detailed instructions for fixing transactions that exist in the Material Transactions (MTL_MATERIAL_TRANSACTIONS.MMT) with the 'ERROR
CSTPACIN.COST_INV_TXN:Failure in procedure CST_RevenueCogsMatch_PVT.Process_RmaReceipt()' error. This issue can also occur when Closing an Inventory Accounting Period. The issue can be reproduced with the following steps:

1. Create and ship a sales order
2. Create an RMA for the above sales order
3. Go to the Receiving screen to receive the RMA
4. Change the date on the receipt to be prior to the shipment date of the original sales order
5. Complete the receipt and save
6. Let the cost manager run

This document will also show all the available information regarding the Root Cause of this data corruption.

Please use this document in the following order:
A. Identification Scripts: This will confirm if you are having this data corrution.
B. Verifying your file versions: This will allow you and Support to confirm if you are already using a known fixed version.
C. Root Cause Analysis. It shows all the relevant information about this issue Root Cause.
D. Datafix Intructions. It will provide steps for fixing the data corruption.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms