Sei sulla pagina 1di 34

TKPROF: Release 10.2.0.4.

0 - Production on Thu Dec 9 03:29:32 2010

Copyright (c) 1982, 2007, Oracle. All rights reserved.

Trace file: ././gsipstgb_ora_26914_352497_CR12985083.trc


Sort options: exeela prsela fchela
********************************************************************************
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
********************************************************************************

DELETE FROM AR_PAYMENTS_INTERFACE


WHERE
TRANSMISSION_ID = :b1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 2 0 0
Execute 1 0.02 0.22 24 1698 908 61
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.03 0.22 24 1700 908 61

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
0 DELETE AR_PAYMENTS_INTERFACE_ALL (cr=1696 pr=23 pw=0 time=216016 us)
61 TABLE ACCESS FULL AR_PAYMENTS_INTERFACE_ALL (cr=1681 pr=0 pw=0 time=3625
us)

Rows Execution Plan


------- ---------------------------------------------------
0 DELETE STATEMENT MODE: ALL_ROWS
0 DELETE OF 'AR_PAYMENTS_INTERFACE_ALL'
61 TABLE ACCESS MODE: ANALYZED (FULL) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
db file sequential read 23 0.02 0.19
********************************************************************************

SELECT message_name st_message_name,


message_number st_message_number
FROM fnd_new_messages
WHERE application_id = '222'
/* AND language_code = :p_language_code */
AND message_name like 'AR_PLB%'
AND message_name not in ( 'AR_PLB_APP_OK',
'AR_PLB_AUTOASSOC',
'AR_PLB_CONTROLS_OK',
'AR_PLB_CURRENCY_OK',
'AR_PLB_CUST_OK',
'AR_PLB_GL_DATE_OK',
'AR_PLB_INV_OK',
'AR_PLB_MICR_OK',
'AR_PLB_NEW_RECORD',
'AR_PLB_NOT_DUP_RECEIPT',
'AR_PLB_NO_CUST',
'AR_PLB_PASSED_TRIM',
'AR_PLB_PRIMARY_LOCATION',
'AR_PLB_RECEIPT_METHOD_OK',
'AR_PLB_RECEIPT_OK',
'AR_PLB_TRANSFERRED',
'AR_PLB_VALID_LOCATION',
'AR_PLB_ALT_MATCH_CONFIRMED',
'AR_PLB_ALT_MATCH_MANUAL',
'AR_PLB_ALT_MATCH_MULTIPLE',
'AR_PLB_ALT_MATCH_NONE',
'AR_PLB_ALT_MATCH_VERIFY'
)
ORDER BY message_number

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.01 0.16 37 51 0 70
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.01 0.16 37 51 0 70

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
70 SORT ORDER BY (cr=51 pr=37 pw=0 time=162660 us)
70 TABLE ACCESS BY INDEX ROWID FND_NEW_MESSAGES (cr=51 pr=37 pw=0
time=194152 us)
70 INDEX RANGE SCAN FND_NEW_MESSAGES_PK (cr=33 pr=30 pw=0 time=99794 us)
(object id 34367)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
70 SORT (ORDER BY)
70 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'FND_NEW_MESSAGES' (TABLE)
70 INDEX MODE: ANALYZED (RANGE SCAN) OF 'FND_NEW_MESSAGES_PK'
(INDEX (UNIQUE))
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
db file sequential read 37 0.01 0.15
SQL*Net more data to client 1 0.00 0.00
SQL*Net message from client 2 0.00 0.00
********************************************************************************

SELECT SUM(DECODE(STATUS,'AR_PLB_BAD_CUST_NUM',1,0)) INVALID_CUST_NUM,


SUM(DECODE(CUSTOMER_NUMBER, NULL ,0,DECODE(CUSTOMER_ID, NULL ,0,1)))
VALID_CUST_NUM,SUM(DECODE(CUSTOMER_ID, NULL ,0,1)) IDENTIFIED1,
SUM(DECODE(CUSTOMER_ID, NULL ,1,0)) UNIDENTIFIED,SUM(DECODE(STATUS,
'AR_PLB_DUP_PMT',1,0)) DUPLICATE,SUM(DECODE(STATUS,'AR_PLB_DUP_PMT',0,1))
NONDUPLICATE,SUM(DECODE(STATUS,'AR_PLB_INVALID_RECEIPT_METHOD',1,0))
INVALID_REC_METHOD,SUM(DECODE(STATUS,'AR_PLB_INVALID_RECEIPT_METHOD',0,1))
VALID_REC_METHOD,SUM(DECODE(CUSTOMER_ID, NULL ,0,DECODE(STATUS,
'AR_PLB_APP_OK',1,'AR_PLB_TRANSFERRED',1,0))) VALID_APPLICATION,
SUM(DECODE(CUSTOMER_ID, NULL ,0,DECODE(STATUS,'AR_PLB_INVALID_RECEIPT',1,
'AR_PLB_REMIT_EXCEEDED',1,0))) INVALID_APPLICATION,SUM(DECODE(STATUS,
'AR_PLB_INVALID_LOCATION',0,1)) VALID_LOCATION,SUM(DECODE(STATUS,
'AR_PLB_INVALID_LOCATION',1,0)) INVALID_LOCATION,SUM(DECODE(STATUS,
'AR_PLB_CURRENCY_BAD',0,'AR_PLB_CURRENCY_DISABLED',0,
'AR_PLB_INVALID_CURRENCY',0,1)) VALID_CURRENCY,SUM(DECODE(STATUS,
'AR_PLB_CURRENCY_BAD',1,'AR_PLB_CURRENCY_DISABLED',1,
'AR_PLB_INVALID_CURRENCY',1,0)) INVALID_CURRENCY
FROM
AR_PAYMENTS_INTERFACE PI WHERE TRANSMISSION_ID = :b1 AND RECORD_TYPE = :b2
AND (LOCKBOX_NUMBER = :b3 OR PI.BATCH_NAME IN (SELECT BATCH_NAME FROM
AR_PAYMENTS_INTERFACE WHERE LOCKBOX_NUMBER = :b3 ) OR :b5 = 'N' )
ORDER BY PI.LOCKBOX_NUMBER,PI.TRANSMISSION_RECORD_ID

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 2 4 0 0
Execute 1 0.00 0.00 2 4 0 0
Fetch 1 0.00 0.14 37 153 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.01 0.16 41 161 0 1

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
1 SORT AGGREGATE (cr=153 pr=37 pw=0 time=146691 us)
14 FILTER (cr=153 pr=37 pw=0 time=364687 us)
14 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=8 pr=0 pw=0
time=416 us)
14 INDEX RANGE SCAN AR_PAYMENTS_INTERFACE_N6 (cr=2 pr=0 pw=0 time=69 us)
(object id 364283)
2 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=145 pr=37 pw=0
time=146314 us)
92 INDEX SKIP SCAN AR_PAYMENTS_INTERFACE_N6 (cr=68 pr=37 pw=0 time=125750
us)(object id 364283)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 SORT (AGGREGATE)
14 FILTER
14 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
14 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_PAYMENTS_INTERFACE_N6' (INDEX)
2 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
92 INDEX MODE: ANALYZED (SKIP SCAN) OF
'AR_PAYMENTS_INTERFACE_N6' (INDEX)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
db file sequential read 37 0.01 0.14
SQL*Net more data from client 1 0.00 0.00
********************************************************************************

