My Oracle Support Banner

Slow Performance When Running Accrual Reconciliation Load Run Program for Two Operating Units in the Same Time (Doc ID 2150857.1)

Last updated on AUGUST 12, 2016

Applies to:

Oracle Purchasing - Version 12.1 and later
Information in this document applies to any platform.

Symptoms

When running Accrual Reconciliation Load Run Program for two Operating Units in the same time, it is running for a long time.


Steps to reproduce:
1. Navigate to Purchasing Responsibility
2. Requests
3. Submit request
4. Run: Accrual Reconciliation Load Run

Slow performing SQL:

-----------------
INSERT INTO CST_WRITE_OFFS (WRITE_OFF_ID, TRANSACTION_DATE,
ACCRUAL_ACCOUNT_ID, OFFSET_ACCOUNT_ID, WRITE_OFF_AMOUNT, ENTERED_AMOUNT,
CURRENCY_CODE, CURRENCY_CONVERSION_TYPE, CURRENCY_CONVERSION_RATE,
CURRENCY_CONVERSION_DATE, TRANSACTION_TYPE_CODE, PO_DISTRIBUTION_ID,
INVENTORY_TRANSACTION_ID, INVOICE_DISTRIBUTION_ID, REVERSAL_ID, REASON_ID,
COMMENTS, INVENTORY_ITEM_ID, VENDOR_ID, DESTINATION_TYPE_CODE,
OPERATING_UNIT_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN,
CREATION_DATE, CREATED_BY, REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID,
PROGRAM_UPDATE_DATE ) SELECT /*+ LEADING(CAA, PAWO, POD, POH, AAL, AIDA)
INDEX(AIDA AP_INVOICE_DISTRIBUTIONS_N26)
INDEX(AAL AP_AE_LINES_U1)*/ PAWO.WRITE_OFF_ID,
PAWO.WRITE_OFF_GL_DATE, PAWO.ACCRUAL_ACCOUNT_ID, NULL, -1 *
PAWO.TRANSACTION_AMOUNT, -1 * PAWO.ENTERED_TRANSACTION_AMOUNT,
PAWO.CURRENCY_CODE, PAWO.CURRENCY_CONVERSION_TYPE,
PAWO.CURRENCY_CONVERSION_RATE, PAWO.CURRENCY_CONVERSION_DATE,
PAWO.WRITE_OFF_CODE, PAWO.PO_DISTRIBUTION_ID, NULL, ..............

---------------------

Cause

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
Symptoms
Cause
Solution
References


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