WORKLOAD REPOSITORY report for

DB Name DB Id Instance Inst num Release RAC Host
VIS 151051454 VIS2 2 10.2.0.2.0 YES el9-94-53

  Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 18 21-Nov-06 14:36:55 927 197.0
End Snap: 20 21-Nov-06 15:37:48 912 227.3
Elapsed:   60.88 (mins)    
DB Time:   231.11 (mins)    

 

Report Summary

Cache Sizes

  Begin End    
Buffer Cache: 1,504M 1,504M Std Block Size: 8K
Shared Pool Size: 1,504M 1,504M Log Buffer: 14,356K

Load Profile

  Per Second Per Transaction
Redo size: 1,344,267.88 23,528.05
Logical reads: 83,661.63 1,464.29
Block changes: 8,353.92 146.21
Physical reads: 53.77 0.94
Physical writes: 139.92 2.45
User calls: 2,113.22 36.99
Parses: 441.46 7.73
Hard parses: 1.24 0.02
Sorts: 488.22 8.55
Logons: 0.67 0.01
Executes: 4,311.62 75.46
Transactions: 57.13  

% Blocks changed per Read: 9.99 Recursive Call %: 77.54
Rollback per transaction %: 19.71 Rows per Sort: 11.71

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.98 Redo NoWait %: 100.00
Buffer Hit %: 99.94 In-memory Sort %: 100.00
Library Hit %: 100.00 Soft Parse %: 99.72
Execute to Parse %: 89.76 Latch Hit %: 99.86
Parse CPU to Parse Elapsd %: 36.81 % Non-Parse CPU: 96.25

Shared Pool Statistics

  Begin End
Memory Usage %: 67.38 82.33
% SQL with executions>1: 94.18 91.60
% Memory for SQL w/exec>1: 93.79 92.25

Top 5 Timed Events

Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
CPU time   4,792   34.6  
gc cr block 2-way 640,936 1,192 2 8.6 Cluster
db file sequential read 174,638 739 4 5.3 User I/O
gc current block 2-way 366,511 593 2 4.3 Cluster
gc cr block busy 95,235 580 6 4.2 Cluster

RAC Statistics

  Begin End
Number of Instances: 2 2

Global Cache Load Profile

  Per Second Per Transaction
Global Cache blocks received: 304.48 5.33
Global Cache blocks served: 297.59 5.21
GCS/GES messages received: 588.09 10.29
GCS/GES messages sent: 586.68 10.27
DBWR Fusion writes: 14.44 0.25
Estd Interconnect traffic (KB) 5,046.04  

Global Cache Efficiency Percentages (Target local+remote 100%)

Buffer access - local cache %: 99.57
Buffer access - remote cache %: 0.36
Buffer access - disk %: 0.06

Global Cache and Enqueue Services - Workload Characteristics

Avg global enqueue get time (ms): 0.3
Avg global cache cr block receive time (ms): 2.5
Avg global cache current block receive time (ms): 2.0
Avg global cache cr block build time (ms): 0.0
Avg global cache cr block send time (ms): 0.0
Global cache log flushes for cr blocks served %: 6.3
Avg global cache cr block flush time (ms): 2.8
Avg global cache current block pin time (ms): 0.2
Avg global cache current block send time (ms): 0.0
Global cache log flushes for current blocks served %: 0.6
Avg global cache current block flush time (ms): 1.7

Global Cache and Enqueue Services - Messaging Statistics

Avg message sent queue time (ms): 0.1
Avg message sent queue time on ksxp (ms): 1.6
Avg message received queue time (ms): 0.0
Avg GCS message process time (ms): 0.0
Avg GES message process time (ms): 0.0
% of direct sent messages: 69.29
% of indirect sent messages: 19.70
% of flow controlled messages: 11.01

 


Main Report

More RAC Statistics


Back to Top


Wait Events Statistics

Back to Top

Time Model Statistics

Statistic Name Time (s) % of DB Time
sql execute elapsed time 12,620.26 91.01
DB CPU 4,791.91 34.56
inbound PL/SQL rpc elapsed time 2,646.22 19.08
PL/SQL execution elapsed time 2,461.26 17.75
parse time elapsed 532.04 3.84
Java execution elapsed time 460.89 3.32
hard parse elapsed time 436.15 3.15
sequence load elapsed time 20.11 0.14
repeated bind elapsed time 14.14 0.10
hard parse (sharing criteria) elapsed time 14.07 0.10
hard parse (bind mismatch) elapsed time 14.00 0.10
connection management call elapsed time 3.99 0.03
PL/SQL compilation elapsed time 3.26 0.02
failed parse elapsed time 0.35 0.00
DB time 13,866.78  
background elapsed time 618.22  
background cpu time 251.54  

Back to Wait Events Statistics
Back to Top

Wait Class

Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
Cluster 1,347,927 0.03 3,167 2 6.46
User I/O 181,401 0.00 764 4 0.87
Concurrency 59,164 0.87 672 11 0.28
Application 35,348 1.28 510 14 0.17
Other 389,224 23.59 430 1 1.86
Network 8,646,301 0.00 396 0 41.43
Commit 91,812 0.00 251 3 0.44
System I/O 209,523 0.00 148 1 1.00
Configuration 30,411 87.12 20 1 0.15
Administrative 4 0.00 0 22 0.00

Back to Wait Events Statistics
Back to Top

Wait Events

Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
gc cr block 2-way 640,936 0.00 1,192 2 3.07
db file sequential read 174,638 0.00 739 4 0.84
gc current block 2-way 366,511 0.00 593 2 1.76
gc cr block busy 95,235 0.00 580 6 0.46
SQL*Net more data from client 359,771 0.00 387 1 1.72
enq: UL - contention 12,737 1.85 386 30 0.06
gc buffer busy 33,911 1.12 295 9 0.16
latch: cache buffers chains 9,537 0.00 286 30 0.05
log file sync 91,812 0.00 251 3 0.44
gc current grant busy 76,285 0.00 190 2 0.37
buffer busy waits 21,076 0.01 146 7 0.10
gcs log flush sync 75,593 28.80 118 2 0.36
enq: TX - row lock contention 342 61.11 108 315 0.00
gc cr grant 2-way 74,892 0.00 105 1 0.36
log file parallel write 175,006 0.00 103 1 0.84
gc current grant 2-way 32,667 0.00 101 3 0.16
wait for scn ack 139,479 0.00 92 1 0.67
latch: library cache 1,962 0.00 82 42 0.01
enq: TX - index contention 2,954 0.00 75 25 0.01
gc current block busy 3,782 0.00 72 19 0.02
LGWR wait for redo copy 8,132 29.01 42 5 0.04
cr request retry 48 100.00 39 818 0.00
db file parallel write 24,135 0.00 39 2 0.12
row cache lock 18,605 0.00 33 2 0.09
gc cr multi block request 14,595 0.00 25 2 0.07
latch: undo global data 897 0.00 25 28 0.00
latch: library cache pin 604 0.00 23 39 0.00
latch: cache buffers lru chain 556 0.00 17 30 0.00
read by other session 1,665 0.00 17 10 0.01
enq: HW - contention 3,812 0.05 16 4 0.02
enq: FB - contention 3,997 0.00 12 3 0.02
gc current multi block request 8,925 0.00 12 1 0.04
latch: session allocation 235 0.00 12 49 0.00
SQL*Net break/reset to client 21,518 0.00 11 1 0.10
DFS lock handle 9,677 0.00 11 1 0.05
cursor: pin S wait on X 516 99.42 10 20 0.00
latch: row cache objects 162 0.00 8 52 0.00
latch: enqueue hash chains 106 0.00 8 75 0.00
db file scattered read 2,917 0.00 8 3 0.01
latch: redo allocation 390 0.00 8 20 0.00
cursor: pin S 44,850 0.00 8 0 0.21
enq: US - contention 7,059 0.00 6 1 0.03
SQL*Net message to client 8,015,599 0.00 5 0 38.41
enq: RO - fast object reuse 598 1.00 5 8 0.00
control file sequential read 8,634 0.00 4 0 0.04
KJC: Wait for msg sends to complete 21 66.67 4 197 0.00
latch: ges resource hash list 75 0.00 4 55 0.00
PX Deq Credit: send blkd 1,109 28.67 4 3 0.01
SQL*Net more data to client 270,931 0.00 4 0 1.30
library cache lock 2,337 0.00 3 1 0.01
latch free 141 0.00 3 20 0.00
enq: SQ - contention 70 0.00 2 34 0.00
enq: DV - contention 2,210 0.00 2 1 0.01
enq: TX - contention 182 0.00 2 12 0.00
gc current retry 107 0.00 2 20 0.00
IPC send completion sync 495 77.78 2 4 0.00
library cache pin 1,276 0.00 2 1 0.01
latch: library cache lock 53 0.00 2 35 0.00
reliable message 210 0.00 2 8 0.00
undo segment extension 26,496 99.99 1 0 0.13
control file parallel write 1,740 0.00 1 1 0.01
enq: WF - contention 20 5.00 1 65 0.00
latch: KCL gc element parent latch 62 0.00 1 20 0.00
latch: cache buffer handles 102 0.00 1 12 0.00
buffer deadlock 405 100.00 1 3 0.00
library cache load lock 33 0.00 1 34 0.00
rdbms ipc reply 677 0.00 1 1 0.00
latch: object queue header operation 56 0.00 1 15 0.00
local write wait 330 0.00 1 2 0.00
name-service call wait 14 14.29 1 47 0.00
log file switch completion 18 0.00 1 33 0.00
ksxr poll remote instances 48,107 51.00 0 0 0.23
os thread startup 7 0.00 0 65 0.00
db file parallel read 154 0.00 0 2 0.00
latch: shared pool 16 0.00 0 21 0.00
enq: TM - contention 153 0.00 0 2 0.00
enq: CF - contention 264 0.00 0 1 0.00
enq: PS - contention 236 0.00 0 1 0.00
enq: TS - contention 203 0.00 0 1 0.00
CGS wait for IPC msg 31,553 100.00 0 0 0.15
global enqueue expand wait 18 94.44 0 16 0.00
PX Deq: reap credit 11,540 89.38 0 0 0.06
gc current split 19 0.00 0 10 0.00
gc cr failure 51 0.00 0 3 0.00
PX Deq: Signal ACK 115 32.17 0 1 0.00
enq: TT - contention 109 0.00 0 1 0.00
switch logfile command 4 0.00 0 22 0.00
direct path read 83 0.00 0 1 0.00
lock escalate retry 57 96.49 0 1 0.00
ges inquiry response 78 0.00 0 1 0.00
enq: MD - contention 25 0.00 0 2 0.00
enq: TX - allocate ITL entry 11 0.00 0 4 0.00
latch: gcs resource hash 6 0.00 0 7 0.00
latch: redo writing 4 0.00 0 10 0.00
enq: DL - contention 21 0.00 0 2 0.00
latch: checkpoint queue latch 2 0.00 0 16 0.00
gc current block unknown 6 0.00 0 4 0.00
enq: TD - KTF dump entries 19 0.00 0 1 0.00
enq: TO - contention 21 0.00 0 1 0.00
enq: IR - contention 9 0.00 0 2 0.00
enq: TA - contention 31 0.00 0 1 0.00
enq: KM - contention 4 0.00 0 2 0.00
gc cr grant congested 2 0.00 0 3 0.00
gc current block congested 1 0.00 0 4 0.00
gc cr block congested 1 0.00 0 3 0.00
direct path write 1,606 0.00 0 0 0.01
enq: DR - contention 4 0.00 0 0 0.00
enq: MW - contention 2 0.00 0 0 0.00
gc cr disk read 1 0.00 0 1 0.00
lock deadlock retry 1 100.00 0 1 0.00
log file single write 4 0.00 0 0 0.00
log file sequential read 4 0.00 0 0 0.00
cursor: mutex S 25 0.00 0 0 0.00
enq: AF - task serialization 1 0.00 0 0 0.00
cursor: mutex X 1 0.00 0 0 0.00
direct path write temp 8 0.00 0 0 0.00
SQL*Net message from client 8,015,619 0.00 1,837,011 229 38.41
Streams AQ: waiting for messages in the queue 6,895 100.00 38,068 5521 0.03
pipe get 6,310 59.78 10,090 1599 0.03
gcs remote message 1,823,829 89.54 6,896 4 8.74
PX Idle Wait 2,107 90.89 4,732 2246 0.01
PL/SQL lock timer 239 100.00 4,538 18988 0.00
DIAG idle wait 18,135 0.00 3,566 197 0.09
ges remote message 134,301 76.29 3,563 27 0.64
Streams AQ: qmn slave idle wait 130 0.00 3,561 27395 0.00
Streams AQ: qmn coordinator idle wait 271 47.60 3,561 13141 0.00
Streams AQ: waiting for time management or cleanup tasks 1 100.00 654 653513 0.00
jobq slave wait 20 100.00 59 2931 0.00
PX Deq: Execution Msg 911 23.60 15 17 0.00
PX Deq: Parse Reply 67 13.43 3 45 0.00
PX Deq: Msg Fragment 1,018 25.05 1 1 0.00
PX Deq: Execute Reply 906 23.40 1 1 0.00
PX Deq: Table Q Normal 95 15.79 0 4 0.00
PX Deq: Join ACK 104 39.42 0 2 0.00
PX Deq Credit: need buffer 50 4.00 0 2 0.00
class slave wait 2 0.00 0 1 0.00
Streams AQ: RAC qmn coordinator idle wait 271 100.00 0 0 0.00

Back to Wait Events Statistics
Back to Top

Background Wait Events

Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
events in waitclass Other 316,662 25.40 268 1 1.52
log file parallel write 175,004 0.00 103 1 0.84
db file parallel write 24,135 0.00 39 2 0.12
latch: cache buffers chains 152 0.00 3 21 0.00
control file sequential read 5,091 0.00 3 1 0.02
db file scattered read 1,547 0.00 3 2 0.01
gc cr multi block request 1,665 0.00 3 2 0.01
control file parallel write 1,740 0.00 1 1 0.01
gc current block 2-way 415 0.00 1 3 0.00
gc cr block 2-way 249 0.00 1 3 0.00
db file sequential read 144 0.00 0 3 0.00
db file parallel read 140 0.00 0 3 0.00
row cache lock 132 0.00 0 1 0.00
gc current grant busy 27 0.00 0 6 0.00
enq: RO - fast object reuse 221 0.00 0 1 0.00
gc cr grant 2-way 71 0.00 0 2 0.00
buffer busy waits 80 3.75 0 1 0.00
gc buffer busy 17 52.94 0 5 0.00
direct path read 83 0.00 0 1 0.00
gc current grant 2-way 8 0.00 0 8 0.00
os thread startup 3 0.00 0 17 0.00
latch: redo writing 4 0.00 0 10 0.00
enq: TM - contention 10 0.00 0 1 0.00
library cache lock 12 0.00 0 0 0.00
direct path write 23 0.00 0 0 0.00
log file single write 4 0.00 0 0 0.00
log file sequential read 4 0.00 0 0 0.00
rdbms ipc message 315,552 18.72 38,555 122 1.51
gcs remote message 1,823,835 89.54 6,896 4 8.74
DIAG idle wait 18,135 0.00 3,566 197 0.09
pmon timer 1,417 100.00 3,566 2517 0.01
ges remote message 134,300 76.29 3,563 27 0.64
Streams AQ: qmn slave idle wait 130 0.00 3,561 27395 0.00
Streams AQ: qmn coordinator idle wait 271 47.60 3,561 13141 0.00
smon timer 14,324 0.08 3,548 248 0.07
Streams AQ: waiting for time management or cleanup tasks 1 100.00 654 653513 0.00
PX Deq: Join ACK 28 42.86 0 2 0.00
PX Deq: Parse Reply 22 22.73 0 1 0.00
PX Deq: Execute Reply 23 17.39 0 1 0.00
Streams AQ: RAC qmn coordinator idle wait 271 100.00 0 0 0.00

Back to Wait Events Statistics
Back to Top

Operating System Statistics

Statistic Total
NUM_LCPUS 0
NUM_VCPUS 0
AVG_BUSY_TIME 140,820
AVG_IDLE_TIME 224,577
AVG_IOWAIT_TIME 3,845
AVG_SYS_TIME 19,815
AVG_USER_TIME 120,906
BUSY_TIME 563,645
IDLE_TIME 898,659
IOWAIT_TIME 15,699
SYS_TIME 79,645
USER_TIME 484,000
LOAD 0
OS_CPU_WAIT_TIME 2,062,700
RSRC_MGR_CPU_WAIT_TIME 0
PHYSICAL_MEMORY_BYTES 33,621,540,864
NUM_CPUS 4
NUM_CPU_CORES 2

Back to Wait Events Statistics
Back to Top

Service Statistics

Service Name DB Time (s) DB CPU (s) Physical Reads Logical Reads
SYS$USERS 11,431.90 3,514.10 80,674 254,694,136
VIS 2,435.00 1,277.90 103,412 46,518,749
SYS$BACKGROUND 0.00 0.00 12,325 4,407,125

Back to Wait Events Statistics
Back to Top

Service Wait Class Stats

Service Name User I/O Total Wts User I/O Wt Time Concurcy Total Wts Concurcy Wt Time Admin Total Wts Admin Wt Time Network Total Wts Network Wt Time
SYS$USERS 74134 31319 55140 62708 0 0 3478128 39004
VIS 104900 44644 3235 4109 0 0 5164000 563
SYS$BACKGROUND 2361 468 784 403 0 0 0 0

Back to Wait Events Statistics
Back to Top

 

SQL Statistics

Back to Top

SQL ordered by Elapsed Time

Elapsed Time (s) CPU Time (s) Executions Elap per Exec (s) % Total DB Time SQL Id SQL Module SQL Text
2,213 204 64 34.57 15.96 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
1,700 363 6 283.28 12.26 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
1,411 340 4 352.77 10.18 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
718 159 441 1.63 5.18 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
575 109 12,202 0.05 4.15 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
548 64 34,502 0.02 3.95 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
374 172 3,167 0.12 2.70 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
348 49 12,146 0.03 2.51 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
335 146 4 83.80 2.42 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
332 87 10,981 0.03 2.40 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
282 136 4 70.38 2.03 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
267 78 12,205 0.02 1.93 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
261 42 34,510 0.01 1.88 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
256 64 13,436 0.02 1.84 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
197 72 80 2.46 1.42 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
193 32 24,413 0.01 1.39 90b1x7g0vm4gv WSHINTERFACE SELECT SC.ATTRIBUTE1 , SC.ATT...
181 48 15 12.08 1.31 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
169 77 1,000 0.17 1.22 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
156 32 901 0.17 1.13 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
152 103 16,740 0.01 1.10 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
149 7 352 0.42 1.07 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
147 32 2 73.33 1.06 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
146 6 772 0.19 1.05 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...

Back to SQL Statistics
Back to Top

SQL ordered by CPU Time

CPU Time (s) Elapsed Time (s) Executions CPU per Exec (s) % Total DB Time SQL Id SQL Module SQL Text
363 1,700 6 60.52 12.26 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
340 1,411 4 84.98 10.18 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
204 2,213 64 3.19 15.96 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
172 374 3,167 0.05 2.70 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
159 718 441 0.36 5.18 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
146 335 4 36.53 2.42 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
136 282 4 34.01 2.03 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
109 575 12,202 0.01 4.15 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
103 152 16,740 0.01 1.10 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
87 332 10,981 0.01 2.40 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
78 267 12,205 0.01 1.93 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
77 169 1,000 0.08 1.22 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
72 197 80 0.91 1.42 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
64 256 13,436 0.00 1.84 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
64 548 34,502 0.00 3.95 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
49 348 12,146 0.00 2.51 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
48 181 15 3.21 1.31 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
42 261 34,510 0.00 1.88 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
32 147 2 16.15 1.06 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
32 156 901 0.04 1.13 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
32 193 24,413 0.00 1.39 90b1x7g0vm4gv WSHINTERFACE SELECT SC.ATTRIBUTE1 , SC.ATT...
7 149 352 0.02 1.07 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
6 146 772 0.01 1.05 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...

Back to SQL Statistics
Back to Top

SQL ordered by Gets

Buffer Gets Executions Gets per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
39,710,950 6 6,618,491.67 12.99 363.10 1699.67 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
24,801,562 4 6,200,390.50 8.12 339.93 1411.09 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
19,017,357 4 4,754,339.25 6.22 146.13 335.20 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
14,047,898 15 936,526.53 4.60 48.22 181.18 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
13,293,485 29,609 448.97 4.35 77.26 116.15 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
12,787,919 38,282 334.05 4.18 71.58 77.95 25wzrzwd46a44 CSXSRISR SELECT 1 FROM DUAL WHERE EXIST...
10,966,127 1 10,966,127.00 3.59 65.05 121.45 0hwuqwtq29tmj RAXTRX insert into RA_INTERFACE_ERROR...
10,122,591 3,167 3,196.27 3.31 172.50 374.15 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
10,041,810 4 2,510,452.50 3.29 136.02 281.53 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
9,872,728 64 154,261.38 3.23 204.23 2212.74 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
8,648,788 1,000 8,648.79 2.83 76.99 169.30 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
8,145,164 80 101,814.55 2.67 72.43 196.74 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
7,308,714 901 8,111.78 2.39 31.98 156.15 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
7,053,322 80 88,166.53 2.31 47.45 95.61 abbhbp1x1hdyu JDBC Thin Client select /*+ FIRST_ROWS(1) */ ...
6,702,580 10,981 610.38 2.19 86.91 332.20 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
5,865,402 441 13,300.23 1.92 159.46 718.26 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
4,270,941 12,205 349.93 1.40 78.29 267.25 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
3,940,158 12,202 322.91 1.29 109.41 575.13 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
3,887,661 10,979 354.10 1.27 39.57 100.53 2g2hu9q4dr07c WSHFRREL SELECT DELIVERY_DETAIL_ID, SO...

Back to SQL Statistics
Back to Top

SQL ordered by Reads

Physical Reads Executions Reads per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
29,656 772 38.41 15.10 5.71 145.66 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
25,229 352 71.67 12.84 7.14 148.82 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
16,039 352 45.57 8.16 17.82 103.49 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
4,873 6 812.17 2.48 363.10 1699.67 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
4,043 24,570 0.16 2.06 18.42 79.87 fb13x9qx0ftks OEXOETEL begin OE_STANDARD_WF.OEOL_SELE...
2,795 34,510 0.08 1.42 42.48 260.74 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
2,741 64 42.83 1.40 204.23 2212.74 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
2,321 4 580.25 1.18 339.93 1411.09 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
1,730 4 432.50 0.88 136.02 281.53 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
1,446 441 3.28 0.74 159.46 718.26 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...

Back to SQL Statistics
Back to Top

SQL ordered by Executions

