INCOMPLETE PO Status is Changed to Require Reapproval When Adding the Line by POXPOPDOI (Doc ID 2039518.1)

Last updated on JANUARY 04, 2017

Applies to:

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

Symptoms

'Incomplete' PO status is changed to 'Require Reapproval' when adding lines through POXPOPDOI(concurrent 'Import Standard Purchase Orders').
The PO header interface table has 'INCOMPLETE' as an approval_status column and also enters 'INCOMPLETE' in approved status parameter when running the
POXPOPDOI request.

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

1. Create a test PO via Autocreate, not try to approve so PO status is 'INCOMPLETE'.

2. Insert data into the PO header, line interface tables to add a new line to a test PO which is currently 'INCOMPLETE' status.
(po_headers_interface.approval_status = INCOMPLETE)

3. Execute the POXPOPDOI request with parameter 'Approved Status' = INCOMPLETE using like following API or standard concurrent program
'Import Standard Purchase Orders'.

v_request_id := apps.fnd_request.submit_request( 'PO'
                                                 , 'POXPOPDOI'
                                                 , ''
                                                 , ''
                                                 , FALSE
                                                 , ''           --default buyer
                                                 , 'STANDARD'   --document_type
                                                 , ''           --document_sub_type
                                                 , 'N'          --create item flag
                                                 , ''           --po sourcing rules
                                                 , 'INCOMPLETE' --po_approval status                                       

                                                 , ''           --po_release_method
                                                 , to_char(p_batch_id)
                                                 , 0            --org id
                                                 , '');

4. New line is added to the test PO but PO status is changed to 'Require Reapproval' from 'INCOMPLETE' although we never approved a PO before.

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