select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_obj#,
nvl(property,0),subname,d_attrs
from
dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 8 0.00 0.12 12 28 0 7
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 10 0.00 0.12 12 28 0 7

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
7 SORT ORDER BY (cr=28 pr=12 pw=0 time=129786 us)
7 NESTED LOOPS OUTER (cr=28 pr=12 pw=0 time=52897 us)
7 TABLE ACCESS BY INDEX ROWID DEPENDENCY$ (cr=5 pr=4 pw=0 time=52574 us)
7 INDEX RANGE SCAN I_DEPENDENCY1 (cr=4 pr=3 pw=0 time=39169 us)(object id
116)
7 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=23 pr=8 pw=0 time=63334 us)
7 INDEX UNIQUE SCAN I_OBJ1 (cr=16 pr=4 pw=0 time=22861 us)(object id 33)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 12 0.02 0.12
********************************************************************************

select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,i.property,
i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i.distkey,i.lblkkey,
i.dblkkey,i.clufac,i.cols,i.analyzetime,i.samplesize,i.dataobj#,
nvl(i.degree,1),nvl(i.instances,1),i.rowcnt,mod(i.pctthres$,256),
i.indmethod#,i.trunccnt,nvl(c.unicols,0),nvl(c.deferrable#+c.valid#,0),
nvl(i.spare1,i.intcols),i.spare4,i.spare2,i.spare6,decode(i.pctthres$,null,
null,mod(trunc(i.pctthres$/256),256)),ist.cachedblk,ist.cachehit,
ist.logicalread
from
ind$ i, ind_stats$ ist, (select enabled, min(cols) unicols,
min(to_number(bitand(defer,1))) deferrable#,min(to_number(bitand(defer,4)))
valid# from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where
i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and i.bo#=:1 order by i.obj#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.05 4 10 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 4 0.00 0.05 4 10 0 1

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
1 SORT ORDER BY (cr=10 pr=4 pw=0 time=58399 us)
1 HASH JOIN OUTER (cr=10 pr=4 pw=0 time=58344 us)
1 NESTED LOOPS OUTER (cr=7 pr=3 pw=0 time=41505 us)
1 TABLE ACCESS CLUSTER IND$ (cr=6 pr=3 pw=0 time=41474 us)
1 INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 time=34 us)(object id 3)
0 TABLE ACCESS BY INDEX ROWID IND_STATS$ (cr=1 pr=0 pw=0 time=18 us)
0 INDEX UNIQUE SCAN I_IND_STATS$_OBJ# (cr=1 pr=0 pw=0 time=11 us)(object
id 376894)
0 VIEW (cr=3 pr=1 pw=0 time=16489 us)
0 SORT GROUP BY (cr=3 pr=1 pw=0 time=16483 us)
0 TABLE ACCESS CLUSTER CDEF$ (cr=3 pr=1 pw=0 time=16441 us)
1 INDEX UNIQUE SCAN I_COBJ# (cr=2 pr=0 pw=0 time=21 us)(object id 27)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 4 0.01 0.05
********************************************************************************

select type#,blocks,extents,minexts,maxexts,extsize,extpct,user#,iniexts,
NVL(lists,65535),NVL(groups,65535),cachehint,hwmincr, NVL(spare1,0),
NVL(scanhint,0)
from
seg$ where ts#=:1 and file#=:2 and block#=:3
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.04 5 8 0 2
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 6 0.00 0.04 5 8 0 2

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS CLUSTER SEG$ (cr=4 pr=3 pw=0 time=21155 us)
1 INDEX UNIQUE SCAN I_FILE#_BLOCK# (cr=3 pr=2 pw=0 time=19240 us)(object id
9)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 5 0.01 0.04
********************************************************************************

select order#,columns,types
from
access$ where d_obj#=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 7 0.00 0.04 3 15 0 6
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 9 0.00 0.04 3 15 0 6

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
6 TABLE ACCESS BY INDEX ROWID ACCESS$ (cr=15 pr=3 pw=0 time=42660 us)
6 INDEX RANGE SCAN I_ACCESS1 (cr=9 pr=2 pw=0 time=29497 us)(object id 118)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 3 0.01 0.04
********************************************************************************

select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#,


sample_size, minimum, maximum, distcnt, lowval, hival, density, col#,
spare1, spare2, avgcln
from
hist_head$ where obj#=:1 and intcol#=:2
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.04 4 8 0 2
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 5 0.00 0.04 4 8 0 2

Misses in library cache during parse: 0


Optimizer mode: RULE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
2 TABLE ACCESS BY INDEX ROWID HIST_HEAD$ (cr=8 pr=4 pw=0 time=42156 us)
2 INDEX RANGE SCAN I_HH_OBJ#_INTCOL# (cr=6 pr=2 pw=0 time=14191 us)(object
id 194)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 4 0.01 0.04
********************************************************************************

select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece


from
idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by piece#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 4 0.00 0.04 3 12 0 2
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 8 0.00 0.04 3 12 0 2

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID IDL_SB4$ (cr=5 pr=0 pw=0 time=69 us)
1 INDEX RANGE SCAN I_IDL_SB41 (cr=4 pr=0 pw=0 time=56 us)(object id 113)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 3 0.01 0.04
********************************************************************************

SELECT MEANING
FROM
AR_LOOKUPS WHERE LOOKUP_TYPE = 'LB_REPORT_FORMAT' AND LOOKUP_CODE = :b1
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 1 2 0 0
Execute 1 0.00 0.00 1 2 0 0
Fetch 1 0.00 0.02 3 4 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.03 5 8 0 1

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=4 pr=3 pw=0 time=22598
us)
1 INDEX UNIQUE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=2 pw=0 time=13063 us)
(object id 34010)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'FND_LOOKUP_VALUES' (TABLE)
1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'FND_LOOKUP_VALUES_U1'
(INDEX (UNIQUE))

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
db file sequential read 3 0.01 0.02
********************************************************************************

select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece


from
idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 4 0.00 0.02 2 16 0 4
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 8 0.00 0.02 2 16 0 4

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
2 TABLE ACCESS BY INDEX ROWID IDL_UB1$ (cr=6 pr=0 pw=0 time=30 us)
2 INDEX RANGE SCAN I_IDL_UB11 (cr=4 pr=0 pw=0 time=24 us)(object id 110)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 2 0.01 0.02
********************************************************************************

select intcol#,nvl(pos#,0),col#,nvl(spare1,0)
from
ccol$ where con#=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 10 0.00 0.00 0 0 0 0
Fetch 20 0.00 0.02 2 40 0 10
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 31 0.00 0.02 2 40 0 10

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID CCOL$ (cr=4 pr=1 pw=0 time=10421 us)
1 INDEX RANGE SCAN I_CCOL1 (cr=3 pr=1 pw=0 time=10415 us)(object id 51)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 2 0.01 0.02
********************************************************************************

select audit$,options
from
procedure$ where obj#=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.02 2 3 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.02 2 3 0 1

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID PROCEDURE$ (cr=3 pr=2 pw=0 time=21668 us)
1 INDEX UNIQUE SCAN I_PROCEDURE1 (cr=2 pr=1 pw=0 time=9314 us)(object id
107)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 2 0.01 0.02
********************************************************************************