Executions Rows Processed Rows per Exec CPU per Exec (s) Elap per Exec (s) SQL Id SQL Module SQL Text
170,320 169,964 1.00 0.00 0.00 cd9mbmqyf4qhp OEXOETEL UPDATE WF_ITEM_ACTIVITY_STATUS...
157,402 156,918 1.00 0.00 0.00 gnhmcahkmrnzs OEXOETEL INSERT INTO WF_ITEM_ACTIVITY_S...
95,382 95,372 1.00 0.00 0.00 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
69,501 55,060 0.79 0.00 0.00 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
67,834 67,836 1.00 0.00 0.00 4d6uaffumxzmr JDBC Thin Client SELECT SESSION_ID FROM ICX_SES...
55,227 54,678 0.99 0.00 0.00 91hakq9n36htp ap.oie.server.HomePageAM SELECT TEXT_VALUE FROM WF_ITEM...
46,533 791,061 17.00 0.00 0.00 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
40,743 40,728 1.00 0.00 0.00 9bbak9qpg1c7x OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
38,282 0 0.00 0.00 0.00 25wzrzwd46a44 CSXSRISR SELECT 1 FROM DUAL WHERE EXIST...
37,532 36,910 0.98 0.00 0.00 0b85w9vv0hbt1 icx.por.req.server.RequisitionAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...

Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
95,372 95,382 5.91 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
69,497 69,501 4.31 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
46,531 46,533 2.89 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
34,342 34,502 2.13 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
29,608 29,609 1.84 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
24,543 24,570 1.52 fb13x9qx0ftks OEXOETEL begin OE_STANDARD_WF.OEOL_SELE...
23,416 23,511 1.45 1c0b7sas42w2z INVTTMTX SELECT NVL(ITEM_COST, 0), ...
19,527 19,591 1.21 76sw2a4vnc89j icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.S...
18,726 18,740 1.16 bf7uwg5pa3pj6 icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.V...
18,700 18,768 1.16 608c0n36kaw62 icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.C...
18,684 19,613 1.16 dcvv68fju01g4 icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.E...
16,152 16,160 1.00 162ttnv4ubqun OEXOETEL begin OE_DS_PVT.Check_PO_Appr...

Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b) Executions % Total SQL Id SQL Module SQL Text
1,293,183 3,067 0.08 8q8zmrwmrccz4 OEXOETEL SELECT /*+ ORDERED USE_NL(adj ...

Back to SQL Statistics
Back to Top

 

SQL ordered by Version Count

No data exists for this section of the report.

Back to SQL Statistics
Back to Top

SQL ordered by Cluster Wait Time

Cluster Wait Time (s) CWT % of Elapsd Time Elapsed Time(s) CPU Time(s) Executions SQL Id SQL Module SQL Text
356.55 49.64 718.26 159.46 441 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
321.60 18.92 1,699.67 363.10 6 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
308.49 53.64 575.13 109.41 12,202 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
302.67 21.45 1,411.09 339.93 4 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
221.85 10.03 2,212.74 204.23 64 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
179.86 93.04 193.31 31.71 24,413 90b1x7g0vm4gv WSHINTERFACE SELECT SC.ATTRIBUTE1 , SC.ATT...
106.70 30.63 348.29 48.66 12,146 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
102.53 30.86 332.20 86.91 10,981 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
100.84 89.38 112.82 56.49 15,746 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
95.96 65.42 146.67 32.29 2 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
75.51 38.38 196.74 72.43 80 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
69.60 26.69 260.74 42.48 34,510 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
66.71 17.83 374.15 172.50 3,167 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
60.24 22.54 267.25 78.29 12,205 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
52.36 83.44 62.76 6.90 12,140 fr38pcatsbj6x INCTCW SELECT reservation_...
40.93 33.75 121.26 39.86 12,203 gnng1rmpjxzsx WSHINTERFACE begin OE_CLOSE_WF.CLOSE_LINE (...
37.65 25.30 148.82 7.14 352 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
37.40 11.16 335.20 146.13 4 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
37.29 24.52 152.10 102.84 16,740 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
32.19 40.30 79.87 18.42 24,570 fb13x9qx0ftks OEXOETEL begin OE_STANDARD_WF.OEOL_SELE...
31.54 35.11 89.82 42.45 157,402 gnhmcahkmrnzs OEXOETEL INSERT INTO WF_ITEM_ACTIVITY_S...
31.53 11.20 281.53 136.02 4 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
31.39 86.56 36.27 33.61 67,834 4d6uaffumxzmr JDBC Thin Client SELECT SESSION_ID FROM ICX_SES...
28.44 11.13 255.59 64.21 13,436 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
27.76 19.06 145.66 5.71 772 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
26.74 44.07 60.68 26.57 13,510 3vy5h9xkfv1s5 OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
24.55 24.42 100.53 39.57 10,979 2g2hu9q4dr07c WSHFRREL SELECT DELIVERY_DETAIL_ID, SO...
21.47 86.07 24.94 7.30 3,067 8q8zmrwmrccz4 OEXOETEL SELECT /*+ ORDERED USE_NL(adj ...
19.55 12.52 156.15 31.98 901 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
19.40 18.74 103.49 17.82 352 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
15.54 2.83 548.10 64.04 34,502 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
14.63 72.18 20.27 8.94 13,506 6kd3qt5f36fdr OEXOETEL INSERT INTO WF_ITEMS ( ITEM_TY...
14.21 19.09 74.45 36.92 170,320 cd9mbmqyf4qhp OEXOETEL UPDATE WF_ITEM_ACTIVITY_STATUS...
12.01 78.37 15.32 9.10 4,236 dzt4ys8ynkyrj CSXSRISR INSERT INTO CS_INCIDENTS_AUDIT...
11.20 76.99 14.54 6.90 34,128 f34wj84pszqj0 OEXOETEL SELECT WI.ROOT_ACTIVITY, WI.R...
11.11 6.56 169.30 76.99 1,000 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
10.35 33.79 30.63 11.43 11,181 gdnwgx9fcxggr OEXOETEL begin OE_SHIPPING_WF.START_SHI...
10.00 10.46 95.61 47.45 80 abbhbp1x1hdyu JDBC Thin Client select /*+ FIRST_ROWS(1) */ ...
9.72 47.10 20.64 6.65 12,184 cw171rvngr1w9 WSHINTERFACE begin OE_FLEX_COGS_PUB.GET_COS...
8.30 31.59 26.27 11.74 51 3c086a4sm741b ARXAGE select decode ( UPPER ( : p_or...
7.69 50.07 15.37 11.22 7,956 36zzrb9hja4my asnDispContainer.jsp begin jtf_icxses.updateSession...
6.61 53.12 12.45 5.39 1,066 3g7y3gf1w3f3k ibuSRDetails.jsp SELECT 'INTERACTION', '1', ...
6.22 3.43 181.18 48.22 15 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
3.81 80.74 4.72 1.48 390 9hypmc3t618sc OEXOETEL SELECT ORDERED_ITEM, ORDERED_Q...
3.33 38.19 8.71 3.97 23,511 1c0b7sas42w2z INVTTMTX SELECT NVL(ITEM_COST, 0), ...
3.32 77.82 4.26 1.40 421 14w9t0dd89367 WSHFSTRX INSERT INTO FND_CONCURRENT_REQ...
2.34 2.23 105.00 1.81 12,194 0wabkkyua3y3v WSHINTERFACE SELECT ITEM_KEY FROM WF_ITEMS ...
2.15 46.86 4.58 3.45 55,227 91hakq9n36htp ap.oie.server.HomePageAM SELECT TEXT_VALUE FROM WF_ITEM...
2.05 37.22 5.50 3.70 40,743 9bbak9qpg1c7x OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
1.90 3.66 51.79 25.89 11,171 bfbyqwbr4vwms OEXOETEL begin OE_OEOL_SCH.SCHEDULE_LIN...
1.78 69.46 2.56 0.95 218 5mgaqh04z66b7 ap.oie.server.HomePageAM SELECT * FROM (SELECT AI.DESCR...
1.72 1.48 116.15 77.26 29,609 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
1.70 3.04 56.01 50.30 10,687 3prk3vg9u0abb FNDOAMCOL BEGIN FND_GLOBAL.APPS_INITIA...
1.29 1.65 77.95 71.58 38,282 25wzrzwd46a44 CSXSRISR SELECT 1 FROM DUAL WHERE EXIST...
1.19 12.28 9.69 5.94 10,981 d0a8mm8y38yaw WSHFRREL SELECT base.revision ...
1.09 4.95 21.96 9.73 20,093 cdjud36xbtuu5 OEXOETEL SELECT WIAS.PROCESS_ACTIVITY, ...
0.91 58.76 1.55 0.90 952 2ym6hhaq30r73   select type#, blocks, extents,...
0.39 1.19 32.73 13.15 37 2fr5f5xzmffd8 POXPRPOP SELECT decode ( : P_sortby , ...
0.37 13.73 2.70 2.14 11,182 7mrs575bj7a41 OEXOETEL begin OE_OEOL_SCH.BRANCH_ON_SO...
0.36 12.00 2.98 1.25 1 d92h3rjp0y217   begin prvt_hdm.auto_execute( :...
0.30 32.47 0.94 0.68 879 4z1g1n1wa0k2c ARXTWMAI SELECT * FROM RA_CUSTOMER_TRX ...
0.28 61.82 0.45 0.18 49 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...
0.27 11.35 2.40 2.08 37,532 0b85w9vv0hbt1 icx.por.req.server.RequisitionAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...
0.25 20.62 1.20 0.99 13,506 gbc00q72n5n3m OEXOETEL UPDATE WF_ITEMS SET END_DATE =...

Back to SQL Statistics
Back to Top

 

Complete List of SQL Text

SQL Id SQL Text
0b85w9vv0hbt1 UPDATE WF_ITEM_ATTRIBUTE_VALUES SET TEXT_VALUE = :B4 WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
0hwuqwtq29tmj insert into RA_INTERFACE_ERRORS(INTERFACE_LINE_ID, MESSAGE_TEXT, INVALID_VALUE)select interface_line_id , :b0 , trx_number from RA_INTERFACE_LINES where ((trx_number in (select ct.trx_number from RA_CUSTOMER_TRX CT , RA_INTERFACE_LINES_GT IL , RA_CUST_TRX_TYPES T where ((((((CT.customer_trx_id<>nvl(IL.CUSTOMER_TRX_ID, (-999)) and CT.TRX_NUMBER=IL.TRX_NUMBER) and IL.request_id=ct.request_id) and IL.request_id=:b1) and CT.request_id=:b1) and IL.CUST_TRX_TYPE_ID=T.CUST_TRX_TYPE_ID) and T.TYPE='CM')) and NVL(INTERFACE_STATUS, '~')<>'P') and request_id=:b1)
0vfguqskjkcc4 SELECT RLTD.RELATED_LINE_INDEX FROM QP_NPREQ_LINES_TMP BUYLINE, OE_PRICE_ADJUSTMENTS PRG, QP_NPREQ_LDETS_TMP LDET, QP_NPREQ_RLTD_LINES_TMP RLTD WHERE :B6 = :B2 AND ((BUYLINE.LINE_TYPE_CODE = :B5 AND PRG.LINE_ID = BUYLINE.LINE_ID) OR (BUYLINE.LINE_TYPE_CODE = :B4 AND PRG.LINE_ID IS NULL AND PRG.HEADER_ID = BUYLINE.LINE_ID)) AND PRG.LIST_LINE_TYPE_CODE = :B3 AND PRG.UPDATED_FLAG = :B2 AND LDET.LINE_INDEX = BUYLINE.LINE_INDEX AND LDET.PRICING_STATUS_CODE = :B1 AND LDET.CREATED_FROM_LIST_LINE_ID = PRG.LIST_LINE_ID AND LDET.APPLIED_FLAG = :B2 AND RLTD.LINE_INDEX = LDET.LINE_INDEX AND RLTD.LINE_DETAIL_INDEX = LDET.LINE_DETAIL_INDEX AND RLTD.PRICING_STATUS_CODE = :B1 UNION SELECT RLTD.RELATED_LINE_INDEX FROM QP_NPREQ_LINES_TMP BUYLINE, QP_NPREQ_LDETS_TMP PRG, QP_NPREQ_LDETS_TMP LDET, QP_NPREQ_RLTD_LINES_TMP RLTD WHERE :B6 <> :B2 AND PRG.LINE_INDEX = BUYLINE.LINE_INDEX AND PRG.PRICING_STATUS_CODE = :B7 AND PRG.CREATED_FROM_LIST_LINE_TYPE = :B3 AND PRG.UPDATED_FLAG = :B2 AND LDET.LINE_INDEX = BUYLINE.LINE_INDEX AND LDET.PRICING_STATUS_CODE = :B1 AND LDET.CREATED_FROM_LIST_LINE_ID = PRG.CREATED_FROM_LIST_LINE_ID AND LDET.APPLIED_FLAG = :B2 AND RLTD.LINE_INDEX = LDET.LINE_INDEX AND RLTD.LINE_DETAIL_INDEX = LDET.LINE_DETAIL_INDEX AND RLTD.PRICING_STATUS_CODE = :B1
0wabkkyua3y3v SELECT ITEM_KEY FROM WF_ITEMS WHERE ITEM_TYPE = :B2 AND ITEM_KEY = :B1 FOR UPDATE
0z318y6g3uagc declare l_retstat varchar2 ( 3 ) ; l_msg_data varchar2 ( 244 ) ; l_msg_cnt number ; l_trx_cnt number ; BEGIN :retval := INV_TXN_MANAGER_PUB . process_Transactions ( p_api_version => 1.0 , p_commit => fnd_api . g_true , x_return_status => l_retstat , x_msg_count => l_msg_cnt , x_msg_data => l_msg_data , x_trans_count => l_trx_cnt , p_table => 1 , p_header_id => :header_id ) ; END ;
14w9t0dd89367 INSERT INTO FND_CONCURRENT_REQUESTS ( REQUEST_ID, SECURITY_GROUP_ID, PHASE_CODE, STATUS_CODE, PRIORITY, PARENT_REQUEST_ID, PRIORITY_REQUEST_ID, DESCRIPTION, REQ_INFORMATION, IS_SUB_REQUEST, HAS_SUB_REQUEST, UPDATE_PROTECTED, HOLD_FLAG, ENFORCE_SERIALITY_FLAG, SINGLE_THREAD_FLAG, ARGUMENT_INPUT_METHOD_CODE, IMPLICIT_CODE, REQUEST_DATE, REQUESTED_START_DATE, REQUESTED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, ORACLE_ID, CONC_LOGIN_ID, RESPONSIBILITY_ID, RESPONSIBILITY_APPLICATION_ID, NLS_LANGUAGE, NLS_TERRITORY, NLS_NUMERIC_CHARACTERS, PROGRAM_APPLICATION_ID, CONCURRENT_PROGRAM_ID, QUEUE_METHOD_CODE, REQUEST_CLASS_APPLICATION_ID, CONCURRENT_REQUEST_CLASS_ID, PRINT_GROUP, PRINTER, PRINT_STYLE, NUMBER_OF_COPIES, SAVE_OUTPUT_FLAG, CRM_THRSHLD, RESUBMIT_TIME, RESUBMIT_INTERVAL, RESUBMIT_INTERVAL_UNIT_CODE, RESUBMIT_INTERVAL_TYPE_CODE, RESUBMIT_END_DATE, RESUBMITTED, CRITICAL, REQUEST_TYPE, RELEASE_CLASS_APP_ID, RELEASE_CLASS_ID, STALE_DATE, CANCEL_OR_HOLD, OUTPUT_FILE_TYPE, NLS_COMPLIANT, CD_ID, REQUEST_LIMIT, INCREMENT_DATES, ENABLE_TRACE, OPS_INSTANCE, ARGUMENT_TEXT, NUMBER_OF_ARGUMENTS, ARGUMENT1, ARGUMENT2, ARGUMENT3, ARGUMENT4, ARGUMENT5, ARGUMENT6, ARGUMENT7, ARGUMENT8, ARGUMENT9, ARGUMENT10, ARGUMENT11, ARGUMENT12, ARGUMENT13, ARGUMENT14, ARGUMENT15, ARGUMENT16, ARGUMENT17, ARGUMENT18, ARGUMENT19, ARGUMENT20, ARGUMENT21, ARGUMENT22, ARGUMENT23, ARGUMENT24, ARGUMENT25) SELECT :B73 , :B72 , :B71 , DECODE (:B70 , 'A', 'A', 'Z', 'Z', DECODE(FCP.QUEUE_METHOD_CODE, 'B', 'Q', DECODE (:B52 , 'Y', 'Q', DECODE(:B33 , 'Y', 'Q', 'I')))), DECODE (FCP.QUEUE_CONTROL_FLAG, 'Y', 0, DECODE (:B69 , NULL, 50, :B69 )), DECODE (:B61 , 0, NULL, :B61 ), :B68 , :B67 , NULL, :B66 , 'N', :B65 , :B64 , 'Y', :B52 , 'S', :B63 , SYSDATE, DECODE (:B62 , '', (SYSDATE - :B60 ), GREATEST (:B62 , DECODE (:B61 , 0, (SYSDATE - :B60 ), FND_CONC_DATE.STRING_TO_DATE ( '01-01-0001')))), :B59 , SYSDATE, :B59 , :B58 , ORACLE_ID, :B58 , :B57 , :B56 , :B55 , :B54 , :B53 , FA.APPLICATION_ID, FCP.CONCURRENT_PROGRAM_ID, DECODE(:B33 , 'Y', 'B', DECODE(:B52 , 'N', FCP.QUEUE_METHOD_CODE, 'B')), FCP.CLASS_APPLICATION_ID, FCP.CONCURRENT_CLASS_ID, :B51 , :B50 , :B49 , :B48 , :B47 , :B46 , DECODE (:B45 , '', NULL, TO_CHAR (FND_CONC_DATE.STRING_TO_DATE ( '01-01-0001' || :B45 ), 'HH24:MI:SS')), DECODE (:B44 , '', NULL, :B44 ), :B43 , :B42 , :B41 , 'N', :B40 , :B39 , :B38 , :B37 , :B36 , :B35 , FCP.OUTPUT_FILE_TYPE, FCP.NLS_COMPLIANT, :B34 , :B33 , :B32 , FCP.ENABLE_TRACE, :B31 , :B30 , :B29 , :B28 , :B27 , :B26 , :B25 , :B24 , :B23 , :B22 , :B21 , :B20 , :B19 , :B18 , :B17 , :B16 , :B15 , :B14 , :B13 , :B12 , :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 FROM FND_APPLICATION FA, FND_CONCURRENT_PROGRAMS FCP, FND_ORACLE_USERID WHERE ORACLE_USERNAME = :B3 AND FCP.ENABLED_FLA G = 'Y' AND (FCP.APPLICATION_ID = FA.APPLICATION_ID AND CONCURRENT_PROGRAM_NAME = UPPER (:B2 )) AND FA.APPLICATION_SHORT_NAME = UPPER (:B1 )
162ttnv4ubqun begin OE_DS_PVT.Check_PO_Approved( :t_application_id, :t_entity_short_name, :t_validation_entity_short_name, :t_validation_tmplt_short_name, :t_record_set_short_name, :t_scope, :t_result ); end;
1c0b7sas42w2z SELECT NVL(ITEM_COST, 0), COST_UPDATE_ID FROM CST_ITEM_COSTS WHERE INVENTORY_ITEM_ID = :1 AND ORGANIZATION_ID = :2 AND COST_TYPE_ID = :3
25bkagv1j2xf7 INSERT INTO MTL_MATERIAL_TRANSACTIONS ( TRANSACTION_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, LAST_UPDATE_LOGIN, REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, INVENTORY_ITEM_ID, ORGANIZATION_ID, SUBINVENTORY_CODE, LOCATOR_ID, REVISION, TRANSACTION_TYPE_ID, TRANSACTION_ACTION_ID, TRANSACTION_SOURCE_TYPE_ID, TRANSACTION_SOURCE_ID, TRANSACTION_SOURCE_NAME, TRANSACTION_QUANTITY, TRANSACTION_UOM, PRIMARY_QUANTITY, TRANSACTION_DATE, TRANSACTION_COST, ACTUAL_COST, PRIOR_COST, NEW_COST, QUANTITY_ADJUSTED, VARIANCE_AMOUNT, TRANSFER_COST, TRANSPORTATION_COST, TRANSFER_TRANSACTION_ID, TRANSFER_ORGANIZATION_ID, TRANSFER_SUBINVENTORY, TRANSFER_LOCATOR_ID , ACCT_PERIOD_ID, TRANSACTION_REFERENCE, REASON_ID, REPETITIVE_LINE_ID, DEPARTMENT_ID, OPERATION_SEQ_NUM, SHIPMENT_NUMBER, FREIGHT_CODE, WAYBILL_AIRBILL, TRX_SOURCE_LINE_ID, MOVE_ORDER_LINE_ID , COSTED_FLAG , INVOICED_FLAG , DISTRIBUTION_ACCOUNT_ID , ENCUMBRANCE_ACCOUNT , ENCUMBRANCE_A MOUNT , COST_UPDATE_ID , PROJECT_ID , TASK_ID , TO_PROJECT_ID , TO_TASK_ID , LPN_ID , TRANSFER_LPN_ID, CONTENT_LPN_ID , PUT_AWAY_STRATEGY_ID , PUT_AWAY_RULE_ID , PICK_STRATEGY_ID , PICK_RULE_ID , CREATED_BY , COST_GROUP_ID , TRANSFER_COST_GROUP_ID , TRANSACTION_SET_ID , PM_COST_COLLECTED , COST_CATEGORY_ID , ORGANIZATION_TYPE , TRANSFER_ORGANIZATION_TYPE , OWNING_ORGANIZATION_ID , OWNING_TP_TYPE , PLANNING_ORGANIZATION_ID , PLANNING_TP_TYPE , XFR_OWNING_ORGANIZATION_ID , TRANSFER_OWNING_TP_TYPE , XFR_PLANNING_ORGANIZATION_ID , TRANSFER_PLANNING_TP_TYPE , SECONDARY_TRANSACTION_QUANTITY , SECONDARY_UOM_CODE, PICK_SLIP_NUMBER, PICKING_LINE_ID, VENDOR_LOT_NUMBER, SOURCE_CODE, SOURCE_LINE_ID, MOVE_TRANSACTION_ID, RCV_TRANSACTION_ID, COMPLETION_TRANSACTION_ID, CURRENCY_CODE, CURRENCY_CONVERSION_RATE, CURRENCY_CONVERSION_DATE, CURRENCY_CONVERSION_TYPE, MATERIAL_ACCOUNT, MATERIAL_OVERHEAD_ACCOUNT, RESOURCE_ACCOUNT, OUTSIDE_PROCESSING_ACCOUNT, OVERHEAD_ACCOUNT, MOV EMENT_ID, SOURCE_PROJECT_ID, SOURCE_TASK_ID, PA_EXPENDITURE_ORG_ID, EXPENDITURE_TYPE, TRANSFER_PERCENTAGE, ORG_COST_GROUP_ID, COST_TYPE_ID, VALUE_CHANGE, PERCENTAGE_CHANGE, EMPLOYEE_CODE, MASTER_SCHEDULE_UPDATE_CODE, TRX_SOURCE_DELIVERY_ID, RECEIVING_DOCUMENT, TRANSPORTATION_DIST_ACCOUNT, NUMBER_OF_CONTAINERS, RMA_LINE_ID, CYCLE_COUNT_ID, PHYSICAL_ADJUSTMENT_ID, FLOW_SCHEDULE, FINAL_COMPLETION_FLAG, QA_COLLECTION_ID, OVERCOMPLETION_TRANSACTION_QTY, OVERCOMPLETION_PRIMARY_QTY, OVERCOMPLETION_TRANSACTION_ID, COMMON_BOM_SEQ_ID, COMMON_ROUTING_SEQ_ID, MVT_STAT_STATUS, PICK_SLIP_DATE, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, SHIP_TO_LOCATION_ID, TRANSACTION_MODE, TRANSACTION_BATCH_ID, TRANSACTION_BATCH_SEQ, FOB_POINT, INTRANSIT_ACCOUNT, TRX_FLOW_HEADER_ID, L OGICAL_TRX_TYPE_CODE, ORIGINAL_TRANSACTION_TEMP_ID, SHORTAGE_PROCESS_CODE) VALUES(:1, SYSDATE, :2, SYSDATE, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, ROUND(:17, 5), :18, ROUND(:19, 5), nvl(:20, sysdate), :21, :22, :23, :24, :25, :26, :27, :28, :29, :30, :31, :32, :33, :34, :35, :36, :37, :38, :39, :40, :41, :42, :43, 'N', 'N', :44, :45, :46, :47, :48, :49, :50, :51, :52, :53, :54, :55, :56, :57, :58, :59, :60, :61, :62, :63, :64, :65, :66, :67, :68, :69, :70, :71, :72, :73, :74, :75, :76, :77, :78, :79, :80, :81, :82, :83, :84, :85, :86, :87, :88, :89, :90, :91, :92, :93, :94, :95, :96, :97, :98, :99, :100, :101, :102, :103, :104, :105, :106, :107, :108, :109, :110, :111, :112, :113, :114, :115, :116, :117, :118, :119, :120, 'NEW', :121, :122, :123, :124, :125, :126, :127, :128, :129, :130, :131, :132, :133, :134, :135, :136, :137, :138, :139, :140, :141, :142, :143, :144, :145, :146, :147)
25wzrzwd46a44 SELECT 1 FROM DUAL WHERE EXISTS ( SELECT 1 FROM FND_GRANTS G, WF_USER_ROLES R WHERE G.GRANTEE_KEY = R.ROLE_NAME AND R.USER_NAME IN (SELECT INCRNS.NAME FROM WF_LOCAL_ROLES SRC , WF_LOCAL_ROLES INCRNS WHERE SRC.NAME = :B4 AND SRC.PARENT_ORIG_SYSTEM = INCRNS.PARENT_ORIG_SYSTEM AND SRC.PARENT_ORIG_SYSTEM_ID = INCRNS.PARENT_ORIG_SYSTEM_ID) AND G.OBJECT_ID = :B3 AND ((:B2 = -1) OR (G.MENU_ID IN (SELECT CMF.MENU_ID FROM FND_COMPILED_MENU_FUNCTIONS CMF WHERE CMF.FUNCTION_ID = :B2 ))) AND ( G.CTX_SECGRP_ID = -1 OR G.CTX_SECGRP_ID = SYS_CONTEXT('FND', 'SECURITY_GROUP_ID')) AND ( G.CTX_RESP_ID = -1 OR G.CTX_RESP_ID = SYS_CONTEXT('FND', 'RESP_ID')) AND ( G.CTX_RESP_APPL_ID = -1 OR G.CTX_RESP_APPL_ID = SYS_CONTEXT('FND', 'RESP_APPL_ID')) AND ( G.CTX_ORG_ID = -1 OR G.CTX_ORG_ID = SYS_CONTEXT('FND', 'ORG_ID')) AND G.START_DATE <= SYSDATE AND ( G.END_DATE IS NULL OR G.END_DATE >= SYSDATE ) AND G.INSTANCE_TYPE = :B1 )
2fjd6cndjby9p INSERT INTO RA_CUST_TRX_LINE_GL_DIST ( CUSTOMER_TRX_LINE_ID, CUSTOMER_TRX_ID, CODE_COMBINATION_ID, SET_OF_BOOKS_ID, ACCOUNT_CLASS, ACCOUNT_SET_FLAG, PERCENT, AMOUNT, ACCTD_AMOUNT, GL_DATE, CUST_TRX_LINE_SALESREP_ID, REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, POSTING_CONTROL_ID, ORIGINAL_GL_DATE, CUST_TRX_LINE_GL_DIST_ID ) SELECT /*+ ORDERED */ ASS.CUSTOMER_TRX_LINE_ID, LINES.CUSTOMER_TRX_ID, DIST.CODE_COMBINATION_ID, :B12 , ASS.ACCOUNT_CLASS, 'N', ROUND( (DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * DECODE(ASS.AMOUNT, 0, DECODE(ASS.ACCOUNT_CLASS, 'REV', DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, 1, -1 ), DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, -1, 1 ) ), ASS.AMOUNT ), FC.PRECISION), ROUND( ((DIST.PERCENT/100) * DECODE(ASS.AMOUNT, 0, DECODE(ASS.ACCOUNT_CLASS, 'REV', DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, 1, -1), DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, -1, 1) ), ASS.AMOUNT) ) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT) / DECODE(LINES.EXTENDED_AMOUNT, 0, 1, LINES.EXTENDED_AMOUNT)) * DECODE(ASS.AMOUNT, 0, 0, 100), 4), DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ((DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT), DECODE(:B10 , NULL, ROUND( NVL(HEADER.EXCHANGE_ RATE, 1) * DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ((DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT ), :B11 ), ROUND( ( NVL(HEADER.EXCHANGE_RATE, 1) * DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ( (DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT ) ) / :B10 ) * :B10 ), DECODE(REC.GL_DATE, NULL, NULL, ARP_AUTO_RULE.ASSIGN_GL_DATE(ASS.GL_DATE) ), DECODE(DIST.CUSTOMER_TRX_ID, HEADER.CUSTOMER_TRX_ID, DIST.CUST_TRX_LINE_SALESREP_ID, CMSREP.CUST_TRX_LINE_SALESREP_ID), :B9 , :B8 , :B7 , SYSDATE, SYSDATE, :B6 , SYSDATE, :B6 , -3, ASS.GL_DATE, RA_CUST_TRX_LINE_GL_DIST_S.NEXTVAL FROM RA_CUSTOMER_TRX HEADER, FND_CURRENCIES FC, RA_CUSTOMER_TRX_LINES LINES, RA_RULES ACC_RULE, RA_CUST_TRX_LINE_GL_DIST REC, RA_CUST_TRX_LINE_GL_DIST DIST, RA_CUST_TRX_LINE_SALESREPS CMSREP, AR_REVENUE_ASSIGNMENTS ASS WHERE HEADER.CUSTOMER_TRX_ID = :B1 AND HEADER.COMPLETE_FLAG = 'Y' AND FC.CURRENCY_CODE = HEADER.INVOICE_CURRENCY_CODE AND LINES.CUSTOMER_TRX_ID = HEADER.CUSTOMER_TRX_ID AND LINES.AUTORULE_COMPLETE_FLAG||'' = 'N' AND ASS.CUSTOMER_TRX_LINE_ID = LINES.CUSTOMER_TRX_LINE_ID AND ASS.PERIOD_SET_NAME = :B5 AND ACC_RULE.RULE_ID = LINES.ACCOUNTING_RULE_ID AND DECODE(HEADER.INVOICING_RULE_ID, -3, :B3 , DECODE(NVL(ACC_RULE.DEFERRED_REVENUE_FLAG, 'N'), 'Y', :B2 , DECODE(:B4 , 'N', :B3 , DECODE(HEADER.PREVIOUS_CUSTOMER_TRX_ID, NULL, AR_REVENUE_MANAGEMENT_PVT.LINE_COLLECTIBILITY(:B1 , LINES.CUSTOMER_TRX_LINE_ID), AR_REVENUE_MANAGEMENT_PVT.CASH_BASED(HEADER.PREVIOUS_CUSTOMER_TRX_ID))))) <> :B2 AND REC.CUSTOMER_TRX_ID = HEADER.CUSTOMER_TRX_ID AND REC.ACCOUNT_CLASS = 'REC' AND REC.LATEST_REC_FLAG = 'Y' AND DIST.CUSTOMER_TRX_LINE_ID = (SELECT DECODE(COUNT(CUST_TRX_LINE_GL_DIST_ID), 0, NVL(LINES.PREVIOUS_CUSTOMER_TRX_LINE_ID, LINES.CUSTOMER_TRX_LINE_ID), LINES.CUSTOMER_TRX_LINE_ID) FROM RA_CUST_TRX_LINE_GL_DIST SUBDIST2 WHERE SUBDIST2.CUSTOMER_TRX_LINE_ID = LINES.CUSTOMER_TRX_LINE_ID AND SUBDIST2.ACCOUNT_SET_FLAG = 'Y' AND SUBDIST2.GL_DATE IS NULL AND ROWNUM < 2 ) AND DIST.ACCOUNT_CLASS = ASS.ACCOUNT_CLASS AND DIST.ACCOUNT_SET_FLAG = 'Y' AND DIST.CUST_TRX_LINE_SALESREP_ID = CMSREP.PREV_CUST_TRX_LINE_SALESREP_ID (+) AND :B1 = CMSREP.CUSTOMER_TRX_ID (+) AND NOT EXISTS ( SELECT 'distribution exists' FROM RA_CUST_TRX_LINE_GL_DIST SUBDIST WHERE SUBDIST.CUSTOMER_TRX_LINE_ID = ASS.CUSTOMER_TRX_LINE_ID AND SUBDIST.CUSTOMER_TRX_ID + 0 = LINES.CUSTOMER_TRX_ID AND SUBDIST.ACCOUNT_SET_FLAG = 'N' AND SUBDIST.ACCOUNT_CLASS = ASS.ACCOUNT_CLASS AND SUBDIST.ORIGINAL_GL_DATE = ASS.GL_DATE )
2fr5f5xzmffd8 SELECT decode ( : P_sortby , 'PO NUMBER' , null , poh . document_buyer_last_name ) , decode ( : P_sortby , 'PO NUMBER' , null , poh . document_buyer_first_name ) , decode ( : po_num_type , 'NUMERIC' , null , poh . po_num ) , decode ( : po_num_type , 'NUMERIC' , decode ( rtrim ( poh . po_num , '0123456789' ) , NULL , to_number ( poh . po_num ) , - 1 ) , null ) , poh . po_type poh_po_type , por . release_type poh_release_type , poh . po_num || decode ( poh . po_type , 'RELEASE' , '-' || por . release_num , null ) poh_po_num , poh . po_num security_poh_po_num , por . release_num security_por_po_num , poh . revision_num poh_revision_num , poh . vendor_name poh_vendor_name , poh . vendor_address_line1 poh_vendor_address_line1 , poh . vendor_address_line2 poh_vendor_address_line2 , poh . vendor_address_line3 poh_vendor_address_line3 , decode ( poh . vendor_city , null , poh . vendor_state || ' ' || poh . vendor_postal_code , poh . vendor_city || ', ' || poh . vendor_state || ' ' || poh . vendor_postal_code ) poh_vendor_adr_info , poh . vendor_country poh_vendor_country , poh . customer_num poh_customer , poh . vendor_num poh_vendor_num , poh . creation_date poh_creation_date , poh . revised_date poh_revised_date , substr ( substr ( poh . document_buyer_first_name , 1 , 1 ) || ' ' || poh . document_buyer_last_name , 1 , 12 ) poh_buyer , substr ( trim ( substr ( poh . archive_buyer_first_name , 1 , 1 ) || ' ' || poh . archive_buyer_l ast_name ) , 1 , 12 ) poh_archive_buyer , poh . document_buyer_agent_id poh_agent_id , poh . payment_terms poh_payment_terms , poh . ship_via poh_ship_via , poh . fob poh_fob , poh . freight_terms poh_freight_terms , substr ( poh . vendor_contact_first_name , 1 , 1 ) || ' ' || substr ( poh . vendor_contact_last_name , 1 , 10 ) poh_vendor_contact_name , poh . vendor_phone poh_vendor_phone , poh . vendor_contact_phone poh_vendor_contact_phone , poh . note_to_vendor poh_note_to_vendor , poh . printed_date poh_printed_date , poh . amount_agreed poh_amount_agreed , poh . cancel_flag poh_cancel_flag , poh . confirming_order_flag poh_confirming_order_flag , poh . acceptance_required_flag poh_acceptance_req_flag , poh . acceptance_due_date poh_acceptance_due_date , poh . currency_code poh_currency_code , poh . currency_code C_CURRENCY , poh . currency_name poh_currency_name , poh . currency_conversion_rate poh_currency_conversion_rate , poh . bill_to_location_id poh_bill_to_location , poh . ship_to_location_id poh_ship_to_location , poh . po_header_id poh_po_header_id , poh . po_release_id poh_po_release_id , poh . po_type poh_po_type , poh . approved_flag poh_approved_flag , poh . print_count poh_print_count , poh . effective_date poh_effective_date , poh . expiration_date poh_expiration_date , nvl ( poh . po_release_id , - 1 ) poh_join_release_id , poh . vendor_site_id poh_vendor_site_id , poh . vendor_id poh_vendor_id FROM po_headers_print poh , po_releases por WHERE poh . po_release_id = por . po_release_id (+) AND ( nvl ( por . release_num , - 1 ) BETWEEN nvl ( : P_release_num_from , nvl ( por . release_num , - 1 ) ) AND nvl ( : P_release_num_to , nvl ( por . release_num , - 1 ) ) OR poh . po_type != 'RELEASE' ) AND poh . document_buyer_agent_id = nvl ( : P_agent_id , poh . document_buyer_agent_id ) AND ( poh . release_date is NULL OR trunc ( poh . release_date ) BETWEEN nvl ( : P_date_from , trunc ( poh . release_date ) ) AND nvl ( : P_date_to , trunc ( poh . release_date ) + 1 ) ) AND nvl ( poh . approved_flag , 'N' ) = nvl ( : P_approved_flag , nvl ( poh . approved_flag , 'N' ) ) AND ( ( nvl ( : P_print_releases , 'Y' ) = 'Y' ) or ( nvl ( : P_print_releases , 'Y' ) = 'N' and poh . po_type != 'RELEASE' ) ) AND nvl ( poh . consigned_consumption_flag , 'N' ) <> 'Y' AND nvl ( por . consigned_consumption_flag , 'N' ) <> 'Y' AND :P_SINGLE_PO_PRINT != 1 AND :P_PO_NUM_TYPE = 'NUMERIC' AND decode(rtrim(poh.po_num, '0123456789'), NULL, to_number(poh.po_num), -1) BETWEEN decode(rtrim(nvl(:P_po_num_from, poh.po_num), '0123456789'), NULL, to_number(nvl(:P_po_num_from, poh.po_num)), -1) AND decode(rtrim(nvl(:P_po_num_to, poh.po_num), '0123456789'), NULL, to_number(nvl(:P_po_num_to, poh.po_num)), -1) AND nvl(poh.print_count, 0) = 0 AND NOT EXISTS (SELECT 'X' from ECE_TP_DETAILS ETD, ECE_TP_HEADERS ETH, PO_VENDOR_SITES E_PVS WHERE E_PVS.VENDOR_SITE_ID = POH.VENDOR_SITE_ID AND ETH.TP_HEADER_ID = E_PVS.TP_HEADER_ID AND ETD.TP_HEADER_ID = ETH.TP_HEADER_ID AND ETD.EDI_FLAG = 'Y' AND ETD.DOCUMENT_ID = 'POO' AND ETD.DOCUMENT_TYPE = POH.PO_TYPE ) and 1=1 ORDER BY 1 , 2 , 3 , 4
2g2hu9q4dr07c SELECT DELIVERY_DETAIL_ID, SOURCE_HEADER_ID, SOURCE_LINE_ID FROM WSH_DELIVERY_DETAILS WHERE MOVE_ORDER_LINE_ID = :B1 AND MOVE_ORDER_LINE_ID IS NOT NULL AND RELEASED_STATUS = 'S' FOR UPDATE NOWAIT
2ym6hhaq30r73 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
36zzrb9hja4my begin jtf_icxses.updateSessionInfo(:1, :2, :3, :4); end;
3c086a4sm741b select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . cust_trx_type_id ) dummy_id , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . name ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , cust_acct . cust_account_id customer_id , cust_acct . account_number customer_number , types . name type , ps . payment_schedule_id payment_sched_id , ps . class class , ps . due_date due_date , decode ( : rp_convert_flag , 'Y' , ps . acctd_amount_due_remaining , ps . amount_due_remaining ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , ps . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp _bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b1 , decode ( : rp_bucket_line_type_2 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( par ty . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from ra_cust_trx_types_all types , hz_cust_accounts cust_acct , hz_parties party , AR_PAYMENT_SCHEDULES_ALL ps , RA_CUST_TRX_LINE_GL_DIST_ALL gld , gl_code_combinations cc where TRUNC ( ps.gl_date ) <= : p_as_of_date and ps.customer_id = cust_acct.cust_account_id and cust_acct.party_id = party.party_id and cust_acct.account_number >= : p_customer_number_low and cust_acct.account_number <= : p_customer_number_high and ps.cust_trx_type_id = types.cust_trx_type_id and nvl ( ps.org_id , - 99 ) = nvl ( types.org_id , - 99 ) and ps.gl_date_closed > : P_AS_OF_DATE and ps.customer_trx_id + 0 = gld.customer_trx_id and gld.account_class = 'REC' and gld.latest_rec_flag = 'Y' and gld.code_combination_id = cc.code_combination_id AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( TYPES.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( GLD.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id UNION ALL select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , - 999 ) dummy_id , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , decode ( app . applied_payment_schedule_id , - 4 , : c_claim_meaning , : c_payment_meaning ) ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , nvl ( cust_acct . cust_account_id , - 999 ) customer_id , cust_acct . account_number customer_ number , decode ( : p_order_by , 'XXX' , NULL , decode ( app . applied_payment_schedule_id , - 4 , : c_claim_meaning , : c_payment_meaning ) ) type , ps . payment_schedule_id payment_sched_id , ps . class class , ps . due_date due_date , - sum ( decode ( : rp_convert_flag , 'Y' , app . acctd_amount_applied_from , app . amount_applied ) ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , ps . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b1 , decode ( : rp_bucket_line_type_2 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , c eil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( party . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from AR_PAYMENT_SCHEDULES_ALL ps , AR_RECEIVABLE_APPLICATIONS_ALL app , gl_code_combinations cc , hz_cust_accounts cust_acct , hz_parti es party where app.gl_date + 0 <= : P_AS_OF_DATE and ps.customer_id = cust_acct.cust_account_id (+) and cust_acct.party_id = party.party_id (+) and nvl ( cust_acct.account_number , : pd_customer_number_low ) >= : p_customer_number_low and nvl ( cust_acct.account_number , : pd_customer_number_low ) <= : p_customer_number_high and ps.cash_receipt_id + 0 = app.cash_receipt_id and app.code_combination_id = cc.code_combination_id and app.status in ( 'ACC' , 'UNAPP' , 'UNID' , 'OTHER ACC' ) and nvl ( app.confirmed_flag , 'Y' ) = 'Y' and ps.gl_date_closed > : P_AS_OF_DATE and ( ( app.reversal_gl_date is not null AND ps.gl_date <= : P_AS_OF_DATE ) OR app.reversal_gl_date is null ) and nvl ( ps.receipt_confirmed_flag , 'Y' ) = 'Y' AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( APP.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id group by party.party_name , cust_acct.account_number , cust_acct.cust_account_id , ps.payment_schedule_id , app.applied_payment_schedule_id , ps.due_date , ps.amount_due_original , ps.amount_adjusted , ps.amount_applied , ps.amount_credited , ps.gl_date , ps.amount_in_dispute , ps.amount_adjusted_pending , ps.invoice_currency_code , ps.exchange_rate , ps.class , cc.SEGMENT1 , decode ( app.status , 'UNID' , 'UNID' , 'UNAPP' ) UNION ALL select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , - 999 ) , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , : c_risk_meaning ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , nvl ( cust_acct . cust_account_id , - 999 ) customer_id , cust_acct . account_number customer_number , : c_risk_meaning type , ps . payment_schedule_id payment_sched_id , : c_risk_meaning class , ps . due_date due_date , decode ( : rp_convert_flag , 'Y' , crh . acctd_amount , crh . amount ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , crh . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b1 , decode ( : rp_bucket_line_type _2 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( party . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from hz_cust_accounts cust_acct , hz_parties party , AR_PAYMENT_SCHEDULES_ALL ps , AR_CASH_RECEIPTS_ALL cr , AR_CASH_RECEIPT_HISTORY_ALL crh , gl_code_combinations cc where crh.gl_date + 0 <= : P_AS_OF_DATE and upper ( : p_risk_option ) != 'NONE' and ps.customer_id = cust_acct.cust_account_id (+) and cust_acct.party_id = party.party_id (+) and cust_acct.account_number >= : p_customer_number_low and cust_acct.account_number <= : p_customer_number_high and ps.cash_receipt_id = cr.cash_receipt_id and cr.cash_receipt_id = crh.cash_receipt_id and crh.account_code_combination_id = cc.code_combination_id and ( crh.current_record_flag = 'Y' or crh.reversal_gl_date > : p_as_of_date ) and crh.status not in ( decode ( crh.factor_flag , 'Y' , 'RISK_ELIMINATED' , 'N' , 'CLEARED' ) , 'REVERSED' ) and 0 = ( select nvl ( sum ( ra.amount_applied ) , 0 ) from AR_RECEIVABLE_APPLICATIONS_ALL ra where ra.cash_receipt_id = cr.cash_receipt_id and ra.status = 'ACTIVITY' and applied_payment_schedule_id = - 2 and ra.gl_date <= to_date ( : p_as_of_date ) ) AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( CR.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( CRH.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id UNION ALL select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . cust_trx_type_id ) dummy_id , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . name ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , cust_acct . cust_account_id customer_id , cust_acct . account_number customer_number , types . name type , ps . payment_schedule_id payment_sched_id , ps . class class , ps . due_date due_date , decode ( : rp_convert_flag , 'Y' , ps . acctd_amount_due_remaining , ps . amount_due_remaining ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , ps . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b1 , decode ( : rp_bucket_line_type_2 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_ from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( party . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from ra_cust_trx_types_all types , hz_cust_accounts cust_acct , hz_parties party , AR_PAYMENT_SCHEDULES_ALL ps , ar_transaction_history_all th , AR_DISTRIBUTIONS_ALL dist , gl_code_combinations cc where TRUNC ( ps.gl_date ) <= : p_as_of_date and ps.class = 'BR' and ps.customer_id = cust_acct.cust_account_id and cust_acct.party_id = party.party_id and cust_acct.account_number >= : p_customer_number_low and cust_acct.account_number <= : p_customer_number_high and ps.cust_trx_type_id = types.cust_trx_type_id and nvl ( ps.org_id , - 99 ) = nvl ( types.org_id , - 99 ) and ps.gl_date_closed > : P_AS_OF_DATE and ps.customer_trx_id + 0 = th.customer_trx_id and th.transaction_history_id = dist.source_id and dist.source_table = 'TH' and th.transaction_history_id = ( select max ( transaction_history_id ) from ar_transaction_history_all th2 , AR_DISTRIBUTIONS_ALL dist2 where th2.transaction_history_id = dist2.source_id and dist2.source_table = 'TH' and th2.gl_date <= to_date ( : p_as_of_date ) and dist2.amount_dr is not null and th2.customer_trx_id = ps.customer_trx_id ) and dist.amount_dr is not null and dist.source_table_secondary is NULL and dist.code_combination_id = cc.code_combination_id AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( TYPES.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id ORDER BY 23 ASC, 2 ASC, 3 ASC, 4 ASC, 5 ASC , 23 , 3 , 5
3dssuqfjsynrk SELECT count(1) FROM (SELECT * FROM ( SELECT LeadEO.sales_lead_id as SalesLeadId , to_char(hz_timezone_pub.convert_datetime(:1, hcp.timezone_id, SYSDATE), 'HH:MI AM ') ||' '||ht.standard_time_short_code as PrimaryContactLocalTime , SUBSTRB(LeadEO.description, 1, 240) as Description , hp.party_name as ContactName , custParty.party_name as CustomerName , aslt.meaning as RankName , ast.meaning as LeadStatus , ROUND(SYSDATE - LeadEO.creation_date) as Age , DECODE(LeadEO.status_code, 'CONVERTED_TO_OPPORTUNITY', 'ASNCnvToOpptyDsbld', 'ASNCnvToOpptyEnbld') as ASNLeadLstCnvToOppty , LeadEO.customer_id , hp.party_id , LeadEO.primary_contact_party_id , hr.relationship_id FROM as_sales_leads LeadEO , ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id, aaa.customer_id FROM as_accesses_all aaa WHERE aaa.sales_lead_id IS NOT NULL AND aaa.lead_id IS NULL AND aaa.salesforce_id = :2) secu , as_statuses_tl ast , as_sales_lead_ranks_tl aslt , hz_parties CustParty , hz_parties hp, hz_relationships hr , hz_contact_points hcp , hz_timezones ht , ams_source_codes amsc WHERE LeadEO.sales_lead_id = secu.sales_lead_id AND LeadEO.customer_id = secu.customer_id AND LeadEO.status_code = ast.status_code AND ast.language = USERENV('LANG') AND LeadEO.lead_rank_id = aslt.rank_id (+) AND aslt.language (+) = USERENV('LANG') AND LeadEO.customer_id = CustParty.party_id AND LeadEO.primary_contact_party_id = hr.party_id(+) AND hr.subject_ id = hp.party_id (+) AND hr.subject_table_name (+) = 'HZ_PARTIES' AND hr.object_id(+) = LeadEO.customer_id AND hr.object_table_name (+) = 'HZ_PARTIES' AND LeadEO.primary_contact_party_id = hcp.owner_table_id(+) AND hcp.owner_table_name (+) = 'HZ_PARTIES' AND hcp.primary_flag (+) = 'Y' AND hcp.contact_point_type (+) = 'PHONE' AND hcp.timezone_id = ht.timezone_id (+) AND LeadEO.source_promotion_id = amsc.source_code_id AND amsc.source_code_for_id = :3 AND LeadEO.status_code = :4 ORDER BY age ) )
3g7y3gf1w3f3k SELECT 'INTERACTION', '1', a.creation_date, a.created_by, a.activity_id, m.media_item_type, null, jtfaction.short_description, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, sysdate, sysdate, r.resource_id FROM jtf_ih_activities a, jtf_ih_media_items m, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r, JTF_IH_ACTIONS_TL jtfaction WHERE a.doc_id = :1 AND a.doc_ref = 'SR' AND a.created_by = u.user_id AND a.action_id = jtfaction.action_id AND jtfaction.language = userenv('LANG') AND a.media_id = m.media_id (+) AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) UNION ALL SELECT 'NOTE', '2', b.creation_date, b.entered_by, b.jtf_note_id, t.notes, b.note_status, lkcmttype.meaning, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, sysdate, sysdate, r.resource_id FROM fnd_lookup_values_vl lkcmttype, jtf_notes_tl t, jtf_notes_b b, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE b.jtf_note_id = t .jtf_note_id AND t.language = userenv('LANG') AND b.source_object_code = 'SR' AND b.note_status = 'E' AND b.source_object_id = :2 AND lkcmttype.lookup_type = 'JTF_NOTE_TYPE' AND b.note_type = lkcmttype.lookup_code AND b.created_by = u.user_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) UNION ALL SELECT 'ATTACHMENT', '3', lobs.upload_date, atth.created_by, lobs.file_id, null, null, lobs.file_name, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, SYSDATE, SYSDATE, r.resource_id FROM fnd_lobs lobs, fnd_attached_docs_form_vl atth, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE atth.entity_name = 'CS_INCIDENTS' AND atth.pk1_value = :3 AND atth.created_by = u.user_id AND atth.function_name = :4 AND atth.media_id = lobs.file_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) UNION ALL SELECT 'TASK', '5', task.creation_date, task.created_by, task.task_id, tl.task_name, tl.description, stl.name, tktype.name, null, null, n ull, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, task.planned_start_date, task.planned_end_date, r.resource_id FROM jtf_tasks_b task, jtf_tasks_tl tl, jtf_task_statuses_tl stl, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r, jtf_task_types_tl tktype WHERE task.source_object_id = :5 AND task.source_object_type_code = 'SR' AND tl.language = userenv ('LANG') AND stl.language = userenv('LANG') AND tktype.task_type_id = task.task_type_id AND tktype.language = userenv('LANG') AND task.task_status_id = stl.task_status_id AND task.created_by = u.user_id AND task.task_id = tl.task_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND trunc(sysdate) between trunc(nvl(e.effective_start_date, sysdate)) AND trunc(nvl(e.effective_end_date, sysdate)) and task.publish_flag = 'Y' UNION ALL SELECT 'AUDIT', '4', audi.creation_date, audi.created_by, audi.incident_audit_id, null, null, null, AUDI.CHANGE_INCIDENT_SEVERITY_FLAG, sevt_old.name, sevt.name, AUDI.CHANGE_INCIDENT_TYPE_FLAG, typet_old.name, typet.name, AUDI.CHANGE_INCIDENT_STATUS_FLAG, stat_old.name, stat.name, AUDI.CHANGE_INCIDENT_URGENCY_FLAG, urgt_old.name, urgt.name, DECODE(AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, 'Y', AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, AUDI.CHANGE_INVENTORY_ITEM_FLAG), DECODE(AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, 'Y', DECODE(AUDI.CHANGE_INVENTORY_ITEM_FLAG, 'Y', NVL(to_char(audi.old_customer_product_id), 'INV'||audi.old_inventory_item_id), audi.old_customer_product_id), 'INV'||audi.old_inventory_item_id), DECODE(AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, 'Y', DECODE(AUDI.CHANGE_INVENTORY_ITEM_FLAG, 'Y', NVL(to_char(audi.customer_product_id), 'INV'||audi.inventory_item_id), audi.customer_product_id), 'INV'||audi.inventory_item_id), u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, sysdate, sysdate, r.resource_id FROM cs_incidents_audit_b audi, CS_INCIDENT_SEVERITIES_VL sevt_old, CS_INCIDENT_SEVERITIES_VL sevt, cs_incident_types_VL typet_old, cs_incident_types_VL typet, cs_incident_statuses_VL stat_old, cs_incident_statuses_VL stat, cs_incident_urgencies_VL urgt_old, cs_incident_urgencies_VL urgt, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE audi.incident_id = :6 AND sevt_old.incident_severity_id = AUDI.old_incident_severity_id AND sevt.incident_severity_id = AUDI.incident_severity_id AND typet_old.incident_type_id = AUDI.old_incident_type_id AND typet.incident_type_id = AUDI.incident_type_id AND stat_old.incident_status_id = AUDI.old_inc ident_status_id AND stat.incident_status_id = AUDI.incident_status_id AND urgt_old.incident_urgency_id(+) = AUDI.old_incident_urgency_id AND urgt.incident_urgency_id(+) = AUDI.incident_urgency_id AND audi.created_by = u.user_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND trunc(sysdate) between trunc(nvl(e.effective_start_date, sysdate)) AND trunc(nvl(e.effective_end_date, sysdate)) UNION ALL SELECT 'SOLUTION', '6', link.creation_date, link.created_by, solu.set_id, solu.set_name, solu.set_number, solu.set_link_type_meaning, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, SYSDATE, SYSDATE, r.resource_id FROM cs_kb_linked_solutions_view solu, cs_kb_set_links link, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE solu.other_id = :7 AND solu.set_id = link.set_id AND solu.object_code = 'SR' AND link.created_by = u.user_id AND link.other_id = solu.other_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) ORDER BY 3 desc
3n8tvc1tsqua0 SELECT DISTINCT WTS.STOP_ID FROM WSH_TRIP_STOPS WTS, WSH_TRIP_STOPS WTS2, WSH_DELIVERY_LEGS WDL, WSH_DELIVERY_LEGS WDL2, WSH_DELIVERY_ASSIGNMENTS WDA, WSH_DELIVERY_ASSIGNMENTS WDA2, WSH_DELIVERY_DETAILS WDD, WSH_DELIVERY_DETAILS WDD2 WHERE WTS.BATCH_ID = :B1 AND WTS.STOP_ID = WDL.PICK_UP_STOP_ID AND WDA.DELIVERY_ID = WDL.DELIVERY_ID AND WDA.DELIVERY_DETAIL_ID = WDD.DELIVERY_DETAIL_ID AND WDD.SOURCE_CODE = 'OE' AND NVL(WDD.OE_INTERFACED_FLAG, 'N') <> 'Y' AND WDD.RELEASED_STATUS <> 'D' AND WTS2.BATCH_ID = :B1 AND WTS2.STOP_ID = WDL2.PICK_UP_STOP_ID AND WDA2.DELIVERY_ID = WDL2.DELIVERY_ID AND WDA2.DELIVERY_DETAIL_ID = WDD2.DELIVERY_DETAIL_ID AND WDD2.SOURCE_LINE_ID = WDD.SOURCE_LINE_ID AND WDD2.SOURCE_CODE = 'OE' AND NVL(WDD2.OE_INTERFACED_FLAG, 'N') <> 'Y' AND WDD2.RELEASED_STATUS <> 'D' AND WTS2.STOP_ID <> WTS.STOP_ID
3prk3vg9u0abb BEGIN FND_GLOBAL.APPS_INITIALIZE( user_id=>:1 , resp_id=>:2 , resp_appl_id=>:3 , security_group_id=>:4 , server_id=>:5);END;
3vy5h9xkfv1s5 INSERT INTO WF_ITEM_ATTRIBUTE_VALUES ( ITEM_TYPE, ITEM_KEY, NAME, TEXT_VALUE, NUMBER_VALUE, DATE_VALUE ) SELECT :B1 , :B2 , WIA.NAME, WIA.TEXT_DEFAULT, WIA.NUMBER_DEFAULT, WIA.DATE_DEFAULT FROM WF_ITEM_ATTRIBUTES WIA WHERE WIA.ITEM_TYPE = :B1
4adc1zhg5cmx0 UPDATE WSH_DELIVERY_DETAILS DD SET OE_INTERFACED_FLAG = :B5 WHERE SOURCE_LINE_ID = :B1 AND CONTAINER_FLAG = :B4 AND SOURCE_CODE = :B3 AND RELEASED_STATUS <> :B2 AND DD.DELIVERY_DETAIL_ID IN ( SELECT /*+ no_unnest */ DA.DELIVERY_DETAIL_ID FROM WSH_DELIVERY_ASSIGNMENTS DA , WSH_DELIVERY_LEGS DG, WSH_NEW_DELIVERIES DL, WSH_TRIP_STOPS ST WHERE DA.DELIVERY_DETAIL_ID = DD.DELIVERY_DETAIL_ID AND DL.DELIVERY_ID = DA.DELIVERY_ID AND DA.DELIVERY_ID IS NOT NULL AND ST.STOP_ID = DG.PICK_UP_STOP_ID AND ST.BATCH_ID = :B6 AND ST.STOP_LOCATION_ID = DL.INITIAL_PICKUP_LOCATION_ID AND DG.DELIVERY_ID = DL.DELIVERY_ID )
4d6uaffumxzmr SELECT SESSION_ID FROM ICX_SESSIONS WHERE XSID = :B1
4yak7x2zqz0dh BEGIN inv_transfer_order_pvt.finalize_pick_confirm(:1, :2, :3, :4, :5, :6, :7); END;
4z1g1n1wa0k2c SELECT * FROM RA_CUSTOMER_TRX TRX WHERE TRX.CUSTOMER_TRX_ID = :B169 AND ( NVL(TRX.TRX_NUMBER, :B1 ) = NVL( DECODE(:B168 , :B1 , TRX.TRX_NUMBER, :B168 ), :B1 ) AND NVL(TRX.CUSTOMER_TRX_ID, :B35 ) = NVL( DECODE(:B167 , :B35 , TRX.CUSTOMER_TRX_ID, :B167 ), :B35 ) AND NVL(TRX.CREATED_BY, :B35 ) = NVL( DECODE(:B166 , :B35 , TRX.CREATED_BY, :B166 ), :B35 ) AND NVL(TRUNC(TRX.CREATION_DATE), :B33 ) = NVL( DECODE(TRUNC(:B165 ), :B33 , TRUNC(TRX.CREATION_DATE), TRUNC(:B165 )), :B33 ) AND NVL(TRX.LAST_UPDATED_BY, :B35 ) = NVL( DECODE(:B164 , :B35 , TRX.LAST_UPDATED_BY, :B164 ), :B35 ) AND NVL(TRUNC(TRX.LAST_UPDATE_DATE), :B33 ) = NVL( DECODE(TRUNC(:B163 ), :B33 , TRUNC(TRX.LAST_UPDATE_DATE), TRUNC(:B163 )), :B33 ) AND NVL(TRX.LAST_UPDATE_LOGIN, :B35 ) = NVL( DECODE(:B162 , :B35 , TRX.LAST_UPDATE_LOGIN, :B162 ), :B35 ) AND NVL(TRX.SET_OF_BOOKS_ID, :B35 ) = NVL( DECODE(:B161 , :B35 , TRX.SET_OF_BOOKS_ID, :B161 ), :B35 ) AND NVL(TRX.PROGRAM_APPLICATION_ID, :B35 ) = NVL( DECODE(:B160 , :B35 , TRX.PROGRAM_APPLICATION_ID, :B160 ), :B35 ) AND NVL(TRX.PROGRAM_ID, :B35 ) = NVL( DECODE(:B159 , :B35 , TRX.PROGRAM_ID, :B159 ), :B35 ) AND NVL(TRUNC(TRX.PROGRAM_UPDATE_DATE), :B33 ) = NVL( DECODE(TRUNC(:B158 ), :B33 , TRUNC(TRX.PROGRAM_UPDATE_DATE), TRUNC(:B158 )), :B33 ) AND NVL(TRX.POSTING_CONTROL_ID, :B35 ) = NVL( DECODE(:B157 , :B35 , TRX.POSTING_CONTROL_ID, :B157 ), :B35 ) AND NVL(TRX.RA_POST_LOOP_NUMBER, :B35 ) = NVL( DECODE(:B156 , : B35 , TRX.RA_POST_LOOP_NUMBER, :B156 ), :B35 ) AND NVL(TRX.COMPLETE_FLAG, :B41 ) = NVL( DECODE(:B155 , :B41 , TRX.COMPLETE_FLAG, :B155 ), :B41 ) AND NVL(TRX.INITIAL_CUSTOMER_TRX_ID, :B35 ) = NVL( DECODE(:B154 , :B35 , TRX.INITIAL_CUSTOMER_TRX_ID, :B154 ), :B35 ) AND NVL(TRX.PREVIOUS_CUSTOMER_TRX_ID, :B35 ) = NVL( DECODE(:B153 , :B35 , TRX.PREVIOUS_CUSTOMER_TRX_ID, :B153 ), :B35 ) AND NVL(TRX.RELATED_CUSTOMER_TRX_ID, :B35 ) = NVL( DECODE(:B152 , :B35 , TRX.RELATED_CUSTOMER_TRX_ID, :B152 ), :B35 ) AND NVL(TRX.RECURRED_FROM_TRX_NUMBER, :B1 ) = NVL( DECODE(:B151 , :B1 , TRX.RECURRED_FROM_TRX_NUMBER, :B151 ), :B1 ) AND NVL(TRX.CUST_TRX_TYPE_ID, :B35 ) = NVL( DECODE(:B150 , :B35 , TRX.CUST_TRX_TYPE_ID, :B150 ), :B35 ) AND NVL(TRX.BATCH_ID, :B35 ) = NVL( DECODE(:B149 , :B35 , TRX.BATCH_ID, :B149 ), :B35 ) AND NVL(TRX.BATCH_SOURCE_ID, :B35 ) = NVL( DECODE(:B148 , :B35 , TRX.BATCH_SOURCE_ID, :B148 ), :B35 ) AND NVL(TRX.AGREEMENT_ID, :B35 ) = NVL( DECODE(:B147 , :B35 , TRX.AGREEMENT_ID, :B147 ), :B35 ) AND NVL(TRUNC(TRX.TRX_DATE), :B33 ) = NVL( DECODE(TRUNC(:B146 ), :B33 , TRUNC(TRX.TRX_DATE), TRUNC(:B146 )), :B33 ) AND NVL(TRX.BILL_TO_CUSTOMER_ID, :B35 ) = NVL( DECODE(:B145 , :B35 , TRX.BILL_TO_CUSTOMER_ID, :B145 ), :B35 ) AND NVL(TRX.BILL_TO_CONTACT_ID, :B35 ) = NVL( DECODE(:B144 , :B35 , TRX.BILL_TO_CONTACT_ID, :B144 ), :B35 ) AND NVL(TRX.BILL_TO_SITE_USE_ID, :B35 ) = NVL( DECODE(:B143 , :B35 , TRX.BILL_TO_SITE_USE_ID , :B143 ), :B35 ) AND NVL(TRX.SHIP_TO_CUSTOMER_ID, :B35 ) = NVL( DECODE(:B142 , :B35 , TRX.SHIP_TO_CUSTOMER_ID, :B142 ), :B35 ) AND NVL(TRX.SHIP_TO_CONTACT_ID, :B35 ) = NVL( DECODE(:B141 , :B35 , TRX.SHIP_TO_CONTACT_ID, :B141 ), :B35 ) AND NVL(TRX.SHIP_TO_SITE_USE_ID, :B35 ) = NVL( DECODE(:B140 , :B35 , TRX.SHIP_TO_SITE_USE_ID, :B140 ), :B35 ) AND NVL(TRX.SOLD_TO_CUSTOMER_ID, :B35 ) = NVL( DECODE(:B139 , :B35 , TRX.SOLD_TO_CUSTOMER_ID, :B139 ), :B35 ) AND NVL(TRX.SOLD_TO_SITE_USE_ID, :B35 ) = NVL( DECODE(:B138 , :B35 , TRX.SOLD_TO_SITE_USE_ID, :B138 ), :B35 ) AND NVL(TRX.SOLD_TO_CONTACT_ID, :B35 ) = NVL( DECODE(:B137 , :B35 , TRX.SOLD_TO_CONTACT_ID, :B137 ), :B35 ) AND NVL(TRX.CUSTOMER_REFERENCE, :B1 ) = NVL( DECODE(:B136 , :B1 , TRX.CUSTOMER_REFERENCE, :B136 ), :B1 ) AND NVL(TRUNC(TRX.CUSTOMER_REFERENCE_DATE), :B33 ) = NVL( DECODE(TRUNC(:B135 ), :B33 , TRUNC(TRX.CUSTOMER_REFERENCE_DATE), TRUNC(:B135 )), :B33 ) AND NVL(TRX.CREDIT_METHOD_FOR_INSTALLMENTS, :B1 ) = NVL( DECODE(:B134 , :B1 , TRX.CREDIT_METHOD_FOR_INSTALLMENTS, :B134 ), :B1 ) AND NVL(TRX.CREDIT_METHOD_FOR_RULES, :B1 ) = NVL( DECODE(:B133 , :B1 , TRX.CREDIT_METHOD_FOR_RULES, :B133 ), :B1 ) AND NVL(TRUNC(TRX.START_DATE_COMMITMENT), :B33 ) = NVL( DECODE(TRUNC(:B132 ), :B33 , TRUNC(TRX.START_DATE_COMMITMENT), TRUNC(:B132 )), :B33 ) AND NVL(TRUNC(TRX.END_DATE_COMMITMENT), :B33 ) = NVL( DECODE(TRUNC(:B131 ), :B33 , TRUNC(TRX.END_DATE_COMMITMENT), TRUNC(:B131 ) ), :B33 ) AND NVL(TRUNC(TRX.EXCHANGE_DATE), :B33 ) = NVL( DECODE(TRUNC(:B130 ), :B33 , TRUNC(TRX.EXCHANGE_DATE), TRUNC(:B130 )), :B33 ) AND NVL(TRX.EXCHANGE_RATE, :B35 ) = NVL( DECODE(:B129 , :B35 , TRX.EXCHANGE_RATE, :B129 ), :B35 ) AND NVL(TRX.EXCHANGE_RATE_TYPE, :B1 ) = NVL( DECODE(:B128 , :B1 , TRX.EXCHANGE_RATE_TYPE, :B128 ), :B1 ) AND NVL(TRX.CUSTOMER_BANK_ACCOUNT_ID, :B35 ) = NVL( DECODE(:B127 , :B35 , TRX.CUSTOMER_BANK_ACCOUNT_ID, :B127 ), :B35 ) AND NVL(TRX.FINANCE_CHARGES, :B41 ) = NVL( DECODE(:B126 , :B41 , TRX.FINANCE_CHARGES, :B126 ), :B41 ) AND NVL(TRX.FOB_POINT, :B1 ) = NVL( DECODE(:B125 , :B1 , TRX.FOB_POINT, :B125 ), :B1 ) AND NVL(TRX.COMMENTS, :B1 ) = NVL( DECODE(:B124 , :B1 , TRX.COMMENTS, :B124 ), :B1 ) AND NVL(TRX.INTERNAL_NOTES, :B1 ) = NVL( DECODE(:B123 , :B1 , TRX.INTERNAL_NOTES, :B123 ), :B1 ) AND NVL(TRX.INVOICE_CURRENCY_CODE, :B1 ) = NVL( DECODE(:B122 , :B1 , TRX.INVOICE_CURRENCY_CODE, :B122 ), :B1 ) AND NVL(TRX.INVOICING_RULE_ID, :B35 ) = NVL( DECODE(:B121 , :B35 , TRX.INVOICING_RULE_ID, :B121 ), :B35 ) AND NVL(TRX.LAST_PRINTED_SEQUENCE_NUM, :B35 ) = NVL( DECODE(:B120 , :B35 , TRX.LAST_PRINTED_SEQUENCE_NUM, :B120 ), :B35 ) AND NVL(TRX.ORIG_SYSTEM_BATCH_NAME, :B1 ) = NVL( DECODE(:B119 , :B1 , TRX.ORIG_SYSTEM_BATCH_NAME, :B119 ), :B1 ) AND NVL(TRX.PRIMARY_SALESREP_ID, :B35 ) = NVL( DECODE(:B118 , :B35 , TRX.PRIMARY_SALESREP_ID, :B118 ), :B35 ) AND NVL(TRX.PRINTING_COUNT, :B35 ) = NVL( DECODE(:B117 , :B35 , TRX.PRINTING_COUNT, :B117 ), :B35 ) AND NVL(TRUNC(TRX.PRINTING_LAST_PRINTED), :B33 ) = NVL( DECODE(TRUNC(:B116 ), :B33 , TRUNC(TRX.PRINTING_LAST_PRINTED), TRUNC(:B116 )), :B33 ) AND NVL(TRX.PRINTING_OPTION, :B1 ) = NVL( DECODE(:B115 , :B1 , TRX.PRINTING_OPTION, :B115 ), :B1 ) ) AND ( NVL(TRUNC(TRX.PRINTING_ORIGINAL_DATE), :B33 ) = NVL( DECODE(TRUNC(:B114 ), :B33 , TRUNC(TRX.PRINTING_ORIGINAL_DATE), TRUNC(:B114 )), :B33 ) AND NVL(TRX.PRINTING_PENDING, :B41 ) = NVL( DECODE(:B113 , :B41 , TRX.PRINTING_PENDING, :B113 ), :B41 ) AND NVL(TRX.PURCHASE_ORDER, :B1 ) = NVL( DECODE(:B112 , :B1 , TRX.PURCHASE_ORDER, :B112 ), :B1 ) AND NVL(TRUNC(TRX.PURCHASE_ORDER_DATE), :B33 ) = NVL( DECODE(TRUNC(:B111 ), :B33 , TRUNC(TRX.PURCHASE_ORDER_DATE), TRUNC(:B111 )), :B33 ) AND NVL(TRX.PURCHASE_ORDER_REVISION, :B1 ) = NVL( DECODE(:B110 , :B1 , TRX.PURCHASE_ORDER_REVISION, :B110 ), :B1 ) AND NVL(TRX.RECEIPT_METHOD_ID, :B35 ) = NVL( DECODE(:B109 , :B35 , TRX.RECEIPT_METHOD_ID, :B109 ), :B35 ) AND NVL(TRX.REMIT_TO_ADDRESS_ID, :B35 ) = NVL( DECODE(:B108 , :B35 , TRX.REMIT_TO_ADDRESS_ID, :B108 ), :B35 ) AND NVL(TRX.SHIPMENT_ID, :B35 ) = NVL( DECODE(:B107 , :B35 , TRX.SHIPMENT_ID, :B107 ), :B35 ) AND NVL(TRUNC(TRX.SHIP_DATE_ACTUAL), :B33 ) = NVL( DECODE(TRUNC(:B106 ), :B33 , TRUNC(TRX.SHIP_DATE_ACTUAL), TRUNC(:B106 )), :B33 ) AND NVL(TRX.SHIP_VIA, :B1 ) = NVL( DECODE(:B105 , :B1 , TRX.SHIP_VIA, :B105 ), :B1 ) AND NVL (TRUNC(TRX.TERM_DUE_DATE), :B33 ) = NVL( DECODE(TRUNC(:B104 ), :B33 , TRUNC(TRX.TERM_DUE_DATE), TRUNC(:B104 )), :B33 ) AND NVL(TRX.TERM_ID, :B35 ) = NVL( DECODE(:B103 , :B35 , TRX.TERM_ID, :B103 ), :B35 ) AND NVL(TRX.TERRITORY_ID, :B35 ) = NVL( DECODE(:B102 , :B35 , TRX.TERRITORY_ID, :B102 ), :B35 ) AND NVL(TRX.WAYBILL_NUMBER, :B1 ) = NVL( DECODE(:B101 , :B1 , TRX.WAYBILL_NUMBER, :B101 ), :B1 ) AND NVL(TRX.STATUS_TRX, :B1 ) = NVL( DECODE(:B100 , :B1 , TRX.STATUS_TRX, :B100 ), :B1 ) AND NVL(TRX.REASON_CODE, :B1 ) = NVL( DECODE(:B99 , :B1 , TRX.REASON_CODE, :B99 ), :B1 ) AND NVL(TRX.DOC_SEQUENCE_ID, :B35 ) = NVL( DECODE(:B98 , :B35 , TRX.DOC_SEQUENCE_ID, :B98 ), :B35 ) AND NVL(TRX.DOC_SEQUENCE_VALUE, :B35 ) = NVL( DECODE(:B97 , :B35 , TRX.DOC_SEQUENCE_VALUE, :B97 ), :B35 ) AND NVL(TRX.PAYING_CUSTOMER_ID, :B35 ) = NVL( DECODE(:B96 , :B35 , TRX.PAYING_CUSTOMER_ID, :B96 ), :B35 ) AND NVL(TRX.PAYING_SITE_USE_ID, :B35 ) = NVL( DECODE(:B95 , :B35 , TRX.PAYING_SITE_USE_ID, :B95 ), :B35 ) AND NVL(TRX.RELATED_BATCH_SOURCE_ID, :B35 ) = NVL( DECODE(:B94 , :B35 , TRX.RELATED_BATCH_SOURCE_ID, :B94 ), :B35 ) AND NVL(TRX.DEFAULT_TAX_EXEMPT_FLAG, :B41 ) = NVL( DECODE(:B93 , :B41 , TRX.DEFAULT_TAX_EXEMPT_FLAG, :B93 ), :B41 ) AND NVL(TRX.CREATED_FROM, :B1 ) = NVL( DECODE(:B92 , :B1 , TRX.CREATED_FROM, :B92 ), :B1 ) AND NVL(TRX.DEFAULT_USSGL_TRX_CODE_CONTEXT, :B1 ) = NVL( DECODE(:B91 , :B1 , TRX.DEFAULT_USSGL_TRX_CODE_CONTEXT, : B91 ), :B1 ) AND NVL(TRX.DEFAULT_USSGL_TRANSACTION_CODE, :B1 ) = NVL( DECODE(:B90 , :B1 , TRX.DEFAULT_USSGL_TRANSACTION_CODE, :B90 ), :B1 ) AND NVL(TRX.OLD_TRX_NUMBER, :B1 ) = NVL( DECODE(:B89 , :B1 , TRX.OLD_TRX_NUMBER, :B89 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_CONTEXT, :B1 ) = NVL( DECODE(:B88 , :B1 , TRX.INTERFACE_HEADER_CONTEXT, :B88 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE1, :B1 ) = NVL( DECODE(:B87 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE1, :B87 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE2, :B1 ) = NVL( DECODE(:B86 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE2, :B86 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE3, :B1 ) = NVL( DECODE(:B85 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE3, :B85 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE4, :B1 ) = NVL( DECODE(:B84 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE4, :B84 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE5, :B1 ) = NVL( DECODE(:B83 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE5, :B83 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE6, :B1 ) = NVL( DECODE(:B82 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE6, :B82 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE7, :B1 ) = NVL( DECODE(:B81 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE7, :B81 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE8, :B1 ) = NVL( DECODE(:B80 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE8, :B80 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE9, :B1 ) = NVL( DECODE(:B79 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE9, :B79 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE10, :B1 ) = NVL( DECODE(:B78 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE10, :B78 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE11, :B1 ) = NVL( DECODE(:B77 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE11, :B77 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE12, :B1 ) = NVL( DECODE(:B76 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE12, :B76 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE13, :B1 ) = NVL( DECODE(:B75 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE13, :B75 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE14, :B1 ) = NVL( DECODE(:B74 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE14, :B74 ), :B1 ) AND NVL(TRX.INTERFACE_HEADER_ATTRIBUTE15, :B1 ) = NVL( DECODE(:B73 , :B1 , TRX.INTERFACE_HEADER_ATTRIBUTE15, :B73 ), :B1 ) AND NVL(TRX.ATTRIBUTE_CATEGORY, :B1 ) = NVL( DECODE(:B72 , :B1 , TRX.ATTRIBUTE_CATEGORY, :B72 ), :B1 ) AND NVL(TRX.ATTRIBUTE1, :B1 ) = NVL( DECODE(:B71 , :B1 , TRX.ATTRIBUTE1, :B71 ), :B1 ) AND NVL(TRX.ATTRIBUTE2, :B1 ) = NVL( DECODE(:B70 , :B1 , TRX.ATTRIBUTE2, :B70 ), :B1 ) AND NVL(TRX.ATTRIBUTE3, :B1 ) = NVL( DECODE(:B69 , :B1 , TRX.ATTRIBUTE3, :B69 ), :B1 ) AND NVL(TRX.ATTRIBUTE4, :B1 ) = NVL( DECODE(:B68 , :B1 , TRX.ATTRIBUTE4, :B68 ), :B1 ) ) AND ( NVL(TRX.ATTRIBUTE5, :B1 ) = NVL( DECODE(:B67 , :B1 , TRX.ATTRIBUTE5, :B67 ), :B1 ) AND NVL(TRX.ATTRIBUTE6, :B1 ) = NVL( DECODE(:B66 , :B1 , TRX.ATTRIBUTE6, :B66 ), :B1 ) AND NVL(TRX.ATTRIBUTE7, :B1 ) = NVL( DECODE(:B65 , :B1 , TRX.ATTR IBUTE7, :B65 ), :B1 ) AND NVL(TRX.ATTRIBUTE8, :B1 ) = NVL( DECODE(:B64 , :B1 , TRX.ATTRIBUTE8, :B64 ), :B1 ) AND NVL(TRX.ATTRIBUTE9, :B1 ) = NVL( DECODE(:B63 , :B1 , TRX.ATTRIBUTE9, :B63 ), :B1 ) AND NVL(TRX.ATTRIBUTE10, :B1 ) = NVL( DECODE(:B62 , :B1 , TRX.ATTRIBUTE10, :B62 ), :B1 ) AND NVL(TRX.ATTRIBUTE11, :B1 ) = NVL( DECODE(:B61 , :B1 , TRX.ATTRIBUTE11, :B61 ), :B1 ) AND NVL(TRX.ATTRIBUTE12, :B1 ) = NVL( DECODE(:B60 , :B1 , TRX.ATTRIBUTE12, :B60 ), :B1 ) AND NVL(TRX.ATTRIBUTE13, :B1 ) = NVL( DECODE(:B59 , :B1 , TRX.ATTRIBUTE13, :B59 ), :B1 ) AND NVL(TRX.ATTRIBUTE14, :B1 ) = NVL( DECODE(:B58 , :B1 , TRX.ATTRIBUTE14, :B58 ), :B1 ) AND NVL(TRX.ATTRIBUTE15, :B1 ) = NVL( DECODE(:B57 , :B1 , TRX.ATTRIBUTE15, :B57 ), :B1 ) AND NVL(TRX.BR_AMOUNT, :B35 ) = NVL( DECODE(:B56 , :B35 , TRX.BR_AMOUNT, :B56 ), :B35 ) AND NVL(TRX.BR_UNPAID_FLAG, :B41 ) = NVL( DECODE(:B55 , :B41 , TRX.BR_UNPAID_FLAG, :B55 ), :B41 ) AND NVL(TRX.BR_ON_HOLD_FLAG, :B41 ) = NVL( DECODE(:B54 , :B41 , TRX.BR_ON_HOLD_FLAG, :B54 ), :B41 ) AND NVL(TRX.DRAWEE_ID, :B35 ) = NVL( DECODE(:B53 , :B35 , TRX.DRAWEE_ID, :B53 ), :B35 ) AND NVL(TRX.DRAWEE_CONTACT_ID, :B35 ) = NVL( DECODE(:B52 , :B35 , TRX.DRAWEE_CONTACT_ID, :B52 ), :B35 ) AND NVL(TRX.DRAWEE_SITE_USE_ID, :B35 ) = NVL( DECODE(:B51 , :B35 , TRX.DRAWEE_SITE_USE_ID, :B51 ), :B35 ) AND NVL(TRX.DRAWEE_BANK_ACCOUNT_ID, :B35 ) = NVL( DECODE(:B50 , :B35 , TRX.DRAWEE_BANK_ACCOUNT_ID, :B50 ), :B 35 ) AND NVL(TRX.REMITTANCE_BANK_ACCOUNT_ID, :B35 ) = NVL( DECODE(:B49 , :B35 , TRX.REMITTANCE_BANK_ACCOUNT_ID, :B49 ), :B35 ) AND NVL(TRX.OVERRIDE_REMIT_ACCOUNT_FLAG, :B41 ) = NVL( DECODE(:B48 , :B41 , TRX.OVERRIDE_REMIT_ACCOUNT_FLAG, :B48 ), :B41 ) AND NVL(TRX.SPECIAL_INSTRUCTIONS, :B1 ) = NVL( DECODE(:B47 , :B1 , TRX.SPECIAL_INSTRUCTIONS, :B47 ), :B1 ) AND NVL(TRX.REMITTANCE_BATCH_ID, :B35 ) = NVL( DECODE(:B46 , :B35 , TRX.REMITTANCE_BATCH_ID, :B46 ), :B35 ) AND NVL(TRX.ADDRESS_VERIFICATION_CODE, :B1 ) = NVL( DECODE(:B45 , :B1 , TRX.ADDRESS_VERIFICATION_CODE, :B45 ), :B1 ) AND NVL(TRX.APPROVAL_CODE, :B1 ) = NVL( DECODE(:B44 , :B1 , TRX.APPROVAL_CODE, :B44 ), :B1 ) AND NVL(TRX.BILL_TO_ADDRESS_ID, :B35 ) = NVL( DECODE(:B43 , :B35 , TRX.BILL_TO_ADDRESS_ID, :B43 ), :B35 ) AND NVL(TRX.EDI_PROCESSED_FLAG, :B41 ) = NVL( DECODE(:B42 , :B41 , TRX.EDI_PROCESSED_FLAG, :B42 ), :B41 ) AND NVL(TRX.EDI_PROCESSED_STATUS, :B1 ) = NVL( DECODE(:B40 , :B1 , TRX.EDI_PROCESSED_STATUS, :B40 ), :B1 ) AND NVL(TRX.PAYMENT_SERVER_ORDER_NUM, :B1 ) = NVL( DECODE(:B39 , :B1 , TRX.PAYMENT_SERVER_ORDER_NUM, :B39 ), :B1 ) AND NVL(TRX.POST_REQUEST_ID, :B35 ) = NVL( DECODE(:B38 , :B35 , TRX.POST_REQUEST_ID, :B38 ), :B35 ) AND NVL(TRX.REQUEST_ID, :B35 ) = NVL( DECODE(:B37 , :B35 , TRX.REQUEST_ID, :B37 ), :B35 ) AND NVL(TRX.SHIP_TO_ADDRESS_ID, :B35 ) = NVL( DECODE(:B36 , :B35 , TRX.SHIP_TO_ADDRESS_ID, :B36 ), :B35 ) AND NVL(TRX.WH_UPDATE_DATE, :B33 ) = NVL( DECODE(:B34 , :B33 , TRX.WH_UPDATE_DATE, :B34 ), :B33 ) AND NVL(TRX.GLOBAL_ATTRIBUTE_CATEGORY, :B1 ) = NVL( DECODE(:B32 , :B1 , TRX.GLOBAL_ATTRIBUTE_CATEGORY, :B32 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE1, :B1 ) = NVL( DECODE(:B31 , :B1 , TRX.GLOBAL_ATTRIBUTE1, :B31 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE2, :B1 ) = NVL( DECODE(:B30 , :B1 , TRX.GLOBAL_ATTRIBUTE2, :B30 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE3, :B1 ) = NVL( DECODE(:B29 , :B1 , TRX.GLOBAL_ATTRIBUTE3, :B29 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE4, :B1 ) = NVL( DECODE(:B28 , :B1 , TRX.GLOBAL_ATTRIBUTE4, :B28 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE5, :B1 ) = NVL( DECODE(:B27 , :B1 , TRX.GLOBAL_ATTRIBUTE5, :B27 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE6, :B1 ) = NVL( DECODE(:B26 , :B1 , TRX.GLOBAL_ATTRIBUTE6, :B26 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE7, :B1 ) = NVL( DECODE(:B25 , :B1 , TRX.GLOBAL_ATTRIBUTE7, :B25 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE8, :B1 ) = NVL( DECODE(:B24 , :B1 , TRX.GLOBAL_ATTRIBUTE8, :B24 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE9, :B1 ) = NVL( DECODE(:B23 , :B1 , TRX.GLOBAL_ATTRIBUTE9, :B23 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE10, :B1 ) = NVL( DECODE(:B22 , :B1 , TRX.GLOBAL_ATTRIBUTE10, :B22 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE11, :B1 ) = NVL( DECODE(:B21 , :B1 , TRX.GLOBAL_ATTRIBUTE11, :B21 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE12, :B1 ) = NVL( DECODE(:B20 , :B1 , TRX.GLOBAL_ATTRIBUTE12, :B20 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBU TE13, :B1 ) = NVL( DECODE(:B19 , :B1 , TRX.GLOBAL_ATTRIBUTE13, :B19 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE14, :B1 ) = NVL( DECODE(:B18 , :B1 , TRX.GLOBAL_ATTRIBUTE14, :B18 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE15, :B1 ) = NVL( DECODE(:B17 , :B1 , TRX.GLOBAL_ATTRIBUTE15, :B17 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE16, :B1 ) = NVL( DECODE(:B16 , :B1 , TRX.GLOBAL_ATTRIBUTE16, :B16 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE17, :B1 ) = NVL( DECODE(:B15 , :B1 , TRX.GLOBAL_ATTRIBUTE17, :B15 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE18, :B1 ) = NVL( DECODE(:B14 , :B1 , TRX.GLOBAL_ATTRIBUTE18, :B14 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE19, :B1 ) = NVL( DECODE(:B13 , :B1 , TRX.GLOBAL_ATTRIBUTE19, :B13 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE20, :B1 ) = NVL( DECODE(:B12 , :B1 , TRX.GLOBAL_ATTRIBUTE20, :B12 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE21, :B1 ) = NVL( DECODE(:B11 , :B1 , TRX.GLOBAL_ATTRIBUTE21, :B11 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE22, :B1 ) = NVL( DECODE(:B10 , :B1 , TRX.GLOBAL_ATTRIBUTE22, :B10 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE23, :B1 ) = NVL( DECODE(:B9 , :B1 , TRX.GLOBAL_ATTRIBUTE23, :B9 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE24, :B1 ) = NVL( DECODE(:B8 , :B1 , TRX.GLOBAL_ATTRIBUTE24, :B8 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE25, :B1 ) = NVL( DECODE(:B7 , :B1 , TRX.GLOBAL_ATTRIBUTE25, :B7 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE26, :B1 ) = NVL( DECODE(:B6 , :B1 , TRX.GLOBAL_ATTRIBUTE26, :B6 ), :B1 ) AND NVL(TRX.GLOBAL_ATT RIBUTE27, :B1 ) = NVL( DECODE(:B5 , :B1 , TRX.GLOBAL_ATTRIBUTE27, :B5 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE28, :B1 ) = NVL( DECODE(:B4 , :B1 , TRX.GLOBAL_ATTRIBUTE28, :B4 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE29, :B1 ) = NVL( DECODE(:B3 , :B1 , TRX.GLOBAL_ATTRIBUTE29, :B3 ), :B1 ) AND NVL(TRX.GLOBAL_ATTRIBUTE30, :B1 ) = NVL( DECODE(:B2 , :B1 , TRX.GLOBAL_ATTRIBUTE30, :B2 ), :B1 ) ) FOR UPDATE OF CUSTOMER_TRX_ID NOWAIT
5mgaqh04z66b7 SELECT * FROM (SELECT AI.DESCRIPTION PURPOSE, AI.INVOICE_CURRENCY_CODE CURRENCY_CODE, AI.INVOICE_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AI.INVOICE_NUM REPORT_NUMBER, TO_CHAR((AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE) , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR((AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE) , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) REPORT_TOTAL, P.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_HEADER_ID, P.FULL_NAME FULL_NAME , DECODE(AI.CANCELLED_DATE, null, DECODE(APS.GROSS_AMOUNT , 0, 'PAID', decode(AI.Payment_status_flag, 'Y', 'PAID', 'N', 'INVOICED', 'P', 'PARPAID', NULL)), 'CANCELLED') STATUS_CODE, DECODE(AERH.SOURCE, 'WebExpense', 'FndReportNumber', 'SelfService', 'FndReportNumber', 'CREDIT CARD', 'FndReportNumber', 'NonValidatedWebExpense', 'FndReportNumber', 'OieInquiryRepNumDisabled') REPORT_NUMBER_FIELD, NULL CURRENT_APPROVER, 'OieNotWithdrawable' WITHDRAW_FIELD, ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY, DECODE (AERH.SOURCE, 'XpenseXpress', 'DuplicateImageDisabled', 'CREDIT CARD', 'DuplicateImageDisabled', NULL, 'DuplicateImageDisabled', 'DuplicateImageEnabled') DUPLICATE_FIELD FROM AK_WEB_USER_ SEC_ATTR_VALUES A, PO_VENDORS PV, AP_INVOICES AI, AP_EXPENSE_REPORT_HEADERS AERH, PER_PEOPLE_X P, AP_PAYMENT_SCHEDULES APS WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.INVOICE_ID = AERH.VOUCHNO(+) AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT' AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID' AND PV.EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :1 AND P.PERSON_ID = PV.EMPLOYEE_ID AND PV.VENDOR_ID = AI.VENDOR_ID AND DECODE (AI.PAYMENT_STATUS_FLAG, 'Y', sysdate - AI.LAST_UPDATE_DATE, decode(APS.GROSS_AMOUNT , 0 , sysdate - AI.LAST_UPDATE_DATE, 0) ) <= 30 UNION SELECT AI.DESCRIPTION PURPOSE, AI.INVOICE_CURRENCY_CODE CURRENCY_CODE, AI.INVOICE_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AI.INVOICE_NUM REPORT_NUMBER, TO_CHAR((AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE) , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR((AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE) , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) REPORT_TOTAL, P.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_HEADER_ID, P.FULL_NAME FULL_NAME , DECODE(AI.CANCELLED_DATE, null, DECODE(APS.GROSS_AMOUNT , 0, 'PAID', decode(AI.Payment_status_flag, 'Y', 'PAID', 'N', 'INVOICED', 'P', 'PARPAID', NULL)), 'CANCELLED') STATUS_CODE, DECODE(AERH.SOURC E, 'WebExpense', 'FndReportNumber', 'SelfService', 'FndReportNumber', 'CREDIT CARD', 'FndReportNumber', 'NonValidatedWebExpense', 'FndReportNumber', 'OieInquiryRepNumDisabled') REPORT_NUMBER_FIELD, NULL CURRENT_APPROVER, 'OieNotWithdrawable' WITHDRAW_FIELD, ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY, DECODE (AERH.SOURCE, 'XpenseXpress', 'DuplicateImageDisabled', 'CREDIT CARD', 'DuplicateImageDisabled', NULL, 'DuplicateImageDisabled', 'DuplicateImageEnabled') DUPLICATE_FIELD FROM AK_WEB_USER_SEC_ATTR_VALUES A, PO_VENDORS PV, AP_INVOICES AI, AP_EXPENSE_REPORT_HEADERS AERH, PER_PEOPLE_X P, AP_PAYMENT_SCHEDULES APS WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.INVOICE_ID = AERH.VOUCHNO(+) AND AI.INVOICE_TYPE_LOOKUP_CODE||'' IN ('STANDARD', 'MIXED') AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID' AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :2 AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID AND PV.VENDOR_ID = AI.VENDOR_ID AND DECODE (AI.PAYMENT_STATUS_FLAG, 'Y', sysdate - AI.LAST_UPDATE_DATE, decode(APS.GROSS_AMOUNT , 0 , sysdate - AI.LAST_UPDATE_DATE, 0) ) <= 30 UNION ALL SELECT AERH.DESCRIPTION PURPOSE, AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE, AERH.WEEK_END_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AERH.INVOICE_NUM REPORT_NU MBER, TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE, AERH.TOTAL), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE, AERH.TOTAL), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL, PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_HEADER_ID, PER_EMPLOYEE.FULL_NAME FULL_NAME, NVL(AERH.expense_status_code, AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, 'Y', 'N')) STATUS_CODE, DECODE(AERH.SOURCE, 'WebExpense', 'FndReportNumber', 'SelfService', 'FndReportNumber', 'CREDIT CARD', 'FndReportNumber', 'NonValidatedWebExpense', 'FndReportNumber', 'OieInquiryRepNumDisabled') REPORT_NUMBER_FIELD, NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER, DECODE(AERH.SOURCE, 'WebExpense', 'OieWithdrawable', 'NonValidatedWebExpense', 'OieWithdrawable', 'OieNotWithdrawable') WITHDRAW_FIELD, ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE, sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY, DECODE(AERH.Source, 'XpenseXpress', 'DuplicateImageDisabled', 'CREDIT CARD', 'DuplicateImageDisabled ', DECODE(NVL(AERH.Expense_Status_Code, AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, 'Y', 'N')), 'ERROR', 'DuplicateImageDisabled', 'DuplicateImageEnabled')) DUPLICATE_FIELD FROM AK_WEB_USER_SEC_ATTR_VALUES A, AP_EXPENSE_REPORT_HEADERS AERH, PER_PEOPLE_X PER_EMPLOYEE, PER_PEOPLE_X PER_APPROVER WHERE AERH.VOUCHNO +0 =0 AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID' AND AERH.EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :3 AND PER_EMPLOYEE.PERSON_ID = AERH.EMPLOYEE_ID AND (AERH.Source <> 'NonValidatedWebExpense' OR AERH.Workflow_approved_flag IS NULL) AND AERH.expense_current_approver_id = PER_APPROVER.person_id (+) AND decode(AERH.total, 0, ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE, sysdate - AERH.LAST_UPDATE_DATE)), 30) <= 30 UNION SELECT AERH.DESCRIPTION PURPOSE, AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE, AERH.WEEK_END_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AERH.INVOICE_NUM REPORT_NUMBER, TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE, AERH.TOTAL), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE, AERH.TOTAL), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL, PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_HEAD ER_ID, PER_EMPLOYEE.FULL_NAME FULL_NAME, NVL(AERH.expense_status_code, AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, 'Y', 'N')) STATUS_CODE, DECODE(AERH.SOURCE, 'WebExpense', 'FndReportNumber', 'SelfService', 'FndReportNumber', 'CREDIT CARD', 'FndReportNumber', 'NonValidatedWebExpense', 'FndReportNumber', 'OieInquiryRepNumDisabled') REPORT_NUMBER_FIELD, NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER, DECODE(AERH.SOURCE, 'WebExpense', 'OieWithdrawable', 'NonValidatedWebExpense', 'OieWithdrawable', 'OieNotWithdrawable') WITHDRAW_FIELD, ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE, sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY, DECODE(AERH.Source, 'XpenseXpress', 'DuplicateImageDisabled', 'CREDIT CARD', 'DuplicateImageDisabled', DECODE(NVL(AERH.Expense_Status_Code, AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, 'Y', 'N')), 'ERROR', 'DuplicateImageDisabled', 'DuplicateImageEnabled')) DUPLICATE_FIELD FROM AK_WEB_USER_SEC_ATTR_VALUES A, AP_EXPENSE_REPORT_HEADERS AERH, PER_PEOPLE_X PER_EMPLOYEE, PER_PEOPLE_X PER_APPROVER WHERE AERH.VOUCHNO +0=0 AND A.ATTRIBUTE_CO DE = 'ICX_HR_PERSON_ID' AND AERH.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :4 AND PER_EMPLOYEE.PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID AND AERH.EMPLOYEE_ID IS NULL AND (AERH.Source <> 'NonValidatedWebExpense' OR AERH.Workflow_approved_flag IS NULL) AND AERH.expense_current_approver_id = PER_APPROVER.person_id (+) AND decode(AERH.total, 0, ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE, sysdate - AERH.LAST_UPDATE_DATE)), 30) <= 30 UNION ALL /* This select is for invoice imported reports by contingent workers */ SELECT AI.DESCRIPTION PURPOSE, AI.INVOICE_CURRENCY_CODE CURRENCY_CODE, AI.INVOICE_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AI.INVOICE_NUM REPORT_NUMBER, TO_CHAR((AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE) , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR((AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE) , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) REPORT_TOTAL, P.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_HEADER_ID, P.FULL_NAME FULL_NAME , DECODE(AI.CANCELLED_DATE, null, DECODE(APS.GROSS_AMOUNT , 0, 'PAID', decode(AI.Payment_status_flag, 'Y', 'PAID', 'N', 'INVOICED', 'P', 'PARPAID', NULL)), 'CANCELLED') STATUS_CODE, DECODE(AERH.SOURCE, 'WebExpense', 'FndReportNumber', 'SelfService', 'FndReportNumber', 'CREDIT CARD', 'FndReportNumber', 'NonValidatedWebExpense', 'FndReportNumber', 'OieInquiryRepNumDisabled') REPORT_NUMBER_FIELD, NULL CURRENT_APPROVER, 'OieNotWithdrawable' WITHDRAW_FIELD, ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY, DECODE (AERH.SOURCE, 'XpenseXpress', 'DuplicateImageDisabled', 'CREDIT CARD', 'DuplicateImageDisabled', NULL, 'DuplicateImageDisabled', 'DuplicateImageEnabled') DUPLICATE_FIELD FROM AK_WEB_USER_SEC_ATTR_VALUES A, AP_INVOICES AI, AP_EXPENSE_REPORT_HEADERS AERH, PER_PEOPLE_X P, AP_PAYMENT_SCHEDULES APS WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.INVOICE_ID = AERH.VOUCHNO(+) AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT' AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID' AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :5 AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID AND AP_WEB_DB_HR_INT_PKG.IsPersonCwk(AI.PAID_ON_BEHALF_EMPLOYEE_ID)='Y' AND DECODE (AI.PAYMENT_STATUS_FLAG, 'Y', sysdate - AI.LAST_UPDATE_DATE, decode(APS.GROSS_AMOUNT , 0 , sysdate - AI.LAST_UPDATE_DATE, 0) ) <= 30) QRSLT ORDER BY REPORT_SUBMITTED_DATE DESC
608c0n36kaw62 begin FND_FLEX_WORKFLOW_APIS.COPY_FROM_COMBINATION (:v1, :v2, :v3, :v4, :v5); end;
6gnth2mfbs2nq declare v_ret number := 0; begin if (INV_TABLE_LOCK_PVT.lock_onhand_records(:1, :2, :3, :4, :5, :6, :7) ) then v_ret := 1; end if; :8 := v_ret; end;
6h2tpcxpymqu7 BEGIN :1 := FND_AOLJ_UTIL.is_Valid_ICX(:2, NULL, 'Y', TRUE, TRUE, NULL, NULL, NULL, NULL, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, TRUE);:19 := fnd_session_management.g_enc_key;:20 := fnd_session_management.g_mac_key;END;
6kd3qt5f36fdr INSERT INTO WF_ITEMS ( ITEM_TYPE, ITEM_KEY, ROOT_ACTIVITY, ROOT_ACTIVITY_VERSION, OWNER_ROLE, PARENT_ITEM_TYPE, PARENT_ITEM_KEY, BEGIN_DATE, END_DATE, USER_KEY ) VALUES ( :B7 , :B6 , :B5 , :B4 , :B3 , '', '', :B2 , TO_DATE(NULL), :B1 )
72cqcsuq5wgh0 SELECT aslrt.meaning as rank_name , aslrt.rank_id, sum(case when asl.status_open_flag = 'Y' AND round(sysdate-asl.creation_date)<= 2 THEN 1 else 0 END) as day0_2, sum(case when asl.status_open_flag = 'Y' AND round((sysdate - asl.creation_date)) between 3 and 7 THEN 1 else 0 END) as day3_7, sum(case when asl.status_open_flag = 'Y' AND round((sysdate - asl.creation_date)) between 8 and 30 THEN 1 else 0 END) as day8_30, sum(case when asl.status_open_flag = 'Y' AND round((sysdate - asl.creation_date)) >= 31 THEN 1 else 0 END) as day_31, sum(case when nvl(asl.status_open_flag, 'N') = 'N' AND asl.status_code <> 'CONVERTED_TO_OPPORTUNITY' THEN 1 ELSE 0 END) as closed, sum(case when asl.status_code = 'CONVERTED_TO_OPPORTUNITY' THEN 1 ELSE 0 END) as converted, round((sum(case when asl.status_code = 'CONVERTED_TO_OPPORTUNITY' THEN 1 ELSE 0 END)/count(asl.sales_lead_id)) * 100, 2) as conversion, count(aslrt.rank_id) total_leads FROM as_sales_leads asl, as_sales_lead_ranks_tl aslrt, as_sales_lead_ranks_b aslrb, ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id , aaa.customer_id FROM as_accesses_all aaa WHERE aaa.lead_id is null AND aaa.sales_lead_id IS NOT NULL AND aaa.salesforce_id = :1)secu WHERE asl.lead_rank_id = aslrt.rank_id AND aslrb.rank_id = aslrt.rank_id AND aslrt.language = USERENV('LANG') AND secu.sa les_lead_id = asl.sales_lead_id AND secu.customer_id = asl.customer_id GROUP BY aslrt.rank_id, aslrt.meaning, aslrb.min_score ORDER BY aslrb.min_score DESC
76sw2a4vnc89j begin FND_FLEX_WORKFLOW_APIS.START_GENERATION (:v1, :v2, :v3, :v4, :v5); end;
7g05xfvc5vp74 BEGIN arp_run.revenue_recognition( :errbuf, :rc, :A0, :A1, :A2); END;
7mrs575bj7a41 begin OE_OEOL_SCH.BRANCH_ON_SOURCE_TYPE (:v1, :v2, :v3, :v4, :v5); end;
81kz5n13tnzps SELECT 1 FROM OE_PRICE_ADJUSTMENTS WHERE HEADER_ID = :B1 AND LIST_LINE_TYPE_CODE = 'OM_CALLED_CHOOSE_SHIP_METHOD' AND ROWNUM = 1
827gtfny5uagb begin :con := FND_GENERIC_POLICY.GET_PREDICATE(:sn, :on); end;
8c30hkqv9n7cr BEGIN OE_BULK_ORDER_IMPORT_PVT.ORDER_IMPORT_CONC_PGM( :errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8); END;
8c8cf4vtv4tx2 SELECT * FROM ( SELECT LeadEO.sales_lead_id as SalesLeadId , to_char(hz_timezone_pub.convert_datetime(:1, hcp.timezone_id, SYSDATE), 'HH:MI AM ') ||' '||ht.standard_time_short_code as PrimaryContactLocalTime , SUBSTRB(LeadEO.description, 1, 240) as Description , hp.party_name as ContactName , custParty.party_name as CustomerName , aslt.meaning as RankName , ast.meaning as LeadStatus , ROUND(SYSDATE - LeadEO.creation_date) as Age , DECODE(LeadEO.status_code, 'CONVERTED_TO_OPPORTUNITY', 'ASNCnvToOpptyDsbld', 'ASNCnvToOpptyEnbld') as ASNLeadLstCnvToOppty , LeadEO.customer_id , hp.party_id , LeadEO.primary_contact_party_id , hr.relationship_id FROM as_sales_leads LeadEO , ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id, aaa.customer_id FROM as_accesses_all aaa WHERE aaa.sales_lead_id IS NOT NULL AND aaa.lead_id IS NULL AND aaa.salesforce_id = :2) secu , as_statuses_tl ast , as_sales_lead_ranks_tl aslt , hz_parties CustParty , hz_parties hp, hz_relationships hr , hz_contact_points hcp , hz_timezones ht , ams_source_codes amsc WHERE LeadEO.sales_lead_id = secu.sales_lead_id AND LeadEO.customer_id = secu.customer_id AND LeadEO.status_code = ast.status_code AND ast.language = USERENV('LANG') AND LeadEO.lead_rank_id = aslt.rank_id (+) AND aslt.language (+) = USERENV('LANG') AND LeadEO.customer_id = CustParty.party_id AND LeadEO.primary_contact_party_id = hr.party_id(+) AND hr.subject_id = hp.party_id (+) AND hr.subject_table_name (+) = 'HZ_PARTIES' AND hr.object_id(+) = LeadEO.customer_id AND hr.object_table_name (+) = 'HZ_PARTIES' AND LeadEO.primary_contact_party_id = hcp.owner_table_id(+) AND hcp.owner_table_name (+) = 'HZ_PARTIES' AND hcp.primary_flag (+) = 'Y' AND hcp.contact_point_type (+) = 'PHONE' AND hcp.timezone_id = ht.timezone_id (+) AND LeadEO.source_promotion_id = amsc.source_code_id AND amsc.source_code_for_id = :3 AND LeadEO.status_code = :4 ORDER BY age )
8q8zmrwmrccz4 SELECT /*+ ORDERED USE_NL(adj qplh) */ ADJ.LIST_LINE_ID CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , ADJ.PRICE_ADJUSTMENT_ID LINE_DETAIL_INDEX , ADJ.LIST_LINE_TYPE_CODE CREATED_FROM_LIST_LINE_TYPE , ADJ.LIST_HEADER_ID CREATED_FROM_LIST_HEADER_ID , ADJ.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , ADJ.RANGE_BREAK_QUANTITY PRICED_QUANTITY , LINE.PRICED_QUANTITY LINE_PRICED_QUANTITY , LINE.UPDATED_ADJUSTED_UNIT_PRICE , ADJ.AUTOMATIC_FLAG , ADJ.UPDATE_ALLOWED OVERRIDE_FLAG , ADJ.PRICING_GROUP_SEQUENCE , ADJ.ARITHMETIC_OPERATOR OPERAND_CALCULATION_CODE , NVL(ADJ.OPERAND_PER_PQTY, ADJ.OPERAND) OPERAND_VALUE , ADJ.ADJUSTED_AMOUNT_PER_PQTY ADJUSTMENT_AMOUNT , LINE.UNIT_PRICE , ADJ.ACCRUAL_FLAG , NVL(ADJ.UPDATED_FLAG, :B16 ) , 'N' PROCESS_CODE , 'N' PRICING_STATUS_CODE , ' ' PRICING_STATUS_TEXT , ADJ.PRICE_BREAK_TYPE_CODE , ADJ.CHARGE_TYPE_CODE , ADJ.CHARGE_SUBTYPE_CODE , LINE.ROUNDING_FACTOR , ADJ.PRICING_PHASE_ID , '' CREATED_FROM_LIST_TYPE_CODE , '' LIMIT_CODE , '' LIMIT_TEXT , ADJ.LIST_LINE_NO , ADJ.MODIFIER_LEVEL_CODE , ADJ.RANGE_BREAK_QUANTITY GROUP_QUANTITY , ADJ.RANGE_BREAK_QUANTITY GROUP_AMOUNT , LINE.PRICING_STATUS_CODE LINE_PRICING_STATUS_CODE , :B15 IS_LDET_REC , LINE.LINE_TYPE_CODE , NULL NET_AMOUNT_FLAG , NULL CALCULATION_CODE , LINE.CATCHWEIGHT_QTY , LINE.ACTUAL_ORDER_QUANTITY , LINE.LI NE_UNIT_PRICE , LINE.LINE_QUANTITY ORDERED_QTY , NULL LINE_DETAIL_TYPE_CODE , LINE.LINE_CATEGORY , LINE.PRICE_FLAG FROM QP_NPREQ_LINES_TMP LINE, OE_PRICE_ADJUSTMENTS ADJ, QP_LIST_HEADERS_B QPLH WHERE :B14 = :B7 AND LINE.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND ADJ.LINE_ID = LINE.LINE_ID AND LINE.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND (LINE.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE.PROCESSED_CODE, '0') = :B8 ) AND LINE.LINE_TYPE_CODE = :B4 AND LINE.UNIT_PRICE IS NOT NULL AND (ADJ.UPDATED_FLAG = :B7 OR LINE.PRICE_FLAG = :B6 OR (:B5 IS NULL AND ADJ.UPDATED_FLAG IS NULL) OR ADJ.PRICING_PHASE_ID NOT IN (SELECT PH.PRICING_PHASE_ID FROM QP_EVENT_PHASES EV, QP_PRICING_PHASES PH WHERE PH.PRICING_PHASE_ID = EV.PRICING_PHASE_ID AND (EV.END_DATE_ACTIVE IS NULL OR (EV.END_DATE_ACTIVE IS NOT NULL AND EV.END_DATE_ACTIVE > LINE.PRICING_EFFECTIVE_DATE)) AND ((:B17 = :B7 AND PH.FREIGHT_EXISTS = :B7 ) OR (:B17 = :B16 )) AND INSTR(:B5 , EV.PRICING_EVENT_CODE||', ') > 0 AND (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(ADJ.LIST_LINE_ID, LINE.LINE_INDEX), LINE.PRICE_FLAG) = :B7 OR (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(ADJ.LIST_LINE_ID, LINE.LINE_INDEX), LINE.PRICE_FLAG) = :B9 AND NVL(PH.USER_FREEZE_OVERRIDE_FLAG, PH.FREEZE_OVERRIDE_FLAG) = :B7 )))) AND ADJ.MODIFIER_LEVEL_CODE IN (:B4 , :B3 ) AND QPLH.LIST_HEADER_ID = ADJ.LIST_HEADER_ID AND QPLH.LIST_TYPE_CODE NOT IN (:B2 , :B1 ) AND NOT EXISTS (SELECT 'x' FROM OE_PRICE_ADJ_ASSOCS A, O E_PRICE_ADJUSTMENTS B WHERE A.RLTD_PRICE_ADJ_ID = ADJ.PRICE_ADJUSTMENT_ID AND B.PRICE_ADJUSTMENT_ID = A.PRICE_ADJUSTMENT_ID AND B.LIST_LINE_TYPE_CODE = :B18 ) UNION SELECT /*+ ORDERED USE_NL(adj line qplh) */ ADJ.LIST_LINE_ID CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , ADJ.PRICE_ADJUSTMENT_ID LINE_DETAIL_INDEX , ADJ.LIST_LINE_TYPE_CODE CREATED_FROM_LIST_LINE_TYPE , ADJ.LIST_HEADER_ID CREATED_FROM_LIST_HEADER_ID , ADJ.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , ADJ.RANGE_BREAK_QUANTITY PRICED_QUANTITY , LINE.PRICED_QUANTITY LINE_PRICED_QUANTITY , LINE.UPDATED_ADJUSTED_UNIT_PRICE , ADJ.AUTOMATIC_FLAG , ADJ.UPDATE_ALLOWED OVERRIDE_FLAG , ADJ.PRICING_GROUP_SEQUENCE , ADJ.ARITHMETIC_OPERATOR OPERAND_CALCULATION_CODE , NVL(ADJ.OPERAND_PER_PQTY, ADJ.OPERAND) OPERAND_VALUE , ADJ.ADJUSTED_AMOUNT_PER_PQTY ADJUSTMENT_AMOUNT , LINE.UNIT_PRICE , ADJ.ACCRUAL_FLAG , NVL(ADJ.UPDATED_FLAG, :B16 ) , 'N' PROCESS_CODE , 'N' PRICING_STATUS_CODE , ' ' PRICING_STATUS_TEXT , ADJ.PRICE_BREAK_TYPE_CODE , ADJ.CHARGE_TYPE_CODE , ADJ.CHARGE_SUBTYPE_CODE , LINE.ROUNDING_FACTOR , ADJ.PRICING_PHASE_ID , '' CREATED_FROM_LIST_TYPE_CODE , '' LIMIT_CODE , '' LIMIT_TEXT , ADJ.LIST_LINE_NO , ADJ.MODIFIER_LEVEL_CODE , ADJ.RANGE_BREAK_QUANTITY GROUP_QUANTITY , ADJ.RANGE_BREAK_QUANTITY GROUP_AMOUNT , LINE.PRICING_STATUS_CODE LINE_PRICI NG_STATUS_CODE , :B20 IS_LDET_REC , LINE.LINE_TYPE_CODE , NULL NET_AMOUNT_FLAG , NULL CALCULATION_CODE , LINE.CATCHWEIGHT_QTY , LINE.ACTUAL_ORDER_QUANTITY , LINE.LINE_UNIT_PRICE , LINE.LINE_QUANTITY ORDERED_QTY , NULL LINE_DETAIL_TYPE_CODE , LINE.LINE_CATEGORY , LINE.PRICE_FLAG FROM QP_NPREQ_LINES_TMP LINE1, OE_PRICE_ADJUSTMENTS ADJ , QP_NPREQ_LINES_TMP LINE, QP_LIST_HEADERS_B QPLH WHERE :B14 = :B7 AND LINE1.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND LINE.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND LINE1.LINE_ID = ADJ.HEADER_ID AND LINE1.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND LINE1.LINE_TYPE_CODE = :B19 AND (LINE1.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE1.PROCESSED_CODE, '0') = :B8 ) AND (LINE.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE.PROCESSED_CODE, '0') = :B8 ) AND LINE.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND (LINE.UNIT_PRICE IS NOT NULL OR LINE.LINE_TYPE_CODE = :B19 ) AND (ADJ.UPDATED_FLAG = :B7 OR LINE.PRICE_FLAG = :B6 OR (:B5 IS NULL AND ADJ.UPDATED_FLAG IS NULL) OR ADJ.PRICING_PHASE_ID NOT IN (SELECT PH.PRICING_PHASE_ID FROM QP_EVENT_PHASES EV, QP_PRICING_PHASES PH WHERE PH.PRICING_PHASE_ID = EV.PRICING_PHASE_ID AND (EV.END_DATE_ACTIVE IS NULL OR (EV.END_DATE_ACTIVE IS NOT NULL AND EV.END_DATE_ACTIVE > LINE.PRICING_EFFECTIVE_DATE)) AND ((:B17 = :B7 AND PH.FREIGHT_EXISTS = :B7 ) OR (:B17 = :B16 )) AND INSTR(:B5 , EV.PRICING_EVENT_CODE||', ') > 0 AND (NVL(QP_ PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(ADJ.LIST_LINE_ID, LINE1.LINE_INDEX), LINE1.PRICE_FLAG) = :B7 OR (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(ADJ.LIST_LINE_ID, LINE1.LINE_INDEX), LINE1.PRICE_FLAG) = :B9 AND NVL(PH.USER_FREEZE_OVERRIDE_FLAG, PH.FREEZE_OVERRIDE_FLAG) = :B7 )))) AND ADJ.MODIFIER_LEVEL_CODE = :B19 AND ADJ.LINE_ID IS NULL AND QPLH.LIST_HEADER_ID = ADJ.LIST_HEADER_ID AND QPLH.LIST_TYPE_CODE NOT IN (:B2 , :B1 ) UNION SELECT /*+ ORDERED USE_NL(ldet) */ LDET.CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , LDET.LINE_DETAIL_INDEX , LDET.CREATED_FROM_LIST_LINE_TYPE , LDET.CREATED_FROM_LIST_HEADER_ID , LDET.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , LDET.LINE_QUANTITY PRICED_QUANTITY , LINE.PRICED_QUANTITY LINE_PRICED_QUANTITY , LINE.UPDATED_ADJUSTED_UNIT_PRICE , LDET.AUTOMATIC_FLAG , LDET.OVERRIDE_FLAG , LDET.PRICING_GROUP_SEQUENCE , LDET.OPERAND_CALCULATION_CODE , LDET.OPERAND_VALUE , LDET.ADJUSTMENT_AMOUNT , LINE.UNIT_PRICE , LDET.ACCRUAL_FLAG , NVL(LDET.UPDATED_FLAG, :B16 ) , LDET.PROCESS_CODE , LDET.PRICING_STATUS_CODE , LDET.PRICING_STATUS_TEXT , LDET.PRICE_BREAK_TYPE_CODE , LDET.CHARGE_TYPE_CODE , LDET.CHARGE_SUBTYPE_CODE , LINE.ROUNDING_FACTOR , LDET.PRICING_PHASE_ID , LDET.CREATED_FROM_LIST_TYPE_CODE , LDET.LIMIT_CODE , SUBSTR(LDET.LIMIT_TEXT, 1, 240) , LDET.LIST_LINE_NO , LDET.MODIFIER_LE VEL_CODE , LDET.GROUP_QUANTITY GROUP_QUANTITY , LDET.GROUP_AMOUNT GROUP_AMOUNT , LINE.PRICING_STATUS_CODE LINE_PRICING_STATUS_CODE , :B23 IS_LDET_REC , LINE.LINE_TYPE_CODE , LDET.NET_AMOUNT_FLAG NET_AMOUNT_FLAG , LDET.CALCULATION_CODE CALCULATION_CODE , LINE.CATCHWEIGHT_QTY , LINE.ACTUAL_ORDER_QUANTITY , LINE.LINE_UNIT_PRICE , LINE.LINE_QUANTITY ORDERED_QTY , LDET.LINE_DETAIL_TYPE_CODE LINE_DETAIL_TYPE_CODE , LINE.LINE_CATEGORY , LINE.PRICE_FLAG FROM QP_NPREQ_LINES_TMP LINE, QP_NPREQ_LDETS_TMP LDET WHERE LINE.LINE_INDEX = LDET.LINE_INDEX AND LINE.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND LINE.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND (LINE.PRICE_FLAG IN (:B7 , :B9 ) OR NVL(LINE.PROCESSED_CODE, '0') = :B8 ) AND LINE.LINE_TYPE_CODE = :B4 AND LINE.UNIT_PRICE IS NOT NULL AND LDET.PRICING_STATUS_CODE IN (:B13 , :B12 ) AND (LDET.APPLIED_FLAG = :B7 OR (LDET.APPLIED_FLAG = :B16 AND LDET.CREATED_FROM_LIST_LINE_TYPE = :B22 AND LDET.AUTOMATIC_FLAG = :B16 )) AND LDET.CREATED_FROM_LIST_TYPE_CODE NOT IN (:B2 , :B1 ) AND LDET.MODIFIER_LEVEL_CODE IN (:B4 , :B3 ) AND NVL(LDET.LINE_DETAIL_TYPE_CODE, 'NULL') <> :B21 UNION SELECT /*+ ORDERED USE_NL(ldet line) */ LDET.CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , LDET.LINE_DETAIL_INDEX , LDET.CREATED_FROM_LIST_LINE_TYPE , LDET.CREATED_FROM_LIST_HEADER_ID , LDET.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , LDET.LINE_QUANTITY PRICED_QUANTITY , LINE.PRICED_QUANTITY LINE_PRICED_QUANTITY , LINE.UPDATED_ADJUSTED_UNIT_PRICE , LDET.AUTOMATIC_FLAG , LDET.OVERRIDE_FLAG , LDET.PRICING_GROUP_SEQUENCE , LDET.OPERAND_CALCULATION_CODE , LDET.OPERAND_VALUE , LDET.ADJUSTMENT_AMOUNT , LINE.UNIT_PRICE , LDET.ACCRUAL_FLAG , NVL(LDET.UPDATED_FLAG, :B16 ) , LDET.PROCESS_CODE , LDET.PRICING_STATUS_CODE , LDET.PRICING_STATUS_TEXT , LDET.PRICE_BREAK_TYPE_CODE , LDET.CHARGE_TYPE_CODE , LDET.CHARGE_SUBTYPE_CODE , LINE.ROUNDING_FACTOR , LDET.PRICING_PHASE_ID , LDET.CREATED_FROM_LIST_TYPE_CODE , LDET.LIMIT_CODE , SUBSTR(LDET.LIMIT_TEXT, 1, 240) , LDET.LIST_LINE_NO , LDET.MODIFIER_LEVEL_CODE , LDET.GROUP_QUANTITY GROUP_QUANTITY , LDET.GROUP_AMOUNT GROUP_AMOUNT , LINE.PRICING_STATUS_CODE LINE_PRICING_STATUS_CODE , :B24 IS_LDET_REC , LINE.LINE_TYPE_CODE , LDET.NET_AMOUNT_FLAG NET_AMOUNT_FLAG , LDET.CALCULATION_CODE CALCULATION_CODE , LINE.CATCHWEIGHT_QTY , LINE.ACTUAL_ORDER_QUANTITY , LINE.LINE_UNIT_PRICE , LINE.LINE_QUANTITY ORDERED_QTY , LDET.LINE_DETAIL_TYPE_CODE LINE_DETAIL_TYPE_CODE , LINE.LINE_CATEGORY , LINE.PRICE_FLAG FROM QP_NPREQ_LINES_TMP LINE1, QP_NPREQ_LDETS_TMP LDET , QP_NPREQ_LINES_TMP LINE WHERE LDET.LINE_INDEX = LINE1.LINE_INDEX AND LINE1.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND LINE.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD '||:B10 ) AND LINE1.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND LINE1.PRICE_FLAG IN (:B7 , :B9 ) AND LINE1.LINE_TYPE_CODE = :B19 AND (LINE.UNIT_PRICE IS NOT NULL OR LINE.LINE_TYPE_CODE = :B19 ) AND LINE.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND LDET.PRICING_STATUS_CODE IN (:B13 , :B12 ) AND (LDET.APPLIED_FLAG = :B7 OR (LDET.APPLIED_FLAG = :B16 AND LDET.CREATED_FROM_LIST_LINE_TYPE = :B22 AND LDET.AUTOMATIC_FLAG = :B16 )) AND (LINE.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE.PROCESSED_CODE, '0') = :B8 ) AND LDET.MODIFIER_LEVEL_CODE = :B19 AND LDET.CREATED_FROM_LIST_TYPE_CODE NOT IN (:B2 , :B1 ) UNION SELECT /*+ ORDERED USE_NL(ldet qplh) */ LDET.CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , LDET.LINE_DETAIL_INDEX , LDET.CREATED_FROM_LIST_LINE_TYPE , LDET.CREATED_FROM_LIST_HEADER_ID , LDET.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , LDET.LINE_QUANTITY PRICED_QUANTITY , LINE.PRICED_QUANTITY LINE_PRICED_QUANTITY , LINE.UPDATED_ADJUSTED_UNIT_PRICE , LDET.AUTOMATIC_FLAG , LDET.OVERRIDE_FLAG , LDET.PRICING_GROUP_SEQUENCE , LDET.OPERAND_CALCULATION_CODE , LDET.OPERAND_VALUE , LDET.ADJUSTMENT_AMOUNT , LINE.UNIT_PRICE , LDET.ACCRUAL_FLAG , NVL(LDET.UPDATED_FLAG, :B16 ) , LDET.PROCESS_CODE , LDET.PRICING_STATUS_CODE , LDET.PRICING_STATUS_TEXT , LDET.PRICE_BREAK_TYPE_CODE , LDET.CHARGE_TYPE_CODE , LDET.CH ARGE_SUBTYPE_CODE , LINE.ROUNDING_FACTOR , LDET.PRICING_PHASE_ID , LDET.CREATED_FROM_LIST_TYPE_CODE , LDET.LIMIT_CODE , SUBSTR(LDET.LIMIT_TEXT, 1, 240) , LDET.LIST_LINE_NO , LDET.MODIFIER_LEVEL_CODE , LDET.GROUP_QUANTITY GROUP_QUANTITY , LDET.GROUP_AMOUNT GROUP_AMOUNT , LINE.PRICING_STATUS_CODE LINE_PRICING_STATUS_CODE , :B25 IS_LDET_REC , LINE.LINE_TYPE_CODE , LDET.NET_AMOUNT_FLAG NET_AMOUNT_FLAG , LDET.CALCULATION_CODE CALCULATION_CODE , LINE.CATCHWEIGHT_QTY , LINE.ACTUAL_ORDER_QUANTITY , LINE.LINE_UNIT_PRICE , LINE.LINE_QUANTITY ORDERED_QTY , LDET.LINE_DETAIL_TYPE_CODE LINE_DETAIL_TYPE_CODE , LINE.LINE_CATEGORY , LINE.PRICE_FLAG FROM QP_NPREQ_LINES_TMP LINE, QP_NPREQ_LDETS_TMP LDET, QP_LIST_HEADERS_B QPLH WHERE NVL(:B14 , :B16 ) <> :B7 AND LINE.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND LINE.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND (LINE.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE.PROCESSED_CODE, '0') = :B8 ) AND LINE.LINE_TYPE_CODE = :B4 AND LINE.UNIT_PRICE IS NOT NULL AND LDET.LINE_INDEX = LINE.LINE_INDEX AND LDET.PRICING_STATUS_CODE = :B10 AND (LDET.UPDATED_FLAG = :B7 OR LINE.PRICE_FLAG = :B6 OR LDET.PRICING_PHASE_ID NOT IN (SELECT PH.PRICING_PHASE_ID FROM QP_EVENT_PHASES EV, QP_PRICING_PHASES PH WHERE PH.PRICING_PHASE_ID = EV.PRICING_PHASE_ID AND (EV.END_DATE_ACTIVE IS NULL OR (EV.END_DATE_ACTIVE IS NOT NULL AND EV.END_DATE_ACTIVE > LINE.PRICING_EFFECTIVE_DATE)) AND ((:B17 = :B7 AND PH.FREIGHT _EXISTS = :B7 ) OR (:B17 = :B16 )) AND INSTR(:B5 , EV.PRICING_EVENT_CODE||', ') > 0 AND (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(LDET.CREATED_FROM_LIST_LINE_ID, LINE.LINE_INDEX), LINE.PRICE_FLAG) = :B7 OR (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(LDET.CREATED_FROM_LIST_LINE_ID, LINE.LINE_INDEX), LINE.PRICE_FLAG) = :B9 AND NVL(PH.USER_FREEZE_OVERRIDE_FLAG, PH.FREEZE_OVERRIDE_FLAG) = :B7 )))) AND LDET.MODIFIER_LEVEL_CODE IN (:B4 , :B3 ) AND QPLH.LIST_HEADER_ID = LDET.CREATED_FROM_LIST_HEADER_ID AND QPLH.LIST_TYPE_CODE NOT IN (:B2 , :B1 ) AND NVL(LDET.LINE_DETAIL_TYPE_CODE, 'NULL') <> :B21 UNION SELECT /*+ ORDERED USE_NL(ldet line qplh) */ LDET.CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , LDET.LINE_DETAIL_INDEX , LDET.CREATED_FROM_LIST_LINE_TYPE , LDET.CREATED_FROM_LIST_HEADER_ID , LDET.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , LDET.LINE_QUANTITY PRICED_QUANTITY , LINE.PRICED_QUANTITY LINE_PRICED_QUANTITY , LINE.UPDATED_ADJUSTED_UNIT_PRICE , LDET.AUTOMATIC_FLAG , LDET.OVERRIDE_FLAG , LDET.PRICING_GROUP_SEQUENCE , LDET.OPERAND_CALCULATION_CODE , LDET.OPERAND_VALUE , LDET.ADJUSTMENT_AMOUNT , LINE.UNIT_PRICE , LDET.ACCRUAL_FLAG , NVL(LDET.UPDATED_FLAG, :B16 ) , LDET.PROCESS_CODE , LDET.PRICING_STATUS_CODE , LDET.PRICING_STATUS_TEXT , LDET.PRICE_BREAK_TYPE_CODE , LDET.CHARGE_TYPE_CODE , LDET.CHARGE_SU BTYPE_CODE , LINE.ROUNDING_FACTOR , LDET.PRICING_PHASE_ID , LDET.CREATED_FROM_LIST_TYPE_CODE , LDET.LIMIT_CODE , SUBSTR(LDET.LIMIT_TEXT, 1, 240) , LDET.LIST_LINE_NO , LDET.MODIFIER_LEVEL_CODE , LDET.GROUP_QUANTITY GROUP_QUANTITY , LDET.GROUP_AMOUNT GROUP_AMOUNT , LINE.PRICING_STATUS_CODE LINE_PRICING_STATUS_CODE , :B26 IS_LDET_REC , LINE.LINE_TYPE_CODE , LDET.NET_AMOUNT_FLAG NET_AMOUNT_FLAG , LDET.CALCULATION_CODE CALCULATION_CODE , LINE.CATCHWEIGHT_QTY , LINE.ACTUAL_ORDER_QUANTITY , LINE.LINE_UNIT_PRICE , LINE.LINE_QUANTITY ORDERED_QTY , LDET.LINE_DETAIL_TYPE_CODE LINE_DETAIL_TYPE_CODE , LINE.LINE_CATEGORY , LINE.PRICE_FLAG FROM QP_NPREQ_LINES_TMP LINE1, QP_NPREQ_LDETS_TMP LDET , QP_NPREQ_LINES_TMP LINE, QP_LIST_HEADERS_B QPLH WHERE NVL(:B14 , :B16 ) <> :B7 AND LINE1.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND LINE1.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND LINE.PROCESS_STATUS IN (:B12 , :B13 , :B10 , 'NEW'||:B10 , 'OLD'||:B10 ) AND LINE1.LINE_TYPE_CODE = :B19 AND (LINE1.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE1.PROCESSED_CODE, '0') = :B8 ) AND (LINE.PRICE_FLAG IN (:B7 , :B9 , :B6 ) OR NVL(LINE.PROCESSED_CODE, '0') = :B8 ) AND (LINE.UNIT_PRICE IS NOT NULL OR LINE.LINE_TYPE_CODE = :B19 ) AND LINE.PRICING_STATUS_CODE IN (:B12 , :B11 , :B10 ) AND LINE1.LINE_INDEX = LDET.LINE_INDEX AND LDET.PRICING_STATUS_CODE = :B10 AND (LDET.UPDATED_FLAG = :B7 OR LINE.PRICE_FLAG = :B6 OR LDET.PRICING_PHASE_ID NOT I N (SELECT PH.PRICING_PHASE_ID FROM QP_EVENT_PHASES EV, QP_PRICING_PHASES PH WHERE PH.PRICING_PHASE_ID = EV.PRICING_PHASE_ID AND (EV.END_DATE_ACTIVE IS NULL OR (EV.END_DATE_ACTIVE IS NOT NULL AND EV.END_DATE_ACTIVE > LINE.PRICING_EFFECTIVE_DATE)) AND ((:B17 = :B7 AND PH.FREIGHT_EXISTS = :B7 ) OR (:B17 = :B16 )) AND INSTR(:B5 , EV.PRICING_EVENT_CODE||', ') > 0 AND (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(LDET.CREATED_FROM_LIST_LINE_ID, LINE1.LINE_INDEX), LINE1.PRICE_FLAG) = :B7 OR (NVL(QP_PREQ_PUB.GET_BUY_LINE_PRICE_FLAG(LDET.CREATED_FROM_LIST_LINE_ID, LINE1.LINE_INDEX), LINE1.PRICE_FLAG) = :B9 AND NVL(PH.USER_FREEZE_OVERRIDE_FLAG, PH.FREEZE_OVERRIDE_FLAG) = :B7 )))) AND LDET.MODIFIER_LEVEL_CODE = :B19 AND QPLH.LIST_HEADER_ID = LDET.CREATED_FROM_LIST_HEADER_ID AND QPLH.LIST_TYPE_CODE NOT IN (:B2 , :B1 ) ORDER BY PRICING_GROUP_SEQUENCE, LINE_IND, IS_LDET_REC
8vmj377jqyqwq BEGIN WSH_BATCH_PROCESS.CONFIRM_DELIVERY_SRS( :errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8, :A9, :A10, :A11, :A12, :A13, :A14, :A15, :A16, :A17, :A18, :A19, :A20, :A21, :A22); END;
90b1x7g0vm4gv SELECT SC.ATTRIBUTE1 , SC.ATTRIBUTE10 , SC.ATTRIBUTE11 , SC.ATTRIBUTE12 , SC.ATTRIBUTE13 , SC.ATTRIBUTE14 , SC.ATTRIBUTE15 , SC.ATTRIBUTE2 , SC.ATTRIBUTE3 , SC.ATTRIBUTE4 , SC.ATTRIBUTE5 , SC.ATTRIBUTE6 , SC.ATTRIBUTE7 , SC.ATTRIBUTE8 , SC.ATTRIBUTE9 , SC.CONTEXT , SC.CREATED_BY , SC.CREATION_DATE , SC.DW_UPDATE_ADVICE_FLAG , SC.HEADER_ID , SC.LAST_UPDATED_BY , SC.LAST_UPDATE_DATE , SC.LAST_UPDATE_LOGIN , SC.LINE_ID , SC.PERCENT , SC.SALESREP_ID , SC.SALES_CREDIT_TYPE_ID , SC.SALES_CREDIT_ID , SC.WH_UPDATE_DATE , SC.SALES_GROUP_ID , SC.LOCK_CONTROL FROM OE_SALES_CREDITS SC , OE_SALES_CREDIT_TYPES SCT WHERE SC.SALES_CREDIT_TYPE_ID = SCT.SALES_CREDIT_TYPE_ID AND SCT.QUOTA_FLAG = :B2 AND SC.HEADER_ID = :B1 AND SC.LINE_ID IS NULL
91hakq9n36htp SELECT TEXT_VALUE FROM WF_ITEM_ATTRIBUTE_VALUES WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
9bbak9qpg1c7x INSERT INTO WF_ITEM_ATTRIBUTE_VALUES ( ITEM_TYPE, ITEM_KEY, NAME, TEXT_VALUE, NUMBER_VALUE, DATE_VALUE ) VALUES ( :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
9hypmc3t618sc SELECT ORDERED_ITEM, ORDERED_QUANTITY, ORDER_QUANTITY_UOM, ORDERED_QUANTITY2, ORDERED_QUANTITY_UOM2, PREFERRED_GRADE, LINE_NUMBER, COMPONENT_NUMBER, REQUEST_DATE, SCHEDULE_SHIP_DATE, LINE_TYPE, CANCELLED_QUANTITY, SHIPPED_QUANTITY, PROMISE_DATE, PRICING_QUANTITY, PRICING_QUANTITY_UOM, SHIP_FROM, SOLD_TO, CUSTOMER_NUMBER, CUST_PO_NUMBER, CUSTOMER_LINE_NUMBER, CUSTOMER_SHIPMENT_NUMBER, DEMAND_BUCKET_TYPE_CODE, RLA_SCHEDULE_TYPE_CODE, CUSTOMER_DOCK_CODE, CUST_MODEL_SERIAL_NUMBER, CUSTOMER_PRODUCTION_LINE, CUST_PRODUCTION_SEQ_NUM, CUSTOMER_JOB, END_ITEM_UNIT_NUMBER, TAX_CODE, BLANKET_NUMBER, BLANKET_LINE_NUMBER, BLANKET_VERSION_NUMBER, PRICE_LIST, PRICING_DATE, SHIPMENT_NUMBER, TERMS, UNIT_LIST_PRICE, ORIGINAL_LIST_PRICE, ITEM_TYPE_CODE, OPTION_NUMBER, VISIBLE_DEMAND_FLAG, SCHEDULE_ARRIVAL_DATE, PLANNING_PRIORITY, ORIGINAL_ORDERED_ITEM, ORIGINAL_INVENTORY_ITEM_ID, ORIGINAL_ORDERED_ITEM_ID, item_relationship_type, LATE_DEMAND_PENALTY_FACTOR, ORIGINAL_ITEM_IDENTIFIER_TYPE, ITEM_SUBSTITUTION_TYPE_CODE, OVERRIDE_ATP_DATE_CODE, FIRM_DEMAND_FLAG, ITEM_IDENTIFIER_TYPE, UNIT_SELLING_PRICE, UNIT_COST, CUSTOMER_ITEM_NET_PRICE, CUSTOMER_PAYMENT_TERM_ID, CALCULATE_PRICE_FLAG, TAX_EXEMPT_NUMBER, TAX_DATE, TAX_VALUE, TAX_POINT_CODE, ACCOUNTING_RULE, ACCOUNTING_RULE_DURATION, INVOICING_RULE, SUBINVENTORY, FULFILLED_QUANTITY, INVOICED_QUANTITY, SHIPPING_INSTRUCTIONS, PACKING_INSTRUCTIONS, USER_ITEM_DESCRIPTION, SHIP_FROM_LOCATION, SHIP_TO, SHIP_TO_LOCATION, SHIP_TO_CONTACT, SHIP_TO_ADDRESS1, SHI P_TO_ADDRESS2, SHIP_TO_ADDRESS3, SHIP_TO_ADDRESS4, SHIP_TO_ADDRESS5, SHIPPING_QUANTITY_UOM, SHIPPING_QUANTITY, DELIVERY_LEAD_TIME, INVOICE_TO, INVOICE_TO_LOCATION, INVOICE_TO_CONTACT, INVOICE_TO_ADDRESS1, INVOICE_TO_ADDRESS2, INVOICE_TO_ADDRESS3, INVOICE_TO_ADDRESS4, INVOICE_TO_ADDRESS5, ITEM_REVISION, ROUNDING_FACTOR, SPLIT_BY, SHIP_TOLERANCE_ABOVE, SHIP_TOLERANCE_BELOW, ORDER_NUMBER, VERSION_NUMBER, ORDER_TYPE, ORDERED_DATE, OVER_SHIP_REASON, first_ack_code, FIRST_ACK_DATE, last_ack_code, LAST_ACK_DATE, SERVICE_TXN_REASON_CODE, SERVICE_TXN_COMMENTS, SERVICE_COTERMINATE_FLAG, SERVICE_DURATION, SERVICE_PERIOD, SERVICE_START_DATE, SERVICE_END_DATE, UNIT_SELLING_PERCENT, SERVICE_NUMBER, SERVICE_REFERENCE_TYPE_CODE, UNIT_LIST_PERCENT, UNIT_PERCENT_BASE_PRICE, END_CUSTOMER_SITE_USE_ID, END_CUSTOMER_CONTACT_ID, END_CUSTOMER_ID, IB_OWNER, IB_INSTALLED_AT_LOCATION, IB_CURRENT_LOCATION, EARLIEST_ACCEPTABLE_DATE, LATEST_ACCEPTABLE_DATE, ACTUAL_SHIPMENT_DATE, OVER_SHIP_RESOLVED_FLAG, ACTUAL_ARRIVAL_DATE, DEP_PLAN_REQUIRED_FLAG, AUTHORIZED_TO_SHIP_FLAG, COMMITMENT_ID, LOCK_CONTROL, ORDER_SOURCE_ID, TAX_EXEMPT_REASON_CODE, FULFILLED_FLAG, FULFILLMENT_METHOD_CODE, TAX_EXEMPT_FLAG, TAX_RATE, FREIGHT_TERMS_CODE, SHIPMENT_PRIORITY_CODE, SHIPPING_METHOD_CODE, FOB_POINT_CODE, INVOICE_INTERFACE_STATUS_CODE, SHIP_MODEL_COMPLETE_FLAG, SOURCE_DOCUMENT_TYPE_ID, SOURCE_DOCUMENT_ID, SOURCE_DOCUMENT_LINE_ID, ROW_ID, HEADER_ROW_ID, REFERENCE_HEADER_ID, REFERENCE_LINE_ID, REFERENCE_CUSTOMER_TRX_LINE_ID, CREDIT_INVOICE_LINE_ID, LINE_ID, ORG_ID, HEADER_ID, LINE_TYPE_ID, LINE_SET_ID, CONFIG_HEADER_ID, CONFIG_REV_NBR, SHIP_FROM_ORG_ID, SHIP_TO_ORG_ID, DELIVER_TO_ORG_ID, INTMED_SHIP_TO_ORG_ID, INVOICE_TO_ORG_ID, SOLD_FROM_ORG_ID, SHIP_TO_CONTACT_ID, DELIVER_TO_CONTACT_ID, INTMED_SHIP_TO_CONTACT_ID, INVOICE_TO_CONTACT_ID, INVENTORY_ITEM_ID, SERVICE_REFERENCE_LINE_ID, SERVICE_REFERENCE_SYSTEM_ID, PRICE_LIST_ID, AGREEMENT_ID, PAYMENT_TERM_ID, INVOICING_RULE_ID, ACCOUNTING_RULE_ID, SPLIT_FROM_LINE_ID, VEH_CUS_ITEM_CUM_KEY_ID, SALESREP_ID, RETURN_REASON_CODE, ARRIVAL_SET_ID, SHIP_SET_ID, ORDERED_ITEM_ID, OVER_SHIP_REASON_CODE, CONTEXT, SCHEDULE_STATUS_CODE, FLOW_STATUS_CODE, SOURCE_TYPE_CODE, DEMAND_CLASS_CODE, TRANSACTION_PHASE_CODE, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, ATTRIBUTE16, ATTRIBUTE17, ATTRIBUTE18, ATTRIBUTE19, ATTRIBUTE20, GLOBAL_ATTRIBUTE_CATEGORY, GLOBAL_ATTRIBUTE1, GLOBAL_ATTRIBUTE2, GLOBAL_ATTRIBUTE3, GLOBAL_ATTRIBUTE4, GLOBAL_ATTRIBUTE5, GLOBAL_ATTRIBUTE6, GLOBAL_ATTRIBUTE7, GLOBAL_ATTRIBUTE8, GLOBAL_ATTRIBUTE9, GLOBAL_ATTRIBUTE10, GLOBAL_ATTRIBUTE11, GLOBAL_ATTRIBUTE12, GLOBAL_ATTRIBUTE13, GLOBAL_ATTRIBUTE14, GLOBAL_ATTRIBUTE15, GLOBAL_ATTRIBUTE16, GLOBAL_ATTRIBUTE17, GLOBAL_ATTRIBUTE18, GLOBAL_ATTRIBUTE19, GLOBAL_ATTRIBUTE20, INDUSTRY_CONTEXT, INDUSTRY_ATTRIBUTE1, INDUSTRY_ATTRIBUTE2, INDUSTRY_ATTRIBUTE3, INDUSTRY_ATTR IBUTE4, INDUSTRY_ATTRIBUTE5, INDUSTRY_ATTRIBUTE6, INDUSTRY_ATTRIBUTE7, INDUSTRY_ATTRIBUTE8, INDUSTRY_ATTRIBUTE9, INDUSTRY_ATTRIBUTE10, INDUSTRY_ATTRIBUTE11, INDUSTRY_ATTRIBUTE13, INDUSTRY_ATTRIBUTE12, INDUSTRY_ATTRIBUTE14, INDUSTRY_ATTRIBUTE15, INDUSTRY_ATTRIBUTE16, INDUSTRY_ATTRIBUTE17, INDUSTRY_ATTRIBUTE18, INDUSTRY_ATTRIBUTE19, INDUSTRY_ATTRIBUTE20, INDUSTRY_ATTRIBUTE21, INDUSTRY_ATTRIBUTE22, INDUSTRY_ATTRIBUTE23, INDUSTRY_ATTRIBUTE24, INDUSTRY_ATTRIBUTE25, INDUSTRY_ATTRIBUTE26, INDUSTRY_ATTRIBUTE27, INDUSTRY_ATTRIBUTE28, INDUSTRY_ATTRIBUTE29, INDUSTRY_ATTRIBUTE30, RETURN_CONTEXT, RETURN_ATTRIBUTE1, RETURN_ATTRIBUTE2, RETURN_ATTRIBUTE3, RETURN_ATTRIBUTE4, RETURN_ATTRIBUTE5, RETURN_ATTRIBUTE6, RETURN_ATTRIBUTE7, RETURN_ATTRIBUTE8, RETURN_ATTRIBUTE9, RETURN_ATTRIBUTE10, RETURN_ATTRIBUTE11, RETURN_ATTRIBUTE12, RETURN_ATTRIBUTE13, RETURN_ATTRIBUTE14, RETURN_ATTRIBUTE15, TP_CONTEXT, TP_ATTRIBUTE1, TP_ATTRIBUTE2, TP_ATTRIBUTE3, TP_ATTRIBUTE4, TP_ATTRIBUTE5, TP_ATTRIBUTE6, TP_ATTRIBUTE7, TP_ATTRIBUTE8, TP_ATTRIBUTE9, TP_ATTRIBUTE10, TP_ATTRIBUTE11, TP_ATTRIBUTE12, TP_ATTRIBUTE13, TP_ATTRIBUTE14, TP_ATTRIBUTE15, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID, COMPONENT_SEQUENCE_ID, CONFIGURATION_ID, TOP_MODEL_LINE_ID, LINK_TO_LINE_ID, CONFIG_DISPLAY_SEQUENCE, COMPONENT_CODE, SORT_ORDER, SOLD_TO_ORG_ID, FREIGHT_CARRIER_CODE, PROJECT_ID, TASK_ID, LINE_CATEGORY_CODE, MODEL_REMNANT_FL AG, CUSTOMER_TRX_LINE_ID, OPTION_FLAG, BOOKED_FLAG, OPEN_FLAG, CANCELLED_FLAG, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, ORIG_SYS_SHIPMENT_REF, SHIPPING_INTERFACED_FLAG, ATO_LINE_ID, AUTO_SELECTED_QUANTITY, EXPLOSION_DATE, MODEL_GROUP_NUMBER FROM OE_ORDER_LINES_V WHERE (HEADER_ID=:1) order by line_number, shipment_number, nvl(option_number, -1), nvl(component_number, -1), nvl(service_number, -1)
9wdrypwkpf607 begin OE_FULFILL_WF.START_FULFILLMENT (:v1, :v2, :v3, :v4, :v5); end;
abbhbp1x1hdyu select /*+ FIRST_ROWS(1) */ tab.rowid, tab.msgid, tab.corrid, tab.priority, tab.delay, tab.expiration, tab.retry_count, tab.exception_qschema, tab.exception_queue, tab.chain_no, tab.local_order_no, tab.enq_time, tab.time_manager_info, tab.state, tab.enq_tid, tab.step_no, tab.sender_name, tab.sender_address, tab.sender_protocol, tab.dequeue_msgid, tab.user_prop, tab.user_data from "APPLSYS"."WF_DEFERRED" tab, "APPLSYS"."AQ$_WF_DEFERRED_I" iot where (iot.subscriber# = :1 and iot.name = :2 and iot.queue# = :3) and iot.msg_priority = tab.priority and iot.msg_enq_time = tab.enq_time and iot.msg_step_no = tab.step_no and iot.msg_chain_no = tab.chain_no and iot.msg_local_order_no = tab.local_order_no and tab.corrid like :4 and tab.msgid = iot.msgid
avc1jqzz04wpr SELECT 'x' FROM DUAL
azfadzhfxbxj3 SELECT ROW_ID, APBA_INACTIVE_DATE, DEFAULT_TAX_EXEMPT_FLAG, BS_BATCH_SOURCE_NAME, TRX_NUMBER, RA_BILLING_NUMBER, SOA_AGREEMENT_NAME, RAB_BATCH_NAME, RAC_BILL_TO_CUSTOMER_NAME, RAC_BILL_TO_CUSTOMER_NUM, RAA_BILL_TO_CONCAT_ADDRESS, RAA_BILL_TO_ADDRESS1, RAA_BILL_TO_ADDRESS2, RAA_BILL_TO_ADDRESS3, RAA_BILL_TO_ADDRESS3_DB, RAA_BILL_TO_CITY, FT_BILL_TO_COUNTRY, RAA_BILL_TO_COUNTY, RAA_BILL_TO_POSTAL_CODE, RAA_BILL_TO_PROVINCE, RAA_BILL_TO_STATE, RACO_BILL_TO_CONTACT_NAME, BILL_TO_TAXPAYER_ID, SU_BILL_TO_LOCATION, OF_SHIP_VIA_NAME, CTT_CLASS, COMMENTS, END_DATE_COMMITMENT, START_DATE_COMMITMENT, COMPLETE_FLAG, CT_RELATED_TRX_NUMBER, APBA_BANK_ACCOUNT_NAME, APBA_BANK_ACCOUNT_NUM, APB_CUSTOMER_BANK_BRANCH_NAME, APB_CUSTOMER_BANK_NAME, CUSTOMER_REFERENCE, CUSTOMER_REFERENCE_DATE, INVOICE_CURRENCY_CODE, AL_DEFAULT_TAX_EXEMPT_FLAG, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, PS_DISPUTE_AMOUNT, PS_DISPUTE_DATE, DOC_SEQUENCE_VALUE, TERM_DUE_DATE, EXCHANGE_DATE, EXCHANGE_RATE, GDCT_USER_EXCHANGE_RATE_TYPE, AL_FOB_MEANING, FINANCE_CHARGES, GD_GL_DATE, INVOICING_RULE_ID, CT_MODEL_TRX_NUMBER, PRINTING_ORIGINAL_DATE, CT_INVOICE_FOR_CB, PURCHASE_ORDER_DATE, PURCHASE_ORDER_REVISION, SU_PAYING_CUSTOMER_LOCATION, RAC_PAYING_CUSTOMER_NAME, RAC_PAYING_CUSTOMER_NUM, ARM_RECEIPT_METHOD_NAME, PRINTING_COUNT, PRINTING_LAST_PRINTED, PRINTING_OPT ION, PURCHASE_ORDER, CT_REFERENCE, RAA_CONCAT_REMIT_TO_ADDRESS, RAA_REMIT_TO_ADDRESS1, RAA_REMIT_TO_ADDRESS2, RAA_REMIT_TO_ADDRESS3, RAA_REMIT_TO_ADDRESS3_DB, RAA_REMIT_TO_CITY, RAA_REMIT_TO_COUNTY, RAA_REMIT_TO_STATE, RAA_REMIT_TO_PROVINCE, RAA_REMIT_TO_POSTAL_CODE, FT_REMIT_TO_COUNTRY, CREDIT_METHOD_FOR_RULES, RAS_PRIMARY_SALESREP_NAME, RAS_PRIMARY_SALESREP_NUM, SHIP_DATE_ACTUAL, RAA_SHIP_TO_CONCAT_ADDRESS, RAA_SHIP_TO_ADDRESS1, RAA_SHIP_TO_ADDRESS2, RAA_SHIP_TO_ADDRESS3, RAA_SHIP_TO_ADDRESS3_DB, RAA_SHIP_TO_CITY, RAA_SHIP_TO_COUNTY, RAA_SHIP_TO_STATE, RAA_SHIP_TO_PROVINCE, RAA_SHIP_TO_POSTAL_CODE, FT_SHIP_TO_COUNTRY, RAC_SHIP_TO_CUSTOMER_NAME, RACO_SHIP_TO_CONTACT_NAME, RAC_SHIP_TO_CUSTOMER_NUM, SU_SHIP_TO_LOCATION, SHIP_TO_TAXPAYER_ID, RAC_SOLD_TO_CUSTOMER_NAME, RAC_SOLD_TO_CUSTOMER_NUM, INTERNAL_NOTES, CREDIT_METHOD_FOR_INSTALLMENTS, STATUS_TRX, RAT_TERM_NAME, DEFAULT_USSGL_TRANSACTION_CODE, TRX_DATE, INTERFACE_HEADER_CONTEXT, INTERFACE_HEADER_ATTRIBUTE1, INTERFACE_HEADER_ATTRIBUTE2, INTERFACE_HEADER_ATTRIBUTE3, INTERFACE_HEADER_ATTRIBUTE4, INTERFACE_HEADER_ATTRIBUTE5, INTERFACE_HEADER_ATTRIBUTE6, INTERFACE_HEADER_ATTRIBUTE7, INTERFACE_HEADER_ATTRIBUTE8, INTERFACE_HEADER_ATTRIBUTE9, INTERFACE_HEADER_ATTRIBUTE10, INTERFACE_HEADER_ATTRIBUTE11, INTERFACE_HEADER_ATTRIBUTE12, INTERFACE_HEADER_ATTRIBUTE13, INTERFACE_HEADER_ATTRIBUTE14, INTERFACE_HEADER_ATTRIBUTE15, CTT_TYPE_NAME, WAYBILL_NUMBER, CUSTOMER_TRX_ID, PREVIOUS_CUSTOMER_TRX_ID, INITIAL_CUSTOMER_TRX_ID, RELATED_BATCH_ SOURCE_ID, RELATED_CUSTOMER_TRX_ID, CUST_TRX_TYPE_ID, BATCH_ID, BATCH_SOURCE_ID, REASON_CODE, TERM_ID, PRIMARY_SALESREP_ID, AGREEMENT_ID, RECEIPT_METHOD_ID, SHIP_VIA, FOB_POINT, CUSTOMER_BANK_ACCOUNT_ID, RECURRED_FROM_TRX_NUMBER, SOLD_TO_CUSTOMER_ID, SOLD_TO_SITE_USE_ID, SOLD_TO_CONTACT_ID, BILL_TO_CUSTOMER_ID, BILL_TO_SITE_USE_ID, BILL_TO_CONTACT_ID, SHIP_TO_CUSTOMER_ID, SHIP_TO_SITE_USE_ID, SHIP_TO_CONTACT_ID, REMIT_TO_ADDRESS_ID, CREATED_FROM, PRINTING_PENDING, LAST_PRINTED_SEQUENCE_NUM, EXCHANGE_RATE_TYPE, TERRITORY_ID, DOC_SEQUENCE_ID, PAYING_CUSTOMER_ID, PAYING_SITE_USE_ID, DH_MAX_DISPUTE_DATE, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATED_BY, CREATION_DATE, LAST_UPDATE_LOGIN, BS_AUTO_TRX_NUMBERING_FLAG, BS_BATCH_SOURCE_TYPE, REV_RECOG_RUN_FLAG, CTT_OPEN_RECEIVABLES_FLAG, CTT_ALLOW_FREIGHT_FLAG, CTT_POST_TO_GL_FLAG, CTT_CREATION_SIGN, CTT_ALLOW_OVERAPPLICATION_FLAG, CTT_NATURAL_APP_ONLY_FLAG, CTT_TAX_CALCULATION_FLAG, CTT_DEFAULT_STATUS, CTT_DEFAULT_TERM, CTT_DEFAULT_PRINTING_OPTION, RAA_BILL_TO_ADDRESS_ID, RAA_SHIP_TO_ADDRESS_ID, ARC_CREATION_METHOD_CODE, ARM_PAYMENT_TYPE_CODE, RAT_TERM_IN_USE_FLAG, RULES_FLAG, ACTIVITY_FLAG, PRINTED_FLAG, POSTED_FLAG, CM_AGAINST_TRX_FLAG, SELECTED_FOR_PAYMENT_FLAG, OVERRIDE_TERMS, COMMITMENTS_EXIST_FLAG, AGREEMENTS_EXIST_FLAG, ATCHMT_FLAG, GLOBAL_ATTRIBUTE1, GLOBAL_ATTRIBUTE2, GLOBAL_ATTRIBUTE3, GLOBAL_ATTRIBUTE4, GLOBAL_ATTRIBUTE5, GLOBAL_ATTRIBUTE6, GLOBAL_ATTRIBUTE7, GLOBAL_ATTRIBUTE8, GLOBAL_ATTRIBUTE9, GLOBAL_ATTRIBUTE10, GLOBAL_ATT RIBUTE11, GLOBAL_ATTRIBUTE12, GLOBAL_ATTRIBUTE13, GLOBAL_ATTRIBUTE14, GLOBAL_ATTRIBUTE15, GLOBAL_ATTRIBUTE16, GLOBAL_ATTRIBUTE17, GLOBAL_ATTRIBUTE18, GLOBAL_ATTRIBUTE19, GLOBAL_ATTRIBUTE20, GLOBAL_ATTRIBUTE_CATEGORY, ORIG_SYSTEM_BATCH_NAME, OLD_TRX_NUMBER, BS_COPY_DOC_NUMBER_FLAG FROM RA_CUSTOMER_TRX_PARTIAL_V WHERE NVL(:1 , 0) = NVL(of_organization_id, NVL(:2, 0)) and (CUSTOMER_TRX_ID=:3) order by CUSTOMER_TRX_ID
bf7uwg5pa3pj6 begin FND_FLEX_WORKFLOW_APIS.VALIDATE_COMBINATION (:v1, :v2, :v3, :v4, :v5); end;
bfbyqwbr4vwms begin OE_OEOL_SCH.SCHEDULE_LINE (:v1, :v2, :v3, :v4, :v5); end;
bkxrrs52m7d8p BEGIN WSH_SHIP_CONFIRM_ACTIONS.interface_ALL_wrp( :errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8); END;
bt0w082dfrm8v BEGIN WSH_SHIP_CONFIRM_ACTIONS.interface_ALL_wrp( :errbuf, :rc, :A0, :A1, :A2, :A3); END;
cd9mbmqyf4qhp UPDATE WF_ITEM_ACTIVITY_STATUSES SET ACTIVITY_STATUS = :B8 , ACTIVITY_RESULT_CODE = NVL(:B13 , ACTIVITY_RESULT_CODE), BEGIN_DATE = NVL(:B11 , BEGIN_DATE), END_DATE = NVL(:B12 , END_DATE), DUE_DATE = DECODE(:B11 , TO_DATE(NULL), DUE_DATE, :B10 ), OUTBOUND_QUEUE_ID = :B9 , EXECUTION_TIME = DECODE(:B8 , :B7 , :B4 , :B6 , NVL(EXECUTION_TIME, :B4 ), :B5 , NVL(EXECUTION_TIME, :B4 ), EXECUTION_TIME) WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND PROCESS_ACTIVITY = :B1
cdjud36xbtuu5 SELECT WIAS.PROCESS_ACTIVITY, WIAS.ACTIVITY_STATUS FROM WF_PROCESS_ACTIVITIES PA, WF_PROCESS_ACTIVITIES PA1, WF_ACTIVITIES A1, WF_ITEM_ACTIVITY_STATUSES WIAS WHERE PA.INSTANCE_ID = :B4 AND PA.ACTIVITY_ITEM_TYPE = PA1.PROCESS_ITEM_TYPE AND PA.ACTIVITY_NAME = PA1.PROCESS_NAME AND PA1.PROCESS_VERSION = A1.VERSION AND PA1.PROCESS_ITEM_TYPE = A1.ITEM_TYPE AND PA1.PROCESS_NAME = A1.NAME AND :B3 >= A1.BEGIN_DATE AND :B3 < NVL(A1.END_DATE, :B3 +1) AND PA1.INSTANCE_ID = WIAS.PROCESS_ACTIVITY AND WIAS.ITEM_TYPE = :B2 AND WIAS.ITEM_KEY = :B1 AND WIAS.ACTIVITY_STATUS <> 'COMPLETE'
cw171rvngr1w9 begin OE_FLEX_COGS_PUB.GET_COST_SALE_ITEM_DERIVED (:v1, :v2, :v3, :v4, :v5); end;
cwyx16zn1hpfb select parameter, value from nls_session_parameters
d0a8mm8y38yaw SELECT base.revision , base.lot_number , base.lot_expiration_date , base.subinventory_code , base.locator_id , base.cost_group_id , base.date_received , base.primary_quantity , msi.picking_order FROM ( SELECT x.organization_id , x.inventory_item_id , x.revision , x.lot_number , lot.expiration_date lot_expiration_date , x.subinventory_code , sub.reservable_type , x.locator_id , x.cost_group_id , x.date_received date_received , x.primary_quantity primary_quantity , NULL lpn_id , x.project_id project_id , x.task_id task_id FROM (SELECT moq.organization_id , moq.inventory_item_id , moq.revision , moq.lot_number , moq.subinventory_code , moq.locator_id , moq.cost_group_id , min(NVL(moq.orig_date_received, moq.date_received)) date_received , sum(moq.primary_transaction_quantity) primary_quantity , moq.project_id , moq.task_id FROM MTL_ONHAND_QUANTITIES_DETAIL moq WHERE moq.organization_id = :n1 AND moq.inventory_item_id = :n2 GROUP BY moq.organization_id, moq.inventory_item_id , moq.revision, moq.lot_number , moq.subinventory_code, moq.locator_id , moq.cost_group_id , moq.project_id , moq.task_id ) x , mtl_seconda ry_inventories sub , mtl_lot_numbers lot WHERE x.primary_quantity > 0 AND x.organization_id = sub.organization_id AND x.subinventory_code = sub.secondary_inventory_name AND NVL(sub.disable_date, sysdate+1) > sysdate AND x.organization_id = lot.organization_id (+) AND x.inventory_item_id = lot.inventory_item_id (+) AND x.lot_number = lot.lot_number (+) ) base , mtl_secondary_inventories msi where 1=1 AND NVL(base.reservable_type, 2) = 1 AND base.subinventory_code = msi.secondary_inventory_name AND base.organization_id = msi.organization_id AND ((base.locator_id IS NULL) OR (base.locator_id IS NOT NULL AND (EXISTS ( SELECT inventory_location_id FROM mtl_item_locations WHERE inventory_location_id = base.locator_id AND organization_id = base.organization_id AND project_id IS NULL AND task_id IS NULL)))) order by msi.picking_order , base.date_received
d92h3rjp0y217 begin prvt_hdm.auto_execute( :db_id, :inst_id, :end_snap ); end;
dcvv68fju01g4 begin FND_FLEX_WORKFLOW_APIS.END_GENERATION (:v1, :v2, :v3, :v4, :v5); end;
dzt4ys8ynkyrj INSERT INTO CS_INCIDENTS_AUDIT_B ( INCIDENT_AUDIT_ID , INCIDENT_ID , LAST_UPDATE_DATE , LAST_UPDATED_BY , CREATION_DATE , CREATED_BY , LAST_UPDATE_LOGIN , CREATION_TIME , INCIDENT_STATUS_ID , OLD_INCIDENT_STATUS_ID , CHANGE_INCIDENT_STATUS_FLAG , INCIDENT_TYPE_ID , OLD_INCIDENT_TYPE_ID , CHANGE_INCIDENT_TYPE_FLAG , INCIDENT_URGENCY_ID , OLD_INCIDENT_URGENCY_ID , CHANGE_INCIDENT_URGENCY_FLAG , INCIDENT_SEVERITY_ID , OLD_INCIDENT_SEVERITY_ID , CHANGE_INCIDENT_SEVERITY_FLAG, INCIDENT_OWNER_ID , OLD_INCIDENT_OWNER_ID , CHANGE_INCIDENT_OWNER_FLAG , CREATE_MANUAL_ACTION , ACTION_ID , EXPECTED_RESOLUTION_DATE , OLD_EXPECTED_RESOLUTION_DATE , CHANGE_RESOLUTION_FLAG , NEW_WORKFLOW_FLAG , WORKFLOW_PROCESS_NAME , WORKFLOW_PROCESS_ITEMKEY , GROUP_ID, OLD_GROUP_ID, CHANGE_GROUP_FLAG, GROUP_TYPE, OLD_GROUP_TYPE, CHANGE_GROUP_TYPE_FLAG, INV_PLATFORM_ORG_ID, OLD_INV_PLATFORM_ORG_ID, CHANGE_PLATFORM_ORG_ID_FLAG, OWNER_ASSIGNED_TIME, OLD_OWNER_ASSIGNED_TIME, CHANGE_ASSIGNED_TIME_FLAG, OBLIGATION_DATE, OLD_OBLIGATION_DATE, CHANGE_OBLIGATION_FLAG, SITE_ID, OLD_SITE_ID, CHANGE_SITE_FLAG, BILL_TO_CONTACT_ID, OLD_BILL_TO_CONTACT_ID, CHANGE_BILL_TO_FLAG, SHIP_TO_CONTACT_ID, OLD_SHIP_TO_CONTACT_ID, CHANGE_SHIP_TO_FLAG, CLOSE_DATE, OLD_CLOSE_DATE, CHANGE_CLOSE_DATE_FLAG, CUSTOMER_PRODUCT_ID, OLD_CUSTOMER_PRODUCT_ID, CHANGE_CUSTOMER_PRODUCT_FLAG, PLATFORM_ID, OLD_PLATFORM_ID, CHANGE_PLATFORM_ID_FLAG, PRODUCT_REVISION, OLD_PRODUCT_REVISION , CHANGE_PRODUCT_REVISION_FLAG, COMPONENT_VERSION, OLD_COMPONENT_VERSION, CHANGE_COMP_VER_FLAG, SUBCOMPONENT_VERSION, OLD_SUBCOMPONENT_VERSION, CHANGE_SUBCOMP_VER_FLAG, CP_COMPONENT_ID, OLD_CP_COMPONENT_ID, CHANGE_CP_COMPONENT_ID_FLAG, CP_COMPONENT_VERSION_ID, OLD_CP_COMPONENT_VERSION_ID, CHANGE_CP_COMP_VER_ID_FLAG, CP_SUBCOMPONENT_ID, OLD_CP_SUBCOMPONENT_ID, CHANGE_CP_SUBCOMPONENT_ID_FLAG, CP_SUBCOMPONENT_VERSION_ID, OLD_CP_SUBCOMPONENT_VERSION_ID, CHANGE_CP_SUBCOMP_VER_ID_FLAG, CP_REVISION_ID, OLD_CP_REVISION_ID, CHANGE_CP_REVISION_ID_FLAG, INV_ITEM_REVISION, OLD_INV_ITEM_REVISION, CHANGE_INV_ITEM_REVISION, INV_COMPONENT_ID, OLD_INV_COMPONENT_ID, CHANGE_INV_COMPONENT_ID, INV_COMPONENT_VERSION, OLD_INV_COMPONENT_VERSION, CHANGE_INV_COMPONENT_VERSION, INV_SUBCOMPONENT_ID, OLD_INV_SUBCOMPONENT_ID, CHANGE_INV_SUBCOMPONENT_ID, INV_SUBCOMPONENT_VERSION, OLD_INV_SUBCOMPONENT_VERSION, CHANGE_INV_SUBCOMP_VERSION, TERRITORY_ID, OLD_TERRITORY_ID, CHANGE_TERRITORY_ID_FLAG, RESOURCE_TYPE, OLD_RESOURCE_TYPE, CHANGE_RESOURCE_TYPE_FLAG, OBJECT_VERSION_NUMBER, AUDIT_FIELD, INVENTORY_ITEM_ID , OLD_INVENTORY_ITEM_ID, CHANGE_INVENTORY_ITEM_FLAG, INV_ORGANIZATION_ID, OLD_INV_ORGANIZATION_ID, CHANGE_INV_ORGANIZATION_FLAG, STATUS_FLAG , OLD_STATUS_FLAG , CHANGE_STATUS_FLAG , INCIDENT_DATE, OLD_INCIDENT_DATE, CHANGE_INCIDENT_DATE_FLAG, PLATFORM_VERSION_ID, OLD_PLATFORM_VERSION_ID, CHANGE_PLAT_VER_ID_FLAG, LANGUAGE_ID, OLD_LANGUAGE_ID, CHANGE_LANGUAGE_ID_FLAG, UPGRADE_FLAG_FOR_CREATE , OLD_INCIDENT_NUMBER , INCIDENT_NUMBER , OLD_CUSTOMER_ID , CUSTOMER_ID , OLD_BILL_TO_SITE_USE_ID , BILL_TO_SITE_USE_ID , OLD_EMPLOYEE_ID , EMPLOYEE_ID , OLD_SHIP_TO_SITE_USE_ID , SHIP_TO_SITE_USE_ID , OLD_PROBLEM_CODE , PROBLEM_CODE , OLD_ACTUAL_RESOLUTION_DATE , ACTUAL_RESOLUTION_DATE , OLD_INSTALL_SITE_USE_ID , INSTALL_SITE_USE_ID , OLD_CURRENT_SERIAL_NUMBER , CURRENT_SERIAL_NUMBER , OLD_SYSTEM_ID , SYSTEM_ID , OLD_INCIDENT_ATTRIBUTE_1 , INCIDENT_ATTRIBUTE_1 , OLD_INCIDENT_ATTRIBUTE_2 , INCIDENT_ATTRIBUTE_2 , OLD_INCIDENT_ATTRIBUTE_3 , INCIDENT_ATTRIBUTE_3 , OLD_INCIDENT_ATTRIBUTE_4 , INCIDENT_ATTRIBUTE_4 , OLD_INCIDENT_ATTRIBUTE_5 , INCIDENT_ATTRIBUTE_5 , OLD_INCIDENT_ATTRIBUTE_6 , INCIDENT_ATTRIBUTE_6 , OLD_INCIDENT_ATTRIBUTE_7 , INCIDENT_ATTRIBUTE_7 , OLD_INCIDENT_ATTRIBUTE_8 , INCIDENT_ATTRIBUTE_8 , OLD_INCIDENT_ATTRIBUTE_9 , INCIDENT_ATTRIBUTE_9 , OLD_INCIDENT_ATTRIBUTE_10 , INCIDENT_ATTRIBUTE_10 , OLD_INCIDENT_ATTRIBUTE_11 , INCIDENT_ATTRIBUTE_11 , OLD_INCIDENT_ATTRIBUTE_12 , INCIDENT_ATTRIBUTE_12 , OLD_INCIDENT_ATTRIBUTE_13 , INCIDENT_ATTRIBUTE_13 , OLD_INCIDENT_ATTRIBUTE_14 , INCIDENT_ATTRIBUTE_14 , OLD_INCIDENT_ATTRIBUTE_15 , INCIDENT_ATTRIBUTE_15 , OLD_INCIDENT_CONTEXT , INCIDENT_CONTEXT , OLD_RESOLUTION_CODE , RESOLUTION_CODE , OLD_ORIGINAL_ORDER_NUMBER , ORIGINAL_ORDER_NUMBER , OLD_ORG_ID , ORG_ID , OLD_PURCHASE_ORDER_NUMBER , PURCHASE_ORDER_NUMBER , O LD_PUBLISH_FLAG , PUBLISH_FLAG , OLD_QA_COLLECTION_ID , QA_COLLECTION_ID , OLD_CONTRACT_ID , CONTRACT_ID , OLD_CONTRACT_NUMBER , CONTRACT_NUMBER , OLD_CONTRACT_SERVICE_ID , CONTRACT_SERVICE_ID , OLD_TIME_ZONE_ID , TIME_ZONE_ID , OLD_ACCOUNT_ID , ACCOUNT_ID , OLD_TIME_DIFFERENCE , TIME_DIFFERENCE , OLD_CUSTOMER_PO_NUMBER , CUSTOMER_PO_NUMBER , OLD_CUSTOMER_TICKET_NUMBER , CUSTOMER_TICKET_NUMBER , OLD_CUSTOMER_SITE_ID , CUSTOMER_SITE_ID , OLD_CALLER_TYPE , CALLER_TYPE , OLD_SECURITY_GROUP_ID , OLD_ORIG_SYSTEM_REFERENCE , ORIG_SYSTEM_REFERENCE , OLD_ORIG_SYSTEM_REFERENCE_ID , ORIG_SYSTEM_REFERENCE_ID , REQUEST_ID , PROGRAM_APPLICATION_ID , PROGRAM_ID , PROGRAM_UPDATE_DATE , OLD_PROJECT_NUMBER , PROJECT_NUMBER , OLD_PLATFORM_VERSION , PLATFORM_VERSION , OLD_DB_VERSION , DB_VERSION , OLD_CUST_PREF_LANG_ID , CUST_PREF_LANG_ID , OLD_TIER , TIER , OLD_CATEGORY_ID , CATEGORY_ID , OLD_OPERATING_SYSTEM , OPERATING_SYSTEM , OLD_OPERATING_SYSTEM_VERSION , OPERATING_SYSTEM_VERSION , OLD_DATABASE , DATABASE , OLD_GROUP_TERRITORY_ID , GROUP_TERRITORY_ID , OLD_COMM_PREF_CODE , COMM_PREF_CODE , OLD_LAST_UPDATE_CHANNEL , LAST_UPDATE_CHANNEL , OLD_CUST_PREF_LANG_CODE , CUST_PREF_LANG_CODE , OLD_ERROR_CODE , ERROR_CODE , OLD_CATEGORY_SET_ID , CATEGORY_SET_ID , OLD_EXTERNAL_REFERENCE , EXTERNAL_REFERENCE , OLD_INCIDENT_OCCURRED_DATE , INCIDENT_OCCURRED_DATE , OLD_INCIDENT_RESOLVED_DATE , INCIDENT_RESOLVED_DATE , OLD_INC_RESPONDED _BY_DATE , INC_RESPONDED_BY_DATE , OLD_INCIDENT_LOCATION_ID , INCIDENT_LOCATION_ID , OLD_INCIDENT_ADDRESS , INCIDENT_ADDRESS , OLD_INCIDENT_CITY , INCIDENT_CITY , OLD_INCIDENT_STATE , INCIDENT_STATE , OLD_INCIDENT_COUNTRY , INCIDENT_COUNTRY , OLD_INCIDENT_PROVINCE , INCIDENT_PROVINCE , OLD_INCIDENT_POSTAL_CODE , INCIDENT_POSTAL_CODE , OLD_INCIDENT_COUNTY , INCIDENT_COUNTY , OLD_SR_CREATION_CHANNEL , SR_CREATION_CHANNEL , OLD_DEF_DEFECT_ID , DEF_DEFECT_ID , OLD_DEF_DEFECT_ID2 , DEF_DEFECT_ID2 , OLD_EXTERNAL_ATTRIBUTE_1 , EXTERNAL_ATTRIBUTE_1 , OLD_EXTERNAL_ATTRIBUTE_2 , EXTERNAL_ATTRIBUTE_2 , OLD_EXTERNAL_ATTRIBUTE_3 , EXTERNAL_ATTRIBUTE_3 , OLD_EXTERNAL_ATTRIBUTE_4 , EXTERNAL_ATTRIBUTE_4 , OLD_EXTERNAL_ATTRIBUTE_5 , EXTERNAL_ATTRIBUTE_5 , OLD_EXTERNAL_ATTRIBUTE_6 , EXTERNAL_ATTRIBUTE_6 , OLD_EXTERNAL_ATTRIBUTE_7 , EXTERNAL_ATTRIBUTE_7 , OLD_EXTERNAL_ATTRIBUTE_8 , EXTERNAL_ATTRIBUTE_8 , OLD_EXTERNAL_ATTRIBUTE_9 , EXTERNAL_ATTRIBUTE_9 , OLD_EXTERNAL_ATTRIBUTE_10 , EXTERNAL_ATTRIBUTE_10 , OLD_EXTERNAL_ATTRIBUTE_11 , EXTERNAL_ATTRIBUTE_11 , OLD_EXTERNAL_ATTRIBUTE_12 , EXTERNAL_ATTRIBUTE_12 , OLD_EXTERNAL_ATTRIBUTE_13 , EXTERNAL_ATTRIBUTE_13 , OLD_EXTERNAL_ATTRIBUTE_14 , EXTERNAL_ATTRIBUTE_14 , OLD_EXTERNAL_ATTRIBUTE_15 , EXTERNAL_ATTRIBUTE_15 , OLD_EXTERNAL_CONTEXT , EXTERNAL_CONTEXT , OLD_LAST_UPDATE_PROGRAM_CODE , LAST_UPDATE_PROGRAM_CODE , OLD_CREATION_PROGRAM_CODE , CREATION_PROGRAM_CODE , OLD_COVERAGE_TYPE , COVERA GE_TYPE , OLD_BILL_TO_ACCOUNT_ID , BILL_TO_ACCOUNT_ID , OLD_SHIP_TO_ACCOUNT_ID , SHIP_TO_ACCOUNT_ID , OLD_CUSTOMER_EMAIL_ID , CUSTOMER_EMAIL_ID , OLD_CUSTOMER_PHONE_ID , CUSTOMER_PHONE_ID , OLD_BILL_TO_PARTY_ID , BILL_TO_PARTY_ID , OLD_SHIP_TO_PARTY_ID , SHIP_TO_PARTY_ID , OLD_BILL_TO_SITE_ID , BILL_TO_SITE_ID , OLD_SHIP_TO_SITE_ID , SHIP_TO_SITE_ID , OLD_PROGRAM_LOGIN_ID , PROGRAM_LOGIN_ID , OLD_INCIDENT_POINT_OF_INTEREST , INCIDENT_POINT_OF_INTEREST , OLD_INCIDENT_CROSS_STREET , INCIDENT_CROSS_STREET , OLD_INCIDENT_DIRECTION_QUALIF , INCIDENT_DIRECTION_QUALIF , OLD_INCIDENT_DISTANCE_QUALIF , INCIDENT_DISTANCE_QUALIF , OLD_INCIDENT_DISTANCE_QUAL_UOM , INCIDENT_DISTANCE_QUAL_UOM , OLD_INCIDENT_ADDRESS2 , INCIDENT_ADDRESS2 , OLD_INCIDENT_ADDRESS3 , INCIDENT_ADDRESS3 , OLD_INCIDENT_ADDRESS4 , INCIDENT_ADDRESS4 , OLD_INCIDENT_ADDRESS_STYLE , INCIDENT_ADDRESS_STYLE , OLD_INCIDENT_ADDR_LNS_PHONETIC , INCIDENT_ADDR_LNS_PHONETIC , OLD_INCIDENT_PO_BOX_NUMBER , INCIDENT_PO_BOX_NUMBER , OLD_INCIDENT_HOUSE_NUMBER , INCIDENT_HOUSE_NUMBER , OLD_INCIDENT_STREET_SUFFIX , INCIDENT_STREET_SUFFIX , OLD_INCIDENT_STREET , INCIDENT_STREET , OLD_INCIDENT_STREET_NUMBER , INCIDENT_STREET_NUMBER , OLD_INCIDENT_FLOOR , INCIDENT_FLOOR , OLD_INCIDENT_SUITE , INCIDENT_SUITE , OLD_INCIDENT_POSTAL_PLUS4_CODE , INCIDENT_POSTAL_PLUS4_CODE , OLD_INCIDENT_POSITION , INCIDENT_POSITION , OLD_INCIDENT_LOC_DIRECTIONS , INCIDENT_LOC_DIRECTIONS , OLD_INCIDEN T_LOC_DESCRIPTION , INCIDENT_LOC_DESCRIPTION , OLD_INSTALL_SITE_ID , INSTALL_SITE_ID , INCIDENT_LAST_MODIFIED_DATE , UPDATED_ENTITY_CODE , UPDATED_ENTITY_ID , ENTITY_ACTIVITY_CODE , OLD_TIER_VERSION , TIER_VERSION , OLD_INC_OBJECT_VERSION_NUMBER , INC_OBJECT_VERSION_NUMBER , OLD_INC_REQUEST_ID , INC_REQUEST_ID , OLD_INC_PROGRAM_APPLICATION_ID , INC_PROGRAM_APPLICATION_ID , OLD_INC_PROGRAM_ID , INC_PROGRAM_ID , OLD_INC_PROGRAM_UPDATE_DATE , INC_PROGRAM_UPDATE_DATE , OLD_OWNING_DEPARTMENT_ID , OWNING_DEPARTMENT_ID , OLD_ITEM_SERIAL_NUMBER , ITEM_SERIAL_NUMBER , OLD_INCIDENT_LOCATION_TYPE , INCIDENT_LOCATION_TYPE , OLD_UNASSIGNED_INDICATOR , UNASSIGNED_INDICATOR ) VALUES( :B403 , :B402 , :B401 , :B400 , :B401 , :B400 , :B399 , TO_CHAR(:B398 , 'HH24:MI:SS'), :B397 , :B396 , :B395 , :B394 , :B393 , :B392 , :B391 , :B390 , :B389 , :B388 , :B387 , :B386 , :B385 , :B384 , :B383 , :B382 , :B381 , :B380 , :B379 , :B378 , :B377 , :B376 , :B375 , :B374 , :B373 , :B372 , :B371 , :B370 , :B369 , :B368 , :B367 , :B366 , :B365 , :B364 , :B363 , :B362 , :B361 , :B360 , :B359 , :B358 , :B357 , :B356 , :B355 , :B354 , :B353 , :B352 , :B351 , :B350 , :B349 , :B348 , :B347 , :B346 , :B345 , :B344 , :B343 , :B342 , :B341 , :B340 , :B339 , :B338 , :B337 , :B336 , :B335 , :B334 , :B333 , :B332 , :B331 , :B330 , :B329 , :B328 , :B327 , :B326 , :B325 , :B324 , :B323 , :B322 , :B321 , :B320 , :B319 , :B318 , :B317 , :B316 , :B315 , :B314 , :B313 , :B312 , :B311 , :B310 , :B309 , :B308 , :B307 , :B306 , :B305 , :B304 , :B303 , :B302 , :B301 , :B300 , :B299 , :B298 , :B297 , 1, '', :B296 , :B295 , :B294 , :B293 , :B292 , :B291 , :B290 , :B289 , :B288 , :B287 , :B286 , :B285 , :B284 , :B283 , :B282 , :B281 , :B280 , :B279 , :B278 , :B277 , :B276 , :B275 , :B274 , :B273 , :B272 , :B271 , :B270 , :B269 , :B268 , :B267 , :B266 , :B265 , :B264 , :B263 , :B262 , :B261 , :B260 , :B259 , :B258 , :B257 , :B256 , :B255 , :B254 , :B253 , :B252 , :B251 , :B250 , :B249 , :B248 , :B247 , :B246 , :B245 , :B244 , :B243 , :B242 , :B241 , :B240 , :B239 , :B238 , :B237 , :B236 , :B235 , :B234 , :B233 , :B232 , :B231 , :B230 , :B229 , :B228 , :B227 , :B226 , :B225 , :B224 , :B223 , :B222 , :B221 , :B220 , :B219 , :B218 , :B217 , :B216 , :B215 , :B214 , :B213 , :B212 , :B211 , :B210 , :B209 , :B208 , :B207 , :B206 , :B205 , :B204 , :B203 , :B202 , :B201 , :B200 , :B199 , :B198 , :B197 , :B196 , :B195 , :B194 , :B193 , :B192 , :B191 , :B190 , :B189 , :B188 , :B187 , :B186 , :B185 , :B184 , :B183 , :B182 , :B181 , :B180 , :B179 , :B178 , :B177 , :B176 , :B175 , :B174 , :B173 , :B172 , :B171 , :B170 , :B169 , :B168 , :B167 , :B166 , :B165 , :B164 , :B163 , :B162 , :B161 , :B160 , :B159 , :B158 , :B157 , :B156 , :B155 , :B15 4 , :B153 , :B152 , :B151 , :B150 , :B149 , :B148 , :B147 , :B146 , :B145 , :B144 , :B143 , :B142 , :B141 , :B140 , :B139 , :B138 , :B137 , :B136 , :B135 , :B134 , :B133 , :B132 , :B131 , :B130 , :B129 , :B128 , :B127 , :B126 , :B125 , :B124 , :B123 , :B122 , :B121 , :B120 , :B119 , :B118 , :B117 , :B116 , :B115 , :B114 , :B113 , :B112 , :B111 , :B110 , :B109 , :B108 , :B107 , :B106 , :B105 , :B104 , :B103 , :B102 , :B101 , :B100 , :B99 , :B98 , :B97 , :B96 , :B95 , :B94 , :B93 , :B92 , :B91 , :B90 , :B89 , :B88 , :B87 , :B86 , :B85 , :B84 , :B83 , :B82 , :B81 , :B80 , :B79 , :B78 , :B77 , :B76 , :B75 , :B74 , :B73 , :B72 , :B71 , :B70 , :B69 , :B68 , :B67 , :B66 , :B65 , :B64 , :B63 , :B62 , :B61 , :B60 , :B59 , :B58 , :B57 , :B56 , :B55 , :B54 , :B53 , :B52 , :B51 , :B50 , :B49 , :B48 , :B47 , :B46 , :B45 , :B44 , :B43 , :B42 , :B41 , :B40 , :B39 , :B38 , :B37 , :B36 , :B35 , :B34 , :B33 , :B32 , :B31 , :B30 , :B29 , :B28 , :B27 , :B26 , :B25 , :B24 , :B23 , :B22 , :B21 , :B20 , :B19 , :B18 , :B17 , :B16 , :B15 , :B14 , :B13 , :B12 , :B11 , :B10 , :B9 , :B8 , :B7 , :B6 , :B5 , :B4 , :B3 , :B2 , :B1 ) RETURNING INCIDENT_AUDIT_ID INTO :O0
f34wj84pszqj0 SELECT WI.ROOT_ACTIVITY, WI.ROOT_ACTIVITY_VERSION, WI.BEGIN_DATE, WI.USER_KEY FROM WF_ITEMS WI WHERE WI.ITEM_TYPE = :B2 AND WI.ITEM_KEY = :B1
fb13x9qx0ftks begin OE_STANDARD_WF.OEOL_SELECTOR (:v1, :v2, :v3, :v4, :v5); end;
fmfdkztk8vx23 SELECT CATEGORY, SEVERITY, FND_LOG_SEVERITY FROM FND_NEW_MESSAGES WHERE MESSAGE_NAME = :B1 AND APPLICATION_ID = :B2 AND LANGUAGE_CODE = :B3 AND ROWNUM = 1
fr38pcatsbj6x SELECT reservation_id , primary_reservation_quantity - NVL(detailed_quantity, 0) FROM mtl_reservations WHERE demand_source_header_id = :demand_source_header_id AND demand_source_line_id = :demand_source_line_id AND demand_source_type_id = :demand_source_type_id AND supply_source_type_id = :supply_source_type_id AND (:demand_source_delivery = :l_miss_num OR :demand_source_delivery IS NULL AND demand_source_delivery IS NULL OR :demand_source_delivery = demand_source_delivery) AND (:organization_id = :l_miss_num OR :organization_id IS NULL AND organization_id IS NULL OR :organization_id = organization_id) AND (:inventory_item_id = :l_miss_num OR :inventory_item_id IS NULL AND inventory_item_id IS NULL OR :inventory_item_id = inventory_item_id) AND (:subinventory_code = :l_miss_char OR :subinventory_code IS NULL AND subinventory_code IS NULL OR :subinventory_code = subinventory_code) AND (:locator_id = :l_miss_num OR :locator_id IS NULL AND locator_id IS NULL OR :locator_id = locator_id) AND (:lot_number = :l_miss_char OR :lot_number IS NULL AND lot_number IS NULL OR :lot_number = lot_number) AND (:revision = :l_miss_char OR :revision IS NULL AND revision IS NULL OR :revision = revision) AND (:lpn_id = :l_ miss_num OR ((lpn_id IS NULL) OR (:lpn_id = lpn_id))) AND (:demand_source_name = :l_miss_char OR :demand_source_name IS NULL AND demand_source_name IS NULL OR :demand_source_name = demand_source_name) AND (primary_reservation_quantity - NVL(detailed_quantity, 0)) > 0 ORDER BY NVL(lpn_id, 0) DESC, reservation_id FOR UPDATE
g0g2sj2by3p75 BEGIN WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 ); END;
g8102j8yynbwz begin WF_STANDARD.CONTINUEFLOW (:v1, :v2, :v3, :v4, :v5); end;
gbc00q72n5n3m UPDATE WF_ITEMS SET END_DATE = TO_DATE(NULL) WHERE ITEM_TYPE = :B2 AND ITEM_KEY = :B1
gdnwgx9fcxggr begin OE_SHIPPING_WF.START_SHIPPING (:v1, :v2, :v3, :v4, :v5); end;
ghw9svn8x4vzu BEGIN WSH_PICK_LIST.RELEASE_BATCH_SRS( :errbuf, :rc, :A0, :A1, :A2); END;
gksvm8wmzk8w0 begin OE_INVOICE_WF.INVOICE_INTERFACE (:v1, :v2, :v3, :v4, :v5); end;
gnhmcahkmrnzs INSERT INTO WF_ITEM_ACTIVITY_STATUSES ( ITEM_TYPE, ITEM_KEY, PROCESS_ACTIVITY, ACTIVITY_STATUS, ACTIVITY_RESULT_CODE, ASSIGNED_USER, NOTIFICATION_ID, BEGIN_DATE, END_DATE, DUE_DATE, EXECUTION_TIME, OUTBOUND_QUEUE_ID ) VALUES ( :B13 , :B12 , :B11 , :B6 , :B10 , NULL, NULL, :B9 , :B8 , :B7 , DECODE(:B6 , :B5 , :B2 , :B4 , :B2 , :B3 , :B2 , NULL), :B1 )
gnng1rmpjxzsx begin OE_CLOSE_WF.CLOSE_LINE (:v1, :v2, :v3, :v4, :v5); end;
gzkhp7cph992f BEGIN INV_TXN_MANAGER_PUB.rel_reservations_mrp_update(:1, :2, :3, :4, :5, :6); END;

Back to SQL Statistics
Back to Top

 

Instance Activity Statistics

Back to Top

Instance Activity Stats

Statistic Total per Second per Trans
CPU used by this session 361,212 98.88 1.73
CPU used when call started 360,617 98.72 1.73
CR blocks created 1,301,413 356.26 6.24
Cached Commit SCN referenced 24,307 6.65 0.12
Commit SCN cached 111 0.03 0.00
DB time 6,498,324 1,778.92 31.14
DBWR checkpoint buffers written 154,616 42.33 0.74
DBWR checkpoints 182 0.05 0.00
DBWR fusion writes 52,745 14.44 0.25
DBWR object drop buffers written 3,930 1.08 0.02
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR transaction table writes 554 0.15 0.00
DBWR undo block writes 270,213 73.97 1.29
DFO trees parallelized 38 0.01 0.00
IPC CPU used by this session 102,663 28.10 0.49
PX local messages recv'd 803 0.22 0.00
PX local messages sent 803 0.22 0.00
PX remote messages recv'd 2,779 0.76 0.01
PX remote messages sent 1,342 0.37 0.01
Parallel operations not downgraded 38 0.01 0.00
RowCR - row contention 3,655 1.00 0.02
RowCR attempts 2,609,647 714.39 12.50
RowCR hits 2,582,635 707.00 12.37
SMON posted for undo segment shrink 47 0.01 0.00
SQL*Net roundtrips to/from client 8,011,254 2,193.08 38.38
active txn count during cleanout 5,286,125 1,447.08 25.33
application wait time 51,000 13.96 0.24
background checkpoints completed 2 0.00 0.00
background checkpoints started 2 0.00 0.00
background timeouts 12,896 3.53 0.06
branch node splits 113 0.03 0.00
buffer is not pinned count 151,875,041 41,575.83 727.68
buffer is pinned count 220,221,595 60,285.71 1,055.15
bytes received via SQL*Net from client 1,660,358,944 454,523.64 7,955.30
bytes sent via SQL*Net to client 1,500,218,778 410,685.23 7,188.02
calls to get snapshot scn: kcmgss 18,174,923 4,975.39 87.08
calls to kcmgas 3,124,123 855.23 14.97
calls to kcmgcs 2,145,447 587.32 10.28
change write time 20,708 5.67 0.10
cleanout - number of ktugct calls 3,492,792 956.15 16.74
cleanouts and rollbacks - consistent read gets 1,241,316 339.81 5.95
cleanouts only - consistent read gets 40,276 11.03 0.19
cluster key scan block gets 128,498 35.18 0.62
cluster key scans 38,662 10.58 0.19
cluster wait time 316,745 86.71 1.52
commit batch/immediate performed 1,279 0.35 0.01
commit batch/immediate requested 1,279 0.35 0.01
commit cleanout failures: block lost 52,884 14.48 0.25
commit cleanout failures: buffer being written 8 0.00 0.00
commit cleanout failures: callback failure 10,027 2.74 0.05
commit cleanout failures: cannot pin 445 0.12 0.00
commit cleanouts 1,349,573 369.45 6.47
commit cleanouts successfully completed 1,286,209 352.10 6.16
commit immediate performed 1,279 0.35 0.01
commit immediate requested 1,279 0.35 0.01
commit txn count during cleanout 189,741 51.94 0.91
concurrency wait time 67,220 18.40 0.32
consistent changes 49,657,538 13,593.76 237.92
consistent gets 269,517,627 73,780.51 1,291.34
consistent gets - examination 117,091,214 32,053.75 561.02
consistent gets direct 0 0.00 0.00
consistent gets from cache 269,505,636 73,777.23 1,291.29
current blocks converted for CR 9 0.00 0.00
cursor authentications 663 0.18 0.00
data blocks consistent reads - undo records applied 48,795,009 13,357.64 233.79
db block changes 30,516,568 8,353.92 146.21
db block gets 36,095,364 9,881.11 172.94
db block gets direct 1,356 0.37 0.01
db block gets from cache 36,094,008 9,880.74 172.94
deferred (CURRENT) block cleanout applications 266,096 72.84 1.27
dirty buffers inspected 220,640 60.40 1.06
enqueue conversions 4,074 1.12 0.02
enqueue releases 836,549 229.01 4.01
enqueue requests 838,950 229.66 4.02
enqueue timeouts 2,371 0.65 0.01
enqueue waits 26,231 7.18 0.13
exchange deadlocks 546 0.15 0.00
execute count 15,750,213 4,311.62 75.46
failed probes on index block reclamation 1,769 0.48 0.01
free buffer inspected 1,807,835 494.90 8.66
free buffer requested 3,344,380 915.52 16.02
gc CPU used by this session 54,560 14.94 0.26
gc cr block build time 2,177 0.60 0.01
gc cr block flush time 11,994 3.28 0.06
gc cr block receive time 182,876 50.06 0.88
gc cr block send time 1,721 0.47 0.01
gc cr blocks received 737,315 201.84 3.53
gc cr blocks served 687,185 188.12 3.29
gc current block flush time 434 0.12 0.00
gc current block pin time 6,929 1.90 0.03
gc current block receive time 73,336 20.08 0.35
gc current block send time 1,021 0.28 0.00
gc current blocks received 374,955 102.64 1.80
gc current blocks served 399,899 109.47 1.92
gcs messages sent 2,045,828 560.05 9.80
ges messages sent 97,291 26.63 0.47
global enqueue CPU used by this session 6,852 1.88 0.03
global enqueue get time 67,598 18.50 0.32
global enqueue gets async 24,235 6.63 0.12
global enqueue gets sync 2,180,224 596.84 10.45
global enqueue releases 2,164,120 592.43 10.37
heap block compress 1,088,997 298.11 5.22
hot buffers moved to head of LRU 530,238 145.15 2.54
immediate (CR) block cleanout applications 1,281,599 350.84 6.14
immediate (CURRENT) block cleanout applications 171,145 46.85 0.82
index fast full scans (direct read) 0 0.00 0.00
index fast full scans (full) 0 0.00 0.00
index fast full scans (rowid ranges) 0 0.00 0.00
index fetch by key 27,861,061 7,626.97 133.49
index scans kdiixs1 25,091,393 6,868.77 120.22
java call heap collected bytes 268,861,240 73,600.83 1,288.20
java call heap collected count 3,377,593 924.62 16.18
java call heap gc count 909 0.25 0.00
java call heap live object count 332,817 91.11 1.59
java call heap live object count max 349,657 95.72 1.68
java call heap live size 111,154,256 30,428.50 532.57
java call heap live size max 114,308,848 31,292.07 547.69
java call heap object count 774,834 212.11 3.71
java call heap object count max 778,339 213.07 3.73
java call heap total size 152,469,504 41,738.56 730.53
java call heap total size max 156,670,208 42,888.51 750.66
java call heap used size 140,529,360 38,469.94 673.32
java call heap used size max 142,367,664 38,973.18 682.13
leaf node 90-10 splits 2,483 0.68 0.01
leaf node splits 34,823 9.53 0.17
lob reads 34,135 9.34 0.16
lob writes 42,792 11.71 0.21
lob writes unaligned 42,792 11.71 0.21
logons cumulative 2,451 0.67 0.01
messages received 246,090 67.37 1.18
messages sent 246,090 67.37 1.18
no buffer to keep pinned count 88 0.02 0.00
no work - consistent read gets 123,510,639 33,811.07 591.78
opened cursors cumulative 1,110,662 304.04 5.32
parse count (failures) 535 0.15 0.00
parse count (hard) 4,515 1.24 0.02
parse count (total) 1,612,621 441.46 7.73
parse time cpu 17,961 4.92 0.09
parse time elapsed 48,789 13.36 0.23
physical read IO requests 178,216 48.79 0.85
physical read bytes 1,609,048,064 440,477.27 7,709.46
physical read total IO requests 187,019 51.20 0.90
physical read total bytes 1,751,853,056 479,570.17 8,393.68
physical read total multi block requests 2,917 0.80 0.01
physical reads 196,438 53.77 0.94
physical reads cache 196,334 53.75 0.94
physical reads cache prefetch 18,773 5.14 0.09
physical reads direct 83 0.02 0.00
physical reads direct temporary tablespace 0 0.00 0.00
physical reads prefetch warmup 0 0.00 0.00
physical write IO requests 231,414 63.35 1.11
physical write bytes 4,187,185,152 1,146,242.89 20,062.12
physical write total IO requests 406,989 111.41 1.95
physical write total bytes 9,405,030,400 2,574,629.21 45,062.46
physical write total multi block requests 236,194 64.66 1.13
physical writes 511,131 139.92 2.45
physical writes direct 1,379 0.38 0.01
physical writes direct (lob) 1,003 0.27 0.00
physical writes direct temporary tablespace 316 0.09 0.00
physical writes from cache 509,752 139.54 2.44
physical writes non checkpoint 460,061 125.94 2.20
pinned buffers inspected 7,384 2.02 0.04
prefetch warmup blocks aged out before use 12,881 3.53 0.06
prefetched blocks aged out before use 30 0.01 0.00
process last non-idle time 3,652 1.00 0.02
queries parallelized 38 0.01 0.00
recursive calls 26,655,283 7,296.89 127.71
recursive cpu usage 260,885 71.42 1.25
redo blocks written 10,023,964 2,744.06 48.03
redo buffer allocation retries 13 0.00 0.00
redo entries 15,928,014 4,360.30 76.32
redo log space requests 18 0.00 0.00
redo log space wait time 60 0.02 0.00
redo ordering marks 257,619 70.52 1.23
redo size 4,910,563,512 1,344,267.88 23,528.05
redo synch time 25,587 7.00 0.12
redo synch writes 364,696 99.84 1.75
redo wastage 53,044,692 14,521.00 254.15
redo write time 10,620 2.91 0.05
redo writer latching time 4,285 1.17 0.02
redo writes 174,998 47.91 0.84
rollback changes - undo records applied 9,335 2.56 0.04
rollbacks only - consistent read gets 73,052 20.00 0.35
rows fetched via callback 16,124,900 4,414.20 77.26
session connect time 0 0.00 0.00
session cursor cache hits 903,990 247.47 4.33
session logical reads 305,612,991 83,661.63 1,464.29
session pga memory 1,354,626,800 370,829.39 6,490.44
session pga memory max 1,555,756,784 425,888.77 7,454.12
session uga memory 1,127,958,504 308,778.90 5,404.40
session uga memory max 16,909,182,584 4,628,892.58 81,017.21
shared hash latch upgrades - no wait 26,394,170 7,225.41 126.46
shared hash latch upgrades - wait 18,843 5.16 0.09
sorts (memory) 1,783,463 488.22 8.55
sorts (rows) 20,891,902 5,719.16 100.10
sql area evicted 662 0.18 0.00
sql area purged 1,285 0.35 0.01
summed dirty queue length 378,281 103.55 1.81
switch current to new buffer 246,122 67.38 1.18
table fetch by rowid 155,394,467 42,539.27 744.54
table fetch continued row 2,227,102 609.67 10.67
table scan blocks gotten 19,839,035 5,430.94 95.06
table scan rows gotten 651,865,199 178,448.25 3,123.29
table scans (direct read) 0 0.00 0.00
table scans (long tables) 100 0.03 0.00
table scans (rowid ranges) 96 0.03 0.00
table scans (short tables) 952,265 260.68 4.56
total number of times SMON posted 14,312 3.92 0.07
transaction lock background gets 48 0.01 0.00
transaction lock foreground requests 48 0.01 0.00
transaction lock foreground wait time 20 0.01 0.00
transaction rollbacks 1,279 0.35 0.01
transaction tables consistent read rollbacks 2 0.00 0.00
transaction tables consistent reads - undo records applied 25 0.01 0.00
undo change vector size 1,881,417,216 515,038.39 9,014.46
user I/O wait time 76,436 20.92 0.37
user calls 7,719,512 2,113.22 36.99
user commits 167,582 45.88 0.80
user rollbacks 41,129 11.26 0.20
workarea executions - optimal 1,018,377 278.78 4.88
write clones created in background 331 0.09 0.00
write clones created in foreground 54 0.01 0.00

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

Statistic Begin Value End Value
session cursor cache count 78,239 246,542
opened cursors current 182,601 207,290
logons current 927 912

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

Statistic Total per Hour
log switches (derived) 2 1.97

Back to Instance Activity Statistics
Back to Top

 

IO Stats

Back to Top

Tablespace IO Stats

Tablespace Reads Av Reads/s Av Rd(ms) Av Blks/Rd Writes Av Writes/s Buffer Waits Av Buf Wt(ms)
APPS_UNDOTS2 264 0 1.97 1.00 96,950 27 5,780 6.94
APPS_TS_TX_DATA 68,395 19 4.63 1.07 27,867 8 3,531 4.20
APPS_ASSM_DATA 51,365 14 2.94 1.05 31,853 9 5,405 8.47
APPS_TS_TX_IDX 36,210 10 5.22 1.00 41,533 11 4,300 8.71
APPS_ASSM_IDX 9,128 2 5.56 1.00 19,241 5 14,408 8.07
APPS_TS_TX_INTERFACE 3,312 1 1.47 1.23 4,530 1 198 10.05
SYSTEM 4,837 1 3.59 2.99 1,628 0 897 25.52
TEMPTS2 589 0 2.19 1.47 4,058 1 0 0.00
APPS_TS_SEED 3,343 1 5.45 1.01 1,065 0 14 2.86
APPS_TS_QUEUES 197 0 4.42 1.18 1,002 0 34 1.47
SYSAUX 278 0 3.02 1.12 755 0 1 0.00
APPS_TS_ARCHIVE 136 0 5.22 1.00 549 0 34 14.12
APPS_TS_SUMMARY 71 0 8.87 1.00 219 0 15 56.00
APPS_TS_NOLOGGING 29 0 7.93 1.00 112 0 0 0.00
APPS_UNDOTS1 7 0 58.57 1.00 5 0 21,302 5.53
APPS_TS_MEDIA 4 0 60.00 1.00 2 0 0 0.00
CTXSYS 2 0 60.00 1.00 1 0 0 0.00
ODM 2 0 60.00 1.00 0 0 0 0.00
OLAP 2 0 60.00 1.00 0 0 0 0.00
OWAPUB 2 0 60.00 1.00 0 0 0 0.00
PORTAL 2 0 60.00 1.00 0 0 0 0.00
SYNCSERVER 2 0 60.00 1.00 0 0 0 0.00

Back to IO Stats
Back to Top

File IO Stats

Tablespace Filename Reads Av Reads/s Av Rd(ms) Av Blks/Rd Writes Av Writes/s Buffer Waits Av Buf Wt(ms)
APPS_ASSM_DATA /oasb_data/apps_assm_data.dbf 51,365 14 2.94 1.05 31,853 9 5,405 8.47
APPS_ASSM_IDX /oasb_data/apps_assm_idx.dbf 9,128 2 5.56 1.00 19,241 5 14,408 8.07
APPS_TS_ARCHIVE /oasb_data/archive1.dbf 52 0 6.92 1.00 180 0 3 0.00
APPS_TS_ARCHIVE /oasb_data/archive2.dbf 47 0 3.83 1.00 283 0 26 16.15
APPS_TS_ARCHIVE /oasb_data/archive3.dbf 37 0 4.59 1.00 86 0 5 12.00
APPS_TS_MEDIA /oasb_data/media1.dbf 1 0 60.00 1.00 0 0 0 0.00
APPS_TS_MEDIA /oasb_data/media2.dbf 1 0 60.00 1.00 0 0 0 0.00
APPS_TS_MEDIA /oasb_data/media3.dbf 1 0 60.00 1.00 1 0 0 0.00
APPS_TS_MEDIA /oasb_data/media4.dbf 1 0 60.00 1.00 1 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging1.dbf 27 0 5.93 1.00 40 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging2.dbf 2 0 35.00 1.00 72 0 0 0.00
APPS_TS_QUEUES /oasb_data/queues1.dbf 43 0 3.95 1.00 296 0 1 0.00
APPS_TS_QUEUES /oasb_data/queues2.dbf 119 0 4.20 1.18 388 0 31 1.61
APPS_TS_QUEUES /oasb_data/queues3.dbf 35 0 5.71 1.37 318 0 2 0.00
APPS_TS_SEED /oasb_data/reference1.dbf 1,039 0 5.00 1.00 258 0 6 3.33
APPS_TS_SEED /oasb_data/reference2.dbf 1,111 0 4.75 1.04 268 0 7 2.86
APPS_TS_SEED /oasb_data/reference3.dbf 1,193 0 6.50 1.00 539 0 1 0.00
APPS_TS_SUMMARY /oasb_data/summary1.dbf 27 0 5.93 1.00 57 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary2.dbf 1 0 60.00 1.00 0 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary3.dbf 15 0 6.67 1.00 40 0 14 60.00
APPS_TS_SUMMARY /oasb_data/summary4.dbf 1 0 60.00 1.00 0 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary5.dbf 22 0 8.18 1.00 84 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary6.dbf 5 0 14.00 1.00 38 0 1 0.00
APPS_TS_TX_DATA /oasb_data/tx_data1.dbf 3,639 1 4.94 1.10 2,046 1 479 5.45
APPS_TS_TX_DATA /oasb_data/tx_data10.dbf 3,543 1 4.63 1.12 1,793 0 326 4.36
APPS_TS_TX_DATA /oasb_data/tx_data11.dbf 3,520 1 4.61 1.12 1,502 0 213 2.77
APPS_TS_TX_DATA /oasb_data/tx_data12.dbf 29,768 8 4.55 1.00 6,494 2 337 6.05
APPS_TS_TX_DATA /oasb_data/tx_data2.dbf 3,798 1 4.72 1.13 2,007 1 276 9.17
APPS_TS_TX_DATA /oasb_data/tx_data3.dbf 3,619 1 4.76 1.12 2,154 1 232 6.72
APPS_TS_TX_DATA /oasb_data/tx_data4.dbf 3,621 1 4.62 1.11 2,406 1 263 2.02
APPS_TS_TX_DATA /oasb_data/tx_data5.dbf 2,549 1 4.81 1.19 1,991 1 309 2.72
APPS_TS_TX_DATA /oasb_data/tx_data6.dbf 3,399 1 4.61 1.13 1,915 1 304 1.84
APPS_TS_TX_DATA /oasb_data/tx_data7.dbf 3,860 1 4.71 1.11 1,887 1 282 1.95
APPS_TS_TX_DATA /oasb_data/tx_data8.dbf 3,490 1 4.59 1.13 1,843 1 232 3.66
APPS_TS_TX_DATA /oasb_data/tx_data9.dbf 3,589 1 4.68 1.12 1,829 1 278 2.73
APPS_TS_TX_IDX /oasb_data/tx_idx1.dbf 1,532 0 5.40 1.00 2,621 1 925 8.48
APPS_TS_TX_IDX /oasb_data/tx_idx10.dbf 1,281 0 5.25 1.00 1,647 0 119 9.33
APPS_TS_TX_IDX /oasb_data/tx_idx11.dbf 1,295 0 6.61 1.00 1,570 0 331 14.65
APPS_TS_TX_IDX /oasb_data/tx_idx12.dbf 18,951 5 5.23 1.00 9,997 3 755 7.10
APPS_TS_TX_IDX /oasb_data/tx_idx13.dbf 1,446 0 5.70 1.00 2,734 1 126 5.87
APPS_TS_TX_IDX /oasb_data/tx_idx2.dbf 1,485 0 5.37 1.00 3,014 1 311 6.17
APPS_TS_TX_IDX /oasb_data/tx_idx3.dbf 1,201 0 5.19 1.00 2,573 1 252 9.33
APPS_TS_TX_IDX /oasb_data/tx_idx4.dbf 1,339 0 4.87 1.00 3,200 1 227 8.59
APPS_TS_TX_IDX /oasb_data/tx_idx5.dbf 1,290 0 5.20 1.00 3,391 1 273 8.64
APPS_TS_TX_IDX /oasb_data/tx_idx6.dbf 1,411 0 4.85 1.00 3,544 1 283 12.01
APPS_TS_TX_IDX /oasb_data/tx_idx7.dbf 1,951 1 4.54 1.00 3,355 1 370 10.43
APPS_TS_TX_IDX /oasb_data/tx_idx8.dbf 1,612 0 4.92 1.00 2,273 1 177 4.41
APPS_TS_TX_IDX /oasb_data/tx_idx9.dbf 1,416 0 4.89 1.00 1,614 0 151 6.23
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface.dbf 2,655 1 1.02 1.26 1,060 0 37 11.62
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface1.dbf 657 0 3.30 1.13 3,470 1 161 9.69
APPS_UNDOTS1 /oasb_data/undo01.dbf 2 0 35.00 1.00 1 0 3,240 5.48
APPS_UNDOTS1 /oasb_data/undo02.dbf 1 0 70.00 1.00 1 0 1,541 5.36
APPS_UNDOTS1 /oasb_data/undo03.dbf 1 0 70.00 1.00 1 0 3,783 4.90
APPS_UNDOTS1 /oasb_data/undo04.dbf 1 0 70.00 1.00 1 0 24 2.92
APPS_UNDOTS1 /oasb_data/undo05.dbf 1 0 70.00 1.00 1 0 11,642 5.94
APPS_UNDOTS1 /oasb_data/undo06.dbf 1 0 60.00 1.00 0 0 1,072 3.88
APPS_UNDOTS2 /oasb_data/undo01_2.dbf 203 0 0.54 1.00 16,408 4 835 6.54
APPS_UNDOTS2 /oasb_data/undo02_2.dbf 13 0 4.62 1.00 16,539 5 1,118 8.12
APPS_UNDOTS2 /oasb_data/undo03_2.dbf 8 0 12.50 1.00 15,995 4 1,023 6.94
APPS_UNDOTS2 /oasb_data/undo04_2.dbf 3 0 43.33 1.00 15,804 4 1,021 6.27
APPS_UNDOTS2 /oasb_data/undo05_2.dbf 12 0 8.33 1.00 16,188 4 853 7.49
APPS_UNDOTS2 /oasb_data/undo06_2.dbf 25 0 0.80 1.00 16,016 4 930 6.09
CTXSYS /oasb_data/ctx1.dbf 1 0 60.00 1.00 1 0 0 0.00
CTXSYS /oasb_data/ctx2.dbf 1 0 60.00 1.00 0 0 0 0.00
ODM /oasb_data/odm.dbf 1 0 60.00 1.00 0 0 0 0.00
ODM /oasb_data/odm2.dbf 1 0 60.00 1.00 0 0 0 0.00
OLAP /oasb_data/olap.dbf 1 0 60.00 1.00 0 0 0 0.00
OLAP /oasb_data/olap2.dbf 1 0 60.00 1.00 0 0 0 0.00
OWAPUB /oasb_data/owa1.dbf 1 0 60.00 1.00 0 0 0 0.00
OWAPUB /oasb_data/owa2.dbf 1 0 60.00 1.00 0 0 0 0.00
PORTAL /oasb_data/portal.dbf 1 0 60.00 1.00 0 0 0 0.00
PORTAL /oasb_data/portal2.dbf 1 0 60.00 1.00 0 0 0 0.00
SYNCSERVER /oasb_data/mobile01.dbf 1 0 60.00 1.00 0 0 0 0.00
SYNCSERVER /oasb_data/mobile02.dbf 1 0 60.00 1.00 0 0 0 0.00
SYSAUX /oasb_data/sysaux01.dbf 151 0 2.98 1.21 359 0 1 0.00
SYSAUX /oasb_data/sysaux02.dbf 127 0 3.07 1.00 396 0 0 0.00
SYSTEM /oasb_data/sys1.dbf 541 0 3.94 2.66 189 0 0 0.00
SYSTEM /oasb_data/sys2.dbf 707 0 3.27 3.09 279 0 381 10.16
SYSTEM /oasb_data/sys3.dbf 914 0 3.97 2.31 131 0 2 5.00
SYSTEM /oasb_data/sys4.dbf 654 0 3.18 3.57 198 0 1 0.00
SYSTEM /oasb_data/sys5.dbf 673 0 3.12 3.41 92 0 2 30.00
SYSTEM /oasb_data/sys6.dbf 860 0 3.95 3.04 516 0 228 47.72
SYSTEM /oasb_data/sys7.dbf 488 0 3.52 3.00 223 0 283 28.52
TEMPTS2 /oasb_data/tmp01_2.dbf 191 0 2.15 1.00 1,421 0 0  
TEMPTS2 /oasb_data/tmp02_2.dbf 223 0 2.83 1.00 1,744 0 0  
TEMPTS2 /oasb_data/tmp1_2.dbf 175 0 1.43 2.57 893 0 0  

Back to IO Stats
Back to Top

 

Buffer Pool Statistics

P Number of Buffers Pool Hit% Buffer Gets Physical Reads Physical Writes Free Buff Wait Writ Comp Wait Buffer Busy Waits
D 180,762 100 305,249,578 196,318 509,752 0 0 55,921


Back to Top

 

Advisory Statistics

Back to Top

Instance Recovery Stats

  Targt MTTR (s) Estd MTTR (s) Recovery Estd IOs Actual Redo Blks Target Redo Blks Log File Size Redo Blks Log Ckpt Timeout Redo Blks Log Ckpt Interval Redo Blks
B 0 44 16014 221982 640781 14743710 640781  
E 0 43 15057 210801 3320402 14743710 3320402  

Back to Advisory Statistics
Back to Top

 

Buffer Pool Advisory

No data exists for this section of the report.

Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
100.00 81,620 0

Back to Advisory Statistics
Back to Top

PGA Aggr Target Stats

  PGA Aggr Target(M) Auto PGA Target(M) PGA Mem Alloc(M) W/A PGA Used(M) %PGA W/A Mem %Auto W/A Mem %Man W/A Mem Global Mem Bound(K)
B 6,144 873 7,268.76 0.00 0.00 0.00 0.00 629,140
E 6,144 384 8,406.69 0.00 0.00 0.00 0.00 629,140

Back to Advisory Statistics
Back to Top

PGA Aggr Target Histogram

Low Optimal High Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
2K 4K 935,027 935,027 0 0
64K 128K 980 980 0 0
128K 256K 262 262 0 0
256K 512K 167 167 0 0
512K 1024K 31,118 31,118 0 0
1M 2M 49,767 49,767 0 0
2M 4M 9 9 0 0
128M 256M 2 2 0 0

Back to Advisory Statistics
Back to Top

PGA Memory Advisory

PGA Target Est (MB) Size Factr W/A MB Processed Estd Extra W/A MB Read/ Written to Disk Estd PGA Cache Hit % Estd PGA Overalloc Count
768 0.13 109,903.50 3,022.69 97.00 550
1,536 0.25 109,903.50 2,996.05 97.00 536
3,072 0.50 109,903.50 2,885.15 97.00 501
4,608 0.75 109,903.50 2,809.93 98.00 470
6,144 1.00 109,903.50 0.00 100.00 58
7,373 1.20 109,903.50 0.00 100.00 0
8,602 1.40 109,903.50 0.00 100.00 0
9,830 1.60 109,903.50 0.00 100.00 0
11,059 1.80 109,903.50 0.00 100.00 0
12,288 2.00 109,903.50 0.00 100.00 0
18,432 3.00 109,903.50 0.00 100.00 0
24,576 4.00 109,903.50 0.00 100.00 0
36,864 6.00 109,903.50 0.00 100.00 0
49,152 8.00 109,903.50 0.00 100.00 0

Back to Advisory Statistics
Back to Top

Shared Pool Advisory

Shared Pool Size(M) SP Size Factr Est LC Size (M) Est LC Mem Obj Est LC Time Saved (s) Est LC Time Saved Factr Est LC Load Time (s) Est LC Load Time Factr Est LC Mem Obj Hits
864 0.57 198 10,763 270,642 0.98 7,045 8.84 22,279,604
1,024 0.68 327 13,452 276,877 1.00 810 1.02 22,653,840
1,184 0.79 486 16,521 276,887 1.00 800 1.00 22,655,254
1,344 0.89 643 25,824 276,890 1.00 797 1.00 22,655,604
1,504 1.00 680 29,031 276,890 1.00 797 1.00 22,655,604
1,664 1.11 680 29,031 276,890 1.00 797 1.00 22,655,604
1,824 1.21 680 29,031 276,890 1.00 797 1.00 22,655,604
1,984 1.32 680 29,031 276,890 1.00 797 1.00 22,655,604
2,144 1.43 680 29,031 276,890 1.00 797 1.00 22,655,604
2,304 1.53 680 29,031 276,890 1.00 797 1.00 22,655,604
2,464 1.64 680 29,031 276,890 1.00 797 1.00 22,655,604
2,624 1.74 680 29,031 276,890 1.00 797 1.00 22,655,604
2,784 1.85 680 29,031 276,890 1.00 797 1.00 22,655,604
2,944 1.96 680 29,031 276,890 1.00 797 1.00 22,655,604
3,104 2.06 680 29,031 276,890 1.00 797 1.00 22,655,604

Back to Advisory Statistics
Back to Top

 

SGA Target Advisory

No data exists for this section of the report.

Back to Advisory Statistics
Back to Top

 

Streams Pool Advisory

No data exists for this section of the report.

Back to Advisory Statistics
Back to Top

Java Pool Advisory

Java Pool Size(M) JP Size Factr Est LC Size (M) Est LC Mem Obj Est LC Time Saved (s) Est LC Time Saved Factr Est LC Load Time (s) Est LC Load Time Factr Est LC Mem Obj Hits
16 0.25 16 355 36 1.00 797 1.00 2,519
32 0.50 17 355 36 1.00 797 1.00 2,519
48 0.75 17 355 36 1.00 797 1.00 2,519
64 1.00 17 355 36 1.00 797 1.00 2,519
80 1.25 17 355 36 1.00 797 1.00 2,519
96 1.50 17 355 36 1.00 797 1.00 2,519
112 1.75 17 355 36 1.00 797 1.00 2,519
128 2.00 17 355 36 1.00 797 1.00 2,519

Back to Advisory Statistics
Back to Top

 

Wait Statistics

Back to Top

Buffer Wait Statistics

Class Waits Total Wait Time (s) Avg Time (ms)
data block 28,282 238 8
undo header 21,924 126 6
undo block 5,157 32 6
1st level bmb 383 2 5
2nd level bmb 111 0 4
segment header 60 0 8
file header block 1 0 50

Back to Wait Statistics
Back to Top

Enqueue Activity

Enqueue Type (Request Reason) Requests Succ Gets Failed Gets Waits Wt Time (s) Av Wt Time(ms)
UL-User-defined 18,351 18,300 44 8,895 398 44.80
TX-Transaction (row lock contention) 2,438 120 2,318 133 110 830.20
TX-Transaction (index contention) 3,423 3,420 0 2,918 77 26.40
HW-Segment High Water Mark 47,930 47,928 0 3,558 16 4.62
FB-Format Block 5,718 5,718 0 3,168 12 3.92
US-Undo Segment 8,502 8,501 0 4,695 6 1.35
RO-Multiple Object Reuse (fast object reuse) 1,380 1,380 0 408 5 11.87
SQ-Sequence Cache 1,878 1,878 0 69 2 35.39
DV-Diana Versioning 5,873 5,873 0 1,370 2 1.70
TX-Transaction 215,884 215,892 0 159 2 14.25
WF-AWR Flush 24 24 0 17 1 78.76
CF-Controlfile Transaction 5,881 5,880 1 171 1 2.97
TM-DML 369,880 369,859 0 127 0 2.68
PS-PX Process Reservation 441 433 8 228 0 1.46
TS-Temporary Segment 288 288 0 132 0 2.42
TT-Tablespace 40,801 40,801 0 79 0 1.71
MD-Materialized View Log DDL 45 45 0 15 0 3.87
TX-Transaction (allocate ITL entry) 21 21 0 11 0 4.27
DL-Direct Loader Index Creation 176 176 0 14 0 2.57
TD-KTF map table enqueue (KTF dump entries) 13 13 0 13 0 2.00
TO-Temp Object 8,769 8,769 0 14 0 1.71
TA-Instance Undo 24 24 0 21 0 0.95
IR-Instance Recovery 1,007 1,007 0 6 0 3.17
KM-Scheduler 43,916 43,916 0 3 0 2.67
DR-Distributed Recovery 2 2 0 2 0 0.50
MW-MWIN Schedule 2 2 0 2 0 0.50
AF-Advisor Framework (task serialization) 14 14 0 1 0 1.00

Back to Wait Statistics
Back to Top

 

Undo Statistics

Back to Top

Undo Segment Summary

Undo TS# Num Undo Blocks (K) Number of Transactions Max Qry Len (s) Max Tx Concurcy Min/Max TR (mins) STO/ OOS uS/uR/uU/ eS/eR/eU
20 268.93 215,766 2,414 79   0/0 0/0/0/0/0/0

Back to Undo Statistics
Back to Top

Undo Segment Stats

End Time Num Undo Blocks Number of Transactions Max Qry Len (s) Max Tx Concy Tun Ret (mins) STO/ OOS uS/uR/uU/ eS/eR/eU
21-Nov 15:30 84,120 29,703 796 59 31 0/0 0/0/0/0/0/0
21-Nov 15:20 36,742 28,715 2,414 61 58 0/0 0/0/0/0/0/0
21-Nov 15:10 36,369 38,674 2,042 74 51 0/0 0/0/0/0/0/0
21-Nov 15:00 31,877 32,441 1,694 79 51 0/0 0/0/0/0/0/0
21-Nov 14:50 38,805 57,735 1,764 65 57 0/0 0/0/0/0/0/0
21-Nov 14:40 41,017 28,498 1,989 62 47 0/0 0/0/0/0/0/0

Back to Undo Statistics
Back to Top

 

Latch Statistics

Back to Top

Latch Activity

Latch Name Get Requests Pct Get Miss Avg Slps /Miss Wait Time (s) NoWait Requests Pct NoWait Miss
AWR Alerted Metric Element list 69,629 0.00   0 0  
Consistent RBA 175,036 0.01 0.00 0 0  
FOB s.o list latch 45,028 0.02 0.13 0 0  
JOX SGA heap latch 389,202 0.00   0 0  
JS broadcast add buf latch 836 0.00   0 0  
JS broadcast drop buf latch 836 0.00   0 0  
JS broadcast load blnc latch 731 0.00   0 0  
JS queue state obj latch 21,930 0.00   0 0  
JS slv state obj latch 3 0.00   0 0  
KCL gc element parent latch 7,976,074 0.01 0.07 1 28,024 0.01
KJC message pool free list 259,377 0.00 0.00 0 18,631 0.01
KJCT flow control latch 2,806,993 0.02 0.01 0 0  
KMG MMAN ready and startup request latch 1,217 0.00   0 0  
KSXR large replies 2 0.00   0 0  
KTF sga latch 26 0.00   0 1,231 0.00
KWQMN job cache list latch 2,844 0.00   0 0  
MQL Tracking Latch 0     0 73 0.00
Memory Management Latch 0     0 1,217 0.00
OS process 4,482 0.00   0 0  
OS process allocation 4,191 0.02 0.00 0 0  
OS process: request allocation 2,946 0.00   0 0  
PL/SQL warning settings 707,661 0.00   0 0  
SGA IO buffer pool latch 14,984 0.00   0 14,984 0.00
SQL memory manager latch 2 0.00   0 1,216 0.00
SQL memory manager workarea list latch 1,056,232 0.00 0.07 0 0  
Shared B-Tree 130 0.00   0 0  
active checkpoint queue latch 30,586 0.00   0 0  
active service list 17,259 0.03 0.00 0 1,417 0.00
begin backup scn array 619 0.00   0 0  
business card 76 0.00   0 0  
cache buffer handles 5,742,527 0.21 0.01 1 0  
cache buffers chains 666,175,036 0.14 0.01 286 3,284,809 0.37
cache buffers lru chain 2,794,870 0.15 0.13 17 5,957,557 0.35
cache table scan latch 0     0 2,917 0.00
channel handle pool latch 72,792 0.01 0.00 0 0  
channel operations parent latch 1,774,546 0.18 0.00 0 0  
checkpoint queue latch 1,278,937 0.01 0.02 0 746,222 0.01
client/application info 278,302 0.05 0.00 0 0  
commit callback allocation 16,101 0.00   0 0  
compile environment latch 486,740 0.00   0 0  
dictionary lookup 213 0.00   0 0  
dml lock allocation 735,601 0.06 0.04 1 0  
dummy allocation 4,925 0.00   0 0  
enqueue hash chains 2,801,954 0.04 0.09 8 4,117 0.15
enqueues 985,602 0.02 0.06 0 0  
error message lists 206 0.00   0 0  
event group latch 1,466 0.00   0 0  
file cache latch 5,894 0.00   0 0  
gcs opaque info freelist 857,844 0.03 0.00 0 0  
gcs partitioned table hash 475,926 0.00   0 0  
gcs resource freelist 564,916 0.00 0.00 0 0  
gcs resource hash 5,811,359 0.00 0.03 0 1,574 0.00
gcs resource scan list 3,150 0.00   0 0  
gcs shadows freelist 472,962 0.00 0.00 0 0  
ges caches resource lists 1,641,250 0.01 0.01 0 86,925 0.02
ges deadlock list 27,384 0.04 0.00 0 22 0.00
ges domain table 4,295,379 0.00 0.00 0 0  
ges enqueue table freelist 4,364,907 0.03 0.01 1 0  
ges group table 6,399,885 0.00 0.01 0 0  
ges process hash list 35,345 0.00   0 0  
ges process parent latch 8,787,194 0.00   0 0  
ges process table freelist 2,946 0.03 0.00 0 0  
ges resource hash list 6,280,169 0.05 0.02 4 70,307 0.02
ges resource scan list 9,383 0.00   0 0  
ges resource table freelist 87,837 0.01 0.38 0 0  
ges timeout list 26,568 0.00   0 24,576 0.00
global KZLD latch for mem in SGA 2,268 0.00   0 0  
global ctx hash table latch 3,621 0.00   0 0  
hash table column usage latch 1,223 0.33 0.00 0 3,115,780 0.00
hash table modification latch 142 0.00   0 0  
job_queue_processes free list latch 1 0.00   0 0  
job_queue_processes parameter latch 61 0.00   0 0  
kks stats 9,601 0.00   0 0  
ksuosstats global area 248 0.00   0 0  
ktm global data 14,418 0.00   0 0  
kwqbsn:qsga 130 0.00   0 0  
lgwr LWN SCN 188,698 0.06 0.00 0 0  
library cache 55,921,529 0.18 0.02 82 2,062 0.19
library cache load lock 1,876 0.05 0.00 0 0  
library cache lock 12,121,016 0.02 0.02 2 0  
library cache lock allocation 373,005 0.00 0.00 0 0  
library cache pin 34,327,120 0.07 0.02 23 0  
library cache pin allocation 123,470 0.00   0 0  
list of block allocation 56,565 0.01 0.00 0 0  
loader state object freelist 57,066 0.00   0 0  
longop free list parent 48 0.00   0 48 0.00
message pool operations parent latch 132,539 0.11 0.00 0 0  
messages 923,662 0.02 0.00 0 0  
mostly latch-free SCN 191,033 1.11 0.00 0 0  
multiblock read objects 58,328 0.00 0.00 0 0  
name-service memory objects 28,754 0.00   0 0  
name-service namespace bucket 47,214 0.00   0 0  
name-service pending queue 11,918 0.00   0 0  
name-service request 24 0.00   0 0  
name-service request queue 51,881 0.00   0 0  
ncodef allocation latch 68 0.00   0 0  
object queue header heap 128,145 0.00 0.00 0 70,333 0.00
object queue header operation 7,601,537 0.02 0.05 1 0  
object stats modification 71,431 0.00   0 0  
parallel query alloc buffer 2,548 0.00   0 0  
parallel query stats 291 0.34 0.00 0 0  
parallel txn reco latch 4,232 0.00   0 0  
parameter list 391 0.00   0 0  
parameter table allocation management 4,798 0.06 0.00 0 0  
post/wait queue 335,189 0.00 0.00 0 179,145 0.01
process allocation 35,256 0.01 0.00 0 1,462 0.27
process group creation 2,946 0.03 0.00 0 0  
process queue 903 0.00   0 0  
process queue reference 53,151 0.00   0 5,144 0.00
qmn task queue latch 520 0.00   0 0  
query server freelists 708 0.00   0 0  
query server process 4 0.00   0 4 0.00
queued dump request 18,135 0.00   0 0  
redo allocation 590,329 0.19 0.36 8 15,921,465 0.14
redo copy 0     0 15,928,101 0.08
redo writing 588,685 0.00 0.50 0 0  
resmgr group change latch 131,259 0.00   0 0  
resmgr:actses active list 7,188 0.00   0 0  
resmgr:actses change group 6,978 0.00   0 0  
resmgr:free threads list 4,921 0.04 0.00 0 0  
resmgr:schema config 2 0.00   0 0  
row cache objects 19,741,599 0.10 0.01 8 300 0.00
rules engine aggregate statistics 7,389 0.03 0.00 0 0  
rules engine rule set statistics 29,555 0.02 0.00 0 0  
rules engine rule statistics 14,777 0.00   0 0  
sequence cache 2,019,923 0.27 0.01 1 0  
session allocation 3,352,927 0.12 0.06 12 0  
session idle bit 15,924,066 0.02 0.01 0 0  
session state list latch 13,989 0.01 0.00 0 0  
session switching 2,608 0.00   0 0  
session timer 1,417 0.00   0 0  
shared pool 1,738,373 0.09 0.01 0 0  
shared pool sim alloc 220 0.00   0 0  
shared pool simulator 544,689 0.00 0.00 0 0  
slave class 2 0.00   0 0  
slave class create 8 0.00   0 0  
sort extent pool 233,852 0.11 0.00 0 0  
state object free list 4 0.00   0 0  
statistics aggregation 224 0.00   0 0  
temp lob duration state obj allocation 38 0.00   0 0  
temporary table state object allocation 2,930 0.03 0.00 0 0  
threshold alerts latch 342 0.00   0 0  
trace latch 9 0.00   0 0  
transaction allocation 21,219 0.00   0 0  
transaction branch allocation 68 0.00   0 0  
undo global data 57,077,709 0.46 0.00 25 17 0.00
user lock 9,102 0.03 0.00 0 0  

Back to Latch Statistics
Back to Top

Latch Sleep Breakdown

Latch Name Get Requests Misses Sleeps Spin Gets Sleep1 Sleep2 Sleep3
cache buffers chains 666,175,036 913,270 9,537 904,086 0 0 0
undo global data 57,077,709 260,484 897 259,621 0 0 0
library cache 55,921,529 101,044 1,962 99,090 0 0 0
library cache pin 34,327,120 25,550 604 24,949 0 0 0
row cache objects 19,741,599 20,285 162 20,123 0 0 0
cache buffer handles 5,742,527 12,122 102 12,025 0 0 0
sequence cache 2,019,923 5,501 43 5,458 0 0 0
cache buffers lru chain 2,794,870 4,145 556 3,594 0 0 0
session allocation 3,352,927 4,128 235 3,893 0 0 0
ges resource hash list 6,280,169 3,145 75 3,070 0 0 0
channel operations parent latch 1,774,546 3,127 15 3,112 0 0 0
library cache lock 12,121,016 2,915 53 2,862 0 0 0
session idle bit 15,924,066 2,747 22 2,725 0 0 0
shared pool 1,738,373 1,604 16 1,588 0 0 0
ges enqueue table freelist 4,364,907 1,341 16 1,325 0 0 0
enqueue hash chains 2,801,954 1,164 106 1,058 0 0 0
object queue header operation 7,601,537 1,141 56 1,085 0 0 0
redo allocation 590,329 1,093 390 704 0 0 0
KCL gc element parent latch 7,976,074 931 62 872 0 0 0
KJCT flow control latch 2,806,993 534 5 529 0 0 0
dml lock allocation 735,601 467 19 448 0 0 0
sort extent pool 233,852 266 1 265 0 0 0
enqueues 985,602 236 13 223 0 0 0
gcs resource hash 5,811,359 233 6 227 0 0 0
ges group table 6,399,885 146 1 145 0 0 0
checkpoint queue latch 1,278,937 120 2 118 0 0 0
ges caches resource lists 1,641,250 93 1 92 0 0 0
SQL memory manager workarea list latch 1,056,232 14 1 13 0 0 0
FOB s.o list latch 45,028 8 1 7 0 0 0
ges resource table freelist 87,837 8 3 5 0 0 0
redo writing 588,685 8 4 4 0 0 0

Back to Latch Statistics
Back to Top

Latch Miss Sources

Latch Name Where NoWait Misses Sleeps Waiter Sleeps
FOB s.o list latch ksfd_allfob 0 1 1
KCL gc element parent latch kclnfndnewm 0 31 26
KCL gc element parent latch kclbla 0 13 3
KCL gc element parent latch kclulb 0 7 27
KCL gc element parent latch kclgcr 0 6 3
KCL gc element parent latch kclplz 0 5 7
KCL gc element parent latch kclswc 0 5 4
KCL gc element parent latch kclebs 0 4 1
KCL gc element parent latch kclrwrite 0 3 1
KCL gc element parent latch kclnfnd 0 2 2
KCL gc element parent latch KCLUNLNK 0 1 8
KCL gc element parent latch kclfwrite1 0 1 1
KCL gc element parent latch kclpto 0 1 0
KCL gc element parent latch kclwrt 0 1 2
KJCT flow control latch kjctcsnd: send normal message 0 3 3
KJCT flow control latch kjcts_sedeqv: dequeue a vector of msgs 0 2 0
SQL memory manager workarea list latch qesmmIUnRegisterWorkArea 0 1 0
cache buffer handles kcbzfs 0 51 28
cache buffer handles kcbzgs 0 51 74
cache buffers chains kcbgtcr: fast path 0 3,639 3,304
cache buffers chains kcbgtcr: kslbegin excl 0 2,653 3,154
cache buffers chains kcbchg: kslbegin: bufs not pinned 0 1,495 862
cache buffers chains kcbrls: kslbegin 0 1,214 1,671
cache buffers chains kcbchg: kslbegin: call CR func 0 852 388
cache buffers chains kcbgcur: kslbegin 0 534 880
cache buffers chains kcbget: pin buffer 0 261 540
cache buffers chains kcbget: exchange rls 0 121 13
cache buffers chains kcbzgb: scan from tail. nowait 0 106 0
cache buffers chains kcbget: exchange 0 62 15
cache buffers chains kcbzwb 0 34 35
cache buffers chains kcbnlc 0 30 80
cache buffers chains kcbnew: new latch again 0 26 21
cache buffers chains kcbcge 0 17 4
cache buffers chains kclbla 0 13 12
cache buffers chains kcbzib: finish free bufs 0 12 7
cache buffers chains kcbo_ivd_process 0 8 3
cache buffers chains kcbgkcbcr 0 6 20
cache buffers chains kcbgtcr: kslbegin shared 0 6 9
cache buffers chains kclwcrs 0 6 18
cache buffers chains kcbbxsv 0 4 33
cache buffers chains kcbso1: set no access 0 3 4
cache buffers chains kclwrt 0 3 0
cache buffers chains kcbnew_1 0 2 1
cache buffers chains kclcsr 0 2 1
cache buffers chains kclebs_1 0 2 6
cache buffers chains kcb_is_private 0 1 7
cache buffers chains kcbesc: escalate 0 1 0
cache buffers chains kcbgcur: buf pinned 0 1 1
cache buffers chains kcbgtcr 0 1 2
cache buffers chains kcbzib: multi-block read: nowait 0 1 0
cache buffers lru chain kcbzgws 0 260 19
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 91 0
cache buffers lru chain kcbzgb: posted for free bufs 0 77 454
cache buffers lru chain kcbzswcu 0 45 1
cache buffers lru chain kclmergepi 0 24 0
cache buffers lru chain kclwcrs 0 23 0
cache buffers lru chain kcbbxsv: move to being written 0 8 5
cache buffers lru chain kcbzib: move stale buffers 0 7 35
cache buffers lru chain H_MK_PI_CR_BG 0 3 0
cache buffers lru chain kcbibr 0 3 1
cache buffers lru chain kcbo_ivd_proc 0 3 7
cache buffers lru chain H_MK_PI_CR 0 2 0
cache buffers lru chain kcbzgm 0 2 0
cache buffers lru chain kclmvreqbg 0 2 5
cache buffers lru chain kcbbic2 0 1 2
cache buffers lru chain kcbbwlru 0 1 4
cache buffers lru chain kcbbxsv:no write case 0 1 0
cache buffers lru chain kcbkubc 0 1 23
cache buffers lru chain kcbo_link_q 0 1 0
cache buffers lru chain kcbrenounce 0 1 0
channel operations parent latch ksrapublish() 0 13 5
channel operations parent latch ksrwait() 0 7 21
channel operations parent latch ksrsconsume() 0 6 1
channel operations parent latch ksrmfree() 0 4 0
channel operations parent latch ksrchconnect() 0 3 9
channel operations parent latch ksrchdelete() 0 3 3
checkpoint queue latch kcbklbc: Link buffer into ckpt queue 0 1 0
checkpoint queue latch kclmergepi_3 0 1 1
dml lock allocation ktaidm 0 13 3
dml lock allocation ktaiam 0 6 16
enqueue hash chains ksqcmi: if lk mode not requested 0 35 1
enqueue hash chains ksqcmi: if lk mode requested 0 32 11
enqueue hash chains ksqgtl3 0 19 81
enqueue hash chains ksqrcl 0 19 11
enqueue hash chains ksucallcbksafely: ksqhngcbk1 0 1 0
enqueues ksqgel: create enqueue 0 6 6
enqueues ksqies 0 4 6
enqueues ksqdel 0 2 1
enqueues ksqgtl2 0 1 0
gcs resource hash kjbopen 0 3 1
gcs resource hash kjbconvert 0 1 0
gcs resource hash kjbcrcomplete 0 1 0
gcs resource hash kjbcropen 0 1 0
ges enqueue table freelist kjlalc: lock allocation 0 9 15
ges enqueue table freelist kjlfr: remove lock from parent object 0 7 2
ges group table kjgagll: move a lock from process lock list to group lock list 0 1 1
ges resource hash list kjucvl: lock convert request 0 47 14
ges resource hash list kjrmas1: lookup master node 0 15 0
ges resource hash list kjrref: find matched resource 0 12 51
ges resource hash list kjlrlr: remove lock from resource queue 0 1 2
ges resource table freelist kjralc: resource allocation 0 3 3
ges resource table freelist kjrm2c: move resource to cache 0 1 1
library cache kglpndl: child: after processing 0 1,124 3
library cache kglpnp: child 0 550 1,122
library cache kglLockCursor 0 123 93
library cache kglobpn: child: 0 55 289
library cache kgldte: child 0 0 48 46
library cache kglpin 0 20 7
library cache kglpndl: child: before processing 0 12 325
library cache kglhdgn: child: 0 5 82
library cache kgldti: 2child 0 3 0
library cache lock kgllkdl: child: cleanup 0 39 36
library cache lock kgllkdl: child: no lock handle 0 22 6
library cache lock kgllkal: child: multiinstance 0 14 18
library cache pin kglpndl 0 385 112
library cache pin kglpnp: child 0 205 383
library cache pin kglpnal: child: alloc space 0 14 115
message pool operations parent latch ksrmalloc() 0 1 1
object queue header operation kcbo_switch_cq 0 21 23
object queue header operation kcbw_unlink_q 0 13 10
object queue header operation kcbw_link_q 0 8 4
object queue header operation kcbo_swap_buf 0 6 0
object queue header operation kcbo_swap_buf_bg 0 4 19
object queue header operation kcbo_ivbo 0 3 0
object queue header operation kcbo_link_q:reget 0 1 0
redo allocation kcrfw_redo_gen: redo allocation 1 0 367 0
redo allocation kcrfw_redo_write: before write 0 13 224
redo allocation kcrfw_redo_write: more space 0 10 107
redo writing kcrfw_cal_target_rba 0 2 0
redo writing kcrfw_post: rba scn pair 0 2 0
row cache objects kqreqd: reget 0 158 0
row cache objects kqreqd 0 2 0
row cache objects kqrpre: find obj 0 2 172
sequence cache kdnssd 0 42 0
sequence cache kdnnxt: cached seq 0 1 0
session allocation ksudlc 0 114 7
session allocation ksuxds: not user session 0 88 19
session allocation ksuprc 0 21 101
session allocation ksucri 0 11 109
session allocation ksudlp 0 1 0
session idle bit ksupuc: set busy 0 22 15
session idle bit ksupuc: clear busy 0 16 22
session idle bit ksuxds 0 2 3
shared pool kghupr1 0 9 9
shared pool kghalo 0 7 4
sort extent pool ktstdt: dealloc sort extent 0 1 0
undo global data kturimugur: child 0 614 185
undo global data ktudba: KSLBEGIN 0 240 600
undo global data ktudnx:child 0 40 29
undo global data ktufrbs: child 0 1 78
undo global data ktusmasp: ktugd_tuux 0 1 0
undo global data ktusmupst: KSLBEGIN 0 1 1

Back to Latch Statistics
Back to Top

 

Parent Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

 

Child Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

 

Segment Statistics

Back to Top

Segments by Logical Reads

Owner Tablespace Name Object Name Subobject Name Obj. Type Logical Reads %Total
AR APPS_TS_TX_INTERFACE RA_INTERFACE_LINES_ALL   TABLE 21,468,640 7.02
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 10,182,992 3.33
APPLSYS APPS_TS_TX_DATA WF_DEFERRED   TABLE 6,916,304 2.26
APPLSYS APPS_TS_TX_IDX FND_GRANTS_N9   INDEX 5,629,056 1.84
GL APPS_TS_TX_IDX GL_CODE_COMBINATIONS_U1   INDEX 5,566,928 1.82

Back to Segment Statistics
Back to Top

Segments by Physical Reads

Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Reads %Total
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 28,961 14.74
AR APPS_TS_TX_DATA HZ_PARTIES   TABLE 17,126 8.72
AR APPS_ASSM_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 8,775 4.47
GL APPS_ASSM_DATA GL_JE_LINES   TABLE 6,790 3.46
APPLSYS APPS_TS_TX_IDX WF_ITEM_ATTRIBUTE_VALUES_PK   INDEX 2,691 1.37

Back to Segment Statistics
Back to Top

Segments by Row Lock Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type Row Lock Waits % of Capture
WSH APPS_TS_TX_DATA WSH_TRIP_STOPS   TABLE 3,680 41.91
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 1,955 22.26
APPLSYS APPS_TS_TX_DATA FND_CONCURRENT_REQUESTS   TABLE 960 10.93
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 225 2.56
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_U2   INDEX 190 2.16

Back to Segment Statistics
Back to Top

Segments by ITL Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type ITL Waits % of Capture
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_N3   INDEX 1 50.00
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 1 50.00

Back to Segment Statistics
Back to Top

Segments by Buffer Busy Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type Buffer Busy Waits % of Capture
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_U1   INDEX 3,262 23.47
AR APPS_ASSM_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 2,255 16.22
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 1,708 12.29
APPLSYS APPS_TS_TX_DATA WF_ITEM_ATTRIBUTE_VALUES   TABLE 1,244 8.95
APPLSYS APPS_TS_TX_DATA WF_ITEM_ACTIVITY_STATUSES WF_ITEM49 TABLE PARTITION 1,010 7.27

Back to Segment Statistics
Back to Top

Segments by Global Cache Buffer Busy

Owner Tablespace Name Object Name Subobject Name Obj. Type GC Buffer Busy % of Capture
ONT APPS_ASSM_IDX OE_ORDER_LINES_U1   INDEX 2,914 34.61
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 942 11.19
AR APPS_ASSM_IDX RA_CUSTOMER_TRX_U1   INDEX 871 10.34
INV APPS_TS_TX_IDX MTL_ITEM_CATEGORIES_U1   INDEX 373 4.43
WSH APPS_TS_TX_IDX WSH_DELIVERY_LEGS_N1   INDEX 304 3.61

Back to Segment Statistics
Back to Top

Segments by CR Blocks Received

Owner Tablespace Name Object Name Subobject Name Obj. Type CR Blocks Received %Total
GL APPS_ASSM_DATA GL_INTERFACE   TABLE 43,128 5.85
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 35,356 4.80
ONT APPS_ASSM_IDX OE_ORDER_LINES_U1   INDEX 22,317 3.03
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 15,074 2.04
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 10,709 1.45

Back to Segment Statistics
Back to Top

Segments by Current Blocks Received

Owner Tablespace Name Object Name Subobject Name Obj. Type Current Blocks Received %Total
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 15,563 4.15
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 11,431 3.05
AR APPS_TS_TX_DATA AR_RECEIVABLE_APPLICATIONS_ALL   TABLE 11,404 3.04
GL APPS_ASSM_DATA GL_INTERFACE   TABLE 11,135 2.97
AR APPS_TS_TX_DATA HZ_PARTIES   TABLE 7,281 1.94

Back to Segment Statistics
Back to Top

 

Dictionary Cache Statistics

Back to Top

Dictionary Cache Stats

Cache Get Requests Pct Miss Scan Reqs Pct Miss Mod Reqs Final Usage
dc_awr_control 5 40.00 0   2 1
dc_constraints 2,127 50.40 0   2,127 709
dc_global_oids 702,150 0.00 0   0 93
dc_histogram_data 15,748 0.49 0   3 1,684
dc_histogram_defs 140,129 2.52 0   1,838 26,571
dc_object_grants 26,885 0.09 0   0 15,661
dc_object_ids 1,857,500 0.02 0   177 5,739
dc_objects 42,703 2.00 0   1,474 9,158
dc_profiles 2,268 0.00 0   0 1
dc_rollback_segments 733,413 0.00 0   72 184
dc_segments 102,343 0.94 0   2,216 6,420
dc_sequences 3,804 37.75 0   3,804 88
dc_table_scns 1 100.00 0   0 0
dc_tablespace_quotas 1,848 30.30 0   37 31
dc_tablespaces 917,495 0.00 0   0 25
dc_usernames 86,790 0.00 0   0 86
dc_users 2,109,115 0.00 0   0 157
outstanding_alerts 134 89.55 0   0 21

Back to Dictionary Cache Statistics
Back to Top

Dictionary Cache Stats (RAC)

Cache GES Requests GES Conflicts GES Releases
dc_awr_control 6 2 0
dc_constraints 3,721 11 0
dc_global_oids 10 0 0
dc_histogram_defs 7,517 0 0
dc_object_ids 731 0 0
dc_objects 2,076 5 0
dc_rollback_segments 188 8 0
dc_segments 4,699 682 0
dc_sequences 6,016 1,423 0
dc_table_scns 1 0 0
dc_tablespace_quotas 3,695 550 0
outstanding_alerts 264 120 0

Back to Dictionary Cache Statistics
Back to Top

 

Library Cache Statistics

Back to Top

Library Cache Activity

Namespace Get Requests Pct Miss Pin Requests Pct Miss Reloads Invali- dations
BODY 150,256 0.02 6,556,114 0.00 0 0
CLUSTER 25 0.00 80 0.00 0 0
INDEX 3,833 4.88 4,880 5.86 0 0
JAVA DATA 68 0.00 0   0 0
PIPE 9,767 2.52 12,302 1.98 0 0
SQL AREA 3,152 98.26 17,229,556 -0.02 535 840
TABLE/PROCEDURE 88,527 0.36 8,943,119 0.02 94 0
TRIGGER 8,155 0.05 259,743 0.00 0 0

Back to Library Cache Statistics
Back to Top

Library Cache Activity (RAC)

Namespace GES Lock Requests GES Pin Requests GES Pin Releases GES Inval Requests GES Invali- dations
CLUSTER 80 0 0 0 0
INDEX 4,440 747 88 27 0
TABLE/PROCEDURE 217,258 1,399 63 1,306 0

Back to Library Cache Statistics
Back to Top

 

Memory Statistics

Back to Top

Process Memory Summary

  Category Alloc (MB) Used (MB) Avg Alloc (MB) Std Dev Alloc (MB) Max Alloc (MB) Hist Max Alloc (MB) Num Proc Num Alloc
B Other 5,707.51   9.45 6.36 33 33 604 604
  SQL 598.08 302.91 1.01 0.75 4 22 593 591
  Freeable 543.13 0.00 1.15 0.81 10   471 471
  PL/SQL 375.93 34.79 0.62 0.87 3 3 604 604
  JAVA 44.34 44.12 2.33 0.09 3 5 19 19
E Other 6,525.11   11.08 7.30 38 38 589 589
  Freeable 723.81 0.00 1.50 0.95 10   483 483
  SQL 690.61 356.05 1.19 0.82 3 22 578 576
  PL/SQL 422.97 38.25 0.72 0.92 3 3 589 589
  JAVA 44.42 44.19 2.34 0.09 3 5 19 19

Back to Memory Statistics
Back to Top

SGA Memory Summary

SGA regions Begin Size (Bytes) End Size (Bytes) (if different)
Database Buffers 1,577,058,304  
Fixed Size 2,074,736  
Redo Buffers 14,700,544  
Variable Size 1,644,169,104  

Back to Memory Statistics
Back to Top

SGA breakdown difference

Pool Name Begin MB End MB % Diff
java free memory 49.74 49.74 0.00
java joxlod exec hp 13.61 13.61 0.00
java joxs heap 0.65 0.65 0.00
shared CCursor 37.10 48.94 31.92
shared Heap0: KGL 21.47 22.75 5.98
shared KGLS heap 48.83 50.74 3.92
shared KQR L PO 42.75 47.18 10.38
shared PCursor 24.25 30.02 23.78
shared PL/SQL DIANA 30.03 31.36 4.42
shared PL/SQL MPCODE 74.90 77.05 2.86
shared free memory 490.56 265.70 -45.84
shared gcs resources 30.09 30.09 0.00
shared gcs shadows 18.96 18.96 0.00
shared ges enqueues 24.18 24.88 2.90
shared ges resource 18.20 20.11 10.47
shared library cache 179.35 212.21 18.33
shared sql area 263.25 418.85 59.10
shared sql area:PLSQL 16.53 17.55 6.16
  buffer_cache 1,504.00 1,504.00 0.00
  fixed_sga 1.98 1.98 0.00
  log_buffer 14.02 14.02 0.00

Back to Memory Statistics
Back to Top

 

Streams Statistics

Back to Top

 

Streams CPU/IO Usage

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

 

Streams Capture

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

 

Streams Apply

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

 

Buffered Queues

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

 

Buffered Subscribers

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

 

Rule Set

No data exists for this section of the report.

Back to Streams Statistics
Back to Top

 

 

Resource Limit Stats

No data exists for this section of the report.


Back to Top

 

init.ora Parameters

Parameter Name Begin value End value (if different)
O7_DICTIONARY_ACCESSIBILITY FALSE   
_b_tree_bitmap_plans FALSE   
_fast_full_scan_enabled FALSE   
_gc_affinity_limit 100000   
_gc_affinity_minimum 1000000   
_gc_affinity_time 0   
_gc_undo_affinity FALSE   
_like_with_bind_as_equality TRUE   
_sort_elimination_cost_ratio 5   
_sqlexec_progression_cost 2147483647   
_swrf_mmon_dbfus FALSE   
_swrf_mmon_flush FALSE   
_system_trig_enabled TRUE   
background_dump_dest /o11510/oracle/visdb/10.1.0/admin/VIS/bdump   
cluster_database TRUE   
compatible 10.2.0   
control_files /oasb_data/cntrl01.dbf, /oasb_data/cntrl02.dbf, /oasb_data/cntrl03.dbf   
core_dump_dest /o11510/oracle/visdb/10.1.0/admin/VIS/cdump   
cursor_sharing exact   
cursor_space_for_time FALSE   
db_block_checking false   
db_block_size 8192   
db_cache_advice off   
db_cache_size 1577058304   
db_file_multiblock_read_count 8   
db_files 512   
db_name VIS   
db_writer_processes 1   
dml_locks 10000   
instance_number 2   
java_pool_size 67108864   
job_queue_processes 10   
local_listener VIS2   
lock_sga TRUE   
log_buffer 14254080   
log_checkpoint_timeout 1200   
log_checkpoints_to_alert TRUE   
max_dump_file_size unlimited   
nls_comp binary   
nls_date_format DD-MON-RR   
nls_language american   
nls_length_semantics BYTE   
nls_numeric_characters .,   
nls_sort binary   
nls_territory america   
olap_page_pool_size 4194304   
open_cursors 1000   
optimizer_secure_view_merging FALSE   
parallel_max_servers 4   
pga_aggregate_target 6442450944   
plsql_code_type INTERPRETED   
plsql_native_library_dir /o11510/oracle/visdb/10.1.0/native10g_small   
plsql_optimize_level 2   
processes 1400   
query_rewrite_enabled true   
remote_listener VIS   
replication_dependency_tracking FALSE   
session_cached_cursors 500   
sessions 1545   
shared_pool_reserved_size 157286400   
shared_pool_size 1577058304   
thread 2   
timed_statistics TRUE   
trace_enabled FALSE   
undo_management AUTO   
undo_tablespace APPS_UNDOTS2   
user_dump_dest /o11510/oracle/visdb/10.1.0/admin/VIS/udump   
utl_file_dir /usr/tmp   
workarea_size_policy AUTO   


Back to Top

 

Global Enqueue Statistics

Statistic Total per Second per Trans
acks for commit broadcast(actual) 138,724 37.98 0.66
acks for commit broadcast(logical) 171,247 46.88 0.82
broadcast msgs on commit(actual) 174,778 47.85 0.84
broadcast msgs on commit(logical) 174,998 47.91 0.84
broadcast msgs on commit(wasted) 2,972 0.81 0.01
dynamically allocated gcs resources 0 0.00 0.00
dynamically allocated gcs shadows 0 0.00 0.00
false posts waiting for scn acks 0 0.00 0.00
flow control messages received 0 0.00 0.00
flow control messages sent 0 0.00 0.00
gcs assume cvt 0 0.00 0.00
gcs assume no cvt 203,414 55.68 0.97
gcs ast xid 19 0.01 0.00
gcs blocked converts 315,609 86.40 1.51
gcs blocked cr converts 709,640 194.26 3.40
gcs compatible basts 707 0.19 0.00
gcs compatible cr basts (global) 38,587 10.56 0.18
gcs compatible cr basts (local) 110,725 30.31 0.53
gcs cr basts to PIs 0 0.00 0.00
gcs cr serve without current lock 0 0.00 0.00
gcs dbwr flush pi msgs 48,032 13.15 0.23
gcs dbwr write request msgs 32,115 8.79 0.15
gcs error msgs 0 0.00 0.00
gcs forward cr to pinged instance 0 0.00 0.00
gcs immediate (compatible) converts 29,411 8.05 0.14
gcs immediate (null) converts 114,439 31.33 0.55
gcs immediate cr (compatible) converts 79 0.02 0.00
gcs immediate cr (null) converts 181,255 49.62 0.87
gcs indirect ast 230,516 63.10 1.10
gcs lms flush pi msgs 0 0.00 0.00
gcs lms write request msgs 12,195 3.34 0.06
gcs msgs process time(ms) 71,756 19.64 0.34
gcs msgs received 2,065,842 565.52 9.90
gcs out-of-order msgs 11 0.00 0.00
gcs pings refused 276 0.08 0.00
gcs queued converts 404 0.11 0.00
gcs recovery claim msgs 0 0.00 0.00
gcs refuse xid 21 0.01 0.00
gcs regular cr 2 0.00 0.00
gcs retry convert request 0 0.00 0.00
gcs side channel msgs actual 6,231 1.71 0.03
gcs side channel msgs logical 1,245,568 340.97 5.97
gcs undo cr 0 0.00 0.00
gcs write notification msgs 4,936 1.35 0.02
gcs writes refused 808 0.22 0.00
ges msgs process time(ms) 1,018 0.28 0.00
ges msgs received 82,422 22.56 0.39
global posts dropped 0 0.00 0.00
global posts queue time 502,400 137.53 2.41
global posts queued 5,645 1.55 0.03
global posts requested 5,657 1.55 0.03
global posts sent 5,645 1.55 0.03
implicit batch messages received 57,672 15.79 0.28
implicit batch messages sent 60,993 16.70 0.29
lmd msg send time(ms) 0 0.00 0.00
lms(s) msg send time(ms) 0 0.00 0.00
messages flow controlled 203,835 55.80 0.98
messages queue sent actual 428,098 117.19 2.05
messages queue sent logical 565,675 154.85 2.71
messages received actual 1,855,772 508.02 8.89
messages received logical 2,148,287 588.09 10.29
messages sent directly 1,282,981 351.22 6.15
messages sent indirectly 364,810 99.87 1.75
messages sent not implicit batched 367,136 100.50 1.76
messages sent pbatched 439,413 120.29 2.11
msgs causing lmd to send msgs 27,096 7.42 0.13
msgs causing lms(s) to send msgs 211,998 58.03 1.02
msgs received queue time (ms) 18,032 4.94 0.09
msgs received queued 2,148,002 588.02 10.29
msgs sent queue time (ms) 41,475 11.35 0.20
msgs sent queue time on ksxp (ms) 2,914,898 797.95 13.97
msgs sent queued 549,344 150.38 2.63
msgs sent queued on ksxp 1,862,330 509.81 8.92
process batch messages received 292,621 80.11 1.40
process batch messages sent 280,411 76.76 1.34


Back to Top

 

Global CR Served Stats

Statistic Total
CR Block Requests 339,736
CURRENT Block Requests 347,488
Data Block Requests 339,736
Undo Block Requests 10,599
TX Block Requests 336,893
Current Results 657,131
Private results 25,679
Zero Results 4,316
Disk Read Results 0
Fail Results 17
Fairness Down Converts 54,727
Fairness Clears 0
Free GC Elements 0
Flushes 43,303
Flushes Queued 0
Flush Queue Full 0
Flush Max Time (us) 85,203
Light Works 23,769
Errors 0


Back to Top

 

Global CURRENT Served Stats

Statistic Total % <1ms % <10ms % <100ms % <1s % <10s
Pins 399,894 99.50 0.02 0.48 0.00 0.00
Flushes 2,531 81.47 16.36 2.09 0.08 0.00
Writes 52,745 22.49 58.43 18.93 0.15 0.00


Back to Top

 

Global Cache Transfer Stats

    CR Current
Inst No Block Class Blocks Received % Immed % Busy % Congst Blocks Received % Immed % Busy % Congst
1 data block 430,619 78.26 21.74 0.00 358,104 99.06 0.94 0.00
1 undo header 291,022 99.50 0.50 0.00 301 95.02 4.98 0.00
1 Others 10,428 99.60 0.40 0.00 16,473 99.10 0.90 0.00
1 undo block 5,122 93.11 6.89 0.00 0      


Back to Top

End of Report