ORA-06502 Error While Trying To Cancel A Purchase Order With An Obligation

(Doc ID 1959643.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Merchandising System - Version 13.2.4 and later
Information in this document applies to any platform.


When attempting to cancel a PO (Purchase Order) that has not been shipped, yet it has an obligation setup, the following error occurs:

The issue can be reproduced at will with the following steps:

1. Create a PO for two items and approved it.
2. Create a PO Header Level obligation in pending status.
3. Now open the above PO in edit mode and cancel all items.
4. Enter the cancel code as Buyer Cancelled. Click OK on ordhead, below error encountered:

"ORA-06502 PL/SQL numeric or value error returned by program unit ALC_ALLOC_SQL.ALLOC_PO".


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