Receivables - EBS (MOSC)

MOSC Banner

How to handle Oracle Locks on Receivables Tables

edited Sep 23, 2012 8:15AM in Receivables - EBS (MOSC) 6 commentsAnswered
Hi,

I am trying to create and approve AR Adjustments using standard APIs ar_adjust_pub.create_adjustment & ar_adjust_pub.approve_adjustment, issue is I am using a loop for a cursor, inside the loop I am calling APIs to create and approve adjustments.

During the loop run, if any other user opens the transaction form in Receivables responsibility and query the transaction which I am adjusting using API, I am getting an error saying the transaction locked and nowait not specified. And the  API exiting the process.

I saw the locked tables, RA_CUSTOMER_TRX_ALL and AR_PAYMENT_SCHEDULES_ALL are locked, when I closed the transactions form or commit the form, the API successfully creation adjustments.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center