Applies to:

Oracle Payables - Version: 11.5.10 to 12.1.1
This problem can occur on any platform.

Symptoms


One of the invoice is stuck with 'PROCESSING' status in ap_invoices_interface.
But ,the same invoice number is in the base table i.e. already showing imported.

6 invoice lines related to the same invoice are still in ap_invoice_lines_interface table.
and remaining 7 invoice lines were passed to base table means got imported.

EXPECTED BEHAVIOR
The import should be successful for the invoice and invoice lines with status 'PROCESSED' in
in interface table ap_invoices_interface.

STEPS
The issue can be reproduced at will with the following steps:
1. Run payables open interface import program

BUSINESS IMPACT
The issue has the following business impact:
Due to this issue, users cannot see the complete invoice data in to base tables after importing.


Cause

The cause of the issue is invalid / incorrect data in ap_invoices_interface and
ap_invoice_lines_interface.
The data should not be struck in the interface tables with 'PROCESSING' status.


From  payables user guide and ap trm file it clearly states that, the interface data should be
in 'PROCESSED' status when it is imported to base tables.

But, here the invoice data in interface table showing as , status = 'PROCESSING'.


Solution

1. Go to payables responsibility.
2. Invoices ---> Open Interface Invoices ---> Query for the problem invoice.

3. Change Status from 'PROCESSING' TO 'PROCESSED'.
4. Save.
5. Click on 'Lines' tab.
6. Delete these remaining invoice lines which were not imported.  ( By click on invoice line  ---> select ' Edit ' from upper menu --> Delete).
7. Save.
8. Open the same invoice in invoice workbench.
9. Query for the invoice (F11 + enter query + Ctrl F11).
10. Go to 'Lines ' tab .
11. Create the invoice lines and distributions for the same.
12. Save.


Another way , is :
1. Cancel the invoice which already imported.
2. Stamp or update the status in the invoice header data to NULL or REJECTED.
3. Try to reimport the same.
4. After, this check whether import is successful or not .