My Oracle Support Banner

Standard API Causing Blocking Session While Creating Order Header (Doc ID 2485855.1)

Last updated on JANUARY 25, 2021

Applies to:

Oracle Order Management - Version 12.2.6 and later
Information in this document applies to any platform.

Goal

When using the Process Order API (oe_order_pub.Process_Order) to create an order header, getting blocking session at the table FND_DOC_SEQUENCE_USERS.
Multiple sessions trying to update same row causing the issue. This API is running parallel. This API will call at the same time for creating multiple orders.

Below is the sql received from the DBA team for blocking session.

UPDATE FND_DOC_SEQUENCE_USERS SET NEXTVAL = NEXTVAL + 1 WHERE USER_ID = :B2 AND DOC_SEQUENCE_ID = :B1

Why is this occurring intermittently ?
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.