ar_invoice_api_pub.create_single_invoice slow performance
we are creating invoices using ar_invoice_api_pub.create_single_invoice and it works as exepcted , but its very slow. . A conversion of about 150K records to be processed.
Metalink has a patch Doc Id : 1536392.1 , we applied it but it has not made any improvement in performance. Any tips ?
In TOAD session browser, it appears it 'sits' on the following 'current statement' for some time when I refresh the window,
SELECT CUSTOMER_TRX_ID, CUSTOMER_TRX_LINE_ID
FROM RA_CUSTOMER_TRX_LINES
WHERE interface_line_context = 'OUR CONEXT' -- Changed.
AND customer_trx_line_id + 0 <> NVL (:customer_trx_line_id, -98)