begin :X0 := FND_MESSAGE.GET; end;

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 2 0
Execute 70 0.02 0.02 0 414 0 70
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 71 0.02 0.02 0 414 2 70

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 71 0.00 0.00
SQL*Net message from client 71 0.00 0.09
********************************************************************************

SELECT COUNT(*)
FROM
FV_OPERATING_UNITS_ALL WHERE ORGANIZATION_ID = NVL(:B1 ,0) AND ENABLED = 'Y'
#
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.01 0.00 0 0 0 0
Fetch 1 0.00 0.01 1 1 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.01 0.02 1 1 0 1

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS) (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
1 SORT AGGREGATE (cr=1 pr=1 pw=0 time=11990 us)
0 TABLE ACCESS BY INDEX ROWID FV_OPERATING_UNITS_ALL (cr=1 pr=1 pw=0
time=11963 us)
0 INDEX UNIQUE SCAN FV_OPERATING_UNITS_U1 (cr=1 pr=1 pw=0 time=11955 us)
(object id 108217)
Rows Execution Plan
------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 SORT (AGGREGATE)
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'FV_OPERATING_UNITS_ALL' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'FV_OPERATING_UNITS_U1' (INDEX (UNIQUE))

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.01 0.01
********************************************************************************

select count(*) rec_count,


fnd_message.get_string('AR', pi.status) status_text
from ar_payments_interface pi
where pi.transmission_id = :p_transmission_id
group by fnd_message.get_string('AR', pi.status), pi.status
order by pi.status

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.01 0.02 0 1681 0 2
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.01 0.02 0 1681 0 2

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
2 SORT GROUP BY (cr=1693 pr=2 pw=0 time=43961 us)
61 TABLE ACCESS FULL AR_PAYMENTS_INTERFACE_ALL (cr=1681 pr=0 pw=0 time=3993
us)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
2 SORT (GROUP BY)
61 TABLE ACCESS MODE: ANALYZED (FULL) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

select grantee#,privilege#,nvl(col#,0),max(mod(nvl(option$,0),2))
from
objauth$ where obj#=:1 group by grantee#,privilege#,nvl(col#,0) order by
grantee#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 12 0.00 0.01 2 5 0 11
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 14 0.00 0.01 2 5 0 11

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
11 SORT GROUP BY (cr=5 pr=2 pw=0 time=18175 us)
11 TABLE ACCESS BY INDEX ROWID OBJAUTH$ (cr=5 pr=2 pw=0 time=416 us)
11 INDEX RANGE SCAN I_OBJAUTH1 (cr=3 pr=0 pw=0 time=52 us)(object id 100)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 2 0.01 0.01
********************************************************************************

SELECT pi.transmission_id tr_transmission_id,


pi.lockbox_number tr_lb_number_no_disp,
pi.batch_name tr_batch_name_no_disp,
pi.item_number tr_item_number_no_disp,
pi.status tr_status,
pi.record_type tr_record_type,
pi.origination tr_origination,
pi.destination_account tr_dest_acc,
pi.transmission_record_count tr_tr_rec_count,
decode
(:p_format_trans_amount,
'Y', round(pi.transmission_amount/
power(10, nvl(fc.precision,0)),
nvl(fc.precision,0)),
pi.transmission_amount
) tr_trans_amount,
to_char(pi.deposit_date, 'DD-MON-YYYY') tr_depo_date,
to_char(pi.gl_date, 'DD-MON-YYYY') tr_gl_date,
pi.lockbox_number tr_lb_number,
pi.lockbox_batch_count tr_lb_batch_count,
pi.lockbox_record_count tr_lb_record_count,
decode
(:p_format_lb_amount,
'Y', round(pi.lockbox_amount/power(10, nvl(fc.precision,0)),
nvl(fc.precision,0)),
pi.lockbox_amount
) tr_lb_amount,
pi.batch_name tr_batch_name,
pi.batch_record_count tr_batch_rec_count,
decode
(:p_format_batch_amount,
'Y', round(pi.batch_amount/power(10, nvl(fc.precision,0)),
nvl(fc.precision,0)),
pi.batch_amount
) tr_batch_amount,
pi.check_number tr_receipt_num,
pi.item_number tr_item_num,
fc.currency_code tr_curr_code,
nvl( fc.currency_code, :p_functional_currency_code)
tr_format_curr_code,
dct.user_conversion_type tr_exch_rate_type,
pi.exchange_rate tr_exch_rate,
pi.overflow_sequence tr_overflow_seq,
pi.overflow_indicator tr_overflow_ind,
decode
(:p_format_remit_amount,
'Y', round(pi.remittance_amount/power(10,
nvl(fc.precision,0)),
nvl(fc.precision,0)),
pi.remittance_amount
) tr_remit_amount,
pi.customer_number tr_cust_num,
cust_acct.account_number tr_identified_cust_num,
pi.transit_routing_number||' '||pi.account tr_micr_num,
to_char(pi.receipt_date, 'DD-MON-YYYY') tr_receipt_date,
pi.receipt_method tr_receipt_method,
pi.bill_to_location tr_bill_location,
site.location tr_identified_bill_location,
pi.match_resolved_using tr_match_resolved_using,
decode(pi.status,
'AR_PLB_APP_OK', 'N',
'AR_PLB_AUTOASSOC', 'N',
'AR_PLB_CONTROLS_OK', 'N',
'AR_PLB_CURRENCY_OK', 'N',
'AR_PLB_CUST_OK', 'N',
'AR_PLB_GL_DATE_OK', 'N',
'AR_PLB_INV_OK', 'N',
'AR_PLB_MICR_OK', 'N',
'AR_PLB_NEW_RECORD', 'N',
'AR_PLB_NOT_DUP_RECEIPT', 'N',
'AR_PLB_NO_CUST', 'N',
'AR_PLB_PASSED_TRIM', 'N',
'AR_PLB_RECEIPT_METHOD_OK', 'N',
'AR_PLB_TRANSFERRED', 'N',
'E') tr_error_flag,
decode(pi.record_type,
:p_payment_rec_type, decode(special_type,
'UNIDENTIFIED', 'Y', 'N'))
tr_unid_flag,
pi.resolved_matching_number1 tr_inv1,
pi.resolved_matching_number2 tr_inv2,
pi.resolved_matching_number3 tr_inv3,
pi.resolved_matching_number4 tr_inv4,
pi.resolved_matching_number5 tr_inv5,
pi.resolved_matching_number6 tr_inv6,
pi.resolved_matching_number7 tr_inv7,
pi.resolved_matching_number8 tr_inv8,
decode( sign(pi.resolved_matching1_installment), 1,
pi.resolved_matching1_installment, NULL) tr_inv1_inst,
decode( sign (pi.resolved_matching2_installment), 1,
pi.resolved_matching2_installment, NULL) tr_inv2_inst,
decode( sign(pi.resolved_matching3_installment), 1,
pi.resolved_matching3_installment, NULL) tr_inv3_inst,
decode( sign(pi.resolved_matching4_installment),1,
pi.resolved_matching4_installment, NULL) tr_inv4_inst,
decode( sign(pi.resolved_matching5_installment),1,
pi.resolved_matching5_installment, NULL) tr_inv5_inst,
decode( sign(pi.resolved_matching6_installment),1,
pi.resolved_matching6_installment, NULL) tr_inv6_inst,
decode( sign(pi.resolved_matching7_installment),1,
pi.resolved_matching7_installment, NULL) tr_inv7_inst,
decode( sign(pi.resolved_matching8_installment),1,
pi.resolved_matching8_installment, NULL) tr_inv8_inst,
to_char(pi.resolved_matching1_date, 'DD-MON-YYYY') tr_inv1_date,
to_char(pi.resolved_matching2_date, 'DD-MON-YYYY') tr_inv2_date,
to_char(pi.resolved_matching3_date, 'DD-MON-YYYY') tr_inv3_date,
to_char(pi.resolved_matching4_date, 'DD-MON-YYYY') tr_inv4_date,
to_char(pi.resolved_matching5_date, 'DD-MON-YYYY') tr_inv5_date,
to_char(pi.resolved_matching6_date, 'DD-MON-YYYY') tr_inv6_date,
to_char(pi.resolved_matching7_date, 'DD-MON-YYYY') tr_inv7_date,
to_char(pi.resolved_matching8_date, 'DD-MON-YYYY') tr_inv8_date,
pi.amount_applied1 tr_inv1_amt_app,
pi.amount_applied2 tr_inv2_amt_app,
pi.amount_applied3 tr_inv3_amt_app,
pi.amount_applied4 tr_inv4_amt_app,
pi.amount_applied5 tr_inv5_amt_app,
pi.amount_applied6 tr_inv6_amt_app,
pi.amount_applied7 tr_inv7_amt_app,
pi.amount_applied8 tr_inv8_amt_app,
pi.amount_applied_from1 tr_inv1_amt_app_from,
pi.amount_applied_from2 tr_inv2_amt_app_from,
pi.amount_applied_from3 tr_inv3_amt_app_from,
pi.amount_applied_from4 tr_inv4_amt_app_from,
pi.amount_applied_from5 tr_inv5_amt_app_from,
pi.amount_applied_from6 tr_inv6_amt_app_from,
pi.amount_applied_from7 tr_inv7_amt_app_from,
pi.amount_applied_from8 tr_inv8_amt_app_from,
pi.trans_to_receipt_rate1 tr_trans1_receipt_rate,
pi.trans_to_receipt_rate2 tr_trans2_receipt_rate,
pi.trans_to_receipt_rate3 tr_trans3_receipt_rate,
pi.trans_to_receipt_rate4 tr_trans4_receipt_rate,
pi.trans_to_receipt_rate5 tr_trans5_receipt_rate,
pi.trans_to_receipt_rate6 tr_trans6_receipt_rate,
pi.trans_to_receipt_rate7 tr_trans7_receipt_rate,
pi.trans_to_receipt_rate8 tr_trans8_receipt_rate,
pi.invoice1_status tr_inv1_status,
pi.invoice2_status tr_inv2_status,
pi.invoice3_status tr_inv3_status,
pi.invoice4_status tr_inv4_status,
pi.invoice5_status tr_inv5_status,
pi.invoice6_status tr_inv6_status,
pi.invoice7_status tr_inv7_status,
pi.invoice8_status tr_inv8_status,
pi.invoice1 tr_org_match_num1,
pi.invoice2 tr_org_match_num2,
pi.invoice3 tr_org_match_num3,
pi.invoice4 tr_org_match_num4,
pi.invoice5 tr_org_match_num5,
pi.invoice6 tr_org_match_num6,
pi.invoice7 tr_org_match_num7,
pi.invoice8 tr_org_match_num8,
pi.matching1_date tr_org_match1_date,
pi.matching2_date tr_org_match2_date,
pi.matching3_date tr_org_match3_date,
pi.matching4_date tr_org_match4_date,
pi.matching5_date tr_org_match5_date,
pi.matching6_date tr_org_match6_date,
pi.matching7_date tr_org_match7_date,
pi.matching8_date tr_org_match8_date
FROM ar_payments_interface pi,
hz_cust_accounts cust_acct,
hz_cust_site_uses site,
fnd_currencies fc,
gl_daily_conversion_types dct
WHERE pi.transmission_id = :p_transmission_id
AND nvl(pi.currency_code,:p_functional_currency_code) =
fc.currency_code(+)
AND pi.exchange_rate_type = dct.conversion_type(+)
AND pi.customer_id = cust_acct.cust_account_id(+)
AND pi.customer_site_use_id = site.site_use_id(+)
AND ((:p_report_format = 'A' ) or
decode(pi.status,
'AR_PLB_APP_OK', 'N',
'AR_PLB_AUTOASSOC', 'N',
'AR_PLB_CONTROLS_OK', 'N',
'AR_PLB_CURRENCY_OK', 'N',
'AR_PLB_CUST_OK', 'N',
'AR_PLB_GL_DATE_OK', 'N',
'AR_PLB_INV_OK', 'N',
'AR_PLB_MICR_OK', 'N',
'AR_PLB_NEW_RECORD', 'N',
'AR_PLB_NOT_DUP_RECEIPT', 'N',
'AR_PLB_NO_CUST', 'N',
'AR_PLB_PASSED_TRIM', 'N',
'AR_PLB_RECEIPT_METHOD_OK', 'N',
'AR_PLB_TRANSFERRED', 'N',
'E') = 'E')
ORDER BY 1, 2 desc, 3 desc, 4 desc,
decode(pi.record_type,
:p_service_hdr_rec_type, 1,
:p_trans_hdr_rec_type, 2,
:p_trans_trl_rec_type, 3,
:p_lb_hdr_rec_type, 5,
:p_lb_trl_rec_type, 6,
:p_batch_hdr_rec_type, 7,
:p_batch_trl_rec_type, 8,
:p_payment_rec_type, 9,
:p_overflow_rec_type, 10, 100),
overflow_sequence,
pi.lockbox_number,
pi.batch_name,
pi.item_number,
pi.deposit_date

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.02 0.01 0 1681 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.02 0.01 0 1681 0 0

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
0 SORT ORDER BY (cr=1681 pr=0 pw=0 time=17689 us)
0 NESTED LOOPS OUTER (cr=1681 pr=0 pw=0 time=17599 us)
0 NESTED LOOPS OUTER (cr=1681 pr=0 pw=0 time=17593 us)
0 NESTED LOOPS OUTER (cr=1681 pr=0 pw=0 time=17589 us)
0 NESTED LOOPS OUTER (cr=1681 pr=0 pw=0 time=17584 us)
0 TABLE ACCESS FULL AR_PAYMENTS_INTERFACE_ALL (cr=1681 pr=0 pw=0
time=17578 us)
0 TABLE ACCESS BY INDEX ROWID GL_DAILY_CONVERSION_TYPES (cr=0 pr=0 pw=0
time=0 us)
0 INDEX UNIQUE SCAN GL_DAILY_CONVERSION_TYPES_U1 (cr=0 pr=0 pw=0
time=0 us)(object id 35816)
0 TABLE ACCESS BY INDEX ROWID FND_CURRENCIES (cr=0 pr=0 pw=0 time=0 us)
0 INDEX UNIQUE SCAN FND_CURRENCIES_U1 (cr=0 pr=0 pw=0 time=0 us)(object
id 34303)
0 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=0 pr=0 pw=0 time=0 us)
0 INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=0 pr=0 pw=0 time=0 us)
(object id 81392)
0 TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=0 pr=0 pw=0 time=0
us)
0 INDEX UNIQUE SCAN HZ_CUST_SITE_USES_U1 (cr=0 pr=0 pw=0 time=0 us)
(object id 172676)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
0 SORT (ORDER BY)
0 NESTED LOOPS (OUTER)
0 NESTED LOOPS (OUTER)
0 NESTED LOOPS (OUTER)
0 NESTED LOOPS (OUTER)
0 TABLE ACCESS MODE: ANALYZED (FULL) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'GL_DAILY_CONVERSION_TYPES' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'GL_DAILY_CONVERSION_TYPES_U1' (INDEX (UNIQUE))
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'FND_CURRENCIES' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'FND_CURRENCIES_U1' (INDEX (UNIQUE))
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'HZ_CUST_ACCOUNTS' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'HZ_CUST_ACCOUNTS_U1' (INDEX (UNIQUE))
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'HZ_CUST_SITE_USES_ALL' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'HZ_CUST_SITE_USES_U1' (INDEX (UNIQUE))

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net more data to client 3 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

