My Oracle Support Banner

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 SEPTEMBER 29, 2022

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 

The "Open Interface Invoices" view in EBS shows an Operating Unit present, which represents the OrgId that was set in the XML file that was ingested by the Imaging Input Agent. But the STATUS column for the Invoice shows a value of null. 

Cause

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
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.