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 16-Nov-06 19:41:54 1122 204.1
End Snap: 20 16-Nov-06 20:42:49 1119 247.9
Elapsed:   60.92 (mins)    
DB Time:   266.69 (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,263,869.39 20,569.58
Logical reads: 83,591.64 1,360.46
Block changes: 7,958.87 129.53
Physical reads: 62.25 1.01
Physical writes: 137.97 2.25
User calls: 2,402.13 39.09
Parses: 503.02 8.19
Hard parses: 1.37 0.02
Sorts: 551.39 8.97
Logons: 0.76 0.01
Executes: 4,751.74 77.34
Transactions: 61.44  

% Blocks changed per Read: 9.52 Recursive Call %: 77.18
Rollback per transaction %: 20.14 Rows per Sort: 11.85

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.98 Redo NoWait %: 100.00
Buffer Hit %: 99.93 In-memory Sort %: 100.00
Library Hit %: 100.01 Soft Parse %: 99.73
Execute to Parse %: 89.41 Latch Hit %: 99.91
Parse CPU to Parse Elapsd %: 30.80 % Non-Parse CPU: 96.63

Shared Pool Statistics

  Begin End
Memory Usage %: 69.86 85.75
% SQL with executions>1: 93.76 93.73
% Memory for SQL w/exec>1: 92.08 92.92

Top 5 Timed Events

Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
CPU time   5,325   33.3  
gc cr block 2-way 764,711 1,550 2 9.7 Cluster
db file sequential read 214,107 930 4 5.8 User I/O
gc current block 2-way 418,890 745 2 4.7 Cluster
gc cr block busy 116,188 636 5 4.0 Cluster

RAC Statistics

  Begin End
Number of Instances: 2 2

Global Cache Load Profile

  Per Second Per Transaction
Global Cache blocks received: 366.19 5.96
Global Cache blocks served: 344.93 5.61
GCS/GES messages received: 672.08 10.94
GCS/GES messages sent: 687.97 11.20
DBWR Fusion writes: 16.89 0.27
Estd Interconnect traffic (KB) 5,954.60  

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

Buffer access - local cache %: 99.49
Buffer access - remote cache %: 0.44
Buffer access - disk %: 0.07

Global Cache and Enqueue Services - Workload Characteristics

Avg global enqueue get time (ms): 0.3
Avg global cache cr block receive time (ms): 2.6
Avg global cache current block receive time (ms): 2.2
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 %: 7.4
Avg global cache cr block flush time (ms): 2.3
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 %: 1.7
Avg global cache current block flush time (ms): 1.1

Global Cache and Enqueue Services - Messaging Statistics

Avg message sent queue time (ms): 0.1
Avg message sent queue time on ksxp (ms): 1.7
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.64
% of indirect sent messages: 19.41
% of flow controlled messages: 10.95

 


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 14,482.19 90.51
DB CPU 5,325.39 33.28
inbound PL/SQL rpc elapsed time 3,382.90 21.14
PL/SQL execution elapsed time 2,852.53 17.83
parse time elapsed 620.76 3.88
Java execution elapsed time 534.01 3.34
hard parse elapsed time 503.68 3.15
sequence load elapsed time 25.85 0.16
repeated bind elapsed time 18.83 0.12
connection management call elapsed time 4.82 0.03
PL/SQL compilation elapsed time 3.17 0.02
hard parse (sharing criteria) elapsed time 2.03 0.01
hard parse (bind mismatch) elapsed time 1.87 0.01
failed parse elapsed time 0.41 0.00
DB time 16,001.40  
background elapsed time 694.41  
background cpu time 283.91  

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,610,456 0.02 4,050 3 7.17
User I/O 220,641 0.00 956 4 0.98
Concurrency 48,064 0.82 655 14 0.21
Other 423,003 23.82 513 1 1.88
Network 9,824,182 0.00 491 0 43.74
Application 33,930 0.59 403 12 0.15
Commit 101,866 0.00 295 3 0.45
System I/O 264,323 0.00 157 1 1.18
Configuration 37,640 88.21 26 1 0.17
Administrative 4 0.00 0 18 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 764,711 0.00 1,550 2 3.41
db file sequential read 214,107 0.00 930 4 0.95
gc current block 2-way 418,890 0.00 745 2 1.87
gc cr block busy 116,188 0.00 636 5 0.52
SQL*Net more data from client 456,635 0.00 481 1 2.03
gc buffer busy 56,714 0.55 433 8 0.25
enq: UL - contention 13,522 1.41 370 27 0.06
log file sync 101,866 0.00 295 3 0.45
latch: cache buffers chains 8,640 0.00 266 31 0.04
gc current grant busy 82,840 0.00 234 3 0.37
gcs log flush sync 122,302 25.13 143 1 0.54
gc current grant 2-way 42,046 0.00 141 3 0.19
gc cr grant 2-way 90,022 0.00 138 2 0.40
buffer busy waits 9,206 0.17 132 14 0.04
gc current block busy 8,219 0.00 108 13 0.04
log file parallel write 204,997 0.00 105 1 0.91
wait for scn ack 165,692 0.00 101 1 0.74
cr request retry 158 99.37 88 557 0.00
enq: TX - index contention 2,737 0.04 87 32 0.01
latch: library cache 2,392 0.00 73 31 0.01
LGWR wait for redo copy 9,371 30.35 50 5 0.04
row cache lock 18,306 0.00 47 3 0.08
db file parallel write 48,890 0.00 46 1 0.22
gc cr multi block request 22,748 0.00 45 2 0.10
latch: library cache pin 767 0.00 22 29 0.00
enq: HW - contention 4,349 0.00 20 4 0.02
enq: TX - row lock contention 227 2.20 16 70 0.00
DFS lock handle 10,521 0.00 14 1 0.05
read by other session 2,163 0.00 14 6 0.01
latch: undo global data 562 0.00 13 24 0.00
latch: cache buffers lru chain 646 0.00 13 20 0.00
SQL*Net break/reset to client 19,430 0.00 13 1 0.09
enq: FB - contention 3,262 0.00 12 4 0.01
latch free 250 0.00 10 41 0.00
db file scattered read 1,869 0.00 10 5 0.01
latch: redo allocation 380 0.00 9 25 0.00
gc current multi block request 7,526 0.00 9 1 0.03
enq: US - contention 7,026 0.00 9 1 0.03
cursor: pin S wait on X 380 99.47 8 21 0.00
gc current split 204 0.00 7 34 0.00
library cache lock 4,118 0.00 7 2 0.02
latch: session allocation 190 0.00 6 33 0.00
SQL*Net message to client 9,105,933 0.00 6 0 40.55
latch: enqueue hash chains 99 0.00 6 59 0.00
PX Deq Credit: send blkd 998 14.63 6 6 0.00
latch: row cache objects 163 0.00 5 33 0.00
control file sequential read 8,657 0.00 5 1 0.04
library cache pin 1,188 0.00 5 4 0.01
latch: ges resource hash list 82 0.00 4 53 0.00
SQL*Net more data to client 261,614 0.00 4 0 1.16
enq: SQ - contention 59 0.00 4 67 0.00
cursor: pin S 4,090 0.00 4 1 0.02
enq: RO - fast object reuse 571 0.70 3 6 0.00
gc current retry 138 0.00 3 22 0.00
KJC: Wait for msg sends to complete 21 47.62 3 141 0.00
enq: TX - contention 142 0.00 3 18 0.00
enq: DV - contention 2,467 0.00 2 1 0.01
local write wait 981 0.00 2 2 0.00
IPC send completion sync 433 60.05 2 5 0.00
reliable message 285 0.00 2 6 0.00
latch: KCL gc element parent latch 63 0.00 2 25 0.00
control file parallel write 1,771 0.00 1 1 0.01
enq: WF - contention 25 4.00 1 56 0.00
rdbms ipc reply 633 0.00 1 2 0.00
undo segment extension 33,203 99.99 1 0 0.15
log file switch completion 15 0.00 1 72 0.00
library cache load lock 32 0.00 1 32 0.00
buffer deadlock 163 98.77 1 6 0.00
name-service call wait 12 0.00 1 82 0.00
latch: cache buffer handles 89 0.00 1 8 0.00
latch: library cache lock 60 0.00 1 12 0.00
enq: PS - contention 278 0.00 1 2 0.00
latch: shared pool 49 0.00 1 12 0.00
gc cr failure 164 0.00 1 3 0.00
enq: TM - contention 180 0.00 1 3 0.00
ksxr poll remote instances 48,656 51.67 0 0 0.22
latch: object queue header operation 46 0.00 0 10 0.00
os thread startup 7 0.00 0 64 0.00
enq: CF - contention 267 0.00 0 2 0.00
PX Deq: reap credit 11,509 85.09 0 0 0.05
PX Deq: Signal ACK 206 31.55 0 2 0.00
enq: TS - contention 193 0.00 0 2 0.00
CGS wait for IPC msg 31,335 100.00 0 0 0.14
enq: TT - contention 147 0.00 0 1 0.00
direct path read 406 0.00 0 0 0.00
enq: MD - contention 37 0.00 0 4 0.00
lock escalate retry 83 98.80 0 2 0.00
latch: gcs resource hash 11 0.00 0 12 0.00
global enqueue expand wait 7 100.00 0 17 0.00
latch: checkpoint queue latch 8 0.00 0 15 0.00
ges inquiry response 85 0.00 0 1 0.00
gc cr block congested 9 0.00 0 8 0.00
db file parallel read 29 0.00 0 3 0.00
switch logfile command 4 0.00 0 18 0.00
gc current block unknown 20 0.00 0 3 0.00
kksfbc child completion 1 100.00 0 59 0.00
enq: TO - contention 45 0.00 0 1 0.00
enq: IR - contention 20 0.00 0 3 0.00
enq: DL - contention 31 0.00 0 2 0.00
latch: messages 4 0.00 0 12 0.00
enq: TD - KTF dump entries 22 0.00 0 1 0.00
enq: TX - allocate ITL entry 13 0.00 0 2 0.00
enq: TA - contention 33 0.00 0 1 0.00
gc cr grant congested 2 0.00 0 8 0.00
L1 validation 1 100.00 0 10 0.00
log file sequential read 4 0.00 0 2 0.00
enq: KM - contention 8 0.00 0 1 0.00
gc cr disk read 13 0.00 0 1 0.00
direct path write 1,078 0.00 0 0 0.00
gc current block congested 2 0.00 0 2 0.00
enq: MW - contention 3 0.00 0 1 0.00
enq: DR - contention 2 0.00 0 1 0.00
cursor: mutex S 18 0.00 0 0 0.00
log file single write 4 0.00 0 0 0.00
latch: redo writing 1 0.00 0 0 0.00
enq: AF - task serialization 1 0.00 0 0 0.00
PX qref latch 1 100.00 0 0 0.00
direct path write temp 8 0.00 0 0 0.00
cursor: mutex X 1 0.00 0 0 0.00
lock deadlock retry 1 100.00 0 0 0.00
SQL*Net message from client 9,105,934 0.00 2,387,011 262 40.55
Streams AQ: waiting for messages in the queue 5,393 94.66 30,627 5679 0.02
pipe get 7,048 56.19 10,677 1515 0.03
gcs remote message 2,088,358 89.80 6,865 3 9.30
PX Idle Wait 2,115 90.35 4,745 2244 0.01
PL/SQL lock timer 240 100.00 4,578 19073 0.00
DIAG idle wait 18,124 0.00 3,569 197 0.08
Streams AQ: qmn coordinator idle wait 280 46.07 3,565 12732 0.00
ges remote message 143,700 76.16 3,565 25 0.64
Streams AQ: qmn slave idle wait 129 0.00 3,561 27608 0.00
Streams AQ: waiting for time management or cleanup tasks 1 100.00 3,555 3555059 0.00
jobq slave wait 20 100.00 59 2931 0.00
PX Deq: Execution Msg 749 13.08 13 17 0.00
PX Deq: Execute Reply 465 12.90 2 5 0.00
PX Deq: Parse Reply 161 23.60 2 14 0.00
PX Deq: Msg Fragment 847 7.79 2 2 0.00
PX Deq: Join ACK 201 35.32 0 2 0.00
PX Deq Credit: need buffer 125 0.00 0 2 0.00
PX Deq: Table Q Normal 78 17.95 0 2 0.00
Streams AQ: RAC qmn coordinator idle wait 280 100.00 0 0 0.00
class slave wait 2 0.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 391,391 23.07 313 1 1.74
log file parallel write 204,997 0.00 105 1 0.91
db file parallel write 48,890 0.00 46 1 0.22
gc cr multi block request 4,973 0.00 7 1 0.02
control file sequential read 5,134 0.00 3 1 0.02
latch: cache buffers chains 134 0.00 3 23 0.00
gc current block 2-way 920 0.00 2 2 0.00
control file parallel write 1,771 0.00 1 1 0.01
db file sequential read 134 0.00 1 4 0.00
db file scattered read 255 0.00 1 2 0.00
gc cr block 2-way 144 0.00 1 4 0.00
gc current grant busy 49 0.00 0 8 0.00
buffer busy waits 168 9.52 0 2 0.00
gc buffer busy 105 60.00 0 3 0.00
row cache lock 136 0.00 0 2 0.00
direct path read 406 0.00 0 0 0.00
enq: RO - fast object reuse 207 0.00 0 1 0.00
gc current grant 2-way 44 0.00 0 3 0.00
latch: library cache 3 0.00 0 34 0.00
gc cr grant 2-way 50 0.00 0 2 0.00
os thread startup 3 0.00 0 18 0.00
latch: library cache pin 1 0.00 0 29 0.00
db file parallel read 14 0.00 0 2 0.00
latch: row cache objects 3 0.00 0 5 0.00
latch: shared pool 1 0.00 0 10 0.00
log file sequential read 4 0.00 0 2 0.00
direct path write 166 0.00 0 0 0.00
enq: TM - contention 12 0.00 0 0 0.00
library cache lock 7 0.00 0 0 0.00
log file single write 4 0.00 0 0 0.00
latch: redo writing 1 0.00 0 0 0.00
rdbms ipc message 359,090 16.75 38,716 108 1.60
gcs remote message 2,088,384 89.80 6,865 3 9.30
DIAG idle wait 18,124 0.00 3,569 197 0.08
Streams AQ: qmn coordinator idle wait 280 46.07 3,565 12732 0.00
pmon timer 1,588 100.00 3,565 2245 0.01
ges remote message 143,699 76.16 3,565 25 0.64
Streams AQ: qmn slave idle wait 129 0.00 3,561 27608 0.00
Streams AQ: waiting for time management or cleanup tasks 1 100.00 3,555 3555059 0.00
smon timer 13,876 0.08 3,543 255 0.06
PX Deq: Join ACK 28 42.86 0 2 0.00
PX Deq: Parse Reply 27 33.33 0 1 0.00
PX Deq: Execute Reply 22 27.27 0 1 0.00
Streams AQ: RAC qmn coordinator idle wait 280 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 158,542
AVG_IDLE_TIME 206,972
AVG_IOWAIT_TIME 3,181
AVG_SYS_TIME 23,371
AVG_USER_TIME 135,066
BUSY_TIME 634,532
IDLE_TIME 828,275
IOWAIT_TIME 13,032
SYS_TIME 93,879
USER_TIME 540,653
LOAD 0
OS_CPU_WAIT_TIME 2,280,300
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 13,241.70 3,907.80 94,153 257,998,781
VIS 2,760.10 1,417.80 130,311 45,272,260
SYS$BACKGROUND 0.00 0.00 3,065 2,271,357

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 87796 41043 42967 60642 0 0 3907284 48348
VIS 131330 54325 4270 4485 0 0 5912284 789
SYS$BACKGROUND 1515 241 824 411 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,310 209 67 34.48 14.44 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
1,789 339 4 447.32 11.18 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
1,581 360 6 263.46 9.88 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
903 187 488 1.85 5.65 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
602 116 12,436 0.05 3.76 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
547 63 34,986 0.02 3.42 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
543 231 4,143 0.13 3.40 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
425 86 11,095 0.04 2.66 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
373 52 12,393 0.03 2.33 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
364 136 4 91.02 2.28 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
320 47 34,998 0.01 2.00 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
293 91 2 146.46 1.83 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
261 81 12,429 0.02 1.63 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
233 81 13,761 0.02 1.46 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
197 36 24,848 0.01 1.23 90b1x7g0vm4gv WSHINTERFACE SELECT SC.ATTRIBUTE1 , SC.ATT...
194 81 21,924 0.01 1.21 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
190 9 432 0.44 1.19 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
185 49 16 11.59 1.16 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
165 111 17,950 0.01 1.03 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...

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
360 1,581 6 59.96 9.88 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
339 1,789 4 84.82 11.18 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
231 543 4,143 0.06 3.40 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
209 2,310 67 3.12 14.44 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
187 903 488 0.38 5.65 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
136 364 4 34.10 2.28 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
116 602 12,436 0.01 3.76 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
111 165 17,950 0.01 1.03 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
91 293 2 45.55 1.83 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
87 137 33,894 0.00 0.86 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
86 425 11,095 0.01 2.66 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
81 261 12,429 0.01 1.63 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
81 233 13,761 0.01 1.46 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
81 194 21,924 0.00 1.21 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
63 547 34,986 0.00 3.42 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
52 373 12,393 0.00 2.33 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
49 185 16 3.09 1.16 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
47 320 34,998 0.00 2.00 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
36 197 24,848 0.00 1.23 90b1x7g0vm4gv WSHINTERFACE SELECT SC.ATTRIBUTE1 , SC.ATT...
9 190 432 0.02 1.19 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...

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
38,885,837 6 6,480,972.83 12.73 359.77 1580.74 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
23,184,476 4 5,796,119.00 7.59 339.29 1789.29 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
15,391,879 33,894 454.12 5.04 87.11 137.01 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
14,604,435 42,244 345.72 4.78 83.64 92.12 25wzrzwd46a44 asn.lead.server.LeadUwqAM SELECT 1 FROM DUAL WHERE EXIST...
14,430,873 16 901,929.56 4.72 49.46 185.48 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
13,590,917 4,143 3,280.45 4.45 231.49 543.43 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
10,964,118 1 10,964,118.00 3.59 64.95 109.23 0hwuqwtq29tmj RAXTRX insert into RA_INTERFACE_ERROR...
10,268,946 2 5,134,473.00 3.36 91.09 292.91 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
9,873,916 67 147,371.88 3.23 208.85 2310.37 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
9,651,939 4 2,412,984.75 3.16 136.41 364.09 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
7,556,160 12 629,680.00 2.47 61.45 91.96 1du9v021t8m46 ARGLTP insert into gl_interface(creat...
7,030,111 488 14,405.97 2.30 186.67 903.30 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
7,001,652 995 7,036.84 2.29 31.29 142.20 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
6,460,556 200 32,302.78 2.11 26.99 132.92 0qcpgw43yqj5r WSHPSRS ( SELECT DISTINCT WDD.SOURCE_L...
6,395,288 11,095 576.41 2.09 86.16 425.10 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
4,987,832 584 8,540.81 1.63 49.53 155.19 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
4,217,233 12,436 339.11 1.38 115.85 602.31 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
3,911,964 12,429 314.74 1.28 81.20 261.05 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
3,556,958 12 296,413.17 1.16 43.16 79.87 bp8crdjba8zgt ARGLTP update ra_cust_trx_line_gl_dis...
3,485,466 11,095 314.15 1.14 38.87 140.65 2g2hu9q4dr07c WSHFRREL SELECT DELIVERY_DETAIL_ID, SO...
3,355,534 13,761 243.84 1.10 81.14 233.28 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...

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
34,056 432 78.83 14.97 8.80 190.11 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
31,455 734 42.85 13.82 6.07 152.96 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
21,139 432 48.93 9.29 21.56 135.07 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
4,980 6 830.00 2.19 359.77 1580.74 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
4,086 67 60.99 1.80 208.85 2310.37 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
3,603 4 900.75 1.58 339.29 1789.29 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
3,536 4 884.00 1.55 136.41 364.09 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
3,330 34,998 0.10 1.46 46.97 319.51 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
3,306 25,608 0.13 1.45 18.72 77.32 fb13x9qx0ftks OEXOETEL begin OE_STANDARD_WF.OEOL_SELE...
2,321 12 193.42 1.02 61.45 91.96 1du9v021t8m46 ARGLTP insert into gl_interface(creat...

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
177,056 176,624 1.00 0.00 0.00 cd9mbmqyf4qhp OEXOETEL UPDATE WF_ITEM_ACTIVITY_STATUS...
164,099 163,699 1.00 0.00 0.00 gnhmcahkmrnzs OEXOETEL INSERT INTO WF_ITEM_ACTIVITY_S...
104,206 104,179 1.00 0.00 0.00 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
75,605 59,660 0.79 0.00 0.00 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
58,274 57,635 0.99 0.00 0.00 91hakq9n36htp ap.oie.server.WebExpensesAM SELECT TEXT_VALUE FROM WF_ITEM...
50,846 864,382 17.00 0.00 0.00 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
42,708 42,682 1.00 0.00 0.00 9bbak9qpg1c7x OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
42,244 0 0.00 0.00 0.00 25wzrzwd46a44 asn.lead.server.LeadUwqAM SELECT 1 FROM DUAL WHERE EXIST...
39,925 39,307 0.98 0.00 0.00 0b85w9vv0hbt1 ap.oie.server.WebExpensesAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...
34,998 34,998 1.00 0.00 0.01 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...

Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
104,194 104,206 5.67 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
75,605 75,605 4.11 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
50,844 50,846 2.77 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
34,867 34,986 1.90 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
33,893 33,894 1.84 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
25,567 25,608 1.39 fb13x9qx0ftks OEXOETEL begin OE_STANDARD_WF.OEOL_SELE...
23,813 23,894 1.30 1c0b7sas42w2z INVTTMTX SELECT NVL(ITEM_COST, 0), ...
22,367 22,411 1.22 162ttnv4ubqun OEXOETEL begin OE_DS_PVT.Check_PO_Appr...
20,788 20,832 1.13 8camsgjsr9zya OEXOETEL begin OE_TRANSACTION_TYPES_PK...
20,484 20,518 1.11 76sw2a4vnc89j WSHINTERFACE begin FND_FLEX_WORKFLOW_APIS.S...
19,464 19,498 1.06 bf7uwg5pa3pj6 WSHINTERFACE begin FND_FLEX_WORKFLOW_APIS.V...
19,457 19,496 1.06 608c0n36kaw62 WSHINTERFACE begin FND_FLEX_WORKFLOW_APIS.C...
19,417 20,497 1.06 dcvv68fju01g4 WSHINTERFACE begin FND_FLEX_WORKFLOW_APIS.E...

Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b) Executions % Total SQL Id SQL Module SQL Text
1,093,545 97 0.07 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...

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
561.56 62.17 903.30 186.67 488 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
348.49 57.86 602.31 115.85 12,436 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
333.03 18.61 1,789.29 339.29 4 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
292.52 18.51 1,580.74 359.77 6 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
256.03 11.08 2,310.37 208.85 67 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
186.16 94.48 197.04 35.66 24,848 90b1x7g0vm4gv WSHINTERFACE SELECT SC.ATTRIBUTE1 , SC.ATT...
178.92 92.14 194.19 80.73 21,924 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
153.70 52.47 292.91 91.09 2 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
133.20 31.33 425.10 86.16 11,095 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
115.00 30.81 373.26 51.91 12,393 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
100.51 31.46 319.51 46.97 34,998 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
94.36 60.81 155.19 49.53 584 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
83.89 59.04 142.08 32.07 2 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
75.59 13.91 543.43 231.49 4,143 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
70.59 27.04 261.05 81.20 12,429 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
70.09 30.05 233.28 81.14 13,761 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
53.63 38.13 140.65 38.87 11,095 2g2hu9q4dr07c WSHFRREL SELECT DELIVERY_DETAIL_ID, SO...
48.74 25.64 190.11 8.80 432 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
48.72 13.38 364.09 136.41 4 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
47.15 38.50 122.48 41.51 12,437 gnng1rmpjxzsx WSHINTERFACE begin OE_CLOSE_WF.CLOSE_LINE (...
44.22 80.24 55.11 6.71 12,386 fr38pcatsbj6x INCTCW SELECT reservation_...
41.13 37.83 108.72 47.46 164,099 gnhmcahkmrnzs OEXOETEL INSERT INTO WF_ITEM_ACTIVITY_S...
38.31 88.65 43.21 9.95 4,019 8q8zmrwmrccz4 OEXOETEL SELECT /*+ ORDERED USE_NL(adj ...
37.36 22.62 165.13 111.14 17,950 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
35.44 45.84 77.32 18.72 25,608 fb13x9qx0ftks OEXOETEL begin OE_STANDARD_WF.OEOL_SELE...
27.23 17.80 152.96 6.07 734 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
25.27 18.71 135.07 21.56 432 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
24.47 17.21 142.20 31.29 995 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
19.99 71.02 28.15 11.28 14,171 6kd3qt5f36fdr OEXOETEL INSERT INTO WF_ITEMS ( ITEM_TY...
19.21 3.51 547.42 63.48 34,986 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
18.08 22.03 82.06 40.16 177,056 cd9mbmqyf4qhp OEXOETEL UPDATE WF_ITEM_ACTIVITY_STATUS...
15.80 34.37 45.97 15.64 11,580 gdnwgx9fcxggr OEXOETEL begin OE_SHIPPING_WF.START_SHI...
15.75 79.07 19.92 10.75 4,743 dzt4ys8ynkyrj CSXSRISR INSERT INTO CS_INCIDENTS_AUDIT...
14.46 56.13 25.76 8.04 12,424 cw171rvngr1w9 WSHINTERFACE begin OE_FLEX_COGS_PUB.GET_COS...
13.53 16.94 79.87 43.16 12 bp8crdjba8zgt ARGLTP update ra_cust_trx_line_gl_dis...
11.41 8.58 132.92 26.99 200 0qcpgw43yqj5r WSHPSRS ( SELECT DISTINCT WDD.SOURCE_L...
10.65 37.09 28.71 10.75 45 3c086a4sm741b ARXAGE select decode ( UPPER ( : p_or...
9.22 10.03 91.96 61.45 12 1du9v021t8m46 ARGLTP insert into gl_interface(creat...
8.16 55.05 14.83 5.86 1,156 3g7y3gf1w3f3k ibuSRDetails.jsp SELECT 'INTERACTION', '1', ...
7.26 46.33 15.67 12.34 9,002 36zzrb9hja4my qotSSppSalesSupplement.jsp begin jtf_icxses.updateSession...
5.13 2.76 185.48 49.46 16 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
3.76 74.27 5.06 1.70 532 9hypmc3t618sc OEXOETEL SELECT ORDERED_ITEM, ORDERED_Q...
3.46 29.40 11.78 4.40 23,894 1c0b7sas42w2z INVTTMTX SELECT NVL(ITEM_COST, 0), ...
3.21 82.85 3.88 1.33 425 14w9t0dd89367 FNDRSRUN INSERT INTO FND_CONCURRENT_REQ...
3.02 38.18 7.92 4.17 42,708 9bbak9qpg1c7x OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
2.79 45.97 6.06 3.85 27,333 2rg930brttdn3 JDBC Thin Client INSERT INTO WF_NOTIFICATION_AT...
2.77 3.48 79.57 34.97 11,562 bfbyqwbr4vwms OEXOETEL begin OE_OEOL_SCH.SCHEDULE_LIN...
2.19 44.76 4.90 3.84 58,274 91hakq9n36htp ap.oie.server.WebExpensesAM SELECT TEXT_VALUE FROM WF_ITEM...
2.19 16.25 13.48 6.87 11,095 d0a8mm8y38yaw WSHFRREL SELECT base.revision ...
2.17 3.91 55.63 18.17 51 2fr5f5xzmffd8 POXPRPOP SELECT decode ( : P_sortby , ...
2.04 1.49 137.01 87.11 33,894 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
1.93 3.10 62.21 54.15 11,460 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
1.89 58.65 3.22 1.36 318 5mgaqh04z66b7 ap.oie.server.HomePageAM SELECT * FROM (SELECT AI.DESCR...
1.86 2.02 92.12 83.64 42,244 25wzrzwd46a44 asn.lead.server.LeadUwqAM SELECT 1 FROM DUAL WHERE EXIST...
1.33 62.66 2.12 1.29 1,023 4z1g1n1wa0k2c ARXTWMAI SELECT * FROM RA_CUSTOMER_TRX ...
1.30 75.29 1.73 1.08 990 2ym6hhaq30r73   select type#, blocks, extents,...
0.90 5.69 15.80 9.42 11,584 fvcbstf9s6a5r OEXOETEL begin WF_STANDARD.WAITFORFLOW ...
0.72 64.15 1.12 0.37 97 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...
0.63 21.14 2.96 0.35 240 cqgv56fmuj63x   select owner#, name, namespace...
0.38 0.59 63.64 43.12 42 103cb1p5ufz3p ARGLTP update gl_interface i set (i....
0.37 14.08 2.61 1.19 1 d92h3rjp0y217   begin prvt_hdm.auto_execute( :...
0.32 26.13 1.23 0.45 240 8swypbbr0m372   select order#, columns, types ...
0.31 24.89 1.26 0.59 825 04xtrk7uyhknh   select obj#, type#, ctime, mti...
0.31 55.30 0.56 0.45 97 6bs3v2f0w4fw1 ARXCWMAI SELECT TRX_NUMBER, BILLING_NUM...

Back to SQL Statistics
Back to Top

 

Complete List of SQL Text

SQL Id SQL Text
04xtrk7uyhknh select obj#, type#, ctime, mtime, stime, status, dataobj#, flags, oid$, spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
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)
0qcpgw43yqj5r ( SELECT DISTINCT WDD.SOURCE_LINE_ID, WDD.SOURCE_HEADER_ID, WDD.ORGANIZATION_ID, WDD.INVENTORY_ITEM_ID, WDD.MOVE_ORDER_LINE_ID, WDD.DELIVERY_DETAIL_ID, WDD.SHIP_MODEL_COMPLETE_FLAG, WDD.TOP_MODEL_LINE_ID, WDD.SHIP_FROM_LOCATION_ID, NULL SHIP_METHOD_CODE, WDD.SHIPMENT_PRIORITY_CODE, WDD.DATE_SCHEDULED DATE_SCHEDULED, WDD.REQUESTED_QUANTITY, WDD.REQUESTED_QUANTITY_UOM, WDD.PREFERRED_GRADE, WDD.REQUESTED_QUANTITY2, WDD.REQUESTED_QUANTITY_UOM2, WDD.PROJECT_ID, WDD.TASK_ID, WDD.SUBINVENTORY FROM_SUBINVENTORY_CODE, WDD.SUBINVENTORY TO_SUBINVENTORY_CODE, WDD.RELEASED_STATUS RELEASED_STATUS, WDD.SHIP_SET_ID SHIP_SET_ID, WDD.SOURCE_CODE SOURCE_CODE, WDD.SOURCE_HEADER_NUMBER SOURCE_HEADER_NUMBER, NULL PLANNED_DEPARTURE_DATE, WDA.DELIVERY_ID, OL.END_ITEM_UNIT_NUMBER, OL.SOURCE_DOCUMENT_TYPE_ID, MSI.RESERVABLE_TYPE, WDD.LAST_UPDATE_DATE, -1 DEMAND_SOURCE_HEADER_ID, -1 OUTSTANDING_ORDER_VALUE FROM WSH_DELIVERY_DETAILS WDD, WSH_DELIVERY_ASSIGNMENTS WDA, OE_ORDER_LINES_ALL OL, MTL_SYSTEM_ITEMS MSI , MTL_CATEGORY_SETS MCS, MTL_ITEM_CATEGORIES MIC WHERE WDD.DATE_SCHEDULED IS NOT NULL AND WDA.DELIVERY_DETAIL_ID = WDD.DELIVERY_DETAIL_ID AND NVL(WDD.REQUESTED_QUANTITY, 0) > 0 AND WDD.SOURCE_LINE_ID = OL.LINE_ID AND WDD.SOURCE_CODE = 'OE' AND WDD.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID AND WDD.ORGANIZATION_ID = MSI.ORGA NIZATION_ID AND WDD.RELEASED_STATUS IN ( 'R', 'X') AND WDD.SHIP_FROM_LOCATION_ID = :X_ship_from_loc_id AND WDD.ORGANIZATION_ID = :X_org_id AND (WDA.DELIVERY_ID IS NULL ) AND (NVL(WDD.DEP_PLAN_REQUIRED_FLAG, 'N') = 'N' OR (NVL(WDD.DEP_PLAN_REQUIRED_FLAG, 'N') = 'Y' AND EXISTS ( SELECT 1 FROM WSH_NEW_DELIVERIES WDE1 WHERE WDE1.DELIVERY_ID = WDA.DELIVERY_ID AND ( NVL(WDE1.PLANNED_FLAG, 'N') IN ('Y', 'F' ) )) )) AND MCS.category_set_id = MIC.category_set_id AND MCS.category_set_id = :x_CategorySetID AND MIC.category_id = :x_CategoryID AND MIC.organization_id = WDD.organization_id AND MIC.inventory_item_id = WDD.inventory_item_id ) ORDER BY WDD.INVENTORY_ITEM_ID, DATE_SCHEDULED ASC, SHIPMENT_PRIORITY_CODE ASC, to_number(SOURCE_HEADER_NUMBER) ASC, SHIP_FROM_LOCATION_ID
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
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 ;
103cb1p5ufz3p update gl_interface i set (i.segment1, i.segment2, i.segment3, i.segment4, i.segment5, i.segment6, i.segment7, i.segment8, i.segment9, i.segment10, i.segment11, i.segment12, i.segment13, i.segment14, i.segment15, i.segment16, i.segment17, i.segment18, i.segment19, i.segment20, i.segment21, i.segment22, i.segment23, i.segment24, i.segment25, i.segment26, i.segment27, i.segment28, i.segment29, i.segment30)=(select cc.segment1 , cc.segment2 , cc.segment3 , cc.segment4 , cc.segment5 , cc.segment6 , cc.segment7 , cc.segment8 , cc.segment9 , cc.segment10 , cc.segment11 , cc.segment12 , cc.segment13 , cc.segment14 , cc.segment15 , cc.segment16 , cc.segment17 , cc.segment18 , cc.segment19 , cc.segment20 , cc.segment21 , cc.segment22 , cc.segment23 , cc.segment24 , cc.segment25 , cc.segment26 , cc.segment27 , cc.segment28 , cc.segment29 , cc.segment30 from gl_code_combinations cc where (cc.code_combination_id=i.code_combination_id and cc.chart_of_accounts_id=:b0)) where (((i.user_je_source_name=:b1 and i.set_of_books_id=:b2) and i.group_id=:b3) and i.accounting_date between to_date((:b4||' 00:00:00'), 'DD-MON-RR HH24:MI:SS') and to_date((:b5||' 23:59:59'), 'DD-MON-RR HH24:MI:SS'))
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
1du9v021t8m46 insert into gl_interface(created_by, date_created, status, actual_flag, group_id, set_of_books_id, user_je_source_name, user_je_category_name, accounting_date, subledger_doc_sequence_id, subledger_doc_sequence_value, ussgl_transaction_code, currency_code, code_combination_id, entered_dr, entered_cr, accounted_dr, accounted_cr, reference1, reference10, reference21, reference22, reference23, reference24, reference25, reference26, reference27, reference28, reference29, reference30, request_id)select /*+ ORDERED USE_NL (l ctlgd ct ctt cust) INDEX (ctlgd, RA_CUST_TRX_LINE_GL_DIST_N5) +*/ :b0 created_by , trunc(sysdate ) date_created , :b1 status , :b2 actual_flag , :b3 group_id , :b4 sob_id , :b5 source_name , decode(ctt.type, 'CM', :b6, 'DM', :b7, 'CB', :b8, :b9) category , ctlgd.gl_date gl_date , ct.doc_sequence_id doc_seqid , ct.doc_sequence_value doc_num , ctlgd.ussgl_transaction_code ussgl , ct.invoice_currency_code currency , ctlgd.code_combination_id ccid , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), null , nvl(ctlgd.amount, 0)), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), (-nvl(ctlgd.amount, 0)), null ), decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.amount, 0)), null )) entered_dr , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.amount, 0)), null ), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), null , nvl(ctlgd.amount, 0)), decode(sign(nvl(ctlgd.amount , 0)), (-1), null , nvl(ctlgd.amount, 0))) entered_cr , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), null , nvl(ctlgd.acctd_amount, 0)), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), (-nvl(ctlgd.acctd_amount, 0)), null ), decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.acctd_amount, 0)), null )) acctd_dr , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.acctd_amount, 0)), null ), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), null , nvl(ctlgd.acctd_amount, 0)), decode(sign(nvl(ctlgd.amount, 0)), (-1), null , nvl(ctlgd.acctd_amount, 0))) acctd_cr , (:b10||to_char(:b3)) ref1 , decode(:b12, 'Y', null , ((((((l.meaning||' ')||:b13)||decode(ctt.type, 'CB', :b14, 'CM', :b15, 'DEP', :b16, 'DM', :b17, 'GUAR', :b18, 'INV', :b19, null ))||' ')||ct.trx_number)||:b20)) ref10 , to_char(:b3) ref21 , to_char(ct.customer_trx_id) ref22 , to_char(ctlgd.cust_trx_line_gl_dist_id) ref23 , ct.trx_number ref24 , cust.account_number ref25 , 'CUSTOMER' ref26 , to_char(ct.bill_to_customer_id) ref27 , decode(ctt.type, 'CM', 'CM', 'DM', 'DM', 'CB', 'CB', 'INV') ref28 , (decode(ctt.type, 'CM', 'CM_', 'DM', 'DM_', 'CB', 'CB_', 'INV_')||ctlgd.account_class) ref29 , 'RA_CUST_TRX_LINE_GL_DIST' ref30 , :b22 from ra_cust_trx_line_gl_dist ctlgd , ra_cust_trx_line_gl_dist rec , ar_lookups l , ra_customer_trx ct , ra_cust_trx_types ctt , hz_cust_accounts cust where ((((((((((((((((ctlgd.cust_trx_line_gl_dist_id+0)<: b23 and ctlgd.gl_date between to_date((:b24||' 00:00:00'), 'DD-MON-RR HH24:MI:SS') and to_date((:b25||' 23:59:59'), 'DD-MON-RR HH24:MI:SS')) and ctlgd.posting_control_id=(-3)) and ctlgd.set_of_books_id=:b4) and ctlgd.account_set_flag='N') and ctlgd.customer_trx_id=ct.customer_trx_id) and l.lookup_type='AUTOGL_TYPE') and l.lookup_code=nvl(ctlgd.account_class, 'REV')) and ct.complete_flag='Y') and ct.bill_to_customer_id=cust.cust_account_id) and ct.cust_trx_type_id=ctt.cust_trx_type_id) and ctlgd.customer_trx_id=rec.customer_trx_id) and rec.account_class='REC') and rec.latest_rec_flag='Y') and rec.account_set_flag='N') and 'NOT_MFAR_TYPE'=AR_MFAR_PKG.ar_mfar_trx_post(ctlgd.customer_trx_id, :b0, :b1, :b2, :b3, :b4, :b5, :b6, :b7, :b8, :b9, :b10, :b12, :b13, :b20, :b14, :b15, :b17, :b16, :b18, :b19, :b24, :b25, :b23))
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
2rg930brttdn3 INSERT INTO WF_NOTIFICATION_ATTRIBUTES ( NOTIFICATION_ID, NAME, TEXT_VALUE, NUMBER_VALUE, DATE_VALUE, EVENT_VALUE ) VALUES ( :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
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;
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 )
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;
6bs3v2f0w4fw1 SELECT TRX_NUMBER, BILLING_NUMBER, TERMS_SEQUENCE_NUMBER, CLASS, DAYS_PAST_DUE, DUE_DATE, INVOICE_CURRENCY_CODE, AMOUNT_DUE_ORIGINAL, AMOUNT_DUE_REMAINING, AL_STATUS_MEANING, COMMENTS, AMOUNT_IN_DISPUTE, DISPUTE_DATE, RAT_TERM_NAME, DUNNING_DATE_LAST, DUE_DAYS, RECEIPT_CONFIRMED_FLAG, AL_SELECTED_FOR_RECEIPT_CODE, CT_PURCHASE_ORDER, DOC_SEQUENCE_VALUE, TYPE_NAME, BS_BATCH_SOURCE_NAME, SU_LOCATION, RAC_CUSTOMER_NAME, RAC_CUSTOMER_NUMBER, GL_DATE, FOLLOW_UP_DATE_LAST, PROMISE_DATE_LAST, PROMISE_AMOUNT_LAST, COLLECTOR_LAST, CALL_DATE_LAST, STATE, DISCOUNT_TAKEN_UNEARNED, DISCOUNT_TAKEN_EARNED, AMOUNT_CREDITED, AMOUNT_APPLIED, RECEIVABLES_CHARGES_REMAINING, RECEIVABLES_CHARGES_CHARGED, AMOUNT_ADJUSTED_PENDING, AMOUNT_ADJUSTED, FREIGHT_REMAINING, FREIGHT_ORIGINAL, TAX_REMAINING, TAX_ORIGINAL, AMOUNT_LINE_ITEMS_REMAINING, AMOUNT_LINE_ITEMS_ORIGINAL, GL_DATE_CLOSED, ACTUAL_DATE_CLOSED, ACCTD_AMOUNT_DUE_REMAINING, TRX_DATE, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, 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, CHARGEBACK_BATCH_SOURCE, CHARGEBACK_INVOICE_NUM, EXCHANGE_RATE, STAGED_DUNNING_LEVEL, REMITTANCE_METHOD, DUNNING_LEVEL_OVERRIDE_DATE, PAYMENT_SCHEDULE_ID, ROW_ID, CUSTOMER_ID, CUSTOMER_TRX_ID, CUSTOMER_SITE_USE_ID, CUST_TRX_TYPE_ID, CONS_INV_ID, STATUS, CASH_RECEIPT_ID, CT_PREVIOUS_CUSTOMER_TRX_ID, 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, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN FROM AR_PAYMENT_SCHEDULES_V WHERE (CUSTOMER_ID=:1)
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;
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 )
8camsgjsr9zya begin OE_TRANSACTION_TYPES_PKG.Val_Ord_Change( :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;
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
8swypbbr0m372 select order#, columns, types from access$ where d_obj#=:1
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;
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;
bp8crdjba8zgt update ra_cust_trx_line_gl_dist set gl_posted_date=:b0, posting_control_id=:b1, last_update_date=sysdate , last_updated_by=:b2 where (cust_trx_line_gl_dist_id in (select to_number(reference23) from gl_interface where ((((user_je_source_name=:b3 and set_of_books_id=:b4) and group_id=:b1) and (reference30||'')='RA_CUST_TRX_LINE_GL_DIST') and accounting_date between to_date((:b6||' 00:00:00'), 'DD-MON-RR HH24:MI:SS') and to_date((:b7||' 23:59:59'), 'DD-MON-RR HH24:MI:SS'))) and set_of_books_id=:b4)
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
cqgv56fmuj63x select owner#, name, namespace, remoteowner, linkname, p_timestamp, p_obj#, nvl(property, 0), subname, d_attrs from dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order#
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
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
fvcbstf9s6a5r begin WF_STANDARD.WAITFORFLOW (:v1, :v2, :v3, :v4, :v5); end;
g8102j8yynbwz begin WF_STANDARD.CONTINUEFLOW (:v1, :v2, :v3, :v4, :v5); end;
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 395,474 108.20 1.76
CPU used when call started 394,869 108.03 1.76
CR blocks created 1,339,218 366.39 5.96
Cached Commit SCN referenced 39,048 10.68 0.17
Commit SCN cached 147 0.04 0.00
DB time 6,003,744 1,642.56 26.73
DBWR checkpoint buffers written 119,056 32.57 0.53
DBWR checkpoints 176 0.05 0.00
DBWR fusion writes 61,743 16.89 0.27
DBWR object drop buffers written 3,866 1.06 0.02
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR transaction table writes 466 0.13 0.00
DBWR undo block writes 242,507 66.35 1.08
DFO trees parallelized 73 0.02 0.00
IPC CPU used by this session 117,295 32.09 0.52
PX local messages recv'd 1,244 0.34 0.01
PX local messages sent 1,244 0.34 0.01
PX remote messages recv'd 2,861 0.78 0.01
PX remote messages sent 1,441 0.39 0.01
Parallel operations not downgraded 73 0.02 0.00
RowCR - row contention 4,765 1.30 0.02
RowCR attempts 3,160,203 864.60 14.07
RowCR hits 3,132,911 857.13 13.95
SMON posted for undo segment shrink 50 0.01 0.00
SQL*Net roundtrips to/from client 9,100,848 2,489.89 40.52
active txn count during cleanout 4,447,398 1,216.76 19.80
application wait time 40,276 11.02 0.18
background checkpoints completed 2 0.00 0.00
background checkpoints started 2 0.00 0.00
background timeouts 12,903 3.53 0.06
branch node splits 113 0.03 0.00
buffer is not pinned count 164,174,713 44,916.32 731.02
buffer is pinned count 233,814,775 63,969.04 1,041.10
bytes received via SQL*Net from client 1,997,774,557 546,568.20 8,895.44
bytes sent via SQL*Net to client 1,606,654,889 439,562.35 7,153.92
calls to get snapshot scn: kcmgss 19,568,688 5,353.77 87.13
calls to kcmgas 3,520,593 963.19 15.68
calls to kcmgcs 762,548 208.62 3.40
change write time 20,610 5.64 0.09
cleanout - number of ktugct calls 2,103,255 575.43 9.37
cleanouts and rollbacks - consistent read gets 1,221,424 334.17 5.44
cleanouts only - consistent read gets 51,362 14.05 0.23
cluster key scan block gets 136,970 37.47 0.61
cluster key scans 37,989 10.39 0.17
cluster wait time 405,030 110.81 1.80
commit batch/immediate performed 1,147 0.31 0.01
commit batch/immediate requested 1,147 0.31 0.01
commit cleanout failures: block lost 59,237 16.21 0.26
commit cleanout failures: buffer being written 9 0.00 0.00
commit cleanout failures: callback failure 8,923 2.44 0.04
commit cleanout failures: cannot pin 355 0.10 0.00
commit cleanouts 1,544,157 422.46 6.88
commit cleanouts successfully completed 1,475,633 403.72 6.57
commit immediate performed 1,147 0.31 0.01
commit immediate requested 1,147 0.31 0.01
commit txn count during cleanout 212,874 58.24 0.95
concurrency wait time 65,536 17.93 0.29
consistent changes 33,188,032 9,079.86 147.78
consistent gets 273,674,730 74,874.27 1,218.59
consistent gets - examination 112,137,874 30,679.64 499.31
consistent gets direct 0 0.00 0.00
consistent gets from cache 273,661,108 74,870.54 1,218.52
current blocks converted for CR 24 0.01 0.00
cursor authentications 604 0.17 0.00
data blocks consistent reads - undo records applied 32,212,313 8,812.92 143.43
db block changes 29,090,669 7,958.87 129.53
db block gets 31,863,063 8,717.37 141.88
db block gets direct 1,001 0.27 0.00
db block gets from cache 31,862,062 8,717.09 141.87
deferred (CURRENT) block cleanout applications 288,508 78.93 1.28
dirty buffers inspected 220,463 60.32 0.98
enqueue conversions 4,417 1.21 0.02
enqueue releases 894,435 244.71 3.98
enqueue requests 896,587 245.30 3.99
enqueue timeouts 2,071 0.57 0.01
enqueue waits 26,349 7.21 0.12
exchange deadlocks 818 0.22 0.00
execute count 17,368,208 4,751.74 77.34
failed probes on index block reclamation 1,617 0.44 0.01
free buffer inspected 2,176,781 595.54 9.69
free buffer requested 3,757,949 1,028.13 16.73
gc CPU used by this session 62,161 17.01 0.28
gc cr block build time 1,458 0.40 0.01
gc cr block flush time 14,629 4.00 0.07
gc cr block receive time 227,973 62.37 1.02
gc cr block send time 2,160 0.59 0.01
gc cr blocks received 883,752 241.78 3.94
gc cr blocks served 846,326 231.55 3.77
gc current block flush time 806 0.22 0.00
gc current block pin time 7,038 1.93 0.03
gc current block receive time 98,244 26.88 0.44
gc current block send time 1,092 0.30 0.00
gc current blocks received 454,719 124.41 2.02
gc current blocks served 414,438 113.39 1.85
gcs messages sent 2,405,139 658.02 10.71
ges messages sent 109,460 29.95 0.49
global enqueue CPU used by this session 7,034 1.92 0.03
global enqueue get time 60,721 16.61 0.27
global enqueue gets async 25,292 6.92 0.11
global enqueue gets sync 2,340,454 640.32 10.42
global enqueue releases 2,325,483 636.23 10.35
heap block compress 927,153 253.66 4.13
hot buffers moved to head of LRU 841,895 230.33 3.75
immediate (CR) block cleanout applications 1,272,820 348.23 5.67
immediate (CURRENT) block cleanout applications 173,195 47.38 0.77
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 34,021,721 9,307.95 151.49
index scans kdiixs1 27,435,742 7,506.10 122.16
java call heap collected bytes 280,963,872 76,868.49 1,251.04
java call heap collected count 3,511,686 960.76 15.64
java call heap gc count 952 0.26 0.00
java call heap live object count 346,230 94.72 1.54
java call heap live object count max 363,781 99.53 1.62
java call heap live size 114,193,104 31,241.92 508.47
java call heap live size max 117,535,104 32,156.26 523.35
java call heap object count 794,522 217.37 3.54
java call heap object count max 798,116 218.36 3.55
java call heap total size 156,663,296 42,861.28 697.57
java call heap total size max 161,133,056 44,084.16 717.47
java call heap used size 143,969,808 39,388.49 641.05
java call heap used size max 145,947,008 39,929.43 649.85
leaf node 90-10 splits 1,851 0.51 0.01
leaf node splits 32,617 8.92 0.15
lob reads 24,503 6.70 0.11
lob writes 30,031 8.22 0.13
lob writes unaligned 30,031 8.22 0.13
logons cumulative 2,774 0.76 0.01
messages received 308,648 84.44 1.37
messages sent 308,648 84.44 1.37
no buffer to keep pinned count 80 0.02 0.00
no work - consistent read gets 129,137,604 35,330.57 575.01
opened cursors cumulative 1,286,494 351.97 5.73
parse count (failures) 677 0.19 0.00
parse count (hard) 5,013 1.37 0.02
parse count (total) 1,838,613 503.02 8.19
parse time cpu 17,945 4.91 0.08
parse time elapsed 58,271 15.94 0.26
physical read IO requests 216,376 59.20 0.96
physical read bytes 1,863,720,960 509,892.68 8,298.55
physical read total IO requests 225,204 61.61 1.00
physical read total bytes 2,006,919,168 549,070.06 8,936.16
physical read total multi block requests 1,869 0.51 0.01
physical reads 227,526 62.25 1.01
physical reads cache 227,099 62.13 1.01
physical reads cache prefetch 11,260 3.08 0.05
physical reads direct 406 0.11 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 239,918 65.64 1.07
physical write bytes 4,131,192,832 1,130,246.97 18,394.87
physical write total IO requests 451,872 123.63 2.01
physical write total bytes 9,057,597,440 2,478,054.76 40,330.56
physical write total multi block requests 264,557 72.38 1.18
physical writes 504,296 137.97 2.25
physical writes direct 1,167 0.32 0.01
physical writes direct (lob) 638 0.17 0.00
physical writes direct temporary tablespace 320 0.09 0.00
physical writes from cache 503,129 137.65 2.24
physical writes non checkpoint 436,719 119.48 1.94
pinned buffers inspected 8,327 2.28 0.04
prefetch warmup blocks aged out before use 0 0.00 0.00
prefetched blocks aged out before use 36 0.01 0.00
process last non-idle time 3,653 1.00 0.02
queries parallelized 73 0.02 0.00
recursive aborts on index block reclamation 1 0.00 0.00
recursive calls 29,695,733 8,124.41 132.23
recursive cpu usage 276,001 75.51 1.23
redo blocks written 9,451,864 2,585.92 42.09
redo buffer allocation retries 15 0.00 0.00
redo entries 15,211,387 4,161.66 67.73
redo log space requests 15 0.00 0.00
redo log space wait time 115 0.03 0.00
redo ordering marks 231,054 63.21 1.03
redo size 4,619,599,348 1,263,869.39 20,569.58
redo synch time 31,645 8.66 0.14
redo synch writes 410,290 112.25 1.83
redo wastage 60,349,280 16,510.87 268.72
redo write time 11,631 3.18 0.05
redo writer latching time 5,078 1.39 0.02
redo writes 204,989 56.08 0.91
rollback changes - undo records applied 48,193 13.19 0.21
rollbacks only - consistent read gets 132,680 36.30 0.59
rows fetched via callback 21,015,750 5,749.67 93.58
session connect time 0 0.00 0.00
session cursor cache hits 985,284 269.56 4.39
session logical reads 305,537,792 83,591.64 1,360.46
session pga memory 2,134,553,720 583,989.41 9,504.48
session pga memory max 2,488,091,704 680,713.35 11,078.67
session uga memory 1,794,963,872 491,081.53 7,992.39
session uga memory max 19,573,187,016 5,354,999.45 87,153.08
shared hash latch upgrades - no wait 29,407,687 8,045.61 130.94
shared hash latch upgrades - wait 17,657 4.83 0.08
sorts (memory) 2,015,417 551.39 8.97
sorts (rows) 23,872,866 6,531.34 106.30
sql area evicted 602 0.16 0.00
sql area purged 1,359 0.37 0.01
summed dirty queue length 866,876 237.17 3.86
switch current to new buffer 397,706 108.81 1.77
table fetch by rowid 164,604,377 45,033.87 732.93
table fetch continued row 2,311,747 632.47 10.29
table scan blocks gotten 24,339,137 6,658.91 108.37
table scan rows gotten 800,424,534 218,986.97 3,564.03
table scans (direct read) 0 0.00 0.00
table scans (long tables) 94 0.03 0.00
table scans (rowid ranges) 89 0.02 0.00
table scans (short tables) 1,129,783 309.10 5.03
total number of times SMON posted 13,865 3.79 0.06
transaction lock background gets 26 0.01 0.00
transaction lock foreground requests 26 0.01 0.00
transaction lock foreground wait time 0 0.00 0.00
transaction rollbacks 1,147 0.31 0.01
transaction tables consistent read rollbacks 17 0.00 0.00
transaction tables consistent reads - undo records applied 1,097 0.30 0.00
undo change vector size 1,692,741,468 463,114.65 7,537.23
user I/O wait time 95,612 26.16 0.43
user calls 8,780,093 2,402.13 39.09
user commits 179,346 49.07 0.80
user rollbacks 45,238 12.38 0.20
workarea executions - optimal 1,187,418 324.86 5.29
write clones created in background 982 0.27 0.00
write clones created in foreground 90 0.02 0.00

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

Statistic Begin Value End Value
session cursor cache count 107,361 310,787
opened cursors current 228,981 277,391
logons current 1,122 1,119

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_TS_TX_DATA 92,170 25 4.40 1.05 31,644 9 3,329 6.60
APPS_UNDOTS2 115 0 7.91 1.00 95,359 26 3,581 13.50
APPS_TS_TX_IDX 48,738 13 4.83 1.00 45,679 12 3,869 9.32
APPS_ASSM_DATA 48,597 13 3.48 1.06 29,232 8 3,264 15.05
APPS_ASSM_IDX 12,729 3 5.86 1.00 20,922 6 9,101 14.93
APPS_TS_TX_INTERFACE 4,306 1 3.67 1.32 5,102 1 205 11.95
TEMPTS2 1,584 0 3.40 1.17 6,458 2 21 6.19
SYSTEM 3,551 1 5.15 1.49 1,823 0 799 31.98
APPS_TS_SEED 3,508 1 5.43 1.02 1,065 0 76 3.29
APPS_TS_QUEUES 219 0 5.25 1.13 850 0 6 6.67
SYSAUX 377 0 3.18 1.15 668 0 1 0.00
APPS_TS_ARCHIVE 231 0 6.49 1.00 631 0 37 11.35
APPS_TS_SUMMARY 98 0 12.35 1.00 233 0 5 2.00
APPS_TS_NOLOGGING 63 0 14.44 1.00 152 0 0 0.00
APPS_UNDOTS1 40 0 24.00 1.00 12 0 42,091 5.95
APPS_TS_MEDIA 12 0 55.00 1.00 8 0 0 0.00
OWAPUB 16 0 20.00 1.00 4 0 0 0.00
PORTAL 16 0 20.00 1.00 4 0 0 0.00
ODM 8 0 42.50 1.00 4 0 0 0.00
OLAP 8 0 42.50 1.00 4 0 0 0.00
SYNCSERVER 8 0 42.50 1.00 4 0 0 0.00
CTXSYS 6 0 55.00 1.00 4 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 48,597 13 3.48 1.06 29,232 8 3,264 15.05
APPS_ASSM_IDX /oasb_data/apps_assm_idx.dbf 12,729 3 5.86 1.00 20,922 6 9,101 14.93
APPS_TS_ARCHIVE /oasb_data/archive1.dbf 92 0 7.83 1.00 206 0 1 0.00
APPS_TS_ARCHIVE /oasb_data/archive2.dbf 76 0 5.53 1.00 281 0 24 15.00
APPS_TS_ARCHIVE /oasb_data/archive3.dbf 63 0 5.71 1.00 144 0 12 5.00
APPS_TS_MEDIA /oasb_data/media1.dbf 4 0 42.50 1.00 2 0 0 0.00
APPS_TS_MEDIA /oasb_data/media2.dbf 4 0 42.50 1.00 2 0 0 0.00
APPS_TS_MEDIA /oasb_data/media3.dbf 2 0 80.00 1.00 2 0 0 0.00
APPS_TS_MEDIA /oasb_data/media4.dbf 2 0 80.00 1.00 2 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging1.dbf 42 0 15.48 1.00 76 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging2.dbf 21 0 12.38 1.00 76 0 0 0.00
APPS_TS_QUEUES /oasb_data/queues1.dbf 34 0 7.65 1.00 230 0 2 0.00
APPS_TS_QUEUES /oasb_data/queues2.dbf 120 0 4.42 1.18 415 0 4 10.00
APPS_TS_QUEUES /oasb_data/queues3.dbf 65 0 5.54 1.11 205 0 0 0.00
APPS_TS_SEED /oasb_data/reference1.dbf 1,024 0 4.88 1.05 274 0 31 2.58
APPS_TS_SEED /oasb_data/reference2.dbf 986 0 5.09 1.03 262 0 44 3.86
APPS_TS_SEED /oasb_data/reference3.dbf 1,498 0 6.02 1.00 529 0 1 0.00
APPS_TS_SUMMARY /oasb_data/summary1.dbf 33 0 6.97 1.00 117 0 3 3.33
APPS_TS_SUMMARY /oasb_data/summary2.dbf 6 0 28.33 1.00 2 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary3.dbf 14 0 14.29 1.00 36 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary4.dbf 4 0 42.50 1.00 2 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary5.dbf 25 0 10.00 1.00 27 0 2 0.00
APPS_TS_SUMMARY /oasb_data/summary6.dbf 16 0 11.88 1.00 49 0 0 0.00
APPS_TS_TX_DATA /oasb_data/tx_data1.dbf 4,788 1 4.59 1.09 2,309 1 472 4.47
APPS_TS_TX_DATA /oasb_data/tx_data10.dbf 4,467 1 4.36 1.09 1,892 1 230 4.26
APPS_TS_TX_DATA /oasb_data/tx_data11.dbf 4,637 1 4.39 1.09 1,679 0 331 17.34
APPS_TS_TX_DATA /oasb_data/tx_data12.dbf 40,755 11 4.34 1.00 7,947 2 227 7.44
APPS_TS_TX_DATA /oasb_data/tx_data2.dbf 5,129 1 4.46 1.09 2,273 1 239 2.55
APPS_TS_TX_DATA /oasb_data/tx_data3.dbf 4,974 1 4.56 1.08 2,403 1 238 8.61
APPS_TS_TX_DATA /oasb_data/tx_data4.dbf 4,830 1 4.26 1.08 2,534 1 324 9.44
APPS_TS_TX_DATA /oasb_data/tx_data5.dbf 3,288 1 4.31 1.13 2,279 1 275 4.51
APPS_TS_TX_DATA /oasb_data/tx_data6.dbf 4,584 1 4.58 1.10 1,936 1 236 4.19
APPS_TS_TX_DATA /oasb_data/tx_data7.dbf 5,411 1 4.31 1.08 2,494 1 258 3.99
APPS_TS_TX_DATA /oasb_data/tx_data8.dbf 4,647 1 4.29 1.09 1,989 1 245 4.65
APPS_TS_TX_DATA /oasb_data/tx_data9.dbf 4,660 1 4.72 1.09 1,909 1 254 5.24
APPS_TS_TX_IDX /oasb_data/tx_idx1.dbf 2,256 1 4.57 1.00 2,943 1 1,244 7.60
APPS_TS_TX_IDX /oasb_data/tx_idx10.dbf 1,939 1 5.23 1.00 1,857 1 105 13.14
APPS_TS_TX_IDX /oasb_data/tx_idx11.dbf 1,808 0 5.11 1.00 1,758 0 279 19.78
APPS_TS_TX_IDX /oasb_data/tx_idx12.dbf 24,883 7 4.93 1.00 11,141 3 396 11.77
APPS_TS_TX_IDX /oasb_data/tx_idx13.dbf 1,708 0 5.73 1.00 2,974 1 112 10.45
APPS_TS_TX_IDX /oasb_data/tx_idx2.dbf 1,899 1 4.68 1.00 2,980 1 404 5.82
APPS_TS_TX_IDX /oasb_data/tx_idx3.dbf 1,534 0 4.60 1.00 2,521 1 223 11.17
APPS_TS_TX_IDX /oasb_data/tx_idx4.dbf 1,940 1 4.09 1.00 3,489 1 236 8.47
APPS_TS_TX_IDX /oasb_data/tx_idx5.dbf 1,934 1 4.49 1.00 3,618 1 242 6.98
APPS_TS_TX_IDX /oasb_data/tx_idx6.dbf 2,028 1 4.82 1.00 3,874 1 178 7.87
APPS_TS_TX_IDX /oasb_data/tx_idx7.dbf 2,611 1 4.45 1.00 3,827 1 207 10.68
APPS_TS_TX_IDX /oasb_data/tx_idx8.dbf 2,158 1 4.30 1.00 2,679 1 127 7.01
APPS_TS_TX_IDX /oasb_data/tx_idx9.dbf 2,040 1 4.83 1.00 2,018 1 116 7.41
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface.dbf 2,787 1 4.05 1.25 1,049 0 18 7.78
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface1.dbf 1,519 0 2.98 1.46 4,053 1 187 12.35
APPS_UNDOTS1 /oasb_data/undo01.dbf 2 0 80.00 1.00 2 0 6,794 5.02
APPS_UNDOTS1 /oasb_data/undo02.dbf 6 0 26.67 1.00 2 0 49 4.90
APPS_UNDOTS1 /oasb_data/undo03.dbf 3 0 53.33 1.00 2 0 4,991 5.82
APPS_UNDOTS1 /oasb_data/undo04.dbf 7 0 22.86 1.00 2 0 1,264 5.52
APPS_UNDOTS1 /oasb_data/undo05.dbf 12 0 13.33 1.00 2 0 28,933 6.22
APPS_UNDOTS1 /oasb_data/undo06.dbf 10 0 16.00 1.00 2 0 60 5.67
APPS_UNDOTS2 /oasb_data/undo01_2.dbf 17 0 10.59 1.00 16,626 5 697 14.42
APPS_UNDOTS2 /oasb_data/undo02_2.dbf 13 0 12.31 1.00 14,965 4 601 12.15
APPS_UNDOTS2 /oasb_data/undo03_2.dbf 16 0 10.00 1.00 16,794 5 661 13.77
APPS_UNDOTS2 /oasb_data/undo04_2.dbf 20 0 10.00 1.00 14,550 4 456 12.59
APPS_UNDOTS2 /oasb_data/undo05_2.dbf 30 0 5.67 1.00 16,718 5 610 13.03
APPS_UNDOTS2 /oasb_data/undo06_2.dbf 19 0 2.11 1.00 15,706 4 556 14.78
CTXSYS /oasb_data/ctx1.dbf 2 0 80.00 1.00 2 0 0 0.00
CTXSYS /oasb_data/ctx2.dbf 4 0 42.50 1.00 2 0 0 0.00
ODM /oasb_data/odm.dbf 4 0 42.50 1.00 2 0 0 0.00
ODM /oasb_data/odm2.dbf 4 0 42.50 1.00 2 0 0 0.00
OLAP /oasb_data/olap.dbf 4 0 42.50 1.00 2 0 0 0.00
OLAP /oasb_data/olap2.dbf 4 0 42.50 1.00 2 0 0 0.00
OWAPUB /oasb_data/owa1.dbf 8 0 20.00 1.00 2 0 0 0.00
OWAPUB /oasb_data/owa2.dbf 8 0 20.00 1.00 2 0 0 0.00
PORTAL /oasb_data/portal.dbf 8 0 20.00 1.00 2 0 0 0.00
PORTAL /oasb_data/portal2.dbf 8 0 20.00 1.00 2 0 0 0.00
SYNCSERVER /oasb_data/mobile01.dbf 4 0 42.50 1.00 2 0 0 0.00
SYNCSERVER /oasb_data/mobile02.dbf 4 0 42.50 1.00 2 0 0 0.00
SYSAUX /oasb_data/sysaux01.dbf 286 0 2.94 1.19 356 0 1 0.00
SYSAUX /oasb_data/sysaux02.dbf 91 0 3.96 1.00 312 0 0 0.00
SYSTEM /oasb_data/sys1.dbf 497 0 5.23 1.66 239 0 0 0.00
SYSTEM /oasb_data/sys2.dbf 488 0 5.00 1.60 307 0 240 20.13
SYSTEM /oasb_data/sys3.dbf 602 0 4.75 1.36 141 0 1 0.00
SYSTEM /oasb_data/sys4.dbf 423 0 4.85 1.51 240 0 2 285.00
SYSTEM /oasb_data/sys5.dbf 420 0 5.33 1.55 116 0 0 0.00
SYSTEM /oasb_data/sys6.dbf 725 0 5.39 1.33 536 0 212 57.26
SYSTEM /oasb_data/sys7.dbf 396 0 5.48 1.55 244 0 344 23.28
TEMPTS2 /oasb_data/tmp01_2.dbf 544 0 2.35 1.00 3,042 1 10 7.00
TEMPTS2 /oasb_data/tmp02_2.dbf 518 0 5.42 1.53 1,271 0 3 6.67
TEMPTS2 /oasb_data/tmp1_2.dbf 522 0 2.49 1.00 2,145 1 8 5.00

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,205,868 227,099 503,129 0 0 66,390


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 49 16933 336349 701709 14743710 701709  
E 0 71 18872 447952 2975395 14743710 2975395  

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 93,837 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 384 8,676.96 1.18 0.01 100.00 0.00 629,140
E 6,144 384 10,722.21 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 1,092,552 1,092,552 0 0
64K 128K 837 837 0 0
128K 256K 236 236 0 0
256K 512K 136 136 0 0
512K 1024K 32,854 32,854 0 0
1M 2M 59,933 59,933 0 0
2M 4M 11 11 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 126,686.80 3,206.93 98.00 724
1,536 0.25 126,686.80 3,183.24 98.00 711
3,072 0.50 126,686.80 3,114.82 98.00 681
4,608 0.75 126,686.80 3,018.97 98.00 643
6,144 1.00 126,686.80 0.00 100.00 587
7,373 1.20 126,686.80 0.00 100.00 365
8,602 1.40 126,686.80 0.00 100.00 0
9,830 1.60 126,686.80 0.00 100.00 0
11,059 1.80 126,686.80 0.00 100.00 0
12,288 2.00 126,686.80 0.00 100.00 0
18,432 3.00 126,686.80 0.00 100.00 0
24,576 4.00 126,686.80 0.00 100.00 0
36,864 6.00 126,686.80 0.00 100.00 0
49,152 8.00 126,686.80 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 194 10,475 287,070 0.97 8,898 10.30 24,769,503
1,024 0.68 322 13,603 295,097 1.00 871 1.01 25,198,427
1,184 0.79 481 16,969 295,102 1.00 866 1.00 25,199,477
1,344 0.89 640 27,652 295,104 1.00 864 1.00 25,199,714
1,504 1.00 664 30,065 295,104 1.00 864 1.00 25,199,714
1,664 1.11 664 30,065 295,104 1.00 864 1.00 25,199,714
1,824 1.21 664 30,065 295,104 1.00 864 1.00 25,199,714
1,984 1.32 664 30,065 295,104 1.00 864 1.00 25,199,714
2,144 1.43 664 30,065 295,104 1.00 864 1.00 25,199,714
2,304 1.53 664 30,065 295,104 1.00 864 1.00 25,199,714
2,464 1.64 664 30,065 295,104 1.00 864 1.00 25,199,714
2,624 1.74 664 30,065 295,104 1.00 864 1.00 25,199,714
2,784 1.85 664 30,065 295,104 1.00 864 1.00 25,199,714
2,944 1.96 664 30,065 295,104 1.00 864 1.00 25,199,714
3,104 2.06 664 30,065 295,104 1.00 864 1.00 25,199,714

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 361 211 1.00 864 1.00 2,911
32 0.50 17 361 211 1.00 864 1.00 2,911
48 0.75 17 361 211 1.00 864 1.00 2,911
64 1.00 17 361 211 1.00 864 1.00 2,911
80 1.25 17 361 211 1.00 864 1.00 2,911
96 1.50 17 361 211 1.00 864 1.00 2,911
112 1.75 17 361 211 1.00 864 1.00 2,911
128 2.00 17 361 211 1.00 864 1.00 2,911

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 20,212 267 13
undo header 42,463 261 6
undo block 3,210 38 12
1st level bmb 291 3 11
2nd level bmb 116 1 9
segment header 66 1 9
file header block 21 0 6
extent map 6 0 2
system undo header 1 0 0

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 19,107 19,016 88 9,421 383 40.66
TX-Transaction (index contention) 4,442 4,441 0 2,718 90 32.99
HW-Segment High Water Mark 52,300 52,299 1 3,933 20 5.15
TX-Transaction (row lock contention) 2,140 166 1,974 219 16 74.74
FB-Format Block 4,920 4,920 0 2,785 12 4.47
US-Undo Segment 7,199 7,199 0 4,285 9 2.18
SQ-Sequence Cache 2,052 2,052 0 58 4 69.81
RO-Multiple Object Reuse (fast object reuse) 1,296 1,296 0 362 3 9.23
DV-Diana Versioning 5,927 5,927 0 1,482 3 1.90
TX-Transaction 227,288 227,293 0 129 3 19.88
WF-AWR Flush 24 24 0 19 1 75.68
TM-DML 398,462 398,411 0 141 1 5.90
PS-PX Process Reservation 650 642 8 262 1 2.56
CF-Controlfile Transaction 5,879 5,879 0 164 0 2.68
TS-Temporary Segment 280 280 0 120 0 3.02
TT-Tablespace 44,158 44,158 0 114 0 1.91
MD-Materialized View Log DDL 41 41 0 19 0 8.53
TO-Temp Object 9,548 9,548 0 32 0 1.78
IR-Instance Recovery 1,123 1,123 0 13 0 4.00
DL-Direct Loader Index Creation 160 160 0 18 0 2.83
TD-KTF map table enqueue (KTF dump entries) 12 12 0 12 0 2.17
TA-Instance Undo 24 24 0 18 0 1.28
TX-Transaction (allocate ITL entry) 40 40 0 13 0 1.54
KM-Scheduler 47,497 47,497 0 7 0 1.14
DR-Distributed Recovery 2 2 0 2 0 1.50
MW-MWIN Schedule 2 2 0 2 0 1.50
AF-Advisor Framework (task serialization) 14 14 0 1 0 0.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 242.67 231,671 2,431 88   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
16-Nov 20:40 15,611 28,415 47 73 38 0/0 0/0/0/0/0/0
16-Nov 20:30 64,845 33,338 209 73 27 0/0 0/0/0/0/0/0
16-Nov 20:20 32,167 28,338 2,179 74 54 0/0 0/0/0/0/0/0
16-Nov 20:10 40,691 47,379 2,431 88 55 0/0 0/0/0/0/0/0
16-Nov 20:00 30,155 41,924 1,829 78 59 0/0 0/0/0/0/0/0
16-Nov 19:50 59,205 52,277 2,288 79 52 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 82,061 0.00   0 0  
Consistent RBA 205,025 0.00 0.00 0 0  
FOB s.o list latch 53,768 0.01 0.25 0 0  
JOX SGA heap latch 396,451 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 9,093,805 0.01 0.05 2 34,269 0.01
KJC message pool free list 301,088 0.00 0.10 0 22,080 0.00
KJCT flow control latch 3,293,999 0.02 0.01 0 0  
KMG MMAN ready and startup request latch 1,218 0.00   0 0  
KSXR large replies 2 0.00   0 0  
KTF sga latch 24 0.00   0 1,231 0.00
KWQMN job cache list latch 2,788 0.00   0 0  
MQL Tracking Latch 0     0 72 0.00
Memory Management Latch 0     0 1,218 0.00
OS process 5,049 0.00   0 0  
OS process allocation 4,581 0.02 0.00 0 0  
OS process: request allocation 3,335 0.03 0.00 0 0  
PL/SQL warning settings 771,223 0.00   0 0  
SGA IO buffer pool latch 12,942 0.00   0 12,942 0.00
SQL memory manager latch 2 0.00   0 1,217 0.00
SQL memory manager workarea list latch 1,238,558 0.00 0.00 0 0  
Shared B-Tree 129 0.00   0 0  
active checkpoint queue latch 59,513 0.00   0 0  
active service list 18,532 0.05 0.00 0 1,588 0.00
begin backup scn array 345 0.00   0 0  
business card 146 0.00   0 0  
cache buffer handles 6,236,631 0.17 0.01 1 0  
cache buffers chains 634,709,111 0.09 0.02 266 3,723,931 0.31
cache buffers lru chain 3,191,812 0.18 0.11 13 6,603,966 0.29
cache table scan latch 0     0 1,869 0.00
channel handle pool latch 79,153 0.00   0 0  
channel operations parent latch 1,838,426 0.13 0.00 0 0  
checkpoint queue latch 1,583,516 0.01 0.04 0 784,772 0.01
client/application info 302,004 0.01 0.00 0 0  
commit callback allocation 18,186 0.01 0.00 0 0  
compile environment latch 545,262 0.00   0 0  
dictionary lookup 193 0.00   0 0  
dml lock allocation 792,188 0.05 0.03 0 0  
dummy allocation 5,559 0.00   0 0  
enqueue hash chains 3,000,911 0.04 0.09 6 4,677 0.15
enqueues 1,078,677 0.03 0.04 0 0  
error message lists 381 0.00   0 0  
event group latch 1,666 0.00   0 0  
file cache latch 6,188 0.00   0 0  
gcs opaque info freelist 961,870 0.02 0.04 0 0  
gcs partitioned table hash 506,445 0.00   0 0  
gcs resource freelist 644,752 0.00 0.00 0 0  
gcs resource hash 6,655,515 0.00 0.04 0 4,605 0.00
gcs resource scan list 9,210 0.00   0 0  
gcs shadows freelist 507,326 0.00   0 0  
ges caches resource lists 1,765,872 0.01 0.01 0 94,169 0.01
ges deadlock list 30,352 0.04 0.00 0 20 0.00
ges domain table 4,616,002 0.00 0.00 0 0  
ges enqueue table freelist 4,692,466 0.03 0.05 6 0  
ges group table 6,881,558 0.00 0.01 0 0  
ges process hash list 40,581 0.00   0 0  
ges process parent latch 9,442,160 0.00   0 0  
ges process table freelist 3,335 0.03 0.00 0 0  
ges resource hash list 6,756,693 0.06 0.02 4 75,891 0.01
ges resource scan list 8,102 0.00   0 0  
ges resource table freelist 99,795 0.01 0.15 0 0  
ges timeout list 25,812 0.00   0 24,729 0.00
global KZLD latch for mem in SGA 2,592 0.00   0 0  
global ctx hash table latch 4,411 0.00   0 0  
hash table column usage latch 1,094 0.00   0 3,025,669 0.00
hash table modification latch 132 0.00   0 0  
job_queue_processes parameter latch 60 0.00   0 0  
kks stats 9,304 0.00   0 0  
ksuosstats global area 248 0.00   0 0  
ktm global data 13,976 0.00   0 0  
kwqbsn:qsga 129 0.00   0 0  
lgwr LWN SCN 222,563 0.05 0.00 0 0  
library cache 62,918,282 0.17 0.02 73 1,980 0.15
library cache load lock 1,974 0.10 0.00 0 0  
library cache lock 13,601,521 0.03 0.02 1 0  
library cache lock allocation 432,534 0.00 0.00 0 0  
library cache pin 38,551,592 0.07 0.03 22 8 0.00
library cache pin allocation 140,067 0.01 0.11 0 0  
list of block allocation 72,467 0.01 0.13 0 0  
loader state object freelist 61,436 0.01 0.00 0 0  
longop free list parent 44 0.00   0 44 0.00
message pool operations parent latch 144,930 0.08 0.02 0 0  
messages 1,100,645 0.01 0.03 0 0  
mostly latch-free SCN 225,585 1.21 0.00 0 0  
multiblock read objects 66,426 0.00   0 0  
name-service memory objects 31,830 0.00   0 0  
name-service namespace bucket 46,705 0.00   0 0  
name-service pending queue 15,184 0.00   0 0  
name-service request 24 0.00   0 0  
name-service request queue 54,684 0.00   0 0  
ncodef allocation latch 75 0.00   0 0  
object queue header heap 191,700 0.00 0.00 0 75,527 0.00
object queue header operation 8,711,770 0.01 0.04 0 0  
object stats modification 77,747 0.01 0.00 0 0  
parallel query alloc buffer 2,964 0.00   0 0  
parallel query stats 395 0.00   0 0  
parallel txn reco latch 4,463 0.00   0 0  
parameter list 800 0.00   0 0  
parameter table allocation management 5,340 0.00   0 0  
post/wait queue 419,598 0.00 0.00 0 242,336 0.00
process allocation 33,452 0.00   0 1,666 0.00
process group creation 3,335 0.03 0.00 0 0  
process queue 1,180 0.00   0 0  
process queue reference 52,807 0.00   0 6,101 0.02
qmn task queue latch 516 0.00   0 0  
query server freelists 951 0.00   0 0  
query server process 4 0.00   0 4 0.00
queued dump request 18,124 0.00   0 0  
redo allocation 688,432 0.17 0.32 9 15,204,244 0.16
redo copy 0     0 15,211,501 0.09
redo writing 707,434 0.00 0.13 0 0  
resmgr group change latch 144,799 0.00   0 0  
resmgr:actses active list 8,143 0.04 0.00 0 0  
resmgr:actses change group 7,943 0.00   0 0  
resmgr:free threads list 5,555 0.04 0.00 0 0  
resmgr:schema config 2 0.00   0 0  
row cache objects 21,636,331 0.13 0.01 5 341 0.00
rules engine aggregate statistics 7,866 0.03 0.00 0 0  
rules engine rule set statistics 31,464 0.02 0.00 0 0  
rules engine rule statistics 15,732 0.00   0 0  
sequence cache 1,791,201 0.08 0.04 4 0  
session allocation 3,678,249 0.11 0.05 6 0  
session idle bit 18,103,631 0.02 0.02 0 0  
session state list latch 15,916 0.03 0.00 0 0  
session switching 3,077 0.00   0 0  
session timer 1,588 0.00   0 0  
shared pool 1,769,235 0.08 0.04 1 0  
shared pool sim alloc 231 0.43 0.00 0 0  
shared pool simulator 540,892 0.00 0.00 0 0  
slave class 2 0.00   0 0  
slave class create 8 12.50 1.00 0 0  
sort extent pool 252,886 0.10 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 74 0.00   0 0  
temporary table state object allocation 3,368 0.03 0.00 0 0  
threshold alerts latch 342 0.00   0 0  
trace latch 20 0.00   0 0  
transaction allocation 23,856 0.00   0 0  
transaction branch allocation 75 0.00   0 0  
undo global data 40,379,044 0.20 0.01 13 4 0.00
user lock 10,374 0.01 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 634,709,111 564,050 8,640 555,630 0 0 0
library cache 62,918,282 109,675 2,392 107,286 0 0 0
undo global data 40,379,044 79,734 562 79,180 0 0 0
row cache objects 21,636,331 27,722 163 27,559 0 0 0
library cache pin 38,551,592 26,320 767 25,554 0 0 0
cache buffer handles 6,236,631 10,875 89 10,790 0 0 0
cache buffers lru chain 3,191,812 5,724 646 5,085 0 0 0
session allocation 3,678,249 4,190 190 4,001 0 0 0
ges resource hash list 6,756,693 3,938 82 3,856 0 0 0
session idle bit 18,103,631 3,726 56 3,670 0 0 0
library cache lock 13,601,521 3,505 60 3,445 0 0 0
channel operations parent latch 1,838,426 2,457 8 2,450 0 0 0
ges enqueue table freelist 4,692,466 1,615 81 1,534 0 0 0
sequence cache 1,791,201 1,488 56 1,434 0 0 0
shared pool 1,769,235 1,349 49 1,300 0 0 0
KCL gc element parent latch 9,093,805 1,281 63 1,220 0 0 0
object queue header operation 8,711,770 1,239 46 1,193 0 0 0
redo allocation 688,432 1,189 380 812 0 0 0
enqueue hash chains 3,000,911 1,126 99 1,027 0 0 0
KJCT flow control latch 3,293,999 676 4 672 0 0 0
dml lock allocation 792,188 413 13 400 0 0 0
enqueues 1,078,677 306 12 294 0 0 0
sort extent pool 252,886 255 1 254 0 0 0
gcs resource hash 6,655,515 246 11 235 0 0 0
checkpoint queue latch 1,583,516 188 8 180 0 0 0
gcs opaque info freelist 961,870 159 6 153 0 0 0
ges group table 6,881,558 151 2 149 0 0 0
ges caches resource lists 1,765,872 141 2 139 0 0 0
messages 1,100,645 141 4 137 0 0 0
message pool operations parent latch 144,930 117 2 115 0 0 0
ges resource table freelist 99,795 13 2 11 0 0 0
KJC message pool free list 301,088 10 1 9 0 0 0
library cache pin allocation 140,067 9 1 8 0 0 0
list of block allocation 72,467 8 1 7 0 0 0
redo writing 707,434 8 1 7 0 0 0
FOB s.o list latch 53,768 4 1 3 0 0 0
slave class create 8 1 1 0 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 46 25
KCL gc element parent latch kclbla 0 20 5
KCL gc element parent latch kclulb 0 7 23
KCL gc element parent latch kclgcr 0 4 7
KCL gc element parent latch kclrwrite 0 4 4
KCL gc element parent latch kclpdc_3 0 3 1
KCL gc element parent latch KCLUNLNK 0 2 10
KCL gc element parent latch kclchkping 0 2 0
KCL gc element parent latch kclswc 0 2 8
KCL gc element parent latch kclzcl 0 2 1
KCL gc element parent latch kclebs 0 1 1
KCL gc element parent latch kclfwrite1 0 1 2
KCL gc element parent latch kcllwr 0 1 2
KCL gc element parent latch kclplz 0 1 6
KCL gc element parent latch kclpto 0 1 2
KCL gc element parent latch kclshrsplit 0 1 1
KJC message pool free list kjcsmpav: allocate a msg buffer 0 1 1
KJCT flow control latch kjctcsnd: send normal message 0 4 4
cache buffer handles kcbzfs 0 45 27
cache buffer handles kcbzgs 0 44 62
cache buffers chains kcbgtcr: fast path 0 3,749 3,394
cache buffers chains kcbgtcr: kslbegin excl 0 2,407 3,152
cache buffers chains kcbchg: kslbegin: bufs not pinned 0 1,125 510
cache buffers chains kcbrls: kslbegin 0 941 1,163
cache buffers chains kcbchg: kslbegin: call CR func 0 574 224
cache buffers chains kcbgcur: kslbegin 0 451 780
cache buffers chains kcbget: pin buffer 0 203 423
cache buffers chains kcbzgb: scan from tail. nowait 0 139 0
cache buffers chains kcbget: exchange rls 0 87 5
cache buffers chains kcbget: exchange 0 49 9
cache buffers chains kcbnew: new latch again 0 36 18
cache buffers chains kcbzwb 0 28 37
cache buffers chains kcbnlc 0 22 64
cache buffers chains kcbcge 0 16 7
cache buffers chains kclbla 0 15 18
cache buffers chains kcbgtcr: kslbegin shared 0 13 6
cache buffers chains kclwcrs 0 12 17
cache buffers chains kcbgkcbcr 0 11 2
cache buffers chains kcbgtcr 0 9 1
cache buffers chains kcbzib: finish free bufs 0 8 11
cache buffers chains kclpred 0 5 0
cache buffers chains kcbo_ivd_process 0 4 1
cache buffers chains kcbbxsv 0 3 39
cache buffers chains kcbesc: escalate 0 3 0
cache buffers chains kclebs_1 0 3 1
cache buffers chains kclpto 0 2 0
cache buffers chains kcbbic1 0 1 4
cache buffers chains kcbbic2 0 1 0
cache buffers chains kcbnew_1 0 1 1
cache buffers chains kcbso1: set no access 0 1 1
cache buffers chains kcbzib: multi-block read: nowait 0 1 0
cache buffers chains kcllkopb_1 0 1 4
cache buffers chains kclpdcl 0 1 0
cache buffers chains kclwrt 0 1 5
cache buffers lru chain kcbzgws 0 271 22
cache buffers lru chain kcbzgb: posted for free bufs 0 108 522
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 106 0
cache buffers lru chain kcbzswcu 0 61 1
cache buffers lru chain kclwcrs 0 23 0
cache buffers lru chain kclmergepi 0 16 0
cache buffers lru chain H_MK_PI_CR_BG 0 8 0
cache buffers lru chain kcbbxsv: move to being written 0 8 4
cache buffers lru chain kcbo_link_q 0 8 1
cache buffers lru chain kclmvreqbg 0 8 15
cache buffers lru chain H_MK_PI_CR 0 6 0
cache buffers lru chain kcbzib: move stale buffers 0 5 33
cache buffers lru chain kcbkubc 0 4 43
cache buffers lru chain kcbrenounce 0 4 0
cache buffers lru chain kcbbic2 0 3 1
cache buffers lru chain kcbo_ivd_proc 0 3 6
cache buffers lru chain kcbibr 0 2 2
cache buffers lru chain kcbzgm 0 2 0
channel operations parent latch ksrwait() 0 6 11
channel operations parent latch ksrapublish() 0 4 3
channel operations parent latch ksrsconsume() 0 4 0
channel operations parent latch ksrchconnect() 0 3 2
channel operations parent latch ksrchdelete() 0 1 3
channel operations parent latch ksrmfree() 0 1 0
checkpoint queue latch kcbswcu: Switch buffers 0 4 1
checkpoint queue latch kcbklbc: Link buffer into ckpt queue 0 3 0
checkpoint queue latch kcbkubc 0 1 2
dml lock allocation ktaiam 0 7 11
dml lock allocation ktaidm 0 6 2
enqueue hash chains ksqcmi: if lk mode requested 0 42 7
enqueue hash chains ksqcmi: if lk mode not requested 0 29 0
enqueue hash chains ksqgtl3 0 16 85
enqueue hash chains ksqrcl 0 11 11
enqueue hash chains ksqexpandres 0 1 0
enqueues ksqies 0 7 10
enqueues ksqdel 0 4 0
enqueues ksqgel: create enqueue 0 1 2
gcs opaque info freelist kjbrcvt save opaque info 0 4 6
gcs opaque info freelist kjbrgrant free opaque info 0 2 0
gcs resource hash kjbcropen:affinity 0 3 1
gcs resource hash kjbconvert 0 2 1
gcs resource hash kjbcrcomplete 0 2 0
gcs resource hash kjbopen 0 2 0
gcs resource hash kjbcropen 0 1 0
gcs resource hash kjbmdowncvt 0 1 0
ges enqueue table freelist kjlalc: lock allocation 0 43 70
ges enqueue table freelist kjlfr: remove lock from parent object 0 38 11
ges group table kjgagll: move a lock from process lock list to group lock list 0 1 2
ges group table kjgdgll: move a lock from group lock list to process lock list 0 1 0
ges resource hash list kjucvl: lock convert request 0 56 3
ges resource hash list kjrmas1: lookup master node 0 16 0
ges resource hash list kjrref: find matched resource 0 8 64
ges resource hash list kjlrlr: remove lock from resource queue 0 2 3
ges resource table freelist kjralc: resource allocation 0 2 1
ges resource table freelist kjrm2c: move resource to cache 0 2 2
library cache kglpndl: child: after processing 0 1,445 4
library cache kglpnp: child 0 574 1,337
library cache kglLockCursor 0 129 113
library cache kgldte: child 0 0 84 68
library cache kglobpn: child: 0 77 380
library cache kglpin 0 36 15
library cache kgldti: 2child 0 10 0
library cache kglhdgn: child: 0 9 124
library cache kglpndl: child: before processing 0 8 364
library cache lock kgllkdl: child: cleanup 0 41 37
library cache lock kgllkdl: child: no lock handle 0 20 6
library cache lock kgllkal: child: multiinstance 0 19 23
library cache pin kglpndl 0 505 117
library cache pin kglpnp: child 0 237 499
library cache pin kglpnal: child: alloc space 0 25 150
library cache pin allocation kglpnget 0 1 1
list of block allocation ktlabl 0 1 1
message pool operations parent latch ksrmalloc() 0 3 0
messages ksaamb: after wakeup 0 3 2
messages ksarcv 0 1 2
object queue header operation kcbw_unlink_q 0 12 11
object queue header operation kcbo_swap_buf 0 11 0
object queue header operation kcbo_switch_cq 0 9 13
object queue header operation kcbw_link_q 0 9 3
object queue header operation kcbo_swap_buf_bg 0 3 23
object queue header operation kcbo_link_q:reget 0 1 0
object queue header operation kcbo_switch_mq_bg 0 1 0
redo allocation kcrfw_redo_gen: redo allocation 1 0 349 0
redo allocation kcrfw_redo_write: before write 0 19 218
redo allocation kcrfw_redo_write: more space 0 10 90
redo allocation kcrfw_redo_gen: redo allocation 3 0 2 75
redo writing kcrfw_post: rba scn pair 0 1 0
row cache objects kqreqd: reget 0 160 0
row cache objects kqrpre: find obj 0 2 171
row cache objects kqrigt 0 1 0
sequence cache kdnssd 0 50 0
sequence cache kdnnxt: cached seq 0 3 0
sequence cache kdnsoi 0 2 0
sequence cache kdnss 0 1 57
session allocation ksudlc 0 91 5
session allocation ksuxds: not user session 0 63 10
session allocation ksuprc 0 28 67
session allocation ksucri 0 7 115
session allocation ksuxds: KSUSFCLC not set 0 1 0
session idle bit ksupuc: set busy 0 45 42
session idle bit ksupuc: clear busy 0 38 42
session idle bit ksuxds 0 4 3
shared pool kghalo 0 22 16
shared pool kghupr1 0 16 27
shared pool kghfre 0 6 6
shared pool kghalp 0 5 0
slave class create ksvcreate 0 1 0
sort extent pool ktstdt: dealloc sort extent 0 1 0
undo global data kturimugur: child 0 347 37
undo global data ktudba: KSLBEGIN 0 176 438
undo global data ktudnx:child 0 39 21

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,533,744 7.05
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 13,627,904 4.46
GL APPS_TS_TX_IDX GL_CODE_COMBINATIONS_U1   INDEX 12,773,936 4.18
GL APPS_TS_TX_DATA GL_CODE_COMBINATIONS   TABLE 6,652,544 2.18
APPLSYS APPS_TS_TX_IDX FND_GRANTS_N9   INDEX 6,453,264 2.11

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 30,535 13.42
AR APPS_TS_TX_DATA HZ_PARTIES   TABLE 22,754 10.00
GL APPS_ASSM_DATA GL_JE_LINES   TABLE 5,301 2.33
AR APPS_ASSM_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 4,319 1.90
APPLSYS APPS_TS_TX_IDX WF_ITEM_ATTRIBUTE_VALUES_PK   INDEX 2,623 1.15

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 2,848 33.53
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 1,575 18.54
APPLSYS APPS_TS_TX_DATA FND_CONCURRENT_REQUESTS   TABLE 1,100 12.95
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N5   INDEX 346 4.07
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_U2   INDEX 261 3.07

Back to Segment Statistics
Back to Top

Segments by ITL Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type ITL Waits % of Capture
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N3   INDEX 3 30.00
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_N5   INDEX 2 20.00
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N4   INDEX 2 20.00
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_N12   INDEX 1 10.00
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 1 10.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
APPLSYS APPS_TS_TX_DATA WF_ITEM_ATTRIBUTE_VALUES   TABLE 800 17.49
SYS SYSTEM DBMS_LOCK_ALLOCATED   TABLE 627 13.71
APPLSYS APPS_TS_TX_DATA WF_ITEM_ACTIVITY_STATUSES WF_ITEM49 TABLE PARTITION 525 11.48
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 414 9.05
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 320 7.00

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 3,102 35.35
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 1,307 14.89
ONT APPS_ASSM_IDX OE_PRICE_ADJUSTMENTS_N1   INDEX 542 6.18
AR APPS_TS_TX_DATA AR_RECEIVABLE_APPLICATIONS_ALL   TABLE 442 5.04
WSH APPS_TS_TX_IDX WSH_DELIVERY_LEGS_N1   INDEX 432 4.92

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
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 36,780 4.16
ONT APPS_ASSM_IDX OE_ORDER_LINES_U1   INDEX 36,001 4.07
GL APPS_ASSM_DATA GL_JE_LINES   TABLE 17,437 1.97
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 12,326 1.39
ONT APPS_ASSM_IDX OE_PRICE_ADJUSTMENTS_N1   INDEX 11,090 1.25

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
AR APPS_TS_TX_DATA AR_RECEIVABLE_APPLICATIONS_ALL   TABLE 18,983 4.17
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 16,297 3.58
SYS SYSTEM TAB$   TABLE 15,557 3.42
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N5   INDEX 12,182 2.68
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 12,124 2.67

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 1,935 50.39 0   1,935 708
dc_global_oids 749,223 0.00 0   0 90
dc_histogram_data 13,443 0.57 0   3 1,679
dc_histogram_defs 133,068 2.80 0   1,714 26,857
dc_object_grants 28,289 0.08 0   0 15,658
dc_object_ids 1,738,731 0.02 0   161 5,717
dc_objects 44,149 1.91 0   1,340 9,159
dc_profiles 2,592 0.00 0   0 1
dc_rollback_segments 1,115,173 0.00 0   40 192
dc_segments 94,970 1.04 0   2,170 6,396
dc_sequences 4,064 40.50 0   4,064 89
dc_table_scns 1 100.00 0   0 0
dc_tablespace_quotas 1,871 34.15 0   30 27
dc_tablespaces 1,058,443 0.00 0   0 25
dc_usernames 94,745 0.00 0   0 87
dc_users 2,323,343 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,385 11 0
dc_global_oids 10 0 0
dc_histogram_defs 7,452 0 0
dc_object_ids 676 0 0
dc_objects 1,941 8 0
dc_rollback_segments 100 4 0
dc_segments 4,612 776 0
dc_sequences 6,357 1,638 0
dc_table_scns 1 0 0
dc_tablespace_quotas 3,742 637 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 179,874 0.02 7,495,351 0.00 0 0
CLUSTER 23 0.00 60 0.00 0 0
INDEX 2,918 5.86 3,887 6.74 0 0
JAVA DATA 72 0.00 0   0 0
PIPE 10,267 2.44 13,349 1.84 0 0
SQL AREA 3,596 98.16 19,039,566 -0.02 677 764
TABLE/PROCEDURE 96,458 0.33 10,010,190 0.01 86 0
TRIGGER 9,183 0.05 262,169 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 60 0 0 0 0
INDEX 3,487 683 80 27 0
TABLE/PROCEDURE 224,986 1,303 53 1,221 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 6,819.36   8.96 6.18 32 32 761 761
  SQL 733.74 370.51 0.98 0.73 4 22 750 748
  Freeable 649.56 0.00 1.09 0.74 10   596 596
  PL/SQL 431.75 46.32 0.57 0.81 3 3 761 761
  JAVA 43.40 43.18 2.28 0.15 2 5 19 19
E Other 8,302.41   10.95 7.08 35 35 758 758
  Freeable 938.38 0.00 1.51 0.97 10   621 621
  SQL 910.44 469.36 1.22 0.81 4 22 747 745
  PL/SQL 525.55 51.98 0.69 0.87 3 3 758 758
  JAVA 45.73 45.51 2.29 0.15 2 5 20 20

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 38.20 49.94 30.71
shared Heap0: KGL 21.46 22.81 6.32
shared KGLS heap 48.90 50.92 4.13
shared KQR L PO 42.89 47.43 10.58
shared PCursor 27.41 34.30 25.12
shared PL/SQL DIANA 29.96 31.97 6.70
shared PL/SQL MPCODE 74.51 77.00 3.34
shared free memory 453.27 214.25 -52.73
shared gcs resources 30.09 30.09 0.00
shared gcs shadows 18.96 18.96 0.00
shared ges enqueues 24.13 24.80 2.77
shared ges resource 18.12 19.97 10.18
shared library cache 210.33 263.38 25.22
shared sql area 258.00 403.76 56.50
shared sql area:PLSQL 16.02 17.03 6.28
  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) 159,931 43.76 0.71