UPDATE AR_PAYMENTS_INTERFACE SET RESOLVED_MATCHING_NUMBER1=


DECODE(RESOLVED_MATCHING_NUMBER1, NULL ,DECODE(INVOICE1, NULL , NULL ,
INVOICE1),RESOLVED_MATCHING_NUMBER1),RESOLVED_MATCHING_NUMBER2=
DECODE(RESOLVED_MATCHING_NUMBER2, NULL ,DECODE(INVOICE2, NULL , NULL ,
INVOICE2),RESOLVED_MATCHING_NUMBER2),RESOLVED_MATCHING_NUMBER3=
DECODE(RESOLVED_MATCHING_NUMBER3, NULL ,DECODE(INVOICE3, NULL , NULL ,
INVOICE3),RESOLVED_MATCHING_NUMBER3),RESOLVED_MATCHING_NUMBER4=
DECODE(RESOLVED_MATCHING_NUMBER4, NULL ,DECODE(INVOICE4, NULL , NULL ,
INVOICE4),RESOLVED_MATCHING_NUMBER4),RESOLVED_MATCHING_NUMBER5=
DECODE(RESOLVED_MATCHING_NUMBER5, NULL ,DECODE(INVOICE5, NULL , NULL ,
INVOICE5),RESOLVED_MATCHING_NUMBER5),RESOLVED_MATCHING_NUMBER6=
DECODE(RESOLVED_MATCHING_NUMBER6, NULL ,DECODE(INVOICE6, NULL , NULL ,
INVOICE6),RESOLVED_MATCHING_NUMBER6),RESOLVED_MATCHING_NUMBER7=
DECODE(RESOLVED_MATCHING_NUMBER7, NULL ,DECODE(INVOICE7, NULL , NULL ,
INVOICE7),RESOLVED_MATCHING_NUMBER7),RESOLVED_MATCHING_NUMBER8=
DECODE(RESOLVED_MATCHING_NUMBER8, NULL ,DECODE(INVOICE8, NULL , NULL ,
INVOICE8),RESOLVED_MATCHING_NUMBER8)
WHERE
TRANSMISSION_ID = :b1 AND RECORD_TYPE IN ( :b2,:b3 )

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 1 2 0 0
Execute 1 0.01 0.01 1 38 88 53
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.01 0.01 2 40 88 53

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
0 UPDATE AR_PAYMENTS_INTERFACE_ALL (cr=40 pr=0 pw=0 time=2108 us)
53 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=40 pr=0 pw=0
time=991 us)
53 INDEX RANGE SCAN AR_PAYMENTS_INTERFACE_N6 (cr=2 pr=0 pw=0 time=97 us)
(object id 364283)

