Errors ORA-06502: PL/SQL Calling API Inv_pick_wave_pick_confirm_pub.pick_confirm (Doc ID 1955355.1)

Last updated on AUGUST 21, 2016

Applies to:

Oracle Inventory Management - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

Encountered following error/s when trying to utilize API inv_pick_wave_pick_confirm_pub.pick_confirm to allocate quantity and pick confirm sales order line.
 
Error

1) Initial error: Error occured while resubmission

2) Updated error information as seen from debug file 'invdbg_TAR16229.db'

******** New Session:50037138****15-DEC-14:03.32.12 **********
Session Id:50037138
[15-DEC-14 15:32:12] Pick_confirm: Inside pick_wave_pick_confirm
[15-DEC-14 15:32:12] TRACED: TRACE = ORA-06502: PL/SQL: numeric or value error: NULL index table key value
[15-DEC-14 15:32:12] Pick_Confirm: transaction_header_id = 360560324
[15-DEC-14 15:32:12] Pick_Confirm: move orderline = 1
[15-DEC-14 15:32:12] Pick_Confirm: Exception when others

Steps
1) Run the SQL procedure : Procedure.sql

* A snippet of the code follows:

Workaround - Not Applicable
There is no problem with the records, they can be transacted properly using standard 'Transact Move Order' form. But note that this form is not suitable for our business as it becomes very tedious to expedite 500 shipments / orders every day by single user.

Business Impact
Not able to successfully use API inv_pick_wave_pick_confirm_pub.pick_confirm to allocate quantity and pick confirm sales order line.
* Worked on R12.1.1 but not on R12.1.3.

Changes

Recently upgraded from release 12.1.1 to 12.1.3 just a few days ago.
They have been using the same API code/script as before but notice issue only now in 12.1.3 instance. It used to work fine since last 2 years without any issue.
The new change is that we applied patches to implement Oracle Process Manufacturing after which this api is giving error.

Cause

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