Verification Process for a Forms Recognition Invoice into EBS Gets Stuck at Check_status in the Imaging InvoiceImport BPEL Process (Doc ID 1576264.1)

Last updated on MAY 02, 2017

Applies to:

Oracle WebCenter Content: Imaging - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

As part of the Verification step for setting up the Solution Accelerator for E-Business Suite Invoices, the InvoiceImport process validates the Organization ID, but the InvoiceImport process never completes because the Check_status step in the process never finds the Invoice in the Open Interface table with a STATUS of PROCESSED or REJECTED. The imported invoice is "lost" in the OIT tables in EBS. The OIT tables show the Invoice entry, but the STATUS remains set to NULL and never changes. 

For example, files for the Forms Recognition verification test are “TestCase_ValidPO.xml”, “TestCase_ValidPO.txt”, and “SampleInvoice.pdf”.  In the xml file, where the Forms Recognition extracted data is represented, the Organization ID is represented in the following format. 

<orgID>1733</orgID>

BPEL process polling is repeatedly at Check_status using the JCA Adapter to check the Open Interface Tables in EBS. The trigger for the InvoiceImport BPEL process to continue is to find a STATUS of PROCESSED or REJECTED in the OIT table APPS.AP_INVOICES_INTERFACE.

Begin loop 7, condition "not(bpws:getVariableData('Check_status_Check_status_OutputVariable','Check_statusOutputCollection','/ns15:Check_statusOutputCollection/ns15:Check_statusOutput/ns15:STATUS') = 'PROCESSED' or ( bpws:getVariableData('Check_status_Check_status_OutputVariable','Check_statusOutputCollection','/ns15:Check_statusOutputCollection/ns15:Check_statusOutput/ns15:STATUS') = 'REJECTED' and ora:getPreference('WAIT_ON_OIT_JOB_ON_REJECT') != 'TRUE') or ( bpws:getVariableData('Expiration_Flag') = 'TRUE') )" is evaluated to true 

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