Rows Execution Plan


------- ---------------------------------------------------
0 UPDATE STATEMENT MODE: ALL_ROWS
0 UPDATE OF 'AR_PAYMENTS_INTERFACE_ALL'
53 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
53 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_PAYMENTS_INTERFACE_N6' (INDEX)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.07 0.08
********************************************************************************

SELECT nvl(to_char(max(pi.deposit_date), 'DD-MON-YYYY'),' ') depo_date,


nvl(max(pi.deposit_time),' ') depo_time,
t.origin bank_origin,
t.destination dest_account,
t.validated_count validated_count_to_date,
(t.validated_count - :p_previous_validated_count)
validated_count_this_run,
t.validated_amount vc_validated_amount_to_date,
sum(decode
( pi.status,
'AR_PLB_TRANSFERRED',
decode
(
:p_format_remit_amount,
'Y', round
( pi.remittance_amount/
power(10, nvl(fc.precision,0)),
nvl(fc.precision,0)
),
pi.remittance_amount
),
0
)
) vc_validated_amount_this_run,
nvl(to_char(count),' ') total_record_count,
t.amount vc_transmission_amount
FROM ar_transmissions t,
ar_payments_interface pi,
fnd_currencies fc
WHERE t.transmission_id = pi.transmission_id
AND nvl(pi.currency_code, :p_functional_currency_code) =
fc.currency_code(+)
AND pi.transmission_id = :p_transmission_id
GROUP BY t.origin, t.destination, count, t.amount,
t.validated_count, t.validated_amount

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.01 0.01 0 1747 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.01 0.01 0 1747 0 1

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)
Rows Row Source Operation
------- ---------------------------------------------------
1 HASH GROUP BY (cr=1747 pr=0 pw=0 time=16750 us)
61 NESTED LOOPS OUTER (cr=1747 pr=0 pw=0 time=5250 us)
61 NESTED LOOPS (cr=1684 pr=0 pw=0 time=3884 us)
1 TABLE ACCESS BY INDEX ROWID AR_TRANSMISSIONS_ALL (cr=3 pr=0 pw=0
time=89 us)
1 INDEX UNIQUE SCAN AR_TRANSMISSIONS_U1 (cr=2 pr=0 pw=0 time=25 us)
(object id 28516)
61 TABLE ACCESS FULL AR_PAYMENTS_INTERFACE_ALL (cr=1681 pr=0 pw=0
time=3617 us)
61 TABLE ACCESS BY INDEX ROWID FND_CURRENCIES (cr=63 pr=0 pw=0 time=1105
us)
61 INDEX UNIQUE SCAN FND_CURRENCIES_U1 (cr=2 pr=0 pw=0 time=496 us)(object
id 34303)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 HASH (GROUP BY)
61 NESTED LOOPS (OUTER)
61 NESTED LOOPS
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_TRANSMISSIONS_ALL' (TABLE)
1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'AR_TRANSMISSIONS_U1' (INDEX (UNIQUE))
61 TABLE ACCESS MODE: ANALYZED (FULL) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
61 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'FND_CURRENCIES' (TABLE)
61 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'FND_CURRENCIES_U1' (INDEX (UNIQUE))

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$, spare1,


spare2
from
obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null
and linkname is null and subname is null

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.01 1 4 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.01 1 4 0 1

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID OBJ$ (cr=4 pr=1 pw=0 time=16171 us)
1 INDEX RANGE SCAN I_OBJ2 (cr=3 pr=0 pw=0 time=25 us)(object id 34)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.01 0.01
********************************************************************************

