My Oracle Support Banner

R12 AP: Poor Performance Querying An Invoice With Many Lines (Doc ID 2068628.1)

Last updated on JANUARY 03, 2023

Applies to:

Oracle Payables - Version 12.1.3 and later
Information in this document applies to any platform.


In the Invoice Workbench (APXINWKB.fmb), poor performance when attempting to query an invoice with many lines.

For most vendors, the retrieval time is very acceptable. There is one vendor where the number of invoice line/distribution lines is about 7000 rows.
When the user tries to query these invoices using AP Inquiry, the response time is roughly 10 minutes when it is normally about 1 second.

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

1. Using Payables Manager responsibility
2. Navigate to Invoices : Inquiry > Invoices
3. Query the problematic invoice


The SQL statement that is taking most of the time is the following:







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

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