R12.1 AP: Create Accounting Is Still Running For A Long Time. (Doc ID 1970334.1)

Last updated on MARCH 15, 2017

Applies to:

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

Symptoms

Facing performance problem with Create Accounting. It run for hours and it had to be terminated.

The SQL statement that is taking most if the time is:

SQL_ID =  6cxgkz9f963ta

INSERT INTO XLA_AE_LINES_GT (AE_HEADER_ID , TEMP_LINE_NUM , EVENT_ID , REF_AE_HEADER_ID , REF_AE_LINE_NUM ,
..
..
AND AEH.ACCOUNTING_ENTRY_STATUS_CODE = 'F') OR (AEH.PARENT_AE_HEADER_ID IS NULL) ) ) WHERE RN = 1 )

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