tags:

views:

638

answers:

0

I have used WSH_PICKING_BATCHES_PUB.CREATE_BATCH to create a new batch for the orders to be pick released.After taht I want to run WSH_PICKING_BATCHES_PUB.RELEASE_BATCH to release the batch id which I got from the initial program. declare l_return_status Varchar2(1); l_msg_count Number; l_msg_data VARCHAR2(2000); l_batch_id NUMBER(10); l_request_id NUMBER; begin WSH_PICKING_BATCHES_PUB.RELEASE_BATCH ( 1 ,FND_API.G_TRUE ,FND_API.G_TRUE ,l_return_status ,l_msg_count ,l_msg_data ,83009 ,'83009' ,1 ,'CONCURRENT' ,l_request_id ); dbms_output.put_line('The return status is '||l_return_status|| l_msg_data); dbms_output.put_line('The request id created is '|| l_request_id); end;

This returns the return status as 'S' but 0 as request id . The batch id is generated correctly as 83009 from the CREATE_BATCH API. I AM USING 11.5.10.2 not R12.

Thanks, Gaurav