UPDATE AR_TRANSMISSIONS T SET T.VALIDATED_COUNT=(SELECT T.VALIDATED_COUNT +


COUNT(*) FROM AR_PAYMENTS_INTERFACE PI
WHERE
PI.TRANSMISSION_ID = :b1 AND PI.RECORD_TYPE NOT IN ( :b2,:b3 ) AND
PI.STATUS = 'AR_PLB_GL_DATE_OK' ) WHERE T.TRANSMISSION_ID = :b1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 2 4 0 0
Execute 1 0.00 0.00 2 5 4 1
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.01 0.01 4 9 4 1

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
1 UPDATE AR_TRANSMISSIONS_ALL (cr=9 pr=0 pw=0 time=423 us)
1 TABLE ACCESS BY INDEX ROWID AR_TRANSMISSIONS_ALL (cr=3 pr=0 pw=0 time=84
us)
1 INDEX UNIQUE SCAN AR_TRANSMISSIONS_U1 (cr=2 pr=0 pw=0 time=31 us)(object
id 28516)
1 SORT AGGREGATE (cr=6 pr=0 pw=0 time=124 us)
8 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=6 pr=0 pw=0
time=105 us)
8 INDEX RANGE SCAN AR_PAYMENTS_INTERFACE_N5 (cr=3 pr=0 pw=0 time=38 us)
(object id 364282)

Rows Execution Plan


------- ---------------------------------------------------
0 UPDATE STATEMENT MODE: ALL_ROWS
1 UPDATE OF 'AR_TRANSMISSIONS_ALL'
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_TRANSMISSIONS_ALL' (TABLE)
1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'AR_TRANSMISSIONS_U1' (INDEX (UNIQUE))
1 SORT (AGGREGATE)
8 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
8 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_PAYMENTS_INTERFACE_N5' (INDEX)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
********************************************************************************

select text
from
view$ where rowid=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 18 0.00 0.00 0 0 0 0
Execute 18 0.00 0.00 0 0 0 0
Fetch 18 0.00 0.01 18 36 0 18
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 54 0.01 0.01 18 36 0 18

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY USER ROWID VIEW$ (cr=1 pr=1 pw=0 time=614 us)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 18 0.00 0.01
SQL*Net message to client 6 0.00 0.00
SQL*Net message from client 6 0.00 0.00
********************************************************************************

select /*+ index(idl_char$ i_idl_char1) +*/ piece#,length,piece


from
idl_char$ where obj#=:1 and part=:2 and version=:3 order by piece#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.01 1 6 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 6 0.00 0.01 1 6 0 0

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)
Rows Row Source Operation
------- ---------------------------------------------------
0 TABLE ACCESS BY INDEX ROWID IDL_CHAR$ (cr=3 pr=0 pw=0 time=22 us)
0 INDEX RANGE SCAN I_IDL_CHAR1 (cr=3 pr=0 pw=0 time=17 us)(object id 111)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.01 0.01
********************************************************************************

begin Fnd_Concurrent.Init_Request; end;

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.01 0 79 0 1
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.01 0 79 0 1

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

begin fnd_global.bless_next_init('FND_PERMIT_0000');
fnd_global.initialize(:session_id, :user_id, :resp_id, :resp_appl_id,
:security_group_id, :site_id, :login_id, :conc_login_id, :prog_appl_id,
:conc_program_id, :conc_request_id, :conc_priority_request, :form_id,
:form_application_id, :conc_process_id, :conc_queue_id, :queue_appl_id,
:server_id); fnd_profile.put('ORG_ID', :org_id);
fnd_profile.put('MFG_ORGANIZATION_ID', :mfg_org_id);
fnd_profile.put('MFG_CHART_OF_ACCOUNTS_ID', :coa);
fnd_profile.put('APPS_MAINTENANCE_MODE', :amm); end;

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.01 0 23 0 2
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.01 0 23 0 2

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
********************************************************************************

SELECT COUNT(*)
FROM
AR_PAYMENTS_INTERFACE WHERE RECORD_TYPE IN ( :b1,:b2 ) AND TRANSMISSION_ID
= :b3 AND ((INVOICE1 IS NOT NULL AND RESOLVED_MATCHING_NUMBER1 IS NULL )
OR (INVOICE2 IS NOT NULL AND RESOLVED_MATCHING_NUMBER2 IS NULL ) OR
(INVOICE3 IS NOT NULL AND RESOLVED_MATCHING_NUMBER3 IS NULL ) OR
(INVOICE4 IS NOT NULL AND RESOLVED_MATCHING_NUMBER4 IS NULL ) OR
(INVOICE5 IS NOT NULL AND RESOLVED_MATCHING_NUMBER5 IS NULL ) OR
(INVOICE6 IS NOT NULL AND RESOLVED_MATCHING_NUMBER6 IS NULL ) OR
(INVOICE7 IS NOT NULL AND RESOLVED_MATCHING_NUMBER7 IS NULL ) OR
(INVOICE8 IS NOT NULL AND RESOLVED_MATCHING_NUMBER8 IS NULL ))

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 1 2 0 0
Execute 1 0.00 0.00 1 2 0 0
Fetch 1 0.00 0.00 0 40 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 2 44 0 1

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
1 SORT AGGREGATE (cr=40 pr=0 pw=0 time=399 us)
0 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=40 pr=0 pw=0
time=378 us)
53 INDEX RANGE SCAN AR_PAYMENTS_INTERFACE_N6 (cr=2 pr=0 pw=0 time=80 us)
(object id 364283)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 SORT (AGGREGATE)
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
53 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_PAYMENTS_INTERFACE_N6' (INDEX)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
********************************************************************************

begin FND_MESSAGE.SET_NAME(:APPLICATION, :NAME); end;


call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 2 0
Execute 70 0.00 0.00 0 0 0 70
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 71 0.00 0.00 0 0 2 70

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 71 0.00 0.00
SQL*Net message from client 71 0.00 0.07
********************************************************************************

SELECT TRANSMISSION_NAME
FROM
AR_TRANSMISSIONS WHERE TRANSMISSION_ID = :b1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 1 2 0 0
Execute 1 0.00 0.00 1 2 0 0
Fetch 1 0.00 0.00 0 3 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 2 7 0 1

Misses in library cache during parse: 1


Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID AR_TRANSMISSIONS_ALL (cr=3 pr=0 pw=0 time=88
us)
1 INDEX UNIQUE SCAN AR_TRANSMISSIONS_U1 (cr=2 pr=0 pw=0 time=32 us)(object
id 28516)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_TRANSMISSIONS_ALL' (TABLE)
1 INDEX MODE: ANALYZED (UNIQUE SCAN) OF 'AR_TRANSMISSIONS_U1'
(INDEX (UNIQUE))

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 3 0.00 0.00
SQL*Net message from client 3 0.00 0.00
********************************************************************************

alter session set NLS_NUMERIC_CHARACTERS = ".,"

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.00 0 0 0 0

Misses in library cache during parse: 0


Parsing user id: 173 (APPS) (recursive depth: 1)
********************************************************************************

select col#, grantee#, privilege#,max(mod(nvl(option$,0),2))


from
objauth$ where obj#=:1 and col# is not null group by privilege#, col#,
grantee# order by col#, grantee#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 1 3 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 1 3 0 0

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
0 SORT GROUP BY (cr=3 pr=1 pw=0 time=1922 us)
0 TABLE ACCESS BY INDEX ROWID OBJAUTH$ (cr=3 pr=1 pw=0 time=1883 us)
0 INDEX RANGE SCAN I_OBJAUTH1 (cr=3 pr=1 pw=0 time=1876 us)(object id 100)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.00 0.00
********************************************************************************

select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece


