Poor Performance When Searching For Transactions via form CEXCABMR (Doc ID 1296021.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Payables - Version: 11.5.10.2 and later   [Release: 11.5.10 and later ]
Information in this document applies to any platform.
$Header ceabrc1s.pls 115.16 2003/08/11 19:58:48 lkwan ship $
$Header ceabrc1b.pls 115.101 2008/11/26 06:04:55 ckansara ship $
$Header CEXCABMR.fmb 115.504 2010/06/29 02:17 ckansara ship $

Symptoms

You are experiencing very poor performance when searching for transactions in the Clear Transactions form (CEXCABMR.fmb).
 
Querying transactions in Cash Management (Bank Statement>Manual Clearing>Clear Transactions Choose any bank account number, then FIND) is taking 20 minutes for the transactions to be returned. The performance is experienced makes regardless of the number of transactions.

The traces will show the following as the longest running SQL:

INSERT INTO ce_available_transactions_tmp (ROW_ID, MULTI_SELECT,
BANK_ACCOUNT_ID, BANK_ACCOUNT_NAME, BANK_ACCOUNT_NUM, BANK_NAME,
BANK_BRANCH_NAME, TRX_ID, TRX_TYPE, TYPE_MEANING, TRX_NUMBER, CHECK_NUMBER,
CURRENCY_CODE, AMOUNT, BANK_ACCOUNT_AMOUNT, AMOUNT_CLEARED, GL_DATE,
STATUS_DSP, STATUS, DESCRIPTION, TRX_DATE, CLEARED_DATE, MATURITY_DATE,
EXCHANGE_RATE_DATE, EXCHANGE_RATE_TYPE, USER_EXCHANGE_RATE_TYPE,
EXCHANGE_RATE, BANK_CHARGES, BANK_ERRORS, BATCH_NAME, BATCH_ID, AGENT_NAME,
CUSTOMER_NAME, PAYMENT_METHOD, VENDOR_NAME, CUSTOMER_ID, SUPPLIER_ID,
REFERENCE_TYPE_DSP, REFERENCE_TYPE, REFERENCE_ID, ACTUAL_AMOUNT_CLEARED,
CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY,
REMITTANCE_NUMBER, CASH_RECEIPT_ID, APPLICATION_ID, COUNT_CLEARED,
BANK_CURRENCY_CODE, TRX_CURRENCY_TYPE, CODE_COMBINATION_ID, PERIOD_NAME,
JOURNAL_ENTRY_NAME, DOCUMENT_NUMBER, JOURNAL_ENTRY_LINE_NUMBER,
CLEARING_TRX_TYPE, JOURNAL_CATEGORY, BASE_AMOUNT, RECEIPT_CLASS_ID,
RECEIPT_METHOD_ID, RECEIPT_CLASS_NAME, DEPOSIT_DATE, VALUE_DATE,
REVERSED_RECEIPT_FLAG) SELECT ROW_ID, MULTI_SELECT, BANK_ACCOUNT_ID,
BANK_ACCOUNT_NAME, BANK_ACCOUNT_NUM, BANK_NAME, BANK_BRANCH_NAME, TRX_ID,
TRX_TYPE, TYPE_MEANING, TRX_NUMBER, CHECK_NUMBER, CURRENCY_CODE, AMOUNT,
BANK_ACCOUNT_AMOUNT, AMOUNT_CLEARED, GL_DATE, STATUS_DSP, STATUS, null,
TRX_DATE, CLEARED_DATE, MATURITY_DATE, EXCHANGE_RATE_DATE,
EXCHANGE_RATE_TYPE, USER_EXCHANGE_RATE_TYPE, EXCHANGE_RATE, BANK_CHARGES,
BANK_ERRORS, BATCH_NAME, BATCH_ID, AGENT_NAME, CUSTOMER_NAME,
PAYMENT_METHOD, VENDOR_NAME, CUSTOMER_ID, SUPPLIER_ID, REFERENCE_TYPE_DSP,
REFERENCE_TYPE, REFERENCE_ID, ACTUAL_AMOUNT_CLEARED, CREATION_DATE,
CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, REMITTANCE_NUMBER,
CASH_RECEIPT_ID, APPLICATION_ID, COUNT_CLEARED, BANK_CURRENCY_CODE,
TRX_CURRENCY_TYPE, CODE_COMBINATION_ID, PERIOD_NAME, JOURNAL_ENTRY_NAME,
DOCUMENT_NUMBER, JOURNAL_ENTRY_LINE_NUMBER, CLEARING_TRX_TYPE,
JOURNAL_CATEGORY, BASE_AMOUNT, RECEIPT_CLASS_ID, RECEIPT_METHOD_ID,
RECEIPT_CLASS_NAME, DEPOSIT_DATE, VALUE_DATE, REVERSED_RECEIPT_FLAG FROM
CE_222_TRANSACTIONS_V WHERE (bank_account_id = :bank_account_id) AND
(reversed_receipt_flag is null) and (CLEARING_TRX_TYPE <> 'XTR_LINE') AND
(trx_type = 'CASH')



Changes

NONE

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