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 22-Nov-06 13:43:56 757 188.5
End Snap: 20 22-Nov-06 14:44:50 748 226.5
Elapsed:   60.89 (mins)    
DB Time:   173.27 (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,537,802.61 32,308.23
Logical reads: 76,966.14 1,617.01
Block changes: 9,370.09 196.86
Physical reads: 41.83 0.88
Physical writes: 151.02 3.17
User calls: 1,608.73 33.80
Parses: 368.46 7.74
Hard parses: 1.15 0.02
Sorts: 401.39 8.43
Logons: 0.54 0.01
Executes: 3,682.40 77.36
Transactions: 47.60  

% Blocks changed per Read: 12.17 Recursive Call %: 79.49
Rollback per transaction %: 18.47 Rows per Sort: 12.42

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.98 Redo NoWait %: 100.00
Buffer Hit %: 99.95 In-memory Sort %: 100.00
Library Hit %: 100.01 Soft Parse %: 99.69
Execute to Parse %: 89.99 Latch Hit %: 99.89
Parse CPU to Parse Elapsd %: 46.34 % Non-Parse CPU: 97.15

Shared Pool Statistics

  Begin End
Memory Usage %: 63.32 74.84
% SQL with executions>1: 96.07 91.21
% Memory for SQL w/exec>1: 96.36 90.08

Top 5 Timed Events

Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
CPU time   4,198   40.4  
gc cr block 2-way 419,964 709 2 6.8 Cluster
db file sequential read 132,923 519 4 5.0 User I/O
gc cr block busy 64,782 393 6 3.8 Cluster
gc current block 2-way 288,844 367 1 3.5 Cluster

RAC Statistics

  Begin End
Number of Instances: 2 2

Global Cache Load Profile

  Per Second Per Transaction
Global Cache blocks received: 219.24 4.61
Global Cache blocks served: 201.97 4.24
GCS/GES messages received: 424.18 8.91
GCS/GES messages sent: 459.87 9.66
DBWR Fusion writes: 11.03 0.23
Estd Interconnect traffic (KB) 3,542.29  

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

Buffer access - local cache %: 99.66
Buffer access - remote cache %: 0.28
Buffer access - disk %: 0.05

Global Cache and Enqueue Services - Workload Characteristics

Avg global enqueue get time (ms): 0.2
Avg global cache cr block receive time (ms): 2.3
Avg global cache current block receive time (ms): 1.5
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 %: 14.1
Avg global cache cr block flush time (ms): 2.7
Avg global cache current block pin time (ms): 0.1
Avg global cache current block send time (ms): 0.0
Global cache log flushes for current blocks served %: 0.4
Avg global cache current block flush time (ms): 2.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.3
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: 64.78
% of indirect sent messages: 23.01
% of flow controlled messages: 12.21

 


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 9,588.01 92.22
DB CPU 4,198.45 40.38
PL/SQL execution elapsed time 1,918.73 18.46
inbound PL/SQL rpc elapsed time 1,740.11 16.74
Java execution elapsed time 431.78 4.15
parse time elapsed 288.30 2.77
hard parse elapsed time 209.94 2.02
sequence load elapsed time 16.22 0.16
repeated bind elapsed time 10.80 0.10
hard parse (sharing criteria) elapsed time 10.20 0.10
hard parse (bind mismatch) elapsed time 10.12 0.10
connection management call elapsed time 2.85 0.03
PL/SQL compilation elapsed time 1.88 0.02
failed parse elapsed time 0.16 0.00
DB time 10,396.44  
background elapsed time 590.79  
background cpu time 192.77  

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 987,391 0.02 2,109 2 5.68
User I/O 137,764 0.00 535 4 0.79
Concurrency 57,834 0.72 502 9 0.33
Other 328,451 33.56 380 1 1.89
Network 6,731,391 0.00 290 0 38.71
Application 32,311 0.29 287 9 0.19
Commit 70,984 0.00 173 2 0.41
System I/O 200,956 0.00 161 1 1.16
Configuration 20,678 81.15 18 1 0.12
Administrative 3 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 419,964 0.00 709 2 2.42
db file sequential read 132,923 0.00 519 4 0.76
gc cr block busy 64,782 0.00 393 6 0.37
gc current block 2-way 288,844 0.00 367 1 1.66
gc buffer busy 33,355 0.50 315 9 0.19
SQL*Net more data from client 373,885 0.00 284 1 2.15
enq: UL - contention 12,802 0.70 272 21 0.07
latch: cache buffers chains 7,616 0.00 198 26 0.04
gcs log flush sync 92,607 47.58 175 2 0.53
log file sync 70,984 0.00 173 2 0.41
gc current grant busy 55,874 0.00 138 2 0.32
buffer busy waits 25,778 0.03 127 5 0.15
log file parallel write 145,981 0.00 108 1 0.84
gc current grant 2-way 34,007 0.00 75 2 0.20
gc cr grant 2-way 56,677 0.00 67 1 0.33
enq: TX - index contention 2,905 0.03 65 22 0.02
wait for scn ack 111,363 0.00 55 0 0.64
latch: library cache 1,337 0.00 51 38 0.01
db file parallel write 44,631 0.00 48 1 0.26
LGWR wait for redo copy 7,305 26.20 36 5 0.04
row cache lock 16,261 0.01 23 1 0.09
latch: library cache pin 505 0.00 21 41 0.00
cr request retry 18 100.00 18 978 0.00
gc cr multi block request 19,686 0.00 17 1 0.11
gc current block busy 1,358 0.00 16 12 0.01
latch: undo global data 496 0.00 14 29 0.00
enq: FB - contention 5,059 0.00 13 3 0.03
enq: HW - contention 3,761 0.00 12 3 0.02
gc current multi block request 12,745 0.00 10 1 0.07
read by other session 1,353 0.00 10 7 0.01
SQL*Net break/reset to client 18,700 0.00 8 0 0.11
latch: cache buffers lru chain 442 0.00 8 19 0.00
cursor: pin S wait on X 412 99.27 8 19 0.00
latch: session allocation 184 0.00 7 40 0.00
DFS lock handle 7,571 0.00 7 1 0.04
latch: redo allocation 342 0.00 6 17 0.00
latch free 135 0.00 6 42 0.00
enq: TX - row lock contention 112 3.57 5 48 0.00
enq: SQ - contention 103 0.00 5 47 0.00
db file scattered read 2,677 0.00 5 2 0.02
control file sequential read 8,597 0.00 5 1 0.05
latch: ges resource hash list 64 0.00 4 65 0.00
latch: enqueue hash chains 76 0.00 4 54 0.00
enq: US - contention 5,449 0.00 4 1 0.03
SQL*Net message to client 6,104,271 0.00 3 0 35.10
cursor: pin S 6,957 0.00 3 0 0.04
latch: row cache objects 77 0.00 3 37 0.00
SQL*Net more data to client 253,235 0.00 3 0 1.46
reliable message 266 0.38 2 9 0.00
PX Deq Credit: send blkd 885 15.59 2 3 0.01
KJC: Wait for msg sends to complete 16 50.00 2 147 0.00
latch: cache buffer handles 105 0.00 2 22 0.00
library cache lock 1,736 0.00 2 1 0.01
library cache pin 1,123 0.00 2 2 0.01
enq: TX - contention 171 0.00 2 9 0.00
control file parallel write 1,739 0.00 1 1 0.01
name-service call wait 12 0.00 1 101 0.00
gc current retry 54 0.00 1 22 0.00
buffer deadlock 489 99.80 1 2 0.00
enq: DV - contention 1,321 0.00 1 1 0.01
rdbms ipc reply 628 0.00 1 1 0.00
enq: WF - contention 19 5.26 1 48 0.00
enq: RO - fast object reuse 539 0.00 1 2 0.00
IPC send completion sync 401 70.32 1 2 0.00
library cache load lock 20 0.00 1 37 0.00
undo segment extension 16,780 100.00 1 0 0.10
db file parallel read 166 0.00 1 4 0.00
os thread startup 7 0.00 1 91 0.00
local write wait 372 0.00 1 1 0.00
ksxr poll remote instances 41,004 50.80 0 0 0.24
enq: TM - contention 158 0.00 0 2 0.00
enq: TX - allocate ITL entry 24 0.00 0 16 0.00
enq: PS - contention 271 0.00 0 1 0.00
global enqueue expand wait 29 89.66 0 12 0.00
CGS wait for IPC msg 32,379 100.00 0 0 0.19
latch: object queue header operation 29 0.00 0 10 0.00
latch: KCL gc element parent latch 38 0.00 0 7 0.00
latch: shared pool 18 0.00 0 13 0.00
PX Deq: Signal ACK 225 32.89 0 1 0.00
enq: CF - contention 202 0.00 0 1 0.00
enq: TS - contention 145 0.00 0 1 0.00
PX Deq: reap credit 11,437 87.36 0 0 0.07
latch: redo writing 7 0.00 0 21 0.00
enq: TD - KTF dump entries 28 0.00 0 5 0.00
latch: library cache lock 18 0.00 0 4 0.00
direct path read 143 0.00 0 0 0.00
gc cr failure 19 0.00 0 3 0.00
switch logfile command 3 0.00 0 18 0.00
ges inquiry response 67 0.00 0 1 0.00
latch: checkpoint queue latch 2 0.00 0 26 0.00
enq: MD - contention 27 0.00 0 2 0.00
enq: DL - contention 23 0.00 0 2 0.00
enq: TT - contention 64 0.00 0 1 0.00
log file switch completion 3 0.00 0 11 0.00
enq: TA - contention 53 0.00 0 1 0.00
gc current block unknown 21 0.00 0 1 0.00
lock escalate retry 21 100.00 0 1 0.00
L1 validation 1 100.00 0 16 0.00
enq: TO - contention 9 0.00 0 1 0.00
latch: object queue header heap 1 0.00 0 5 0.00
gc current split 5 0.00 0 1 0.00
enq: DR - contention 2 0.00 0 2 0.00
enq: IR - contention 6 0.00 0 1 0.00
enq: KM - contention 3 0.00 0 1 0.00
direct path write 122 0.00 0 0 0.00
cursor: mutex S 21 0.00 0 0 0.00
enq: MW - contention 3 0.00 0 0 0.00
enq: AF - task serialization 1 0.00 0 1 0.00
log file single write 4 0.00 0 0 0.00
log file sequential read 4 0.00 0 0 0.00
direct path write temp 8 0.00 0 0 0.00
SQL*Net message from client 6,104,287 0.00 1,482,650 243 35.10
Streams AQ: waiting for messages in the queue 6,681 97.19 37,061 5547 0.04
pipe get 5,438 60.59 8,802 1619 0.03
gcs remote message 1,374,148 88.09 6,881 5 7.90
PX Idle Wait 2,108 90.84 4,737 2247 0.01
PL/SQL lock timer 237 100.00 3,793 16003 0.00
DIAG idle wait 18,150 0.00 3,568 197 0.10
ges remote message 124,113 76.31 3,565 29 0.71
Streams AQ: qmn slave idle wait 129 0.00 3,546 27487 0.00
Streams AQ: qmn coordinator idle wait 278 45.68 3,546 12755 0.00
Streams AQ: waiting for time management or cleanup tasks 1 100.00 663 662774 0.00
jobq slave wait 20 100.00 59 2930 0.00
PX Deq: Execution Msg 836 16.75 10 12 0.00
PX Deq: Parse Reply 132 15.15 2 14 0.00
PX Deq: Msg Fragment 948 17.51 1 1 0.01
PX Deq: Execute Reply 936 25.43 1 1 0.01
PX Deq: Join ACK 200 38.00 0 2 0.00
PX Deq: Table Q Normal 74 14.86 0 2 0.00
PX Deq Credit: need buffer 63 19.05 0 1 0.00
Streams AQ: RAC qmn coordinator idle wait 278 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 295,061 33.70 277 1 1.70
log file parallel write 145,982 0.00 108 1 0.84
db file parallel write 44,631 0.00 48 1 0.26
control file sequential read 5,094 0.00 3 1 0.03
latch: cache buffers chains 87 0.00 2 20 0.00
db file scattered read 1,488 0.00 2 1 0.01
gc cr multi block request 2,690 0.00 2 1 0.02
control file parallel write 1,739 0.00 1 1 0.01
gc current block 2-way 855 0.00 1 1 0.00
db file parallel read 148 0.00 1 4 0.00
db file sequential read 228 0.00 0 1 0.00
latch: redo writing 7 0.00 0 21 0.00
row cache lock 132 0.00 0 1 0.00
enq: RO - fast object reuse 223 0.00 0 1 0.00
buffer busy waits 88 6.82 0 1 0.00
gc cr block 2-way 94 0.00 0 1 0.00
gc cr grant 2-way 80 0.00 0 1 0.00
direct path read 143 0.00 0 0 0.00
gc current grant 2-way 36 0.00 0 2 0.00
gc current grant busy 48 0.00 0 1 0.00
os thread startup 3 0.00 0 17 0.00
gc buffer busy 8 62.50 0 5 0.00
latch: row cache objects 3 0.00 0 6 0.00
latch: library cache lock 1 0.00 0 6 0.00
enq: TM - contention 11 0.00 0 1 0.00
library cache lock 12 0.00 0 0 0.00
gc cr block busy 1 0.00 0 3 0.00
direct path write 43 0.00 0 0 0.00
log file single write 4 0.00 0 0 0.00
log file sequential read 4 0.00 0 0 0.00
rdbms ipc message 305,810 19.03 38,899 127 1.76
gcs remote message 1,374,148 88.09 6,881 5 7.90
DIAG idle wait 18,150 0.00 3,568 197 0.10
pmon timer 1,457 100.00 3,567 2448 0.01
ges remote message 124,113 76.31 3,565 29 0.71
smon timer 11,569 0.10 3,554 307 0.07
Streams AQ: qmn slave idle wait 129 0.00 3,546 27487 0.00
Streams AQ: qmn coordinator idle wait 278 45.68 3,546 12755 0.00
Streams AQ: waiting for time management or cleanup tasks 1 100.00 663 662774 0.00
PX Deq: Join ACK 28 42.86 0 1 0.00
PX Deq: Parse Reply 24 29.17 0 1 0.00
PX Deq: Execute Reply 29 34.48 0 0 0.00
Streams AQ: RAC qmn coordinator idle wait 278 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 124,817
AVG_IDLE_TIME 240,520
AVG_IOWAIT_TIME 4,111
AVG_SYS_TIME 17,951
AVG_USER_TIME 106,790
BUSY_TIME 499,670
IDLE_TIME 962,466
IOWAIT_TIME 16,783
SYS_TIME 72,133
USER_TIME 427,537
LOAD 0
OS_CPU_WAIT_TIME 1,365,500
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 8,855.60 3,293.70 79,153 249,900,378
VIS 1,540.20 904.40 61,464 29,477,986
SYS$BACKGROUND 0.00 0.00 12,169 1,804,703

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 73693 25928 55104 48139 0 0 2787268 28604
VIS 61516 27208 2013 1808 0 0 3940746 434
SYS$BACKGROUND 2549 356 716 241 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
1,826 195 62 29.45 17.56 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
1,533 364 6 255.57 14.75 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
1,197 332 4 299.19 11.51 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
640 114 11,704 0.05 6.16 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
466 125 341 1.37 4.48 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
421 61 34,054 0.01 4.05 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
296 48 11,688 0.03 2.85 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
294 88 10,982 0.03 2.83 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
275 172 3,093 0.09 2.64 0vfguqskjkcc4 WSHINTERFACE SELECT RLTD.RELATED_LINE_INDEX...
258 144 4 64.40 2.48 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
250 137 4 62.44 2.40 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
213 41 34,064 0.01 2.05 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
193 46 11,692 0.02 1.85 frpz46trgfjgs WSHINTERFACE SELECT CHARGE_ID , CHARGE_NAME...
192 52 17 11.29 1.85 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
181 72 11,700 0.02 1.74 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
140 32 701 0.20 1.35 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
135 30 11,693 0.01 1.30 4mdc6tvvwx5tc WSHINTERFACE SELECT CHARGE_ID , CHARGE_NAME...
124 61 12,953 0.01 1.20 g8102j8yynbwz WSHINTERFACE begin WF_STANDARD.CONTINUEFLOW...
122 76 1,000 0.12 1.18 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
105 74 12,197 0.01 1.01 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
105 5 235 0.45 1.01 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...

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
364 1,533 6 60.59 14.75 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
332 1,197 4 82.92 11.51 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
195 1,826 62 3.14 17.56 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
172 275 3,093 0.06 2.64 0vfguqskjkcc4 WSHINTERFACE SELECT RLTD.RELATED_LINE_INDEX...
144 258 4 36.05 2.48 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
137 250 4 34.24 2.40 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
125 466 341 0.37 4.48 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
114 640 11,704 0.01 6.16 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
88 294 10,982 0.01 2.83 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
76 122 1,000 0.08 1.18 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
74 105 12,197 0.01 1.01 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
72 181 11,700 0.01 1.74 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
61 421 34,054 0.00 4.05 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
61 124 12,953 0.00 1.20 g8102j8yynbwz WSHINTERFACE begin WF_STANDARD.CONTINUEFLOW...
52 192 17 3.05 1.85 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
48 296 11,688 0.00 2.85 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
46 193 11,692 0.00 1.85 frpz46trgfjgs WSHINTERFACE SELECT CHARGE_ID , CHARGE_NAME...
41 213 34,064 0.00 2.05 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
32 140 701 0.05 1.35 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
30 135 11,693 0.00 1.30 4mdc6tvvwx5tc WSHINTERFACE SELECT CHARGE_ID , CHARGE_NAME...
5 105 235 0.02 1.01 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
40,355,340 6 6,725,890.00 14.35 363.55 1533.40 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
23,713,763 4 5,928,440.75 8.43 331.68 1196.77 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
19,153,689 4 4,788,422.25 6.81 144.20 257.61 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
14,938,375 17 878,727.94 5.31 51.85 191.88 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
11,491,789 23,951 479.80 4.09 70.43 94.87 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
10,961,124 1 10,961,124.00 3.90 63.64 71.95 0hwuqwtq29tmj RAXTRX insert into RA_INTERFACE_ERROR...
10,773,940 30,190 356.87 3.83 58.92 62.54 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
10,191,283 3,093 3,294.95 3.62 172.01 274.77 0vfguqskjkcc4 WSHINTERFACE SELECT RLTD.RELATED_LINE_INDEX...
10,121,707 4 2,530,426.75 3.60 136.97 249.78 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
9,445,758 62 152,350.94 3.36 194.81 1826.07 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
8,634,968 1,000 8,634.97 3.07 75.79 122.39 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
7,559,814 701 10,784.33 2.69 32.22 139.90 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
7,480,843 13 575,449.46 2.66 58.93 70.05 1du9v021t8m46 ARGLTP insert into gl_interface(creat...
6,619,558 10,982 602.76 2.35 87.92 294.35 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
6,366,230 200 31,831.15 2.26 25.81 84.80 0qcpgw43yqj5r WSHPSRS ( SELECT DISTINCT WDD.SOURCE_L...
4,778,209 341 14,012.34 1.70 124.98 465.71 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
4,161,960 11,704 355.60 1.48 113.89 640.11 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
3,963,314 10,966 361.42 1.41 41.81 97.15 2g2hu9q4dr07c WSHFRREL SELECT DELIVERY_DETAIL_ID, SO...
3,585,079 11,700 306.42 1.27 71.57 180.52 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
3,539,504 13 272,269.54 1.26 42.36 46.39 bp8crdjba8zgt ARGLTP update ra_cust_trx_line_gl_dis...

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
16,273 235 69.25 10.65 5.41 104.69 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
5,323 6 887.17 3.48 363.55 1533.40 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
3,944 24,149 0.16 2.58 18.63 71.92 fb13x9qx0ftks WSHINTERFACE begin OE_STANDARD_WF.OEOL_SELE...
2,087 62 33.66 1.37 194.81 1826.07 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
1,882 34,064 0.06 1.23 41.38 213.48 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
1,269 4 317.25 0.83 331.68 1196.77 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
1,003 4 250.75 0.66 136.97 249.78 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
888 145,921 0.01 0.58 36.20 66.95 gnhmcahkmrnzs icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ACTIVITY_S...
819 12,953 0.06 0.54 60.83 124.31 g8102j8yynbwz WSHINTERFACE begin WF_STANDARD.CONTINUEFLOW...
797 23,951 0.03 0.52 70.43 94.87 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...

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
145,921 145,067 0.99 0.00 0.00 gnhmcahkmrnzs icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ACTIVITY_S...
73,917 73,901 1.00 0.00 0.00 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
55,099 45,167 0.82 0.00 0.00 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
40,613 40,173 0.99 0.00 0.00 91hakq9n36htp ap.oie.server.HomePageAM SELECT TEXT_VALUE FROM WF_ITEM...
39,981 39,946 1.00 0.00 0.00 9bbak9qpg1c7x icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ATTRIBUTE_...
39,214 666,611 17.00 0.00 0.00 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
34,064 34,064 1.00 0.00 0.01 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
34,054 34,003 1.00 0.00 0.01 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
30,190 0 0.00 0.00 0.00 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
28,377 27,934 0.98 0.00 0.00 0b85w9vv0hbt1 icx.por.req.server.RequisitionAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...

Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
73,906 73,917 5.49 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
55,099 55,099 4.09 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
39,213 39,214 2.91 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
33,888 34,054 2.52 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
24,120 24,149 1.79 fb13x9qx0ftks WSHINTERFACE begin OE_STANDARD_WF.OEOL_SELE...
23,952 23,951 1.78 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
22,943 23,055 1.70 1c0b7sas42w2z INVTTMTX SELECT NVL(ITEM_COST, 0), ...
17,920 17,992 1.33 76sw2a4vnc89j icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.S...
17,160 17,166 1.27 162ttnv4ubqun OEXOETEL begin OE_DS_PVT.Check_PO_Appr...
17,082 17,155 1.27 bf7uwg5pa3pj6 icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.V...
17,050 17,158 1.27 608c0n36kaw62 icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.C...
17,032 17,967 1.27 dcvv68fju01g4 icx.por.req.server.RequisitionAM begin FND_FLEX_WORKFLOW_APIS.E...
15,931 15,943 1.18 8camsgjsr9zya OEXOETEL begin OE_TRANSACTION_TYPES_PK...

Back to SQL Statistics
Back to Top

 

SQL ordered by Sharable Memory

No data exists for this section of the report.

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
436.54 28.47 1,533.40 363.55 6 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
427.41 66.77 640.11 113.89 11,704 gksvm8wmzk8w0 WSHINTERFACE begin OE_INVOICE_WF.INVOICE_IN...
298.17 64.03 465.71 124.98 341 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
184.63 95.86 192.59 46.41 11,692 frpz46trgfjgs WSHINTERFACE SELECT CHARGE_ID , CHARGE_NAME...
156.45 8.57 1,826.07 194.81 62 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
128.33 94.92 135.21 30.15 11,693 4mdc6tvvwx5tc WSHINTERFACE SELECT CHARGE_ID , CHARGE_NAME...
127.24 10.63 1,196.77 331.68 4 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
79.04 26.72 295.84 47.92 11,688 gzkhp7cph992f INCTCW BEGIN INV_TXN_MANAGER_PUB.rel_...
60.38 90.79 66.51 38.28 16,773 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
59.05 20.06 294.35 87.92 10,982 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
51.84 24.28 213.48 41.38 34,064 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...
46.57 82.98 56.12 7.24 11,678 fr38pcatsbj6x INCTCW SELECT reservation_...
43.82 24.28 180.52 71.57 11,700 9wdrypwkpf607 WSHINTERFACE begin OE_FULFILL_WF.START_FULF...
41.39 16.07 257.61 144.20 4 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
38.96 14.18 274.77 172.01 3,093 0vfguqskjkcc4 WSHINTERFACE SELECT RLTD.RELATED_LINE_INDEX...
31.50 30.09 104.69 5.41 235 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
31.05 24.97 124.31 60.83 12,953 g8102j8yynbwz WSHINTERFACE begin WF_STANDARD.CONTINUEFLOW...
30.36 42.22 71.92 18.63 24,149 fb13x9qx0ftks WSHINTERFACE begin OE_STANDARD_WF.OEOL_SELE...
29.72 39.49 75.27 30.98 11,692 gnng1rmpjxzsx WSHINTERFACE begin OE_CLOSE_WF.CLOSE_LINE (...
24.05 22.86 105.22 73.98 12,197 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
23.12 23.80 97.15 41.81 10,966 2g2hu9q4dr07c WSHFRREL SELECT DELIVERY_DETAIL_ID, SO...
22.84 16.33 139.90 32.22 701 4adc1zhg5cmx0 WSHINTERFACE UPDATE WSH_DELIVERY_DETAILS DD...
20.72 30.95 66.95 36.20 145,921 gnhmcahkmrnzs icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ACTIVITY_S...
20.04 8.02 249.78 136.97 4 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
10.52 80.22 13.11 5.96 3,012 8q8zmrwmrccz4 WSHINTERFACE SELECT /*+ ORDERED USE_NL(adj ...
10.16 48.24 21.06 9.07 35 3c086a4sm741b ARXAGE select decode ( UPPER ( : p_or...
9.03 66.70 13.53 7.42 13,279 6kd3qt5f36fdr icx.por.req.server.RequisitionAM INSERT INTO WF_ITEMS ( ITEM_TY...
8.72 49.14 17.74 6.71 11,643 cw171rvngr1w9 WSHINTERFACE begin OE_FLEX_COGS_PUB.GET_COS...
8.31 1.97 421.32 61.39 34,054 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
8.00 77.12 10.37 6.42 3,455 dzt4ys8ynkyrj CSXSRISR INSERT INTO CS_INCIDENTS_AUDIT...
7.62 3.97 191.88 51.85 17 3n8tvc1tsqua0 WSHINTERFACES SELECT DISTINCT WTS.STOP_ID FR...
7.28 5.95 122.39 75.79 1,000 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
5.73 23.42 24.46 11.39 11,193 gdnwgx9fcxggr OEXOETEL begin OE_SHIPPING_WF.START_SHI...
5.00 5.89 84.80 25.81 200 0qcpgw43yqj5r WSHPSRS ( SELECT DISTINCT WDD.SOURCE_L...
4.95 54.02 9.16 4.44 875 3g7y3gf1w3f3k ibuSRDetails.jsp SELECT 'INTERACTION', '1', ...
4.41 44.30 9.94 8.05 6,592 36zzrb9hja4my asnDispContainer.jsp begin jtf_icxses.updateSession...
2.72 79.67 3.42 1.18 393 14w9t0dd89367 WSHFSTRX INSERT INTO FND_CONCURRENT_REQ...
2.11 66.51 3.17 1.28 416 9hypmc3t618sc OEXOETEL SELECT ORDERED_ITEM, ORDERED_Q...
2.10 68.71 3.05 1.21 331 5mgaqh04z66b7 ap.oie.server.HomePageAM SELECT * FROM (SELECT AI.DESCR...
2.06 58.22 3.53 2.58 40,613 91hakq9n36htp ap.oie.server.HomePageAM SELECT TEXT_VALUE FROM WF_ITEM...
2.05 6.47 31.66 12.12 34 2fr5f5xzmffd8 POXPRPOP SELECT decode ( : P_sortby , ...
1.93 39.36 4.90 3.01 39,981 9bbak9qpg1c7x icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ATTRIBUTE_...
1.85 22.03 8.38 3.69 23,055 1c0b7sas42w2z INVTTMTX SELECT NVL(ITEM_COST, 0), ...
1.71 2.44 70.05 58.93 13 1du9v021t8m46 ARGLTP insert into gl_interface(creat...
1.31 1.38 94.87 70.43 23,951 827gtfny5uagb CSXSRISR begin :con := FND_GENERIC_POLI...
1.18 2.78 42.56 39.00 8,557 3prk3vg9u0abb FNDOAMCOL BEGIN FND_GLOBAL.APPS_INITIA...
1.18 1.89 62.54 58.92 30,190 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
1.12 1.90 58.85 48.66 42 103cb1p5ufz3p ARGLTP update gl_interface i set (i....
1.10 2.42 45.63 25.59 11,194 bfbyqwbr4vwms OEXOETEL begin OE_OEOL_SCH.SCHEDULE_LIN...
0.66 70.37 0.93 0.31 89 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...
0.63 75.82 0.84 0.32 89 6bs3v2f0w4fw1 ARXCWMAI SELECT TRX_NUMBER, BILLING_NUM...
0.60 6.40 9.31 5.79 10,973 d0a8mm8y38yaw WSHFRREL SELECT base.revision ...
0.51 75.73 0.67 0.62 764 2ym6hhaq30r73   select type#, blocks, extents,...
0.46 58.57 0.78 0.42 435 4z1g1n1wa0k2c ARXTWMAI SELECT * FROM RA_CUSTOMER_TRX ...
0.38 0.83 46.39 42.36 13 bp8crdjba8zgt ARGLTP update ra_cust_trx_line_gl_dis...
0.28 59.09 0.47 0.14 1 1kjhvys1sd1sg ap.oie.server.WebExpensesAM BEGIN fnd_msg_pub.initialize;A...
0.19 96.52 0.20 0.06 74 0aqjpk56w9cgw WSHINTERFACE SELECT LINE_ID FROM OE_ORDER_L...
0.19 99.14 0.19 0.03 15 6zqvhmq9qsnj2 WSHINTERFACE SELECT SOURCE_DOCUMENT_TYPE_ID...
0.18 9.97 1.78 0.80 1 d92h3rjp0y217   begin prvt_hdm.auto_execute( :...
0.17 30.91 0.57 0.35 766 04xtrk7uyhknh   select obj#, type#, ctime, mti...
0.17 97.02 0.17 0.05 69 d9ybtwvn89wct WSHFSTRX SELECT HEADER_ID FROM OE_ORDER...
0.16 84.18 0.20 0.13 179 821fx90awyvj7 WSHINTERFACE SELECT ACCOUNTING_RULE_ID , A...
0.15 75.89 0.20 0.04 14 3vy5h9xkfv1s5 icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ATTRIBUTE_...
0.15 8.93 1.69 1.51 28,377 0b85w9vv0hbt1 icx.por.req.server.RequisitionAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...

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
0aqjpk56w9cgw SELECT LINE_ID FROM OE_ORDER_LINES WHERE LINE_ID = :B1 FOR UPDATE NOWAIT
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))
1kjhvys1sd1sg BEGIN fnd_msg_pub.initialize;AP_WEB_OA_MAINFLOW_PKG.OASubmitWorkflow(p_report_header_id => :1, p_preparer_id => :2, p_employee_id => :3, p_invoice_number => :4, p_reimb_curr => :5, p_cost_center => :6, p_purpose => :7, p_approver_id => :8, p_week_end_date => :9, p_workflow_appr_flag => :10, p_msg_count => :11);END;
25bkagv1j2xf7 INSERT INTO MTL_MATERIAL_TRANSACTIONS ( TRANSACTION_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, LAST_UPDATE_LOGIN, REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, INVENTORY_ITEM_ID, ORGANIZATION_ID, SUBINVENTORY_CODE, LOCATOR_ID, REVISION, TRANSACTION_TYPE_ID, TRANSACTION_ACTION_ID, TRANSACTION_SOURCE_TYPE_ID, TRANSACTION_SOURCE_ID, TRANSACTION_SOURCE_NAME, TRANSACTION_QUANTITY, TRANSACTION_UOM, PRIMARY_QUANTITY, TRANSACTION_DATE, TRANSACTION_COST, ACTUAL_COST, PRIOR_COST, NEW_COST, QUANTITY_ADJUSTED, VARIANCE_AMOUNT, TRANSFER_COST, TRANSPORTATION_COST, TRANSFER_TRANSACTION_ID, TRANSFER_ORGANIZATION_ID, TRANSFER_SUBINVENTORY, TRANSFER_LOCATOR_ID , ACCT_PERIOD_ID, TRANSACTION_REFERENCE, REASON_ID, REPETITIVE_LINE_ID, DEPARTMENT_ID, OPERATION_SEQ_NUM, SHIPMENT_NUMBER, FREIGHT_CODE, WAYBILL_AIRBILL, TRX_SOURCE_LINE_ID, MOVE_ORDER_LINE_ID , COSTED_FLAG , INVOICED_FLAG , DISTRIBUTION_ACCOUNT_ID , ENCUMBRANCE_ACCOUNT , ENCUMBRANCE_A MOUNT , COST_UPDATE_ID , PROJECT_ID , TASK_ID , TO_PROJECT_ID , TO_TASK_ID , LPN_ID , TRANSFER_LPN_ID, CONTENT_LPN_ID , PUT_AWAY_STRATEGY_ID , PUT_AWAY_RULE_ID , PICK_STRATEGY_ID , PICK_RULE_ID , CREATED_BY , COST_GROUP_ID , TRANSFER_COST_GROUP_ID , TRANSACTION_SET_ID , PM_COST_COLLECTED , COST_CATEGORY_ID , ORGANIZATION_TYPE , TRANSFER_ORGANIZATION_TYPE , OWNING_ORGANIZATION_ID , OWNING_TP_TYPE , PLANNING_ORGANIZATION_ID , PLANNING_TP_TYPE , XFR_OWNING_ORGANIZATION_ID , TRANSFER_OWNING_TP_TYPE , XFR_PLANNING_ORGANIZATION_ID , TRANSFER_PLANNING_TP_TYPE , SECONDARY_TRANSACTION_QUANTITY , SECONDARY_UOM_CODE, PICK_SLIP_NUMBER, PICKING_LINE_ID, VENDOR_LOT_NUMBER, SOURCE_CODE, SOURCE_LINE_ID, MOVE_TRANSACTION_ID, RCV_TRANSACTION_ID, COMPLETION_TRANSACTION_ID, CURRENCY_CODE, CURRENCY_CONVERSION_RATE, CURRENCY_CONVERSION_DATE, CURRENCY_CONVERSION_TYPE, MATERIAL_ACCOUNT, MATERIAL_OVERHEAD_ACCOUNT, RESOURCE_ACCOUNT, OUTSIDE_PROCESSING_ACCOUNT, OVERHEAD_ACCOUNT, MOV EMENT_ID, SOURCE_PROJECT_ID, SOURCE_TASK_ID, PA_EXPENDITURE_ORG_ID, EXPENDITURE_TYPE, TRANSFER_PERCENTAGE, ORG_COST_GROUP_ID, COST_TYPE_ID, VALUE_CHANGE, PERCENTAGE_CHANGE, EMPLOYEE_CODE, MASTER_SCHEDULE_UPDATE_CODE, TRX_SOURCE_DELIVERY_ID, RECEIVING_DOCUMENT, TRANSPORTATION_DIST_ACCOUNT, NUMBER_OF_CONTAINERS, RMA_LINE_ID, CYCLE_COUNT_ID, PHYSICAL_ADJUSTMENT_ID, FLOW_SCHEDULE, FINAL_COMPLETION_FLAG, QA_COLLECTION_ID, OVERCOMPLETION_TRANSACTION_QTY, OVERCOMPLETION_PRIMARY_QTY, OVERCOMPLETION_TRANSACTION_ID, COMMON_BOM_SEQ_ID, COMMON_ROUTING_SEQ_ID, MVT_STAT_STATUS, PICK_SLIP_DATE, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, SHIP_TO_LOCATION_ID, TRANSACTION_MODE, TRANSACTION_BATCH_ID, TRANSACTION_BATCH_SEQ, FOB_POINT, INTRANSIT_ACCOUNT, TRX_FLOW_HEADER_ID, L OGICAL_TRX_TYPE_CODE, ORIGINAL_TRANSACTION_TEMP_ID, SHORTAGE_PROCESS_CODE) VALUES(:1, SYSDATE, :2, SYSDATE, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, ROUND(:17, 5), :18, ROUND(:19, 5), nvl(:20, sysdate), :21, :22, :23, :24, :25, :26, :27, :28, :29, :30, :31, :32, :33, :34, :35, :36, :37, :38, :39, :40, :41, :42, :43, 'N', 'N', :44, :45, :46, :47, :48, :49, :50, :51, :52, :53, :54, :55, :56, :57, :58, :59, :60, :61, :62, :63, :64, :65, :66, :67, :68, :69, :70, :71, :72, :73, :74, :75, :76, :77, :78, :79, :80, :81, :82, :83, :84, :85, :86, :87, :88, :89, :90, :91, :92, :93, :94, :95, :96, :97, :98, :99, :100, :101, :102, :103, :104, :105, :106, :107, :108, :109, :110, :111, :112, :113, :114, :115, :116, :117, :118, :119, :120, 'NEW', :121, :122, :123, :124, :125, :126, :127, :128, :129, :130, :131, :132, :133, :134, :135, :136, :137, :138, :139, :140, :141, :142, :143, :144, :145, :146, :147)
25wzrzwd46a44 SELECT 1 FROM DUAL WHERE EXISTS ( SELECT 1 FROM FND_GRANTS G, WF_USER_ROLES R WHERE G.GRANTEE_KEY = R.ROLE_NAME AND R.USER_NAME IN (SELECT INCRNS.NAME FROM WF_LOCAL_ROLES SRC , WF_LOCAL_ROLES INCRNS WHERE SRC.NAME = :B4 AND SRC.PARENT_ORIG_SYSTEM = INCRNS.PARENT_ORIG_SYSTEM AND SRC.PARENT_ORIG_SYSTEM_ID = INCRNS.PARENT_ORIG_SYSTEM_ID) AND G.OBJECT_ID = :B3 AND ((:B2 = -1) OR (G.MENU_ID IN (SELECT CMF.MENU_ID FROM FND_COMPILED_MENU_FUNCTIONS CMF WHERE CMF.FUNCTION_ID = :B2 ))) AND ( G.CTX_SECGRP_ID = -1 OR G.CTX_SECGRP_ID = SYS_CONTEXT('FND', 'SECURITY_GROUP_ID')) AND ( G.CTX_RESP_ID = -1 OR G.CTX_RESP_ID = SYS_CONTEXT('FND', 'RESP_ID')) AND ( G.CTX_RESP_APPL_ID = -1 OR G.CTX_RESP_APPL_ID = SYS_CONTEXT('FND', 'RESP_APPL_ID')) AND ( G.CTX_ORG_ID = -1 OR G.CTX_ORG_ID = SYS_CONTEXT('FND', 'ORG_ID')) AND G.START_DATE <= SYSDATE AND ( G.END_DATE IS NULL OR G.END_DATE >= SYSDATE ) AND G.INSTANCE_TYPE = :B1 )
2fjd6cndjby9p INSERT INTO RA_CUST_TRX_LINE_GL_DIST ( CUSTOMER_TRX_LINE_ID, CUSTOMER_TRX_ID, CODE_COMBINATION_ID, SET_OF_BOOKS_ID, ACCOUNT_CLASS, ACCOUNT_SET_FLAG, PERCENT, AMOUNT, ACCTD_AMOUNT, GL_DATE, CUST_TRX_LINE_SALESREP_ID, REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, POSTING_CONTROL_ID, ORIGINAL_GL_DATE, CUST_TRX_LINE_GL_DIST_ID ) SELECT /*+ ORDERED */ ASS.CUSTOMER_TRX_LINE_ID, LINES.CUSTOMER_TRX_ID, DIST.CODE_COMBINATION_ID, :B12 , ASS.ACCOUNT_CLASS, 'N', ROUND( (DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * DECODE(ASS.AMOUNT, 0, DECODE(ASS.ACCOUNT_CLASS, 'REV', DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, 1, -1 ), DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, -1, 1 ) ), ASS.AMOUNT ), FC.PRECISION), ROUND( ((DIST.PERCENT/100) * DECODE(ASS.AMOUNT, 0, DECODE(ASS.ACCOUNT_CLASS, 'REV', DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, 1, -1), DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, -1, 1) ), ASS.AMOUNT) ) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT) / DECODE(LINES.EXTENDED_AMOUNT, 0, 1, LINES.EXTENDED_AMOUNT)) * DECODE(ASS.AMOUNT, 0, 0, 100), 4), DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ((DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT), DECODE(:B10 , NULL, ROUND( NVL(HEADER.EXCHANGE_ RATE, 1) * DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ((DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT ), :B11 ), ROUND( ( NVL(HEADER.EXCHANGE_RATE, 1) * DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ( (DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT ) ) / :B10 ) * :B10 ), DECODE(REC.GL_DATE, NULL, NULL, ARP_AUTO_RULE.ASSIGN_GL_DATE(ASS.GL_DATE) ), DECODE(DIST.CUSTOMER_TRX_ID, HEADER.CUSTOMER_TRX_ID, DIST.CUST_TRX_LINE_SALESREP_ID, CMSREP.CUST_TRX_LINE_SALESREP_ID), :B9 , :B8 , :B7 , SYSDATE, SYSDATE, :B6 , SYSDATE, :B6 , -3, ASS.GL_DATE, RA_CUST_TRX_LINE_GL_DIST_S.NEXTVAL FROM RA_CUSTOMER_TRX HEADER, FND_CURRENCIES FC, RA_CUSTOMER_TRX_LINES LINES, RA_RULES ACC_RULE, RA_CUST_TRX_LINE_GL_DIST REC, RA_CUST_TRX_LINE_GL_DIST DIST, RA_CUST_TRX_LINE_SALESREPS CMSREP, AR_REVENUE_ASSIGNMENTS ASS WHERE HEADER.CUSTOMER_TRX_ID = :B1 AND HEADER.COMPLETE_FLAG = 'Y' AND FC.CURRENCY_CODE = HEADER.INVOICE_CURRENCY_CODE AND LINES.CUSTOMER_TRX_ID = HEADER.CUSTOMER_TRX_ID AND LINES.AUTORULE_COMPLETE_FLAG||'' = 'N' AND ASS.CUSTOMER_TRX_LINE_ID = LINES.CUSTOMER_TRX_LINE_ID AND ASS.PERIOD_SET_NAME = :B5 AND ACC_RULE.RULE_ID = LINES.ACCOUNTING_RULE_ID AND DECODE(HEADER.INVOICING_RULE_ID, -3, :B3 , DECODE(NVL(ACC_RULE.DEFERRED_REVENUE_FLAG, 'N'), 'Y', :B2 , DECODE(:B4 , 'N', :B3 , DECODE(HEADER.PREVIOUS_CUSTOMER_TRX_ID, NULL, AR_REVENUE_MANAGEMENT_PVT.LINE_COLLECTIBILITY(:B1 , LINES.CUSTOMER_TRX_LINE_ID), AR_REVENUE_MANAGEMENT_PVT.CASH_BASED(HEADER.PREVIOUS_CUSTOMER_TRX_ID))))) <> :B2 AND REC.CUSTOMER_TRX_ID = HEADER.CUSTOMER_TRX_ID AND REC.ACCOUNT_CLASS = 'REC' AND REC.LATEST_REC_FLAG = 'Y' AND DIST.CUSTOMER_TRX_LINE_ID = (SELECT DECODE(COUNT(CUST_TRX_LINE_GL_DIST_ID), 0, NVL(LINES.PREVIOUS_CUSTOMER_TRX_LINE_ID, LINES.CUSTOMER_TRX_LINE_ID), LINES.CUSTOMER_TRX_LINE_ID) FROM RA_CUST_TRX_LINE_GL_DIST SUBDIST2 WHERE SUBDIST2.CUSTOMER_TRX_LINE_ID = LINES.CUSTOMER_TRX_LINE_ID AND SUBDIST2.ACCOUNT_SET_FLAG = 'Y' AND SUBDIST2.GL_DATE IS NULL AND ROWNUM < 2 ) AND DIST.ACCOUNT_CLASS = ASS.ACCOUNT_CLASS AND DIST.ACCOUNT_SET_FLAG = 'Y' AND DIST.CUST_TRX_LINE_SALESREP_ID = CMSREP.PREV_CUST_TRX_LINE_SALESREP_ID (+) AND :B1 = CMSREP.CUSTOMER_TRX_ID (+) AND NOT EXISTS ( SELECT 'distribution exists' FROM RA_CUST_TRX_LINE_GL_DIST SUBDIST WHERE SUBDIST.CUSTOMER_TRX_LINE_ID = ASS.CUSTOMER_TRX_LINE_ID AND SUBDIST.CUSTOMER_TRX_ID + 0 = LINES.CUSTOMER_TRX_ID AND SUBDIST.ACCOUNT_SET_FLAG = 'N' AND SUBDIST.ACCOUNT_CLASS = ASS.ACCOUNT_CLASS AND SUBDIST.ORIGINAL_GL_DATE = ASS.GL_DATE )
2fr5f5xzmffd8 SELECT decode ( : P_sortby , 'PO NUMBER' , null , poh . document_buyer_last_name ) , decode ( : P_sortby , 'PO NUMBER' , null , poh . document_buyer_first_name ) , decode ( : po_num_type , 'NUMERIC' , null , poh . po_num ) , decode ( : po_num_type , 'NUMERIC' , decode ( rtrim ( poh . po_num , '0123456789' ) , NULL , to_number ( poh . po_num ) , - 1 ) , null ) , poh . po_type poh_po_type , por . release_type poh_release_type , poh . po_num || decode ( poh . po_type , 'RELEASE' , '-' || por . release_num , null ) poh_po_num , poh . po_num security_poh_po_num , por . release_num security_por_po_num , poh . revision_num poh_revision_num , poh . vendor_name poh_vendor_name , poh . vendor_address_line1 poh_vendor_address_line1 , poh . vendor_address_line2 poh_vendor_address_line2 , poh . vendor_address_line3 poh_vendor_address_line3 , decode ( poh . vendor_city , null , poh . vendor_state || ' ' || poh . vendor_postal_code , poh . vendor_city || ', ' || poh . vendor_state || ' ' || poh . vendor_postal_code ) poh_vendor_adr_info , poh . vendor_country poh_vendor_country , poh . customer_num poh_customer , poh . vendor_num poh_vendor_num , poh . creation_date poh_creation_date , poh . revised_date poh_revised_date , substr ( substr ( poh . document_buyer_first_name , 1 , 1 ) || ' ' || poh . document_buyer_last_name , 1 , 12 ) poh_buyer , substr ( trim ( substr ( poh . archive_buyer_first_name , 1 , 1 ) || ' ' || poh . archive_buyer_l ast_name ) , 1 , 12 ) poh_archive_buyer , poh . document_buyer_agent_id poh_agent_id , poh . payment_terms poh_payment_terms , poh . ship_via poh_ship_via , poh . fob poh_fob , poh . freight_terms poh_freight_terms , substr ( poh . vendor_contact_first_name , 1 , 1 ) || ' ' || substr ( poh . vendor_contact_last_name , 1 , 10 ) poh_vendor_contact_name , poh . vendor_phone poh_vendor_phone , poh . vendor_contact_phone poh_vendor_contact_phone , poh . note_to_vendor poh_note_to_vendor , poh . printed_date poh_printed_date , poh . amount_agreed poh_amount_agreed , poh . cancel_flag poh_cancel_flag , poh . confirming_order_flag poh_confirming_order_flag , poh . acceptance_required_flag poh_acceptance_req_flag , poh . acceptance_due_date poh_acceptance_due_date , poh . currency_code poh_currency_code , poh . currency_code C_CURRENCY , poh . currency_name poh_currency_name , poh . currency_conversion_rate poh_currency_conversion_rate , poh . bill_to_location_id poh_bill_to_location , poh . ship_to_location_id poh_ship_to_location , poh . po_header_id poh_po_header_id , poh . po_release_id poh_po_release_id , poh . po_type poh_po_type , poh . approved_flag poh_approved_flag , poh . print_count poh_print_count , poh . effective_date poh_effective_date , poh . expiration_date poh_expiration_date , nvl ( poh . po_release_id , - 1 ) poh_join_release_id , poh . vendor_site_id poh_vendor_site_id , poh . vendor_id poh_vendor_id FROM po_headers_print poh , po_releases por WHERE poh . po_release_id = por . po_release_id (+) AND ( nvl ( por . release_num , - 1 ) BETWEEN nvl ( : P_release_num_from , nvl ( por . release_num , - 1 ) ) AND nvl ( : P_release_num_to , nvl ( por . release_num , - 1 ) ) OR poh . po_type != 'RELEASE' ) AND poh . document_buyer_agent_id = nvl ( : P_agent_id , poh . document_buyer_agent_id ) AND ( poh . release_date is NULL OR trunc ( poh . release_date ) BETWEEN nvl ( : P_date_from , trunc ( poh . release_date ) ) AND nvl ( : P_date_to , trunc ( poh . release_date ) + 1 ) ) AND nvl ( poh . approved_flag , 'N' ) = nvl ( : P_approved_flag , nvl ( poh . approved_flag , 'N' ) ) AND ( ( nvl ( : P_print_releases , 'Y' ) = 'Y' ) or ( nvl ( : P_print_releases , 'Y' ) = 'N' and poh . po_type != 'RELEASE' ) ) AND nvl ( poh . consigned_consumption_flag , 'N' ) <> 'Y' AND nvl ( por . consigned_consumption_flag , 'N' ) <> 'Y' AND :P_SINGLE_PO_PRINT != 1 AND :P_PO_NUM_TYPE = 'NUMERIC' AND decode(rtrim(poh.po_num, '0123456789'), NULL, to_number(poh.po_num), -1) BETWEEN decode(rtrim(nvl(:P_po_num_from, poh.po_num), '0123456789'), NULL, to_number(nvl(:P_po_num_from, poh.po_num)), -1) AND decode(rtrim(nvl(:P_po_num_to, poh.po_num), '0123456789'), NULL, to_number(nvl(:P_po_num_to, poh.po_num)), -1) AND nvl(poh.print_count, 0) = 0 AND NOT EXISTS (SELECT 'X' from ECE_TP_DETAILS ETD, ECE_TP_HEADERS ETH, PO_VENDOR_SITES E_PVS WHERE E_PVS.VENDOR_SITE_ID = POH.VENDOR_SITE_ID AND ETH.TP_HEADER_ID = E_PVS.TP_HEADER_ID AND ETD.TP_HEADER_ID = ETH.TP_HEADER_ID AND ETD.EDI_FLAG = 'Y' AND ETD.DOCUMENT_ID = 'POO' AND ETD.DOCUMENT_TYPE = POH.PO_TYPE ) and 1=1 ORDER BY 1 , 2 , 3 , 4
2g2hu9q4dr07c SELECT DELIVERY_DETAIL_ID, SOURCE_HEADER_ID, SOURCE_LINE_ID FROM WSH_DELIVERY_DETAILS WHERE MOVE_ORDER_LINE_ID = :B1 AND MOVE_ORDER_LINE_ID IS NOT NULL AND RELEASED_STATUS = 'S' FOR UPDATE NOWAIT
2ym6hhaq30r73 select type#, blocks, extents, minexts, maxexts, extsize, extpct, user#, iniexts, NVL(lists, 65535), NVL(groups, 65535), cachehint, hwmincr, NVL(spare1, 0), NVL(scanhint, 0) from seg$ where ts#=:1 and file#=:2 and block#=:3
36zzrb9hja4my begin jtf_icxses.updateSessionInfo(:1, :2, :3, :4); end;
3c086a4sm741b select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . cust_trx_type_id ) dummy_id , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . name ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , cust_acct . cust_account_id customer_id , cust_acct . account_number customer_number , types . name type , ps . payment_schedule_id payment_sched_id , ps . class class , ps . due_date due_date , decode ( : rp_convert_flag , 'Y' , ps . acctd_amount_due_remaining , ps . amount_due_remaining ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , ps . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp _bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b1 , decode ( : rp_bucket_line_type_2 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( par ty . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from ra_cust_trx_types_all types , hz_cust_accounts cust_acct , hz_parties party , AR_PAYMENT_SCHEDULES_ALL ps , RA_CUST_TRX_LINE_GL_DIST_ALL gld , gl_code_combinations cc where TRUNC ( ps.gl_date ) <= : p_as_of_date and ps.customer_id = cust_acct.cust_account_id and cust_acct.party_id = party.party_id and cust_acct.account_number >= : p_customer_number_low and cust_acct.account_number <= : p_customer_number_high and ps.cust_trx_type_id = types.cust_trx_type_id and nvl ( ps.org_id , - 99 ) = nvl ( types.org_id , - 99 ) and ps.gl_date_closed > : P_AS_OF_DATE and ps.customer_trx_id + 0 = gld.customer_trx_id and gld.account_class = 'REC' and gld.latest_rec_flag = 'Y' and gld.code_combination_id = cc.code_combination_id AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( TYPES.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( GLD.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id UNION ALL select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , - 999 ) dummy_id , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , decode ( app . applied_payment_schedule_id , - 4 , : c_claim_meaning , : c_payment_meaning ) ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , nvl ( cust_acct . cust_account_id , - 999 ) customer_id , cust_acct . account_number customer_ number , decode ( : p_order_by , 'XXX' , NULL , decode ( app . applied_payment_schedule_id , - 4 , : c_claim_meaning , : c_payment_meaning ) ) type , ps . payment_schedule_id payment_sched_id , ps . class class , ps . due_date due_date , - sum ( decode ( : rp_convert_flag , 'Y' , app . acctd_amount_applied_from , app . amount_applied ) ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , ps . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b1 , decode ( : rp_bucket_line_type_2 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , c eil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( party . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from AR_PAYMENT_SCHEDULES_ALL ps , AR_RECEIVABLE_APPLICATIONS_ALL app , gl_code_combinations cc , hz_cust_accounts cust_acct , hz_parti es party where app.gl_date + 0 <= : P_AS_OF_DATE and ps.customer_id = cust_acct.cust_account_id (+) and cust_acct.party_id = party.party_id (+) and nvl ( cust_acct.account_number , : pd_customer_number_low ) >= : p_customer_number_low and nvl ( cust_acct.account_number , : pd_customer_number_low ) <= : p_customer_number_high and ps.cash_receipt_id + 0 = app.cash_receipt_id and app.code_combination_id = cc.code_combination_id and app.status in ( 'ACC' , 'UNAPP' , 'UNID' , 'OTHER ACC' ) and nvl ( app.confirmed_flag , 'Y' ) = 'Y' and ps.gl_date_closed > : P_AS_OF_DATE and ( ( app.reversal_gl_date is not null AND ps.gl_date <= : P_AS_OF_DATE ) OR app.reversal_gl_date is null ) and nvl ( ps.receipt_confirmed_flag , 'Y' ) = 'Y' AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( APP.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id group by party.party_name , cust_acct.account_number , cust_acct.cust_account_id , ps.payment_schedule_id , app.applied_payment_schedule_id , ps.due_date , ps.amount_due_original , ps.amount_adjusted , ps.amount_applied , ps.amount_credited , ps.gl_date , ps.amount_in_dispute , ps.amount_adjusted_pending , ps.invoice_currency_code , ps.exchange_rate , ps.class , cc.SEGMENT1 , decode ( app.status , 'UNID' , 'UNID' , 'UNAPP' ) UNION ALL select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , - 999 ) , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , : c_risk_meaning ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , nvl ( cust_acct . cust_account_id , - 999 ) customer_id , cust_acct . account_number customer_number , : c_risk_meaning type , ps . payment_schedule_id payment_sched_id , : c_risk_meaning class , ps . due_date due_date , decode ( : rp_convert_flag , 'Y' , crh . acctd_amount , crh . amount ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , crh . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b1 , decode ( : rp_bucket_line_type _2 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , 0 , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , decode ( greatest ( : rp_bucket_days_from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( party . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from hz_cust_accounts cust_acct , hz_parties party , AR_PAYMENT_SCHEDULES_ALL ps , AR_CASH_RECEIPTS_ALL cr , AR_CASH_RECEIPT_HISTORY_ALL crh , gl_code_combinations cc where crh.gl_date + 0 <= : P_AS_OF_DATE and upper ( : p_risk_option ) != 'NONE' and ps.customer_id = cust_acct.cust_account_id (+) and cust_acct.party_id = party.party_id (+) and cust_acct.account_number >= : p_customer_number_low and cust_acct.account_number <= : p_customer_number_high and ps.cash_receipt_id = cr.cash_receipt_id and cr.cash_receipt_id = crh.cash_receipt_id and crh.account_code_combination_id = cc.code_combination_id and ( crh.current_record_flag = 'Y' or crh.reversal_gl_date > : p_as_of_date ) and crh.status not in ( decode ( crh.factor_flag , 'Y' , 'RISK_ELIMINATED' , 'N' , 'CLEARED' ) , 'REVERSED' ) and 0 = ( select nvl ( sum ( ra.amount_applied ) , 0 ) from AR_RECEIVABLE_APPLICATIONS_ALL ra where ra.cash_receipt_id = cr.cash_receipt_id and ra.status = 'ACTIVITY' and applied_payment_schedule_id = - 2 and ra.gl_date <= to_date ( : p_as_of_date ) ) AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( CR.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( CRH.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id UNION ALL select decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . cust_trx_type_id ) dummy_id , decode ( UPPER ( : p_order_by ) , 'CUSTOMER' , NULL , types . name ) dummy_type , rtrim ( rpad ( substrb ( party . party_name , 1 , 50 ) , 36 ) ) customer_name , cust_acct . cust_account_id customer_id , cust_acct . account_number customer_number , types . name type , ps . payment_schedule_id payment_sched_id , ps . class class , ps . due_date due_date , decode ( : rp_convert_flag , 'Y' , ps . acctd_amount_due_remaining , ps . amount_due_remaining ) amt_due_remaining , ps . amount_due_original amt_due_original , ceil ( : P_AS_OF_DATE - ps . due_date ) days_past_due , ps . amount_adjusted amount_adjusted , ps . amount_applied amount_applied , ps . amount_credited amount_credited , ps . gl_date gl_date , decode ( ps . invoice_currency_code , : Functional_Currency , NULL , decode ( ps . exchange_rate , NULL , '*' , NULL ) ) data_converted , nvl ( ps . exchange_rate , 1 ) ps_exchange_rate , decode ( : rp_bucket_line_type_0 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_0 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b0 , decode ( : rp_bucket_line_type_1 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_1 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b1 , decode ( : rp_bucket_line_type_2 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_from_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_2 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b2 , decode ( : rp_bucket_line_type_3 , 'DISPUTE_ONLY' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 0 , 1 ) , 'PENDADJ_ONLY' , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 'DISPUTE_PENDADJ' , decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 0 , 1 ) , 1 ) , decode ( greatest ( : rp_bucket_days_ from_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , least ( : rp_bucket_days_to_3 , ceil ( : P_AS_OF_DATE - ps . due_date ) ) , 1 , 0 ) * decode ( nvl ( ps . amount_in_dispute , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'DISPUTE_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) * decode ( nvl ( ps . amount_adjusted_pending , 0 ) , 0 , 1 , decode ( : rp_bucket_category , 'PENDADJ_ONLY' , 0 , 'DISPUTE_PENDADJ' , 0 , 1 ) ) ) b3 , cc.SEGMENT1 bal_segment_value , rtrim ( rpad ( nvl ( substrb ( party . party_name , 1 , 50 ) , : rp_unid_phrase ) , 36 ) ) customer_name_dsp from ra_cust_trx_types_all types , hz_cust_accounts cust_acct , hz_parties party , AR_PAYMENT_SCHEDULES_ALL ps , ar_transaction_history_all th , AR_DISTRIBUTIONS_ALL dist , gl_code_combinations cc where TRUNC ( ps.gl_date ) <= : p_as_of_date and ps.class = 'BR' and ps.customer_id = cust_acct.cust_account_id and cust_acct.party_id = party.party_id and cust_acct.account_number >= : p_customer_number_low and cust_acct.account_number <= : p_customer_number_high and ps.cust_trx_type_id = types.cust_trx_type_id and nvl ( ps.org_id , - 99 ) = nvl ( types.org_id , - 99 ) and ps.gl_date_closed > : P_AS_OF_DATE and ps.customer_trx_id + 0 = th.customer_trx_id and th.transaction_history_id = dist.source_id and dist.source_table = 'TH' and th.transaction_history_id = ( select max ( transaction_history_id ) from ar_transaction_history_all th2 , AR_DISTRIBUTIONS_ALL dist2 where th2.transaction_history_id = dist2.source_id and dist2.source_table = 'TH' and th2.gl_date <= to_date ( : p_as_of_date ) and dist2.amount_dr is not null and th2.customer_trx_id = ps.customer_trx_id ) and dist.amount_dr is not null and dist.source_table_secondary is NULL and dist.code_combination_id = cc.code_combination_id AND NVL ( PS.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id AND NVL ( TYPES.ORG_ID , : p_reporting_entity_id ) = : p_reporting_entity_id ORDER BY 23 ASC, 2 ASC, 3 ASC, 4 ASC, 5 ASC , 23 , 3 , 5
3dssuqfjsynrk SELECT count(1) FROM (SELECT * FROM ( SELECT LeadEO.sales_lead_id as SalesLeadId , to_char(hz_timezone_pub.convert_datetime(:1, hcp.timezone_id, SYSDATE), 'HH:MI AM ') ||' '||ht.standard_time_short_code as PrimaryContactLocalTime , SUBSTRB(LeadEO.description, 1, 240) as Description , hp.party_name as ContactName , custParty.party_name as CustomerName , aslt.meaning as RankName , ast.meaning as LeadStatus , ROUND(SYSDATE - LeadEO.creation_date) as Age , DECODE(LeadEO.status_code, 'CONVERTED_TO_OPPORTUNITY', 'ASNCnvToOpptyDsbld', 'ASNCnvToOpptyEnbld') as ASNLeadLstCnvToOppty , LeadEO.customer_id , hp.party_id , LeadEO.primary_contact_party_id , hr.relationship_id FROM as_sales_leads LeadEO , ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id, aaa.customer_id FROM as_accesses_all aaa WHERE aaa.sales_lead_id IS NOT NULL AND aaa.lead_id IS NULL AND aaa.salesforce_id = :2) secu , as_statuses_tl ast , as_sales_lead_ranks_tl aslt , hz_parties CustParty , hz_parties hp, hz_relationships hr , hz_contact_points hcp , hz_timezones ht , ams_source_codes amsc WHERE LeadEO.sales_lead_id = secu.sales_lead_id AND LeadEO.customer_id = secu.customer_id AND LeadEO.status_code = ast.status_code AND ast.language = USERENV('LANG') AND LeadEO.lead_rank_id = aslt.rank_id (+) AND aslt.language (+) = USERENV('LANG') AND LeadEO.customer_id = CustParty.party_id AND LeadEO.primary_contact_party_id = hr.party_id(+) AND hr.subject_ id = hp.party_id (+) AND hr.subject_table_name (+) = 'HZ_PARTIES' AND hr.object_id(+) = LeadEO.customer_id AND hr.object_table_name (+) = 'HZ_PARTIES' AND LeadEO.primary_contact_party_id = hcp.owner_table_id(+) AND hcp.owner_table_name (+) = 'HZ_PARTIES' AND hcp.primary_flag (+) = 'Y' AND hcp.contact_point_type (+) = 'PHONE' AND hcp.timezone_id = ht.timezone_id (+) AND LeadEO.source_promotion_id = amsc.source_code_id AND amsc.source_code_for_id = :3 AND LeadEO.status_code = :4 ORDER BY age ) )
3g7y3gf1w3f3k SELECT 'INTERACTION', '1', a.creation_date, a.created_by, a.activity_id, m.media_item_type, null, jtfaction.short_description, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, sysdate, sysdate, r.resource_id FROM jtf_ih_activities a, jtf_ih_media_items m, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r, JTF_IH_ACTIONS_TL jtfaction WHERE a.doc_id = :1 AND a.doc_ref = 'SR' AND a.created_by = u.user_id AND a.action_id = jtfaction.action_id AND jtfaction.language = userenv('LANG') AND a.media_id = m.media_id (+) AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) UNION ALL SELECT 'NOTE', '2', b.creation_date, b.entered_by, b.jtf_note_id, t.notes, b.note_status, lkcmttype.meaning, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, sysdate, sysdate, r.resource_id FROM fnd_lookup_values_vl lkcmttype, jtf_notes_tl t, jtf_notes_b b, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE b.jtf_note_id = t .jtf_note_id AND t.language = userenv('LANG') AND b.source_object_code = 'SR' AND b.note_status = 'E' AND b.source_object_id = :2 AND lkcmttype.lookup_type = 'JTF_NOTE_TYPE' AND b.note_type = lkcmttype.lookup_code AND b.created_by = u.user_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) UNION ALL SELECT 'ATTACHMENT', '3', lobs.upload_date, atth.created_by, lobs.file_id, null, null, lobs.file_name, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, SYSDATE, SYSDATE, r.resource_id FROM fnd_lobs lobs, fnd_attached_docs_form_vl atth, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE atth.entity_name = 'CS_INCIDENTS' AND atth.pk1_value = :3 AND atth.created_by = u.user_id AND atth.function_name = :4 AND atth.media_id = lobs.file_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) UNION ALL SELECT 'TASK', '5', task.creation_date, task.created_by, task.task_id, tl.task_name, tl.description, stl.name, tktype.name, null, null, n ull, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, task.planned_start_date, task.planned_end_date, r.resource_id FROM jtf_tasks_b task, jtf_tasks_tl tl, jtf_task_statuses_tl stl, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r, jtf_task_types_tl tktype WHERE task.source_object_id = :5 AND task.source_object_type_code = 'SR' AND tl.language = userenv ('LANG') AND stl.language = userenv('LANG') AND tktype.task_type_id = task.task_type_id AND tktype.language = userenv('LANG') AND task.task_status_id = stl.task_status_id AND task.created_by = u.user_id AND task.task_id = tl.task_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND trunc(sysdate) between trunc(nvl(e.effective_start_date, sysdate)) AND trunc(nvl(e.effective_end_date, sysdate)) and task.publish_flag = 'Y' UNION ALL SELECT 'AUDIT', '4', audi.creation_date, audi.created_by, audi.incident_audit_id, null, null, null, AUDI.CHANGE_INCIDENT_SEVERITY_FLAG, sevt_old.name, sevt.name, AUDI.CHANGE_INCIDENT_TYPE_FLAG, typet_old.name, typet.name, AUDI.CHANGE_INCIDENT_STATUS_FLAG, stat_old.name, stat.name, AUDI.CHANGE_INCIDENT_URGENCY_FLAG, urgt_old.name, urgt.name, DECODE(AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, 'Y', AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, AUDI.CHANGE_INVENTORY_ITEM_FLAG), DECODE(AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, 'Y', DECODE(AUDI.CHANGE_INVENTORY_ITEM_FLAG, 'Y', NVL(to_char(audi.old_customer_product_id), 'INV'||audi.old_inventory_item_id), audi.old_customer_product_id), 'INV'||audi.old_inventory_item_id), DECODE(AUDI.CHANGE_CUSTOMER_PRODUCT_FLAG, 'Y', DECODE(AUDI.CHANGE_INVENTORY_ITEM_FLAG, 'Y', NVL(to_char(audi.customer_product_id), 'INV'||audi.inventory_item_id), audi.customer_product_id), 'INV'||audi.inventory_item_id), u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, sysdate, sysdate, r.resource_id FROM cs_incidents_audit_b audi, CS_INCIDENT_SEVERITIES_VL sevt_old, CS_INCIDENT_SEVERITIES_VL sevt, cs_incident_types_VL typet_old, cs_incident_types_VL typet, cs_incident_statuses_VL stat_old, cs_incident_statuses_VL stat, cs_incident_urgencies_VL urgt_old, cs_incident_urgencies_VL urgt, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE audi.incident_id = :6 AND sevt_old.incident_severity_id = AUDI.old_incident_severity_id AND sevt.incident_severity_id = AUDI.incident_severity_id AND typet_old.incident_type_id = AUDI.old_incident_type_id AND typet.incident_type_id = AUDI.incident_type_id AND stat_old.incident_status_id = AUDI.old_inc ident_status_id AND stat.incident_status_id = AUDI.incident_status_id AND urgt_old.incident_urgency_id(+) = AUDI.old_incident_urgency_id AND urgt.incident_urgency_id(+) = AUDI.incident_urgency_id AND audi.created_by = u.user_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND trunc(sysdate) between trunc(nvl(e.effective_start_date, sysdate)) AND trunc(nvl(e.effective_end_date, sysdate)) UNION ALL SELECT 'SOLUTION', '6', link.creation_date, link.created_by, solu.set_id, solu.set_name, solu.set_number, solu.set_link_type_meaning, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, u.employee_id, u.customer_id, e.first_name, e.last_name, p.party_type, p.person_first_name, p.person_last_name, SYSDATE, SYSDATE, r.resource_id FROM cs_kb_linked_solutions_view solu, cs_kb_set_links link, fnd_user u, per_people_f e, hz_parties p, jtf_rs_resource_extns r WHERE solu.other_id = :7 AND solu.set_id = link.set_id AND solu.object_code = 'SR' AND link.created_by = u.user_id AND link.other_id = solu.other_id AND u.employee_id = e.person_id (+) AND u.customer_id = p.party_id (+) AND u.user_id = r.user_id(+) AND TRUNC(SYSDATE) BETWEEN TRUNC(NVL(e.effective_start_date, SYSDATE)) AND TRUNC(NVL(e.effective_end_date, SYSDATE)) ORDER BY 3 desc
3n8tvc1tsqua0 SELECT DISTINCT WTS.STOP_ID FROM WSH_TRIP_STOPS WTS, WSH_TRIP_STOPS WTS2, WSH_DELIVERY_LEGS WDL, WSH_DELIVERY_LEGS WDL2, WSH_DELIVERY_ASSIGNMENTS WDA, WSH_DELIVERY_ASSIGNMENTS WDA2, WSH_DELIVERY_DETAILS WDD, WSH_DELIVERY_DETAILS WDD2 WHERE WTS.BATCH_ID = :B1 AND WTS.STOP_ID = WDL.PICK_UP_STOP_ID AND WDA.DELIVERY_ID = WDL.DELIVERY_ID AND WDA.DELIVERY_DETAIL_ID = WDD.DELIVERY_DETAIL_ID AND WDD.SOURCE_CODE = 'OE' AND NVL(WDD.OE_INTERFACED_FLAG, 'N') <> 'Y' AND WDD.RELEASED_STATUS <> 'D' AND WTS2.BATCH_ID = :B1 AND WTS2.STOP_ID = WDL2.PICK_UP_STOP_ID AND WDA2.DELIVERY_ID = WDL2.DELIVERY_ID AND WDA2.DELIVERY_DETAIL_ID = WDD2.DELIVERY_DETAIL_ID AND WDD2.SOURCE_LINE_ID = WDD.SOURCE_LINE_ID AND WDD2.SOURCE_CODE = 'OE' AND NVL(WDD2.OE_INTERFACED_FLAG, 'N') <> 'Y' AND WDD2.RELEASED_STATUS <> 'D' AND WTS2.STOP_ID <> WTS.STOP_ID
3prk3vg9u0abb BEGIN FND_GLOBAL.APPS_INITIALIZE( user_id=>:1 , resp_id=>:2 , resp_appl_id=>:3 , security_group_id=>:4 , server_id=>:5);END;
3vy5h9xkfv1s5 INSERT INTO WF_ITEM_ATTRIBUTE_VALUES ( ITEM_TYPE, ITEM_KEY, NAME, TEXT_VALUE, NUMBER_VALUE, DATE_VALUE ) SELECT :B1 , :B2 , WIA.NAME, WIA.TEXT_DEFAULT, WIA.NUMBER_DEFAULT, WIA.DATE_DEFAULT FROM WF_ITEM_ATTRIBUTES WIA WHERE WIA.ITEM_TYPE = :B1
4adc1zhg5cmx0 UPDATE WSH_DELIVERY_DETAILS DD SET OE_INTERFACED_FLAG = :B5 WHERE SOURCE_LINE_ID = :B1 AND CONTAINER_FLAG = :B4 AND SOURCE_CODE = :B3 AND RELEASED_STATUS <> :B2 AND DD.DELIVERY_DETAIL_ID IN ( SELECT /*+ no_unnest */ DA.DELIVERY_DETAIL_ID FROM WSH_DELIVERY_ASSIGNMENTS DA , WSH_DELIVERY_LEGS DG, WSH_NEW_DELIVERIES DL, WSH_TRIP_STOPS ST WHERE DA.DELIVERY_DETAIL_ID = DD.DELIVERY_DETAIL_ID AND DL.DELIVERY_ID = DA.DELIVERY_ID AND DA.DELIVERY_ID IS NOT NULL AND ST.STOP_ID = DG.PICK_UP_STOP_ID AND ST.BATCH_ID = :B6 AND ST.STOP_LOCATION_ID = DL.INITIAL_PICKUP_LOCATION_ID AND DG.DELIVERY_ID = DL.DELIVERY_ID )
4mdc6tvvwx5tc SELECT CHARGE_ID , CHARGE_NAME , (CHARGE_AMOUNT - INVOICED_AMOUNT) , CHARGE_AMOUNT , INVOICED_AMOUNT , CURRENCY_CODE , CONTEXT , SUBSTRB(ATTRIBUTE1, 1, 150) , SUBSTRB(ATTRIBUTE2, 1, 150) , SUBSTRB(ATTRIBUTE3, 1, 150) , SUBSTRB(ATTRIBUTE4, 1, 150) , SUBSTRB(ATTRIBUTE5, 1, 150) , SUBSTRB(ATTRIBUTE6, 1, 150) , SUBSTRB(ATTRIBUTE7, 1, 150) , SUBSTRB(ATTRIBUTE8, 1, 150) , SUBSTRB(ATTRIBUTE9, 1, 150) , SUBSTRB(ATTRIBUTE10, 1, 150) , SUBSTRB(ATTRIBUTE11, 1, 150) , SUBSTRB(ATTRIBUTE12, 1, 150) , SUBSTRB(ATTRIBUTE13, 1, 150) , SUBSTRB(ATTRIBUTE14, 1, 150) , SUBSTRB(ATTRIBUTE15, 1, 150) FROM OE_CHARGE_LINES_V WHERE HEADER_ID = :B1 AND LINE_ID IS NULL AND NVL(INVOICED_FLAG, 'N') = 'Y' AND INVOICED_AMOUNT IS NOT NULL AND INVOICED_AMOUNT <> CHARGE_AMOUNT FOR UPDATE NOWAIT
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 )
6zqvhmq9qsnj2 SELECT SOURCE_DOCUMENT_TYPE_ID, SOURCE_DOCUMENT_ID, SOURCE_DOCUMENT_LINE_ID FROM OE_ORDER_LINES_ALL WHERE LINE_ID = :B1
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
821fx90awyvj7 SELECT ACCOUNTING_RULE_ID , ACCOUNTING_RULE_DURATION , ACTUAL_ARRIVAL_DATE , ACTUAL_SHIPMENT_DATE , AGREEMENT_ID , ARRIVAL_SET_ID , ATO_LINE_ID , ATTRIBUTE1 , ATTRIBUTE10 , ATTRIBUTE11 , ATTRIBUTE12 , ATTRIBUTE13 , ATTRIBUTE14 , ATTRIBUTE15 , ATTRIBUTE16 , ATTRIBUTE17 , ATTRIBUTE18 , ATTRIBUTE19 , ATTRIBUTE2 , ATTRIBUTE20 , ATTRIBUTE3 , ATTRIBUTE4 , ATTRIBUTE5 , ATTRIBUTE6 , ATTRIBUTE7 , ATTRIBUTE8 , ATTRIBUTE9 , AUTO_SELECTED_QUANTITY , AUTHORIZED_TO_SHIP_FLAG , BOOKED_FLAG , CANCELLED_FLAG , CANCELLED_QUANTITY , COMPONENT_CODE , COMPONENT_NUMBER , COMPONENT_SEQUENCE_ID , CONFIG_HEADER_ID , CONFIG_REV_NBR , CONFIG_DISPLAY_SEQUENCE , CONFIGURATION_ID , CONTEXT , CREATED_BY , CREATION_DATE , CREDIT_INVOICE_LINE_ID , CUSTOMER_DOCK_CODE , CUSTOMER_JOB , CUSTOMER_PRODUCTION_LINE , CUST_PRODUCTION_SEQ_NUM , CUSTOMER_TRX_LINE_ID , CUST_MODEL_SERIAL_NUMBER , CUST_PO_NUMBER , CUSTOMER_LINE_NUMBER , CUSTOMER_SHIPMENT_NUMBER , CUSTOMER_ITEM_NET_PRICE , DELIVERY_LEAD_TIME , DELIVER_TO_CONTACT_ID , DELIVER_TO_ORG_ID , DEMAND_BUCKET_TYPE_CODE , DEMAND_CLASS_CODE , DEP_PLAN_REQUIRED_FLAG , EARLIEST_ACCEPTABLE_DATE , END_ITEM_UNIT_NUMBER , EXPLOSION_DATE , FIRST_ACK_CODE , FIRST_ACK_DATE , FOB_POINT_CODE , FREIGHT_CARRIER_CODE , FREIGHT_TERMS_CODE , FULFILLED_QUANTITY , FULFILLED_FLAG , FULFILLMENT_METHOD_CODE , FULFILLMENT_DATE , GLOBAL_ATTRIBUTE1 , GLOBAL_ATTRIBUTE10 , GLOBAL_ATTRIBUTE11 , GLOBAL_ATTRIBUTE12 , GLOB AL_ATTRIBUTE13 , GLOBAL_ATTRIBUTE14 , GLOBAL_ATTRIBUTE15 , GLOBAL_ATTRIBUTE16 , GLOBAL_ATTRIBUTE17 , GLOBAL_ATTRIBUTE18 , GLOBAL_ATTRIBUTE19 , GLOBAL_ATTRIBUTE2 , GLOBAL_ATTRIBUTE20 , GLOBAL_ATTRIBUTE3 , GLOBAL_ATTRIBUTE4 , GLOBAL_ATTRIBUTE5 , GLOBAL_ATTRIBUTE6 , GLOBAL_ATTRIBUTE7 , GLOBAL_ATTRIBUTE8 , GLOBAL_ATTRIBUTE9 , GLOBAL_ATTRIBUTE_CATEGORY , HEADER_ID , INDUSTRY_ATTRIBUTE1 , INDUSTRY_ATTRIBUTE10 , INDUSTRY_ATTRIBUTE11 , INDUSTRY_ATTRIBUTE12 , INDUSTRY_ATTRIBUTE13 , 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 , INDUSTRY_ATTRIBUTE2 , INDUSTRY_ATTRIBUTE3 , INDUSTRY_ATTRIBUTE4 , INDUSTRY_ATTRIBUTE5 , INDUSTRY_ATTRIBUTE6 , INDUSTRY_ATTRIBUTE7 , INDUSTRY_ATTRIBUTE8 , INDUSTRY_ATTRIBUTE9 , INDUSTRY_CONTEXT , INTMED_SHIP_TO_CONTACT_ID , INTMED_SHIP_TO_ORG_ID , INVENTORY_ITEM_ID , INVOICE_INTERFACE_STATUS_CODE , INVOICE_TO_CONTACT_ID , INVOICE_TO_ORG_ID , INVOICED_QUANTITY , INVOICING_RULE_ID , ORDERED_ITEM_ID , ITEM_IDENTIFIER_TYPE , ORDERED_ITEM , ITEM_REVISION , ITEM_TYPE_CODE , LAST_ACK_CODE , LAST_ACK_DATE , LAST_UPDATED_BY , LAST_UPDATE_DATE , LAST_UPDATE_LOGIN , LAT EST_ACCEPTABLE_DATE , LINE_CATEGORY_CODE , LINE_ID , LINE_NUMBER , LINE_TYPE_ID , LINK_TO_LINE_ID , MODEL_GROUP_NUMBER , MFG_LEAD_TIME , OPEN_FLAG , OPTION_FLAG , OPTION_NUMBER , ORDERED_QUANTITY , ORDERED_QUANTITY2 , ORDER_QUANTITY_UOM , ORDERED_QUANTITY_UOM2 , ORG_ID , ORIG_SYS_DOCUMENT_REF , ORIG_SYS_LINE_REF , ORIG_SYS_SHIPMENT_REF , OVER_SHIP_REASON_CODE , OVER_SHIP_RESOLVED_FLAG , PAYMENT_TERM_ID , PLANNING_PRIORITY , PREFERRED_GRADE , PRICE_LIST_ID , PRICE_REQUEST_CODE , PRICING_ATTRIBUTE1 , PRICING_ATTRIBUTE10 , PRICING_ATTRIBUTE2 , PRICING_ATTRIBUTE3 , PRICING_ATTRIBUTE4 , PRICING_ATTRIBUTE5 , PRICING_ATTRIBUTE6 , PRICING_ATTRIBUTE7 , PRICING_ATTRIBUTE8 , PRICING_ATTRIBUTE9 , PRICING_CONTEXT , PRICING_DATE , PRICING_QUANTITY , PRICING_QUANTITY_UOM , PROGRAM_APPLICATION_ID , PROGRAM_ID , PROGRAM_UPDATE_DATE , PROJECT_ID , PROMISE_DATE , RE_SOURCE_FLAG , REFERENCE_CUSTOMER_TRX_LINE_ID , REFERENCE_HEADER_ID , REFERENCE_LINE_ID , REFERENCE_TYPE , REQUEST_DATE , REQUEST_ID , RETURN_ATTRIBUTE1 , RETURN_ATTRIBUTE10 , RETURN_ATTRIBUTE11 , RETURN_ATTRIBUTE12 , RETURN_ATTRIBUTE13 , RETURN_ATTRIBUTE14 , RETURN_ATTRIBUTE15 , RETURN_ATTRIBUTE2 , RETURN_ATTRIBUTE3 , RETURN_ATTRIBUTE4 , RETURN_ATTRIBUTE5 , RETURN_ATTRIBUTE6 , RETURN_ATTRIBUTE7 , RETURN_ATTRIBUTE8 , RETURN_ATTRIBUTE9 , RETURN_CONTEXT , RETURN_REASON_CODE , RLA_SCHEDULE_TYPE_CODE , SALESREP_ID , SCHEDULE_ARRIVAL_DATE , SCHEDULE_SHIP_DATE , SCHED ULE_STATUS_CODE , SHIPMENT_NUMBER , SHIPMENT_PRIORITY_CODE , SHIPPED_QUANTITY , SHIPPED_QUANTITY2 , SHIPPING_METHOD_CODE , SHIPPING_QUANTITY , SHIPPING_QUANTITY2 , SHIPPING_QUANTITY_UOM , SHIP_FROM_ORG_ID , SUBINVENTORY , SHIP_SET_ID , SHIP_TOLERANCE_ABOVE , SHIP_TOLERANCE_BELOW , SHIPPABLE_FLAG , SHIPPING_INTERFACED_FLAG , SHIP_TO_CONTACT_ID , SHIP_TO_ORG_ID , SHIP_MODEL_COMPLETE_FLAG , SOLD_TO_ORG_ID , SOLD_FROM_ORG_ID , SORT_ORDER , SOURCE_DOCUMENT_ID , SOURCE_DOCUMENT_LINE_ID , SOURCE_DOCUMENT_TYPE_ID , SOURCE_TYPE_CODE , SPLIT_FROM_LINE_ID , LINE_SET_ID , SPLIT_BY , MODEL_REMNANT_FLAG , TASK_ID , TAX_CODE , TAX_DATE , TAX_EXEMPT_FLAG , TAX_EXEMPT_NUMBER , TAX_EXEMPT_REASON_CODE , TAX_POINT_CODE , TAX_RATE , TAX_VALUE , TOP_MODEL_LINE_ID , UNIT_LIST_PRICE , UNIT_LIST_PRICE_PER_PQTY , UNIT_SELLING_PRICE , UNIT_SELLING_PRICE_PER_PQTY , VISIBLE_DEMAND_FLAG , VEH_CUS_ITEM_CUM_KEY_ID , SHIPPING_INSTRUCTIONS , PACKING_INSTRUCTIONS , SERVICE_TXN_REASON_CODE , SERVICE_TXN_COMMENTS , SERVICE_DURATION , SERVICE_PERIOD , SERVICE_START_DATE , SERVICE_END_DATE , SERVICE_COTERMINATE_FLAG , UNIT_LIST_PERCENT , UNIT_SELLING_PERCENT , UNIT_PERCENT_BASE_PRICE , SERVICE_NUMBER , SERVICE_REFERENCE_TYPE_CODE , SERVICE_REFERENCE_LINE_ID , SERVICE_REFERENCE_SYSTEM_ID , 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 , FLOW_STATUS_CODE , MARKETING_SOURCE_CODE_ID , CALCULATE_PRICE_FLAG , COMMITMENT_ID , ORDER_SOURCE_ID , UPGRADED_FLAG , ORIGINAL_INVENTORY_ITEM_ID , ORIGINAL_ITEM_IDENTIFIER_TYPE , ORIGINAL_ORDERED_ITEM_ID , ORIGINAL_ORDERED_ITEM , ITEM_RELATIONSHIP_TYPE , ITEM_SUBSTITUTION_TYPE_CODE , LATE_DEMAND_PENALTY_FACTOR , OVERRIDE_ATP_DATE_CODE , FIRM_DEMAND_FLAG , EARLIEST_SHIP_DATE , USER_ITEM_DESCRIPTION , BLANKET_NUMBER , BLANKET_LINE_NUMBER , BLANKET_VERSION_NUMBER , UNIT_COST , LOCK_CONTROL , CHANGE_SEQUENCE , TRANSACTION_PHASE_CODE , SOURCE_DOCUMENT_VERSION_NUMBER , MINISITE_ID , IB_OWNER , IB_INSTALLED_AT_LOCATION , IB_CURRENT_LOCATION , END_CUSTOMER_ID , END_CUSTOMER_CONTACT_ID , END_CUSTOMER_SITE_USE_ID , RETROBILL_REQUEST_ID , ORIGINAL_LIST_PRICE , ORDER_FIRMED_DATE , ACTUAL_FULFILLMENT_DATE FROM OE_ORDER_LINES_ALL WHERE LINE_ID = :B1
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;
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
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;
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;
d9ybtwvn89wct SELECT HEADER_ID FROM OE_ORDER_LINES_ALL WHERE LINE_ID = :B1
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
frpz46trgfjgs SELECT CHARGE_ID , CHARGE_NAME , CHARGE_AMOUNT , NVL(INVOICED_AMOUNT, CHARGE_AMOUNT) , CURRENCY_CODE , CONTEXT , SUBSTRB(ATTRIBUTE1, 1, 150) , SUBSTRB(ATTRIBUTE2, 1, 150) , SUBSTRB(ATTRIBUTE3, 1, 150) , SUBSTRB(ATTRIBUTE4, 1, 150) , SUBSTRB(ATTRIBUTE5, 1, 150) , SUBSTRB(ATTRIBUTE6, 1, 150) , SUBSTRB(ATTRIBUTE7, 1, 150) , SUBSTRB(ATTRIBUTE8, 1, 150) , SUBSTRB(ATTRIBUTE9, 1, 150) , SUBSTRB(ATTRIBUTE10, 1, 150) , SUBSTRB(ATTRIBUTE11, 1, 150) , SUBSTRB(ATTRIBUTE12, 1, 150) , SUBSTRB(ATTRIBUTE13, 1, 150) , SUBSTRB(ATTRIBUTE14, 1, 150) , SUBSTRB(ATTRIBUTE15, 1, 150) FROM OE_CHARGE_LINES_V WHERE HEADER_ID = :B1 AND LINE_ID IS NULL AND NVL(INVOICED_FLAG, 'N') = 'N' FOR UPDATE NOWAIT
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 331,685 90.79 1.91
CPU used when call started 331,170 90.65 1.90
CR blocks created 1,364,792 373.57 7.85
Cached Commit SCN referenced 36,749 10.06 0.21
Commit SCN cached 99 0.03 0.00
DB time 5,814,974 1,591.66 33.44
DBWR checkpoint buffers written 149,202 40.84 0.86
DBWR checkpoints 152 0.04 0.00
DBWR fusion writes 40,281 11.03 0.23
DBWR object drop buffers written 3,160 0.86 0.02
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR transaction table writes 441 0.12 0.00
DBWR undo block writes 304,471 83.34 1.75
DFO trees parallelized 73 0.02 0.00
IPC CPU used by this session 77,367 21.18 0.44
PX local messages recv'd 1,149 0.31 0.01
PX local messages sent 1,149 0.31 0.01
PX remote messages recv'd 2,685 0.73 0.02
PX remote messages sent 1,292 0.35 0.01
Parallel operations not downgraded 73 0.02 0.00
RowCR - row contention 3,375 0.92 0.02
RowCR attempts 2,735,774 748.83 15.73
RowCR hits 2,704,563 740.29 15.55
SMON posted for undo segment shrink 26 0.01 0.00
SQL*Net roundtrips to/from client 6,101,384 1,670.06 35.09
active txn count during cleanout 4,979,615 1,363.01 28.64
application wait time 28,685 7.85 0.16
background checkpoints completed 2 0.00 0.00
background checkpoints started 2 0.00 0.00
background timeouts 12,898 3.53 0.07
branch node splits 159 0.04 0.00
buffer is not pinned count 152,037,365 41,615.31 874.31
buffer is pinned count 209,702,436 57,399.25 1,205.92
bytes received via SQL*Net from client 1,470,106,685 402,394.12 8,454.04
bytes sent via SQL*Net to client 1,264,314,207 346,065.09 7,270.60
calls to get snapshot scn: kcmgss 15,577,512 4,263.84 89.58
calls to kcmgas 3,010,851 824.12 17.31
calls to kcmgcs 2,039,997 558.38 11.73
change write time 19,752 5.41 0.11
cleanout - number of ktugct calls 3,389,182 927.68 19.49
cleanouts and rollbacks - consistent read gets 1,193,529 326.69 6.86
cleanouts only - consistent read gets 79,055 21.64 0.45
cluster key scan block gets 121,313 33.21 0.70
cluster key scans 34,259 9.38 0.20
cluster wait time 210,929 57.73 1.21
commit batch/immediate performed 1,247 0.34 0.01
commit batch/immediate requested 1,247 0.34 0.01
commit cleanout failures: block lost 46,128 12.63 0.27
commit cleanout failures: buffer being written 13 0.00 0.00
commit cleanout failures: callback failure 9,678 2.65 0.06
commit cleanout failures: cannot pin 445 0.12 0.00
commit cleanouts 1,320,491 361.44 7.59
commit cleanouts successfully completed 1,264,227 346.04 7.27
commit immediate performed 1,247 0.34 0.01
commit immediate requested 1,247 0.34 0.01
commit txn count during cleanout 215,395 58.96 1.24
concurrency wait time 50,188 13.74 0.29
consistent changes 27,488,732 7,524.15 158.08
consistent gets 241,186,449 66,016.98 1,386.97
consistent gets - examination 97,821,202 26,775.39 562.53
consistent gets direct 0 0.00 0.00
consistent gets from cache 241,174,521 66,013.72 1,386.91
current blocks converted for CR 2 0.00 0.00
cursor authentications 584 0.16 0.00
data blocks consistent reads - undo records applied 26,787,210 7,332.13 154.04
db block changes 34,232,698 9,370.09 196.86
db block gets 40,001,650 10,949.16 230.03
db block gets direct 365 0.10 0.00
db block gets from cache 40,001,285 10,949.06 230.03
deferred (CURRENT) block cleanout applications 241,451 66.09 1.39
dirty buffers inspected 273,218 74.78 1.57
enqueue conversions 3,701 1.01 0.02
enqueue releases 702,286 192.23 4.04
enqueue requests 704,236 192.76 4.05
enqueue timeouts 1,935 0.53 0.01
enqueue waits 24,955 6.83 0.14
exchange deadlocks 538 0.15 0.00
execute count 13,453,292 3,682.40 77.36
failed probes on index block reclamation 1,662 0.45 0.01
free buffer inspected 1,683,894 460.91 9.68
free buffer requested 3,214,299 879.81 18.48
gc CPU used by this session 41,986 11.49 0.24
gc cr block build time 1,002 0.27 0.01
gc cr block flush time 18,038 4.94 0.10
gc cr block receive time 113,104 30.96 0.65
gc cr block send time 1,186 0.32 0.01
gc cr blocks received 485,621 132.92 2.79
gc cr blocks served 482,332 132.02 2.77
gc current block flush time 231 0.06 0.00
gc current block pin time 2,170 0.59 0.01
gc current block receive time 46,123 12.62 0.27
gc current block send time 645 0.18 0.00
gc current blocks received 315,340 86.31 1.81
gc current blocks served 255,531 69.94 1.47
gcs messages sent 1,593,170 436.08 9.16
ges messages sent 86,930 23.79 0.50
global enqueue CPU used by this session 6,552 1.79 0.04
global enqueue get time 42,463 11.62 0.24
global enqueue gets async 21,840 5.98 0.13
global enqueue gets sync 1,695,843 464.18 9.75
global enqueue releases 1,682,808 460.61 9.68
heap block compress 1,249,490 342.01 7.19
hot buffers moved to head of LRU 678,221 185.64 3.90
immediate (CR) block cleanout applications 1,272,599 348.33 7.32
immediate (CURRENT) block cleanout applications 188,026 51.47 1.08
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 30,035,205 8,221.17 172.72
index scans kdiixs1 23,327,838 6,385.24 134.15
java call heap collected bytes 263,051,440 72,001.82 1,512.71
java call heap collected count 3,292,448 901.20 18.93
java call heap gc count 865 0.24 0.00
java call heap live object count 293,217 80.26 1.69
java call heap live object count max 338,774 92.73 1.95
java call heap live size 97,136,200 26,587.89 558.59
java call heap live size max 106,229,248 29,076.82 610.89
java call heap object count 749,354 205.11 4.31
java call heap object count max 759,952 208.01 4.37
java call heap total size 133,047,808 36,417.53 765.11
java call heap total size max 144,596,224 39,578.54 831.52
java call heap used size 127,729,504 34,961.82 734.53
java call heap used size max 133,783,632 36,618.94 769.34
leaf node 90-10 splits 2,407 0.66 0.01
leaf node splits 39,602 10.84 0.23
lob reads 4,506 1.23 0.03
lob writes 4,318 1.18 0.02
lob writes unaligned 4,318 1.18 0.02
logons cumulative 1,985 0.54 0.01
messages received 262,414 71.83 1.51
messages sent 262,414 71.83 1.51
no buffer to keep pinned count 72 0.02 0.00
no work - consistent read gets 116,263,446 31,823.36 668.59
opened cursors cumulative 901,536 246.77 5.18
parse count (failures) 337 0.09 0.00
parse count (hard) 4,194 1.15 0.02
parse count (total) 1,346,126 368.46 7.74
parse time cpu 11,963 3.27 0.07
parse time elapsed 25,817 7.07 0.15
physical read IO requests 136,390 37.33 0.78
physical read bytes 1,251,622,912 342,591.26 7,197.62
physical read total IO requests 145,157 39.73 0.83
physical read total bytes 1,393,838,080 381,518.06 8,015.45
physical read total multi block requests 2,677 0.73 0.02
physical reads 152,815 41.83 0.88
physical reads cache 152,643 41.78 0.88
physical reads cache prefetch 17,020 4.66 0.10
physical reads direct 143 0.04 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 255,066 69.82 1.47
physical write bytes 4,519,829,504 1,237,157.03 25,991.87
physical write total IO requests 400,981 109.76 2.31
physical write total bytes 10,461,328,384 2,863,450.04 60,159.23
physical write total multi block requests 205,171 56.16 1.18
physical writes 551,737 151.02 3.17
physical writes direct 408 0.11 0.00
physical writes direct (lob) 28 0.01 0.00
physical writes direct temporary tablespace 309 0.08 0.00
physical writes from cache 551,329 150.91 3.17
physical writes non checkpoint 493,993 135.21 2.84
pinned buffers inspected 5,263 1.44 0.03
prefetch warmup blocks aged out before use 31,929 8.74 0.18
prefetched blocks aged out before use 42 0.01 0.00
process last non-idle time 3,656 1.00 0.02
queries parallelized 73 0.02 0.00
recursive aborts on index block reclamation 2 0.00 0.00
recursive calls 22,774,486 6,233.78 130.97
recursive cpu usage 222,332 60.86 1.28
redo blocks written 11,437,542 3,130.66 65.77
redo buffer allocation retries 3 0.00 0.00
redo entries 17,875,495 4,892.84 102.80
redo log space requests 3 0.00 0.00
redo log space wait time 4 0.00 0.00
redo ordering marks 294,066 80.49 1.69
redo size 5,618,208,052 1,537,802.61 32,308.23
redo synch time 17,873 4.89 0.10
redo synch writes 298,754 81.77 1.72
redo wastage 45,228,580 12,379.86 260.09
redo write time 11,108 3.04 0.06
redo writer latching time 3,720 1.02 0.02
redo writes 145,986 39.96 0.84
rollback changes - undo records applied 94,124 25.76 0.54
rollbacks only - consistent read gets 141,485 38.73 0.81
rows fetched via callback 18,592,362 5,089.06 106.92
session connect time 0 0.00 0.00
session cursor cache hits 784,456 214.72 4.51
session logical reads 281,188,098 76,966.14 1,617.01
session pga memory 1,294,003,552 354,191.59 7,441.34
session pga memory max 1,451,811,552 397,386.42 8,348.83
session uga memory 1,035,290,152 283,377.17 5,953.57
session uga memory max 13,112,112,664 3,589,016.44 75,402.90
shared hash latch upgrades - no wait 25,001,387 6,843.32 143.77
shared hash latch upgrades - wait 19,434 5.32 0.11
sorts (memory) 1,466,440 401.39 8.43
sorts (rows) 18,210,428 4,984.52 104.72
sql area evicted 542 0.15 0.00
sql area purged 951 0.26 0.01
summed dirty queue length 611,151 167.28 3.51
switch current to new buffer 407,457 111.53 2.34
table fetch by rowid 149,215,631 40,842.95 858.08
table fetch continued row 2,121,022 580.56 12.20
table scan blocks gotten 17,659,111 4,833.61 101.55
table scan rows gotten 583,987,434 159,847.66 3,358.30
table scans (direct read) 0 0.00 0.00
table scans (long tables) 96 0.03 0.00
table scans (rowid ranges) 88 0.02 0.00
table scans (short tables) 827,352 226.46 4.76
total number of times SMON posted 11,557 3.16 0.07
transaction lock background gets 34 0.01 0.00
transaction lock foreground requests 34 0.01 0.00
transaction lock foreground wait time 25 0.01 0.00
transaction rollbacks 1,247 0.34 0.01
undo change vector size 2,117,902,172 579,707.17 12,179.27
user I/O wait time 53,499 14.64 0.31
user calls 5,877,338 1,608.73 33.80
user commits 141,781 38.81 0.82
user rollbacks 32,113 8.79 0.18
workarea executions - optimal 860,804 235.62 4.95
write clones created in background 372 0.10 0.00
write clones created in foreground 86 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 56,357 190,255
opened cursors current 142,668 169,453
logons current 757 748

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

Statistic Total per Hour
log switches (derived) 2 1.97

Back to Instance Activity Statistics
Back to Top

 

IO Stats

Back to Top

Tablespace IO Stats

Tablespace Reads Av Reads/s Av Rd(ms) Av Blks/Rd Writes Av Writes/s Buffer Waits Av Buf Wt(ms)
APPS_UNDOTS2 681 0 1.79 1.00 136,102 37 5,513 6.18
APPS_TS_TX_DATA 51,987 14 4.52 1.05 22,416 6 3,074 3.05
APPS_ASSM_DATA 32,694 9 2.16 1.09 32,762 9 6,215 5.48
APPS_TS_TX_IDX 29,116 8 5.19 1.00 32,466 9 2,188 5.53
APPS_ASSM_IDX 9,452 3 3.70 1.00 19,482 5 15,033 6.19
APPS_TS_TX_INTERFACE 3,764 1 1.15 1.32 4,177 1 282 9.08
SYSTEM 4,403 1 3.16 3.10 1,597 0 808 22.83
TEMPTS2 667 0 1.71 1.40 3,210 1 5 10.00
APPS_TS_SEED 2,722 1 5.39 1.03 785 0 7 5.71
SYSAUX 326 0 2.94 1.11 618 0 0 0.00
APPS_TS_QUEUES 154 0 3.83 1.23 700 0 33 1.82
APPS_TS_ARCHIVE 205 0 3.07 1.00 522 0 3 0.00
APPS_TS_SUMMARY 82 0 6.95 1.00 183 0 14 1.43
APPS_TS_NOLOGGING 47 0 6.60 1.00 105 0 0 0.00
APPS_UNDOTS1 7 0 51.43 1.00 5 0 26,985 8.17
APPS_TS_MEDIA 6 0 40.00 1.00 4 0 0 0.00
ODM 4 0 30.00 1.00 2 0 0 0.00
OLAP 4 0 30.00 1.00 2 0 0 0.00
SYNCSERVER 4 0 30.00 1.00 2 0 0 0.00
CTXSYS 3 0 40.00 1.00 2 0 0 0.00
OWAPUB 4 0 30.00 1.00 0 0 0 0.00
PORTAL 4 0 30.00 1.00 0 0 0 0.00

Back to IO Stats
Back to Top

File IO Stats

Tablespace Filename Reads Av Reads/s Av Rd(ms) Av Blks/Rd Writes Av Writes/s Buffer Waits Av Buf Wt(ms)
APPS_ASSM_DATA /oasb_data/apps_assm_data.dbf 32,694 9 2.16 1.09 32,762 9 6,215 5.48
APPS_ASSM_IDX /oasb_data/apps_assm_idx.dbf 9,452 3 3.70 1.00 19,482 5 15,033 6.19
APPS_TS_ARCHIVE /oasb_data/archive1.dbf 90 0 3.22 1.00 212 0 1 0.00
APPS_TS_ARCHIVE /oasb_data/archive2.dbf 93 0 2.47 1.00 247 0 2 0.00
APPS_TS_ARCHIVE /oasb_data/archive3.dbf 22 0 5.00 1.00 63 0 0 0.00
APPS_TS_MEDIA /oasb_data/media1.dbf 2 0 30.00 1.00 1 0 0 0.00
APPS_TS_MEDIA /oasb_data/media2.dbf 2 0 30.00 1.00 1 0 0 0.00
APPS_TS_MEDIA /oasb_data/media3.dbf 1 0 60.00 1.00 1 0 0 0.00
APPS_TS_MEDIA /oasb_data/media4.dbf 1 0 60.00 1.00 1 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging1.dbf 27 0 6.67 1.00 47 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging2.dbf 20 0 6.50 1.00 58 0 0 0.00
APPS_TS_QUEUES /oasb_data/queues1.dbf 13 0 7.69 1.00 190 0 0 0.00
APPS_TS_QUEUES /oasb_data/queues2.dbf 105 0 3.62 1.22 317 0 27 1.48
APPS_TS_QUEUES /oasb_data/queues3.dbf 36 0 3.06 1.36 193 0 6 3.33
APPS_TS_SEED /oasb_data/reference1.dbf 839 0 4.91 1.03 199 0 6 6.67
APPS_TS_SEED /oasb_data/reference2.dbf 827 0 4.75 1.06 189 0 1 0.00
APPS_TS_SEED /oasb_data/reference3.dbf 1,056 0 6.27 1.00 397 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary1.dbf 17 0 8.82 1.00 59 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary2.dbf 2 0 30.00 1.00 0 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary3.dbf 27 0 4.07 1.00 49 0 3 3.33
APPS_TS_SUMMARY /oasb_data/summary4.dbf 2 0 30.00 1.00 1 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary5.dbf 10 0 7.00 1.00 17 0 9 0.00
APPS_TS_SUMMARY /oasb_data/summary6.dbf 24 0 5.00 1.00 57 0 2 5.00
APPS_TS_TX_DATA /oasb_data/tx_data1.dbf 2,601 1 4.83 1.08 1,616 0 511 2.68
APPS_TS_TX_DATA /oasb_data/tx_data10.dbf 2,357 1 4.47 1.10 984 0 177 3.16
APPS_TS_TX_DATA /oasb_data/tx_data11.dbf 2,408 1 4.12 1.09 1,093 0 172 6.40
APPS_TS_TX_DATA /oasb_data/tx_data12.dbf 23,698 6 4.68 1.00 5,359 1 261 3.22
APPS_TS_TX_DATA /oasb_data/tx_data2.dbf 2,852 1 4.50 1.11 1,648 0 172 5.41
APPS_TS_TX_DATA /oasb_data/tx_data3.dbf 2,782 1 4.18 1.08 1,968 1 324 1.79
APPS_TS_TX_DATA /oasb_data/tx_data4.dbf 2,734 1 4.25 1.07 2,031 1 269 3.31
APPS_TS_TX_DATA /oasb_data/tx_data5.dbf 1,982 1 4.13 1.13 1,838 1 282 2.09
APPS_TS_TX_DATA /oasb_data/tx_data6.dbf 2,607 1 4.55 1.10 1,600 0 179 2.74
APPS_TS_TX_DATA /oasb_data/tx_data7.dbf 2,877 1 4.40 1.08 1,442 0 199 2.86
APPS_TS_TX_DATA /oasb_data/tx_data8.dbf 2,539 1 4.21 1.09 1,501 0 274 3.58
APPS_TS_TX_DATA /oasb_data/tx_data9.dbf 2,550 1 4.47 1.10 1,336 0 254 1.85
APPS_TS_TX_IDX /oasb_data/tx_idx1.dbf 1,348 0 4.65 1.00 2,411 1 354 4.83
APPS_TS_TX_IDX /oasb_data/tx_idx10.dbf 1,074 0 4.92 1.00 1,404 0 139 5.61
APPS_TS_TX_IDX /oasb_data/tx_idx11.dbf 1,101 0 5.63 1.00 1,345 0 131 9.54
APPS_TS_TX_IDX /oasb_data/tx_idx12.dbf 14,931 4 5.39 1.00 6,897 2 287 4.32
APPS_TS_TX_IDX /oasb_data/tx_idx13.dbf 969 0 5.48 1.00 2,238 1 135 2.44
APPS_TS_TX_IDX /oasb_data/tx_idx2.dbf 1,140 0 5.08 1.00 2,254 1 217 5.67
APPS_TS_TX_IDX /oasb_data/tx_idx3.dbf 947 0 4.79 1.00 2,017 1 131 4.35
APPS_TS_TX_IDX /oasb_data/tx_idx4.dbf 1,095 0 5.41 1.00 2,563 1 118 12.12
APPS_TS_TX_IDX /oasb_data/tx_idx5.dbf 1,117 0 4.82 1.00 2,653 1 181 4.31
APPS_TS_TX_IDX /oasb_data/tx_idx6.dbf 1,292 0 4.91 1.00 3,031 1 96 8.02
APPS_TS_TX_IDX /oasb_data/tx_idx7.dbf 1,632 0 4.28 1.00 2,640 1 134 3.96
APPS_TS_TX_IDX /oasb_data/tx_idx8.dbf 1,267 0 4.98 1.00 1,734 0 92 4.57
APPS_TS_TX_IDX /oasb_data/tx_idx9.dbf 1,203 0 5.20 1.00 1,279 0 173 6.07
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface.dbf 2,640 1 0.81 1.25 971 0 34 8.82
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface1.dbf 1,124 0 1.96 1.48 3,206 1 248 9.11
APPS_UNDOTS1 /oasb_data/undo01.dbf 1 0 60.00 1.00 1 0 4,684 11.29
APPS_UNDOTS1 /oasb_data/undo02.dbf 1 0 60.00 1.00 1 0 27 10.74
APPS_UNDOTS1 /oasb_data/undo03.dbf 1 0 60.00 1.00 1 0 8,411 6.16
APPS_UNDOTS1 /oasb_data/undo04.dbf 1 0 60.00 1.00 1 0 665 7.62
APPS_UNDOTS1 /oasb_data/undo05.dbf 1 0 60.00 1.00 1 0 13,100 8.40
APPS_UNDOTS1 /oasb_data/undo06.dbf 2 0 30.00 1.00 0 0 98 2.96
APPS_UNDOTS2 /oasb_data/undo01_2.dbf 142 0 1.27 1.00 22,218 6 796 6.04
APPS_UNDOTS2 /oasb_data/undo02_2.dbf 107 0 2.24 1.00 22,612 6 966 6.24
APPS_UNDOTS2 /oasb_data/undo03_2.dbf 104 0 3.46 1.00 22,981 6 1,216 6.91
APPS_UNDOTS2 /oasb_data/undo04_2.dbf 79 0 1.01 1.00 22,435 6 878 4.59
APPS_UNDOTS2 /oasb_data/undo05_2.dbf 120 0 1.33 1.00 24,023 7 788 7.51
APPS_UNDOTS2 /oasb_data/undo06_2.dbf 129 0 1.55 1.00 21,833 6 869 5.60
CTXSYS /oasb_data/ctx1.dbf 1 0 60.00 1.00 1 0 0 0.00
CTXSYS /oasb_data/ctx2.dbf 2 0 30.00 1.00 1 0 0 0.00
ODM /oasb_data/odm.dbf 2 0 30.00 1.00 1 0 0 0.00
ODM /oasb_data/odm2.dbf 2 0 30.00 1.00 1 0 0 0.00
OLAP /oasb_data/olap.dbf 2 0 30.00 1.00 1 0 0 0.00
OLAP /oasb_data/olap2.dbf 2 0 30.00 1.00 1 0 0 0.00
OWAPUB /oasb_data/owa1.dbf 2 0 30.00 1.00 0 0 0 0.00
OWAPUB /oasb_data/owa2.dbf 2 0 30.00 1.00 0 0 0 0.00
PORTAL /oasb_data/portal.dbf 2 0 30.00 1.00 0 0 0 0.00
PORTAL /oasb_data/portal2.dbf 2 0 30.00 1.00 0 0 0 0.00
SYNCSERVER /oasb_data/mobile01.dbf 2 0 30.00 1.00 1 0 0 0.00
SYNCSERVER /oasb_data/mobile02.dbf 2 0 30.00 1.00 1 0 0 0.00
SYSAUX /oasb_data/sysaux01.dbf 207 0 2.75 1.17 311 0 0 0.00
SYSAUX /oasb_data/sysaux02.dbf 119 0 3.28 1.00 307 0 0 0.00
SYSTEM /oasb_data/sys1.dbf 477 0 4.15 2.87 169 0 1 20.00
SYSTEM /oasb_data/sys2.dbf 657 0 2.25 3.14 277 0 381 10.81
SYSTEM /oasb_data/sys3.dbf 721 0 2.39 2.51 152 0 2 5.00
SYSTEM /oasb_data/sys4.dbf 629 0 2.35 3.62 188 0 1 0.00
SYSTEM /oasb_data/sys5.dbf 622 0 2.30 3.54 115 0 1 0.00
SYSTEM /oasb_data/sys6.dbf 876 0 3.93 2.88 502 0 123 53.58
SYSTEM /oasb_data/sys7.dbf 421 0 5.68 3.32 194 0 299 25.79
TEMPTS2 /oasb_data/tmp01_2.dbf 271 0 1.37 1.98 1,339 0 0  
TEMPTS2 /oasb_data/tmp02_2.dbf 186 0 1.94 1.00 958 0 5 10.00
TEMPTS2 /oasb_data/tmp1_2.dbf 210 0 1.95 1.00 913 0 0  

Back to IO Stats
Back to Top

 

Buffer Pool Statistics

P Number of Buffers Pool Hit% Buffer Gets Physical Reads Physical Writes Free Buff Wait Writ Comp Wait Buffer Busy Waits
D 180,762 100 280,902,933 152,626 551,329 0 0 60,162


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 40 13017 183697 414993 14743710 414993  
E 0 40 12593 315406 638807 14743710 638807  

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 59,228 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 1,858 5,632.01 0.00 0.00 0.00 0.00 629,140
E 6,144 1,021 6,811.36 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 799,100 799,100 0 0
64K 128K 752 752 0 0
128K 256K 210 210 0 0
256K 512K 138 138 0 0
512K 1024K 25,953 25,953 0 0
1M 2M 33,149 33,149 0 0
2M 4M 9 9 0 0
128M 256M 2 2 0 0

Back to Advisory Statistics
Back to Top

PGA Memory Advisory

PGA Target Est (MB) Size Factr W/A MB Processed Estd Extra W/A MB Read/ Written to Disk Estd PGA Cache Hit % Estd PGA Overalloc Count
768 0.13 76,106.88 2,339.93 97.00 417
1,536 0.25 76,106.88 2,302.38 97.00 401
3,072 0.50 76,106.88 2,233.18 97.00 376
4,608 0.75 76,106.88 1,448.76 98.00 192
6,144 1.00 76,106.88 0.00 100.00 0
7,373 1.20 76,106.88 0.00 100.00 0
8,602 1.40 76,106.88 0.00 100.00 0
9,830 1.60 76,106.88 0.00 100.00 0
11,059 1.80 76,106.88 0.00 100.00 0
12,288 2.00 76,106.88 0.00 100.00 0
18,432 3.00 76,106.88 0.00 100.00 0
24,576 4.00 76,106.88 0.00 100.00 0
36,864 6.00 76,106.88 0.00 100.00 0
49,152 8.00 76,106.88 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
704 0.47 176 10,573 188,468 0.97 5,379 11.05 15,982,006
864 0.57 320 13,859 193,355 1.00 492 1.01 16,279,389
1,024 0.68 479 18,503 193,360 1.00 487 1.00 16,280,459
1,184 0.79 583 28,029 193,360 1.00 487 1.00 16,280,519
1,344 0.89 583 28,029 193,360 1.00 487 1.00 16,280,519
1,504 1.00 583 28,029 193,360 1.00 487 1.00 16,280,519
1,664 1.11 583 28,029 193,360 1.00 487 1.00 16,280,519
1,824 1.21 583 28,029 193,360 1.00 487 1.00 16,280,519
1,984 1.32 583 28,029 193,360 1.00 487 1.00 16,280,519
2,144 1.43 583 28,029 193,360 1.00 487 1.00 16,280,519
2,304 1.53 583 28,029 193,360 1.00 487 1.00 16,280,519
2,464 1.64 583 28,029 193,360 1.00 487 1.00 16,280,519
2,624 1.74 583 28,029 193,360 1.00 487 1.00 16,280,519
2,784 1.85 583 28,029 193,360 1.00 487 1.00 16,280,519
2,944 1.96 583 28,029 193,360 1.00 487 1.00 16,280,519
3,104 2.06 583 28,029 193,360 1.00 487 1.00 16,280,519

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 12 240 195 1.00 487 1.00 2,957
32 0.50 12 240 195 1.00 487 1.00 2,957
48 0.75 12 240 195 1.00 487 1.00 2,957
64 1.00 12 240 195 1.00 487 1.00 2,957
80 1.25 12 240 195 1.00 487 1.00 2,957
96 1.50 12 240 195 1.00 487 1.00 2,957
112 1.75 12 240 195 1.00 487 1.00 2,957
128 2.00 12 240 195 1.00 487 1.00 2,957

Back to Advisory Statistics
Back to Top

 

Wait Statistics

Back to Top

Buffer Wait Statistics

Class Waits Total Wait Time (s) Avg Time (ms)
undo header 27,711 227 8
data block 26,957 166 6
undo block 4,787 27 6
1st level bmb 561 3 5
2nd level bmb 83 0 5
segment header 51 0 4
file header block 5 0 10
extent map 5 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 17,768 17,675 88 8,429 281 33.32
TX-Transaction (index contention) 3,077 3,076 0 2,872 67 23.36
FB-Format Block 6,907 6,907 0 3,886 14 3.48
HW-Segment High Water Mark 38,749 38,746 2 3,449 13 3.72
TX-Transaction (row lock contention) 1,921 84 1,837 108 6 51.48
SQ-Sequence Cache 1,640 1,640 0 101 5 49.27
US-Undo Segment 6,932 6,932 0 3,825 4 1.00
TX-Transaction 194,763 194,758 0 154 2 10.41
DV-Diana Versioning 4,488 4,487 0 974 1 1.13
WF-AWR Flush 24 24 0 16 1 58.88
RO-Multiple Object Reuse (fast object reuse) 1,140 1,140 0 353 1 2.56
TM-DML 295,355 295,330 0 130 0 3.11
TX-Transaction (allocate ITL entry) 27 27 0 24 0 16.33
PS-PX Process Reservation 651 643 8 263 0 1.40
CF-Controlfile Transaction 5,870 5,870 0 128 0 1.66
TS-Temporary Segment 233 233 0 108 0 1.75
TD-KTF map table enqueue (KTF dump entries) 12 12 0 12 0 11.50
MD-Materialized View Log DDL 37 37 0 16 0 3.38
DL-Direct Loader Index Creation 144 144 0 15 0 2.80
TT-Tablespace 32,215 32,215 0 49 0 0.69
TA-Instance Undo 24 24 0 24 0 1.25
TO-Temp Object 6,816 6,816 0 6 0 2.17
DR-Distributed Recovery 2 2 0 2 0 2.00
IR-Instance Recovery 911 911 0 4 0 0.75
KM-Scheduler 33,834 33,834 0 3 0 0.67
MW-MWIN Schedule 2 2 0 2 0 1.00
AF-Advisor Framework (task serialization) 14 14 0 1 0 1.00

Back to Wait Statistics
Back to Top

 

Undo Statistics

Back to Top

Undo Segment Summary

Undo TS# Num Undo Blocks (K) Number of Transactions Max Qry Len (s) Max Tx Concurcy Min/Max TR (mins) STO/ OOS uS/uR/uU/ eS/eR/eU
20 303.73 198,549 2,607 71   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
22-Nov 14:43 8,535 18,072 382 53 34 0/0 0/0/0/0/0/0
22-Nov 14:33 12,685 19,603 678 52 25 0/0 0/0/0/0/0/0
22-Nov 14:23 136,095 35,394 2,237 55 60 0/0 0/0/0/0/0/0
22-Nov 14:13 44,554 29,213 2,607 62 58 0/0 0/0/0/0/0/0
22-Nov 14:03 35,193 36,357 1,846 71 49 0/0 0/0/0/0/0/0
22-Nov 13:53 66,670 59,910 1,551 60 40 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 59,821 0.00   0 0  
Consistent RBA 146,016 0.01 0.00 0 0  
FOB s.o list latch 37,720 0.03 0.00 0 0  
JOX SGA heap latch 382,563 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 6,764,811 0.01 0.05 0 20,528 0.01
KJC message pool free list 228,496 0.01 0.00 0 16,861 0.00
KJCT flow control latch 2,188,693 0.01 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,230 0.00
KWQMN job cache list latch 2,268 0.00   0 0  
MQL Tracking Latch 0     0 74 0.00
Memory Management Latch 0     0 1,218 0.00
OS process 3,837 0.00   0 0  
OS process allocation 3,764 0.11 0.00 0 0  
OS process: request allocation 2,519 0.04 0.00 0 0  
PL/SQL warning settings 604,505 0.00   0 0  
SGA IO buffer pool latch 12,911 0.00   0 12,911 0.00
SQL memory manager latch 2 0.00   0 1,217 0.00
SQL memory manager workarea list latch 882,208 0.00 0.50 0 0  
Shared B-Tree 131 0.00   0 0  
active checkpoint queue latch 54,387 0.00   0 0  
active service list 15,385 0.05 0.00 0 1,457 0.00
begin backup scn array 29 0.00   0 0  
business card 146 0.00   0 0  
cache buffer handles 6,228,808 0.19 0.01 2 0  
cache buffers chains 599,337,576 0.12 0.01 198 3,028,948 0.32
cache buffers lru chain 3,036,637 0.17 0.09 8 5,310,506 0.37
cache table scan latch 0     0 2,677 0.00
channel handle pool latch 57,029 0.01 0.00 0 0  
channel operations parent latch 1,486,362 0.17 0.00 0 0  
checkpoint queue latch 1,496,570 0.01 0.01 0 727,628 0.01
client/application info 217,987 0.03 0.00 0 0  
commit callback allocation 11,988 0.00   0 0  
compile environment latch 399,597 0.00   0 0  
dictionary lookup 175 0.00   0 0  
dml lock allocation 587,174 0.06 0.05 1 0  
dummy allocation 3,986 0.05 0.00 0 0  
enqueue hash chains 2,316,440 0.03 0.09 4 2,779 0.00
enqueues 822,056 0.02 0.03 0 0  
error message lists 381 0.00   0 0  
event group latch 1,254 0.00   0 0  
file cache latch 5,585 0.00   0 0  
gcs opaque info freelist 623,936 0.01 0.00 0 0  
gcs partitioned table hash 365,195 0.00   0 0  
gcs resource freelist 486,910 0.00 0.00 0 0  
gcs resource hash 4,494,516 0.00 0.00 0 663 0.00
gcs resource scan list 1,326 0.00   0 0  
gcs shadows freelist 318,226 0.00   0 0  
ges caches resource lists 1,276,323 0.00 0.00 0 81,594 0.02
ges deadlock list 25,608 0.04 0.00 0 16 0.00
ges domain table 3,334,916 0.00 0.00 0 0  
ges enqueue table freelist 3,395,284 0.02 0.04 4 0  
ges group table 4,961,427 0.00 0.00 0 0  
ges process hash list 29,485 0.00   0 0  
ges process parent latch 6,842,217 0.00   0 0  
ges process table freelist 2,519 0.12 0.00 0 0  
ges resource hash list 4,884,616 0.05 0.03 4 61,743 0.02
ges resource scan list 8,866 0.01 0.00 0 0  
ges resource table freelist 79,473 0.01 0.00 0 0  
ges timeout list 21,762 0.00   0 20,610 0.00
global KZLD latch for mem in SGA 1,801 0.00   0 0  
global ctx hash table latch 2,431 0.00   0 0  
hash table column usage latch 1,309 0.00   0 2,000,042 0.00
hash table modification latch 137 0.00   0 0  
job_queue_processes parameter latch 61 0.00   0 0  
kks stats 6,900 0.00   0 0  
ksuosstats global area 247 0.00   0 0  
ktm global data 11,621 0.00   0 0  
kwqbsn:qsga 131 0.00   0 0  
lgwr LWN SCN 185,464 0.11 0.00 0 0  
library cache 46,029,429 0.20 0.01 51 1,365 0.22
library cache load lock 1,868 0.00   0 1 0.00
library cache lock 9,129,343 0.01 0.01 0 0  
library cache lock allocation 280,511 0.00 0.00 0 0  
library cache pin 28,434,319 0.09 0.02 21 4 0.00
library cache pin allocation 90,597 0.00   0 0  
list of block allocation 67,089 0.02 0.08 0 0  
loader state object freelist 43,126 0.01 0.00 0 0  
longop free list parent 39 0.00   0 39 0.00
message pool operations parent latch 102,872 0.18 0.00 0 0  
messages 940,265 0.03 0.00 0 0  
mostly latch-free SCN 189,816 2.13 0.00 0 0  
multiblock read objects 50,438 0.00   0 0  
name-service memory objects 25,002 0.00   0 0  
name-service namespace bucket 45,425 0.00   0 0  
name-service pending queue 11,098 0.00   0 0  
name-service request 24 0.00   0 0  
name-service request queue 50,471 0.00   0 0  
ncodef allocation latch 70 0.00   0 0  
object queue header heap 160,022 0.00 0.25 0 54,457 0.00
object queue header operation 7,129,650 0.01 0.03 0 0  
object stats modification 55,611 0.00 0.00 0 0  
parallel query alloc buffer 2,964 0.00   0 0  
parallel query stats 396 0.25 0.00 0 0  
parallel txn reco latch 4,029 0.00   0 0  
parameter list 534 0.00   0 0  
parameter table allocation management 3,765 0.03 0.00 0 0  
post/wait queue 292,805 0.01 0.00 0 174,055 0.01
process allocation 34,769 0.01 0.00 0 1,253 0.08
process group creation 2,519 0.12 0.00 0 0  
process queue 1,183 0.08 0.00 0 0  
process queue reference 55,576 0.00 0.00 0 5,603 0.00
qmn task queue latch 516 0.00   0 0  
query server freelists 953 0.00   0 0  
query server process 4 0.00   0 4 0.00
queued dump request 18,151 0.00   0 0  
redo allocation 552,028 0.19 0.32 6 17,869,737 0.12
redo copy 0     0 17,875,491 0.06
redo writing 523,875 0.00 0.64 0 0  
resmgr group change latch 103,234 0.00   0 0  
resmgr:actses active list 5,771 0.03 0.00 0 0  
resmgr:actses change group 5,555 0.00   0 0  
resmgr:free threads list 3,982 0.03 0.00 0 0  
resmgr:schema config 2 0.00   0 0  
row cache objects 14,239,602 0.08 0.01 3 287 0.00
rules engine aggregate statistics 5,113 0.02 0.00 0 0  
rules engine rule set statistics 20,452 0.01 0.00 0 0  
rules engine rule statistics 10,226 0.00   0 0  
sequence cache 1,953,952 0.39 0.01 1 0  
session allocation 3,008,852 0.16 0.04 7 0  
session idle bit 12,151,806 0.01 0.01 0 0  
session state list latch 11,142 0.02 0.00 0 0  
session switching 1,918 0.00   0 0  
session timer 1,454 0.00   0 0  
shared pool 1,350,654 0.06 0.02 0 0  
shared pool sim alloc 206 0.49 0.00 0 0  
shared pool simulator 432,769 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 181,571 0.12 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 35 0.00   0 0  
temporary table state object allocation 2,200 0.05 0.00 0 0  
threshold alerts latch 342 0.00   0 0  
trace latch 9 0.00   0 0  
transaction allocation 17,035 0.00   0 0  
transaction branch allocation 70 0.00   0 0  
undo global data 34,754,076 0.12 0.01 14 9 0.00
user lock 7,224 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 599,337,576 721,579 7,616 714,172 0 0 0
library cache 46,029,429 92,140 1,337 90,807 0 0 0
undo global data 34,754,076 41,878 496 41,390 0 0 0
library cache pin 28,434,319 26,575 505 26,070 0 0 0
row cache objects 14,239,602 11,599 77 11,522 0 0 0
cache buffer handles 6,228,808 11,527 105 11,427 0 0 0
sequence cache 1,953,952 7,551 42 7,510 0 0 0
cache buffers lru chain 3,036,637 5,041 442 4,600 0 0 0
session allocation 3,008,852 4,717 184 4,533 0 0 0
channel operations parent latch 1,486,362 2,565 9 2,557 0 0 0
ges resource hash list 4,884,616 2,229 64 2,165 0 0 0
session idle bit 12,151,806 1,584 18 1,566 0 0 0
library cache lock 9,129,343 1,243 18 1,226 0 0 0
redo allocation 552,028 1,067 342 727 0 0 0
object queue header operation 7,129,650 910 29 881 0 0 0
ges enqueue table freelist 3,395,284 848 34 814 0 0 0
enqueue hash chains 2,316,440 805 76 729 0 0 0
shared pool 1,350,654 746 18 728 0 0 0
KCL gc element parent latch 6,764,811 733 38 695 0 0 0
dml lock allocation 587,174 343 17 326 0 0 0
KJCT flow control latch 2,188,693 311 4 307 0 0 0
enqueues 822,056 152 5 147 0 0 0
checkpoint queue latch 1,496,570 141 2 139 0 0 0
list of block allocation 67,089 13 1 12 0 0 0
redo writing 523,875 11 7 4 0 0 0
SQL memory manager workarea list latch 882,208 8 4 4 0 0 0
object queue header heap 160,022 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
KCL gc element parent latch kclnfndnewm 0 22 13
KCL gc element parent latch kclbla 0 12 1
KCL gc element parent latch kclgcr 0 4 2
KCL gc element parent latch kclplz 0 3 4
KCL gc element parent latch kclulb 0 3 18
KCL gc element parent latch kclfwrite1 0 2 3
KCL gc element parent latch kclshrsplit 0 2 0
KCL gc element parent latch kclswc 0 2 4
KCL gc element parent latch kclzcl 0 2 2
KCL gc element parent latch kclrwrite 0 1 2
KJCT flow control latch kjctcsnd: send normal message 0 3 3
KJCT flow control latch kjctr_updatetkt: update ticket info 0 1 0
SQL memory manager workarea list latch qesmmIUnRegisterWorkArea 0 4 0
cache buffer handles kcbzfs 0 60 21
cache buffer handles kcbzgs 0 45 84
cache buffers chains kcbgtcr: fast path 0 3,011 2,579
cache buffers chains kcbgtcr: kslbegin excl 0 2,232 2,531
cache buffers chains kcbchg: kslbegin: bufs not pinned 0 990 445
cache buffers chains kcbrls: kslbegin 0 983 1,489
cache buffers chains kcbgcur: kslbegin 0 454 788
cache buffers chains kcbchg: kslbegin: call CR func 0 445 208
cache buffers chains kcbget: pin buffer 0 226 486
cache buffers chains kcbget: exchange rls 0 143 6
cache buffers chains kcbzgb: scan from tail. nowait 0 74 0
cache buffers chains kcbget: exchange 0 69 23
cache buffers chains kcbzwb 0 42 39
cache buffers chains kcbnew: new latch again 0 22 8
cache buffers chains kcbgkcbcr 0 18 2
cache buffers chains kcbnlc 0 17 75
cache buffers chains kcbcge 0 13 4
cache buffers chains kcbgtcr: kslbegin shared 0 10 1
cache buffers chains kclbla 0 10 7
cache buffers chains kclwcrs 0 8 20
cache buffers chains kcbbxsv 0 5 29
cache buffers chains kcbgtcr 0 5 0
cache buffers chains kcbzib: finish free bufs 0 5 15
cache buffers chains kclebs_1 0 3 5
cache buffers chains kcbbic1 0 2 12
cache buffers chains kclpred 0 2 0
cache buffers chains kclwrt 0 2 2
cache buffers chains kcbbic2 0 1 2
cache buffers chains kcbesc: escalate 0 1 0
cache buffers chains kcbo_ivd_process 0 1 0
cache buffers chains kcbso1: set no access 0 1 6
cache buffers lru chain kcbzgws 0 188 10
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 84 0
cache buffers lru chain kcbzgb: posted for free bufs 0 73 348
cache buffers lru chain kcbzswcu 0 37 0
cache buffers lru chain kclwcrs 0 14 0
cache buffers lru chain kclmergepi 0 13 0
cache buffers lru chain kcbbxsv: move to being written 0 11 6
cache buffers lru chain kcbzib: move stale buffers 0 5 23
cache buffers lru chain kclmvreqbg 0 5 14
cache buffers lru chain H_MK_PI_CR_BG 0 3 0
cache buffers lru chain kcbo_ivd_proc 0 2 5
cache buffers lru chain kcbo_link_q 0 2 0
cache buffers lru chain kcbzgm 0 2 0
cache buffers lru chain H_MK_PI_CR 0 1 0
cache buffers lru chain kcbbic2 0 1 0
cache buffers lru chain kcbbwlru 0 1 8
channel operations parent latch ksrapublish() 0 7 0
channel operations parent latch ksrwait() 0 6 10
channel operations parent latch ksrchdelete() 0 3 6
channel operations parent latch ksrsconsume() 0 2 1
checkpoint queue latch kcbbwthc: thread checkpoint buffers 0 1 1
checkpoint queue latch kcbklbc: Link buffer into ckpt queue 0 1 0
dml lock allocation ktaidm 0 11 1
dml lock allocation ktaiam 0 6 16
enqueue hash chains ksqcmi: if lk mode requested 0 24 7
enqueue hash chains ksqcmi: if lk mode not requested 0 23 0
enqueue hash chains ksqrcl 0 14 7
enqueue hash chains ksqgtl3 0 11 61
enqueue hash chains ksqgetblkres 0 3 1
enqueue hash chains ksucallcbksafely: ksqhngcbk1 0 1 0
enqueues ksqgel: create enqueue 0 2 1
enqueues ksqdel 0 1 0
enqueues ksqgel: failed to get enqueue 0 1 0
enqueues ksqies 0 1 4
ges enqueue table freelist kjlalc: lock allocation 0 20 28
ges enqueue table freelist kjlfr: remove lock from parent object 0 14 6
ges resource hash list kjucvl: lock convert request 0 44 11
ges resource hash list kjrmas1: lookup master node 0 11 0
ges resource hash list kjrref: find matched resource 0 9 43
library cache kglpndl: child: after processing 0 812 0
library cache kglpnp: child 0 360 801
library cache kglLockCursor 0 76 57
library cache kglobpn: child: 0 33 177
library cache kgldte: child 0 0 25 19
library cache kglpin 0 9 6
library cache kglpndl: child: before processing 0 3 247
library cache kgldti: 2child 0 2 0
library cache kglhdgn: child: 0 2 49
library cache kglati 0 1 0
library cache kglic 0 1 0
library cache kglukp: child 0 1 2
library cache lock kgllkdl: child: cleanup 0 14 13
library cache lock kgllkdl: child: no lock handle 0 11 2
library cache lock kgllkal: child: multiinstance 0 4 6
library cache lock ksucallcbksafely: kqllhng 0 1 0
library cache pin kglpndl 0 312 93
library cache pin kglpnp: child 0 178 320
library cache pin kglpnal: child: alloc space 0 15 93
list of block allocation ktlabl 0 1 1
message pool operations parent latch ksrmfree() 0 1 0
object queue header heap kcbo_link_q:reget 0 1 0
object queue header operation kcbw_link_q 0 10 0
object queue header operation kcbw_unlink_q 0 8 4
object queue header operation kcbo_switch_cq 0 4 10
object queue header operation kcbo_ivbo 0 3 1
object queue header operation kcbo_swap_buf 0 3 0
object queue header operation kcbo_switch_q_bg 0 1 0
redo allocation kcrfw_redo_gen: redo allocation 1 0 310 0
redo allocation kcrfw_redo_write: more space 0 15 97
redo allocation kcrfw_redo_write: before write 0 10 176
redo allocation kcrfw_redo_gen: redo allocation 3 0 6 70
redo allocation kcrfw_redo_gen: redo allocation 2 0 1 0
redo writing kcrfw_cal_target_rba 0 4 0
redo writing kcrfw_post: rba scn pair 0 3 0
row cache objects kqreqd: reget 0 71 0
row cache objects kqrpre: find obj 0 6 80
sequence cache kdnssd 0 42 0
session allocation ksudlc 0 104 2
session allocation ksuxds: not user session 0 49 12
session allocation ksuprc 0 23 108
session allocation ksucri 0 7 65
session allocation ksuxds: KSUSFCLC not set 0 1 0
session idle bit ksupuc: set busy 0 18 8
session idle bit ksupuc: clear busy 0 8 17
session idle bit ksuxds 0 2 3
shared pool kghalo 0 9 3
shared pool kghupr1 0 7 12
shared pool kghalp 0 1 0
shared pool kghfre 0 1 3
slave class create ksvcreate 0 1 0
undo global data kturimugur: child 0 301 26
undo global data ktudba: KSLBEGIN 0 170 411
undo global data ktudnx:child 0 23 13
undo global data ktufrbs: child 0 1 39
undo global data ktusmasp: ktugd_tuux 0 1 2

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,523,888 7.65
GL APPS_TS_TX_IDX GL_CODE_COMBINATIONS_U1   INDEX 12,824,592 4.56
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 10,233,040 3.64
GL APPS_TS_TX_DATA GL_CODE_COMBINATIONS   TABLE 8,693,744 3.09
WSH APPS_ASSM_IDX WSH_DELIVERY_DETAILS_U1   INDEX 5,688,560 2.02

Back to Segment Statistics
Back to Top

Segments by Physical Reads

Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Reads %Total
SYS SYSTEM TAB$   TABLE 11,594 7.59
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 11,088 7.26
AR APPS_TS_TX_DATA HZ_PARTIES   TABLE 10,937 7.16
GL APPS_ASSM_DATA GL_JE_LINES   TABLE 8,950 5.86
AR APPS_ASSM_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 8,640 5.65

Back to Segment Statistics
Back to Top

Segments by Row Lock Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type Row Lock Waits % of Capture
WSH APPS_TS_TX_DATA WSH_TRIP_STOPS   TABLE 3,132 41.94
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 1,574 21.08
APPLSYS APPS_TS_TX_DATA FND_CONCURRENT_REQUESTS   TABLE 542 7.26
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N5   INDEX 299 4.00
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 270 3.62

Back to Segment Statistics
Back to Top

Segments by ITL Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type ITL Waits % of Capture
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 3 30.00
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_N5   INDEX 2 20.00
INV APPS_ASSM_IDX MTL_MATERIAL_TRANSACTIONS_N3   INDEX 1 10.00
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N5   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
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_U1   INDEX 5,068 27.29
AR APPS_ASSM_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 3,747 20.18
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 2,803 15.10
APPLSYS APPS_TS_TX_DATA WF_ITEM_ATTRIBUTE_VALUES   TABLE 1,201 6.47
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N5   INDEX 899 4.84

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
AR APPS_ASSM_IDX RA_CUSTOMER_TRX_U1   INDEX 1,103 22.56
ONT APPS_ASSM_IDX OE_ORDER_LINES_U1   INDEX 728 14.89
ONT APPS_ASSM_IDX OE_PRICE_ADJUSTMENTS_N1   INDEX 571 11.68
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 392 8.02
AR APPS_ASSM_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 318 6.50

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
ONT APPS_ASSM_IDX OE_ORDER_LINES_U1   INDEX 27,752 5.71
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 26,691 5.50
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 8,966 1.85
CS APPS_TS_TX_DATA CS_INCIDENTS_ALL_TL   TABLE 7,049 1.45
ICX APPS_TS_TX_IDX ICX_SESSION_ATTRIBUTES_U1   INDEX 6,320 1.30

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 26,563 8.42
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 11,893 3.77
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 8,504 2.70
AR APPS_TS_TX_DATA HZ_PARTIES   TABLE 7,378 2.34
AR APPS_TS_TX_IDX HZ_CONTACT_POINTS_N6   INDEX 4,268 1.35

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,743 50.49 0   1,743 493
dc_global_oids 517,188 0.00 0   0 92
dc_histogram_data 10,128 0.77 0   3 1,682
dc_histogram_defs 103,364 3.63 0   1,590 26,293
dc_object_grants 18,210 0.14 0   0 15,661
dc_object_ids 1,096,117 0.04 0   145 5,699
dc_objects 33,913 2.28 0   1,207 8,910
dc_profiles 1,801 0.00 0   0 1
dc_rollback_segments 540,219 0.00 0   51 173
dc_segments 68,853 1.11 0   1,845 6,337
dc_sequences 3,057 30.62 0   3,057 96
dc_table_scns 1 100.00 0   0 0
dc_tablespace_quotas 1,563 27.06 0   49 32
dc_tablespaces 793,757 0.00 0   0 25
dc_usernames 67,807 0.00 0   0 87
dc_users 1,610,791 0.00 0   0 158
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,049 11 0
dc_global_oids 13 0 0
dc_histogram_defs 7,238 0 0
dc_object_ids 645 0 0
dc_objects 1,773 4 0
dc_rollback_segments 123 0 0
dc_segments 3,950 574 0
dc_sequences 4,386 926 0
dc_table_scns 1 0 0
dc_tablespace_quotas 3,126 413 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 113,226 0.03 5,512,546 0.00 0 0
CLUSTER 28 0.00 82 0.00 0 0
INDEX 1,442 10.75 2,324 10.24 0 0
JAVA DATA 66 0.00 0   0 0
PIPE 8,137 2.04 10,272 1.57 0 0
SQL AREA 3,076 98.02 14,627,163 -0.03 337 688
TABLE/PROCEDURE 63,700 0.45 7,393,057 0.02 77 0
TRIGGER 5,548 0.05 229,511 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 82 0 0 0 0
INDEX 1,964 619 72 27 0
TABLE/PROCEDURE 159,153 1,243 54 1,132 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 4,434.33   8.83 6.44 31 31 502 502
  SQL 473.53 239.20 0.96 0.77 4 22 491 489
  Freeable 415.69 0.00 1.09 0.75 10   380 380
  PL/SQL 267.64 28.81 0.53 0.78 3 3 502 501
  JAVA 41.03 40.82 2.28 0.09 2 5 18 18
E Other 5,302.26   10.78 7.50 36 36 492 492
  Freeable 577.19 0.00 1.48 0.96 10   390 390
  SQL 569.05 293.51 1.18 0.85 4 22 481 480
  PL/SQL 321.42 32.91 0.65 0.86 3 3 492 491
  JAVA 41.71 41.51 2.32 0.04 2 5 18 18

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 51.01 51.01 0.00
java joxlod exec hp 12.37 12.37 0.00
shared CCursor 35.33 45.23 28.04
shared Heap0: KGL 21.21 22.40 5.59
shared KGLS heap 48.83 50.91 4.26
shared KQR L PO 42.05 46.55 10.72
shared PCursor 25.11 31.17 24.13
shared PL/SQL DIANA 29.98 31.34 4.53
shared PL/SQL MPCODE 74.50 76.77 3.05
shared free memory 551.60 378.46 -31.39
shared gcs resources 30.09 30.09 0.00
shared gcs shadows 18.96 18.96 0.00
shared ges enqueues 24.28 24.90 2.54
shared ges resource 18.04 19.96 10.62
shared library cache 150.90 182.11 20.68
shared sql area 240.35 348.06 44.81
shared sql area:PLSQL 15.97 16.88 5.68
  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) 104,737 28.67 0.60
acks for commit broadcast(logical) 125,450 34.34 0.72
broadcast msgs on commit(actual) 145,858 39.92 0.84
broadcast msgs on commit(logical) 145,988 39.96 0.84
broadcast msgs on commit(wasted) 2,113 0.58 0.01
dynamically allocated gcs resources 0 0.00 0.00
dynamically allocated gcs shadows 0 0.00 0.00
false posts waiting for scn acks 1 0.00 0.00
flow control messages received 0 0.00 0.00
flow control messages sent 0 0.00 0.00
gcs assume cvt 0 0.00 0.00
gcs assume no cvt 130,068 35.60 0.75
gcs ast xid 4 0.00 0.00
gcs blocked converts 225,346 61.68 1.30
gcs blocked cr converts 481,777 131.87 2.77
gcs compatible basts 551 0.15 0.00
gcs compatible cr basts (global) 30,105 8.24 0.17
gcs compatible cr basts (local) 82,620 22.61 0.48
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 36,232 9.92 0.21
gcs dbwr write request msgs 20,964 5.74 0.12
gcs error msgs 0 0.00 0.00
gcs forward cr to pinged instance 0 0.00 0.00
gcs immediate (compatible) converts 28,384 7.77 0.16
gcs immediate (null) converts 102,846 28.15 0.59
gcs immediate cr (compatible) converts 89 0.02 0.00
gcs immediate cr (null) converts 145,210 39.75 0.84
gcs indirect ast 189,751 51.94 1.09
gcs lms flush pi msgs 0 0.00 0.00
gcs lms write request msgs 9,395 2.57 0.05
gcs msgs process time(ms) 43,409 11.88 0.25
gcs msgs received 1,479,491 404.96 8.51
gcs out-of-order msgs 6 0.00 0.00
gcs pings refused 138 0.04 0.00
gcs queued converts 162 0.04 0.00
gcs recovery claim msgs 0 0.00 0.00
gcs refuse xid 7 0.00 0.00
gcs regular cr 0 0.00 0.00
gcs retry convert request 0 0.00 0.00
gcs side channel msgs actual 4,575 1.25 0.03
gcs side channel msgs logical 909,606 248.98 5.23
gcs undo cr 0 0.00 0.00
gcs write notification msgs 3,596 0.98 0.02
gcs writes refused 550 0.15 0.00
ges msgs process time(ms) 846 0.23 0.00
ges msgs received 70,218 19.22 0.40
global posts dropped 0 0.00 0.00
global posts queue time 10,085 2.76 0.06
global posts queued 3,621 0.99 0.02
global posts requested 3,622 0.99 0.02
global posts sent 3,621 0.99 0.02
implicit batch messages received 42,123 11.53 0.24
implicit batch messages sent 55,170 15.10 0.32
lmd msg send time(ms) 0 0.00 0.00
lms(s) msg send time(ms) 0 0.00 0.00
messages flow controlled 173,414 47.47 1.00
messages queue sent actual 353,679 96.81 2.03
messages queue sent logical 500,459 136.98 2.88
messages received actual 1,346,838 368.65 7.75
messages received logical 1,549,732 424.19 8.91
messages sent directly 920,148 251.86 5.29
messages sent indirectly 326,905 89.48 1.88
messages sent not implicit batched 298,523 81.71 1.72
messages sent pbatched 374,110 102.40 2.15
msgs causing lmd to send msgs 21,623 5.92 0.12
msgs causing lms(s) to send msgs 159,323 43.61 0.92
msgs received queue time (ms) 10,887 2.98 0.06
msgs received queued 1,549,602 424.15 8.91
msgs sent queue time (ms) 34,495 9.44 0.20
msgs sent queue time on ksxp (ms) 1,820,539 498.31 10.47
msgs sent queued 493,651 135.12 2.84
msgs sent queued on ksxp 1,393,910 381.54 8.02
process batch messages received 248,301 67.96 1.43
process batch messages sent 228,142 62.45 1.31


Back to Top

 

Global CR Served Stats

Statistic Total
CR Block Requests 304,203
CURRENT Block Requests 178,129
Data Block Requests 304,203
Undo Block Requests 7,190
TX Block Requests 170,941
Current Results 461,278
Private results 17,301
Zero Results 3,683
Disk Read Results 0
Fail Results 9
Fairness Down Converts 45,966
Fairness Clears 0
Free GC Elements 0
Flushes 67,850
Flushes Queued 0
Flush Queue Full 0
Flush Max Time (us) 129,706
Light Works 15,794
Errors 0


Back to Top

 

Global CURRENT Served Stats

Statistic Total % <1ms % <10ms % <100ms % <1s % <10s
Pins 255,534 99.77 0.01 0.22 0.00 0.00
Flushes 1,119 74.98 22.25 2.59 0.18 0.00
Writes 40,281 42.66 35.30 21.86 0.18 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 267,558 76.25 23.75 0.00 302,110 99.63 0.37 0.00
1 undo header 206,296 99.62 0.38 0.00 241 96.27 3.73 0.00
1 Others 8,968 99.72 0.28 0.00 12,967 99.26 0.74 0.00
1 undo block 2,792 93.84 6.16 0.00 0      


Back to Top

End of Report