AR_AUTOREC_API Automatic Receipts Creation Program API Performance issue (Doc ID 1438374.1)

Last updated on JUNE 07, 2016

Applies to:

Oracle Receivables - Version: 12.1.1 and later   [Release: 12.1 and later ]
Information in this document applies to any platform.

Symptoms

Automatic Receipts Creation Program (API) performs poorly.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Run Automatic Receipts Creation Program


The query to retrieve closed transactions was causing the performance problem.
SELECT 'N' FROM DUAL WHERE EXISTS( SELECT 'x' FROM AR_PAYMENT_SCHEDULES PS
WHERE PS.CUSTOMER_TRX_ID IN ( SELECT CUSTOMER_TRX_ID FROM
RA_CUSTOMER_TRX_LINES
START WITH BR_REF_CUSTOMER_TRX_ID = :B2 CONNECT BY PRIOR CUSTOMER_TRX_ID =
BR_REF_CUSTOMER_TRX_ID ) AND PS.STATUS = 'OP' AND PS.CUSTOMER_TRX_ID <>
:B1 )

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