My Oracle Support Banner

33174873 Unexpected Error When Updating PO Line Num (Doc ID 2881571.1)

Last updated on JULY 07, 2022

Applies to:

Oracle Purchasing - Version 12.2.9 and later
Information in this document applies to any platform.


On : 12.2.9 version, Purchase Order

Unexpected Error When updating PO Line Num

BWC is throwing Unexpected error when updating PO Line Num with an existing Line Num ie if PO has 3 Lines 1, 2 and 3, if we update Line 2 as Line 3 then page is throwing unexpected error instead on valid error message.

********* In core form if user performs same action then form is throwing an valid error message.

oracle.apps.fnd.framework.OAException: ORA-00001: unique constraint (PO.PO_LINES_U2) violated in Package po.plsql.PO_LINES_DRAFT_PKG. Procedure merge_changes.10

The issue can be reproduced at will with the following steps:
1. Create PO with 3 lines

2. Go to BWC - edit PO and change line 2 to line #3 - getting java error

In core forms they get valid error message

The issue has the following business impact:
Due to this issue, users get strange BWC error and do not know what occurred.




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

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