from
idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by piece#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.00 1 6 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 6 0.00 0.00 1 6 0 0

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
0 TABLE ACCESS BY INDEX ROWID IDL_UB2$ (cr=3 pr=0 pw=0 time=22 us)
0 INDEX RANGE SCAN I_IDL_UB21 (cr=3 pr=0 pw=0 time=19 us)(object id 112)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.00 0.00
********************************************************************************

SELECT 'TRACE_USER_DETAILS: TIMESTAMP=09-DEC-10:02:48:13: USER_NAME=352497:


CONC_REQUEST_ID=12985083: OLTP_OPT_MODE= : CONC_OPT_MODE= : CONC_PROG_EXE=
ARLPLB: CONC_PROG_NAME=Process Lockboxes: RESPONSIBILITY=OD (US) AR Batch
Jobs: APPL_NAME=AR'
FROM
DUAL

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.00 0 0 0 0

Misses in library cache during parse: 1


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS) (recursive depth: 1)

Rows Row Source Operation


------- ---------------------------------------------------
0 FAST DUAL (cr=0 pr=0 pw=0 time=2 us)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
0 FAST DUAL

********************************************************************************

SELECT decode( pi.status, 'AR_PLB_GL_DATE_OK',


NULL,fnd_message.get_number('AR',pi.status)) b_msg_num,
pi.batch_name lockbox_batch_name,
record_type b_rec_type,
b.name batch_name,
b.control_count b_control_count,
b.control_amount b_control_amount,
to_char(b.deposit_date, 'DD-MON-YYYY') b_deposit_date,
to_char(b.gl_date, 'DD-MON-YYYY') b_gl_date,
b.currency_code b_curr_code,
nvl(pi.lockbox_number, :lb_number1) b_lockbox_number
FROM ar_payments_interface pi,
ar_batches b
WHERE ( pi.transmission_id = : p_transmission_id AND record_type in ( :
p_batch_hdr_rec_type , : p_batch_trl_rec_type ) AND ( pi.lockbox_number = :
lb_number1 OR : p_format_lockboxes = 'N' ) AND pi.transmission_id =
b.transmission_id (+) AND ( pi.batch_name = nvl ( b.lockbox_batch_name ,
pi.batch_name ) or pi.batch_name is null ) ) AND ( :lb_number1 = nvl
( pi.lockbox_number , : lb_number1 )) GROUP BY pi.status , pi.batch_name ,
pi.record_type , b.name , b.control_count , b.control_amount , b.deposit_date ,
b.gl_date , b.currency_code , pi.currency_code , fnd_message.get_number ( 'AR' ,
pi.status ) , pi.lockbox_number ORDER BY pi.batch_name , decode
( pi.record_type , : p_batch_hdr_rec_type , 'A' , 'B' )

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 0 10 0 4
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 0 10 0 4

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
4 SORT ORDER BY (cr=10 pr=0 pw=0 time=1053 us)
4 HASH GROUP BY (cr=10 pr=0 pw=0 time=962 us)
4 FILTER (cr=10 pr=0 pw=0 time=332 us)
8 MERGE JOIN OUTER (cr=10 pr=0 pw=0 time=250 us)
4 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=6 pr=0 pw=0
time=181 us)
4 INDEX RANGE SCAN AR_PAYMENTS_INTERFACE_N6 (cr=2 pr=0 pw=0 time=74 us)
(object id 364283)
8 BUFFER SORT (cr=4 pr=0 pw=0 time=100 us)
2 TABLE ACCESS BY INDEX ROWID AR_BATCHES_ALL (cr=4 pr=0 pw=0 time=50
us)
2 INDEX RANGE SCAN AR_BATCHES_N9 (cr=3 pr=0 pw=0 time=20 us)(object id
400004)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
4 SORT (ORDER BY)
4 HASH (GROUP BY)
4 FILTER
8 MERGE JOIN (OUTER)
4 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
4 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_PAYMENTS_INTERFACE_N6' (INDEX)
8 BUFFER (SORT)
2 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_BATCHES_ALL' (TABLE)
2 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_BATCHES_N9' (INDEX)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

SELECT pi.lockbox_number lb_number1,


bs.name batch_source_name,
decode(max(DECODE(pi.record_type, :p_lb_hdr_rec_type, 2, 1)), 2,
:p_lb_hdr_rec_type, :p_lb_trl_rec_type) lb_rec_type
FROM ar_payments_interface pi,
ar_lockboxes l,
ar_batch_sources bs
WHERE pi.transmission_id = :p_transmission_id
AND pi.record_type in (:p_lb_hdr_rec_type, :p_lb_trl_rec_type)
AND pi.lockbox_number = l.lockbox_number(+)
AND l.batch_source_id = bs.batch_source_id(+)
AND :p_format_lockboxes = 'Y'
GROUP BY pi.lockbox_number, bs.name
UNION
SELECT l.lockbox_number,
bs.name,
NULL
FROM ar_lockboxes l,
ar_batch_sources bs,
ar_transmissions t
WHERE t.transmission_id = :p_transmission_id
AND t.requested_lockbox_id = l.lockbox_id
AND l.batch_source_id = bs.batch_source_id
AND :p_format_lockboxes = 'N'
GROUP BY l.lockbox_number, bs.name
ORDER BY 1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 0 7 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 0 7 0 1

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Rows Row Source Operation


------- ---------------------------------------------------
1 SORT UNIQUE (cr=7 pr=0 pw=0 time=626 us)
1 UNION-ALL (cr=7 pr=0 pw=0 time=584 us)
1 HASH GROUP BY (cr=7 pr=0 pw=0 time=526 us)
1 FILTER (cr=7 pr=0 pw=0 time=266 us)
1 NESTED LOOPS OUTER (cr=7 pr=0 pw=0 time=257 us)
1 NESTED LOOPS OUTER (cr=5 pr=0 pw=0 time=202 us)
1 TABLE ACCESS BY INDEX ROWID AR_PAYMENTS_INTERFACE_ALL (cr=3 pr=0
pw=0 time=150 us)
1 INDEX RANGE SCAN AR_PAYMENTS_INTERFACE_N6 (cr=2 pr=0 pw=0 time=92
us)(object id 364283)
1 TABLE ACCESS BY INDEX ROWID AR_LOCKBOXES_ALL (cr=2 pr=0 pw=0 time=40
us)
1 INDEX RANGE SCAN AR_LOCKBOXES_N1 (cr=1 pr=0 pw=0 time=15 us)(object
id 28477)
1 TABLE ACCESS BY INDEX ROWID AR_BATCH_SOURCES_ALL (cr=2 pr=0 pw=0
time=47 us)
1 INDEX RANGE SCAN AR_BATCH_SOURCES_U1 (cr=1 pr=0 pw=0 time=19 us)
(object id 28209)
0 HASH GROUP BY (cr=0 pr=0 pw=0 time=39 us)
0 FILTER (cr=0 pr=0 pw=0 time=4 us)
0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us)
0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us)
0 TABLE ACCESS BY INDEX ROWID AR_TRANSMISSIONS_ALL (cr=0 pr=0 pw=0
time=0 us)
0 INDEX UNIQUE SCAN AR_TRANSMISSIONS_U1 (cr=0 pr=0 pw=0 time=0 us)
(object id 28516)
0 TABLE ACCESS BY INDEX ROWID AR_LOCKBOXES_ALL (cr=0 pr=0 pw=0 time=0
us)
0 INDEX UNIQUE SCAN AR_LOCKBOXES_U2 (cr=0 pr=0 pw=0 time=0 us)(object
id 28479)
0 TABLE ACCESS BY INDEX ROWID AR_BATCH_SOURCES_ALL (cr=0 pr=0 pw=0
time=0 us)
0 INDEX RANGE SCAN AR_BATCH_SOURCES_U1 (cr=0 pr=0 pw=0 time=0 us)
(object id 28209)

