R12:AP:PA: Supplier Merge Performance Issue
(Doc ID 2238006.1)
Last updated on DECEMBER 24, 2020
Applies to:
Oracle Payables - Version 12.1.3 to 12.2.9 [Release 12.1 to 12.2]Oracle Project Costing - Version 12.1.3 to 12.2.9 [Release 12.1 to 12.2]
Information in this document applies to any platform.
Symptoms
The Supplier Merge Program (APXINUPD) takes too long to complete. The following SQL shows excessive expense:
UPDATE PA_EXPENDITURES_ALL E
SET E.VENDOR_ID = :B3
,LAST_UPDATE_DATE = SYSDATE
,LAST_UPDATED_BY = FND_GLOBAL.USER_ID
,LAST_UPDATE_LOGIN =FND_GLOBAL.LOGIN_ID
WHERE E.VENDOR_ID = :B2
AND ORIG_EXP_TXN_REFERENCE1 = NVL(TO_CHAR(:B1 ), ORIG_EXP_TXN_REFERENCE1)
AND EXISTS ( SELECT 1
FROM AP_INVOICES_ALL I
WHERE INVOICE_ID = NVL(:B1 , INVOICE_ID)
AND INVOICE_ID = TO_NUMBER(ORIG_EXP_TXN_REFERENCE1)
AND VENDOR_ID = :B3
AND PAYMENT_STATUS_FLAG = DECODE (NVL (:B4 , 'Y'), 'N',
'N',I.PAYMENT_STATUS_FLAG) ) RETURNING EXPENDITURE_ID INTO :O0
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 |