Friday 28 August 2015

Datafix Script to clear the RCV stuck pending transactions for Receipts


Scripts used for clearing the RCV stuck pending transactions

Scenario:
While receiving or correcting a PO, some time the transactions get stuck with out Processing due to delay in running receiving transaction processor (This happens sometimes if there is too many concurrent program's running at the back end)
Due to the above reason the PO is not received in the system and on hand quantity is not updated.
Even if we try to clear the stuck pending transactions system does not allow.
System also does not allow us to create receipt again for the PO till the stuck PO pending receiving transactions are cleared.
Solution:

We have written scripts to resolve this issue by way deleting the stuck PO pending transactions from the RCV table.
Step 1:  Query to identify the rcv_transactions_interface_id
Query: Select * from rcv_transactions_interface WHERE PO_HEADER_ID= (Give the PO header id of the diseased PO)

SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1=''
Example:
Select * from rcv_transactions_interface WHERE PO_HEADER_ID=1341737

SELECT * FROM PO_HEADERS_ALL WHERE SEGMENT1='550684'
Result: The above query will give the rcv_transactions_interface_ids of the stuck PO lines
Step 2:
Provide this information to the DBA and request the DBA team to follow the steps as provided in Oracle Note: Doc ID 303544.1 (How To Remove Pending and Error Receiving Transactions from Transaction Status Summary)
     a.  Run the script to check the backup tables: table_check23.sql
     b.  Run the appropriate datafix script:
          For 11.5.10 and r12.0: delete_stuck_rti_for_R11510 and R120.sql
          For 12.1 and above: delete_stuck_rti_for_R121_and_above.sql
---- ANIL APPANABOYINA


4 comments:

  1. Thanks for sharing very good information about OCI Punchout.
    OCI Punchout

    ReplyDelete
  2. Nice Blog..XML and provides formal XML schemas for business transactions.
    cXML Ariba

    ReplyDelete
  3. We are providing services to resolve problem of QuickBooks. To access our services for any issue related to QuickBooks you can contact our Quickbooks Online support phone number which is toll-free +1-866-5O2-O2O4.

    ReplyDelete
  4. If you are searching for Quickbooks pro support phone number then just dial +1-866-502-0204. Our technical support team is 24/7 available for you to solve all of your Quickbooks server issues.
    Whenever you face an issue, call us today and take advantage of our unparalleled technical support, we try our best to fix your problem and provide you hassle-free working environment.

    ReplyDelete