My Oracle Support Banner

AutoCreate Final Assembly cannot Create a WIP Work Order From Configured Item ORA-04068 in WILMEB (Doc ID 759611.1)

Last updated on FEBRUARY 18, 2019

Applies to:

Oracle Work in Process - Version to [Release 11.5]
Information in this document applies to any platform.


AutoCreate Final Assembly Orders concurrent program is not working properly, and the following error message appears.

Dbg:Success in wilmlx_mass_load

Enter Username:

Statement with the error:
begin wip_picking_pvt.Post_Explosion_CleanUp


Alternatively, the customer tried to create the Discrete Job manually for the assembly but she got another error message:

APP-FND-01564: ORACLE error 4068 in wilmeb
Cause: wilmeb failed due to ORA-04068: existing state of packages has been discarded
ORA-04063: package body "APPS.WIP_PICKING_PVT" has errors
ORA-06508: PL/SQL could not find program unit being called
ORA-06512: AT LINE 1

When trying to compile manually wip_picking_pvt following message returned:

if (l_logLevel <= wip_constants.trace_logging) then
wip_logger.log('wip_picking_pvt.allocate => line count passed to inv_wip_picking_pvt.release_pick_batch: '
|| l_lineCount || ';total=' || p_alloc_tbl.COUNT, l_dummy2);
end if;

if(l_lineCount > 0) then
l_hdrRec.move_order_type := INV_Globals.G_MOVE_ORDER_MFG_PICK;
inv_wip_picking_pvt.release_pick_batch(p_mo_header_rec => l_hdrRec,
p_mo_line_rec_tbl => l_linesTable,
p_auto_detail_flag => nvl(p_auto_detail_flag,'T'),
p_print_pick_slip => nvl(p_print_pick_slip,'F'),
p_plan_tasks => nvl(p_plan_tasks,FALSE),
x_conc_req_id => x_conc_req_id,
x_return_status => l_pickStatus,
x_msg_data => x_msg_data,
x_msg_count => l_msgCount,
p_init_msg_lst => fnd_api.g_true);

if (l_logLevel <= wip_constants.trace_logging) then
wip_logger.log('returned status from call to inv_wip_picking_pvt.release_pick_batch() = ' || l_pickStatus || ';total=' || p_alloc_tbl.COUNT, l_dummy2);
end if;

PLS-00306: wrong number or types of arguments in call to 'RELEASE_PICK_BATCH'

The issue can be reproduced at will with the following steps:
1. Login with Order management superuser
2. Enter order into configurator
3. Configure item,
4. Book the order,
5. Progress the order which created the configured item number,
6. Progress order again to create the WIP job or order num, concurrent request AutoCreate Final Assembly Orders completed with errors.


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.