Rows Execution Plan


------- ---------------------------------------------------
0 SELECT STATEMENT MODE: ALL_ROWS
1 SORT (UNIQUE)
1 UNION-ALL
1 HASH (GROUP BY)
1 FILTER
1 NESTED LOOPS (OUTER)
1 NESTED LOOPS (OUTER)
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_PAYMENTS_INTERFACE_ALL' (TABLE)
1 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_PAYMENTS_INTERFACE_N6' (INDEX)
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_LOCKBOXES_ALL' (TABLE)
1 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_LOCKBOXES_N1' (INDEX)
1 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_BATCH_SOURCES_ALL' (TABLE)
1 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_BATCH_SOURCES_U1' (INDEX (UNIQUE))
0 HASH (GROUP BY)
0 FILTER
0 NESTED LOOPS
0 NESTED LOOPS
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_TRANSMISSIONS_ALL' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'AR_TRANSMISSIONS_U1' (INDEX (UNIQUE))
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_LOCKBOXES_ALL' (TABLE)
0 INDEX MODE: ANALYZED (UNIQUE SCAN) OF
'AR_LOCKBOXES_U2' (INDEX (UNIQUE))
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF
'AR_BATCH_SOURCES_ALL' (TABLE)
0 INDEX MODE: ANALYZED (RANGE SCAN) OF
'AR_BATCH_SOURCES_U1' (INDEX (UNIQUE))

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

alter session set NLS_LANGUAGE = "AMERICAN"

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 0 0 0 0

Misses in library cache during parse: 0


Parsing user id: 173 (APPS) (recursive depth: 1)
********************************************************************************

select name,intcol#,segcol#,type#,length,nvl(precision#,0),decode(type#,2,
nvl(scale,-127/*MAXSB1MINAL*/),178,scale,179,scale,180,scale,181,scale,182,
scale,183,scale,231,scale,0),null$,fixedstorage,nvl(deflength,0),default$,
rowid,col#,property, nvl(charsetid,0),nvl(charsetform,0),spare1,spare2,
nvl(spare3,0)
from
col$ where obj#=:1 order by intcol#

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 24 0.00 0.00 0 5 0 23
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 26 0.00 0.00 0 5 0 23

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
23 SORT ORDER BY (cr=5 pr=0 pw=0 time=144 us)
23 TABLE ACCESS CLUSTER COL$ (cr=5 pr=0 pw=0 time=105 us)
1 INDEX UNIQUE SCAN I_OBJ# (cr=2 pr=0 pw=0 time=20 us)(object id 3)
********************************************************************************

begin FND_CONCURRENT.SET_PREFERRED_RBS; end;

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 1
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.00 0 0 0 1

Misses in library cache during parse: 0


Optimizer mode: ALL_ROWS
Parsing user id: 173 (APPS)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************

select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,nvl(enabled,0),
rowid,cols,nvl(defer,0),mtime,nvl(spare1,0)
from
cdef$ where obj#=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 11 0.00 0.00 0 13 0 10
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 13 0.00 0.00 0 13 0 10

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
10 TABLE ACCESS CLUSTER CDEF$ (cr=13 pr=0 pw=0 time=43 us)
1 INDEX UNIQUE SCAN I_COBJ# (cr=2 pr=0 pw=0 time=24 us)(object id 27)

********************************************************************************

select pos#,intcol#,col#,spare1,bo#,spare2
from
icol$ where obj#=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.00 0 4 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 4 0.00 0.00 0 4 0 1

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID ICOL$ (cr=4 pr=0 pw=0 time=49 us)
1 INDEX RANGE SCAN I_ICOL1 (cr=3 pr=0 pw=0 time=42 us)(object id 37)

********************************************************************************

select con#,obj#,rcon#,enabled,nvl(defer,0)
from
cdef$ where robj#=:1

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 0 2 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 0.00 0.00 0 2 0 0

Misses in library cache during parse: 0


Optimizer mode: CHOOSE
Parsing user id: SYS (recursive depth: 2)

Rows Row Source Operation


------- ---------------------------------------------------
0 TABLE ACCESS BY INDEX ROWID CDEF$ (cr=2 pr=0 pw=0 time=48 us)
0 INDEX RANGE SCAN I_CDEF3 (cr=2 pr=0 pw=0 time=41 us)(object id 49)

********************************************************************************

alter session set NLS_DATE_LANGUAGE = "AMERICAN"

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 4 0.00 0.00 0 0 0 0

Misses in library cache during parse: 0


Parsing user id: 173 (APPS) (recursive depth: 1)

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1 0.00 0.00
SQL*Net message from client 1 0.00 0.00
********************************************************************************
alter session set NLS_SORT = "BINARY"

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.00 0 0 0 0

Misses in library cache during parse: 0


Parsing user id: 173 (APPS) (recursive depth: 1)
********************************************************************************

alter session set NLS_TERRITORY = "AMERICA"

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.00 0 0 0 0

Misses in library cache during parse: 0


Parsing user id: 173 (APPS) (recursive depth: 1)
********************************************************************************

alter session set NLS_DATE_FORMAT = "DD-MON-RR"

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 0.00 0.00 0 0 0 0

Misses in library cache during parse: 0


Parsing user id: 173 (APPS) (recursive depth: 1)

********************************************************************************

OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 18 0.03 0.03 8 18 4 0
Execute 157 0.08 0.30 32 2267 1000 259
Fetch 10 0.06 0.38 77 5377 0 82
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 185 0.19 0.73 117 7662 1004 341

Misses in library cache during parse: 9


Misses in library cache during execute: 9

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 201 0.00 0.00
SQL*Net message from client 201 0.07 0.36
db file sequential read 100 0.02 0.51
SQL*Net more data from client 1 0.00 0.00
SQL*Net more data to client 4 0.00 0.00
log file sync 1 0.00 0.00

OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS

call count cpu elapsed disk query current rows


------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 50 0.00 0.00 0 0 0 0
Execute 61 0.02 0.01 0 0 0 0
Fetch 125 0.02 0.51 62 225 0 100
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 236 0.04 0.53 62 225 0 100

Misses in library cache during parse: 2


Misses in library cache during execute: 1

Elapsed times include waiting on following events:


Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 7 0.00 0.00
SQL*Net message from client 7 0.00 0.00
db file sequential read 67 0.02 0.56

26 user SQL statements in session.


51 internal SQL statements in session.
77 SQL statements in session.
15 statements EXPLAINed in this session.
********************************************************************************
Trace file: ././gsipstgb_ora_26914_352497_CR12985083.trc
Trace file compatibility: 10.01.00
Sort options: exeela prsela fchela
0 session in tracefile.
26 user SQL statements in trace file.
51 internal SQL statements in trace file.
77 SQL statements in trace file.
45 unique SQL statements in trace file.
15 SQL statements EXPLAINed using schema:
APPS.prof$plan_table
Default table was used.
Table was created.
Table was dropped.
2184 lines in trace file.
1 elapsed seconds in trace file.

Potrebbero piacerti anche