acks for commit broadcast(logical) 199,884 54.69 0.89
broadcast msgs on commit(actual) 204,726 56.01 0.91
broadcast msgs on commit(logical) 204,991 56.08 0.91
broadcast msgs on commit(wasted) 3,495 0.96 0.02
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 1 0.00 0.00
gcs assume no cvt 210,609 57.62 0.94
gcs ast xid 199 0.05 0.00
gcs blocked converts 361,809 98.99 1.61
gcs blocked cr converts 799,143 218.64 3.56
gcs compatible basts 764 0.21 0.00
gcs compatible cr basts (global) 46,631 12.76 0.21
gcs compatible cr basts (local) 111,394 30.48 0.50
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 56,128 15.36 0.25
gcs dbwr write request msgs 28,816 7.88 0.13
gcs error msgs 0 0.00 0.00
gcs forward cr to pinged instance 0 0.00 0.00
gcs immediate (compatible) converts 38,840 10.63 0.17
gcs immediate (null) converts 122,895 33.62 0.55
gcs immediate cr (compatible) converts 94 0.03 0.00
gcs immediate cr (null) converts 213,284 58.35 0.95
gcs indirect ast 266,892 73.02 1.19
gcs lms flush pi msgs 0 0.00 0.00
gcs lms write request msgs 15,251 4.17 0.07
gcs msgs process time(ms) 73,190 20.02 0.33
gcs msgs received 2,362,263 646.29 10.52
gcs out-of-order msgs 14 0.00 0.00
gcs pings refused 808 0.22 0.00
gcs queued converts 813 0.22 0.00
gcs recovery claim msgs 0 0.00 0.00
gcs refuse xid 208 0.06 0.00
gcs regular cr 0 0.00 0.00
gcs retry convert request 0 0.00 0.00
gcs side channel msgs actual 7,491 2.05 0.03
gcs side channel msgs logical 1,498,065 409.85 6.67
gcs undo cr 0 0.00 0.00
gcs write notification msgs 4,145 1.13 0.02
gcs writes refused 733 0.20 0.00
ges msgs process time(ms) 1,401 0.38 0.01
ges msgs received 94,273 25.79 0.42
global posts dropped 0 0.00 0.00
global posts queue time 5,760 1.58 0.03
global posts queued 5,947 1.63 0.03
global posts requested 5,975 1.63 0.03
global posts sent 5,947 1.63 0.03
implicit batch messages received 63,766 17.45 0.28
implicit batch messages sent 64,297 17.59 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 237,391 64.95 1.06
messages queue sent actual 499,932 136.78 2.23
messages queue sent logical 650,602 178.00 2.90
messages received actual 2,173,356 594.61 9.68
messages received logical 2,456,548 672.08 10.94
messages sent directly 1,509,968 413.11 6.72
messages sent indirectly 420,835 115.14 1.87
messages sent not implicit batched 435,659 119.19 1.94
messages sent pbatched 518,059 141.73 2.31
msgs causing lmd to send msgs 31,068 8.50 0.14
msgs causing lms(s) to send msgs 251,280 68.75 1.12
msgs received queue time (ms) 20,601 5.64 0.09
msgs received queued 2,456,174 671.98 10.94
msgs sent queue time (ms) 44,920 12.29 0.20
msgs sent queue time on ksxp (ms) 3,639,230 995.65 16.20
msgs sent queued 638,131 174.59 2.84
msgs sent queued on ksxp 2,186,415 598.18 9.74
process batch messages received 317,281 86.80 1.41
process batch messages sent 328,773 89.95 1.46


Back to Top

 

Global CR Served Stats

Statistic Total
CR Block Requests 448,687
CURRENT Block Requests 397,853
Data Block Requests 448,686
Undo Block Requests 16,427
TX Block Requests 381,424
Current Results 799,229
Private results 39,110
Zero Results 7,940
Disk Read Results 1
Fail Results 110
Fairness Down Converts 75,472
Fairness Clears 0
Free GC Elements 0
Flushes 62,580
Flushes Queued 0
Flush Queue Full 0
Flush Max Time (us) 0
Light Works 29,801
Errors 0


Back to Top

 

Global CURRENT Served Stats

Statistic Total % <1ms % <10ms % <100ms % <1s % <10s
Pins 414,401 99.50 0.03 0.47 0.00 0.00
Flushes 7,238 87.59 11.36 0.97 0.08 0.00
Writes 61,743 24.66 45.17 30.05 0.12 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 440,226 73.67 26.33 0.00 437,954 98.26 1.74 0.00
1 undo header 421,366 99.44 0.55 0.00 314 95.22 4.78 0.00
1 Others 11,296 99.50 0.50 0.00 16,429 99.07 0.93 0.00
1 undo block 10,731 91.77 8.23 0.00 2 100.00 0.00 0.00


Back to Top

End of Report