Verification Process for a Forms Recognition Invoice into EBS Gets Stuck at Check_status in the Imaging InvoiceImport BPEL Process
Last updated on MAY 02, 2017
Applies to:Oracle WebCenter Content: Imaging - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
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.
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.
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