WORKLOAD REPOSITORY report for

DB Name DB Id Instance Inst num Release RAC Host
VIS 151051454 VIS 1 10.2.0.2.0 YES el9-94-48

  Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 17 16-Nov-06 19:41:44 1116 212.1
End Snap: 19 16-Nov-06 20:42:35 1119 251.7
Elapsed:   60.84 (mins)    
DB Time:   133.23 (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,056,001.57 21,829.32
Logical reads: 52,950.97 1,094.59
Block changes: 6,173.55 127.62
Physical reads: 76.56 1.58
Physical writes: 127.38 2.63
User calls: 2,490.61 51.49
Parses: 342.06 7.07
Hard parses: 0.79 0.02
Sorts: 421.04 8.70
Logons: 0.37 0.01
Executes: 3,707.14 76.63
Transactions: 48.38  

% Blocks changed per Read: 11.66 Recursive Call %: 70.03
Rollback per transaction %: 27.64 Rows per Sort: 11.06

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.98 Redo NoWait %: 100.00
Buffer Hit %: 99.86 In-memory Sort %: 100.00
Library Hit %: 99.99 Soft Parse %: 99.77
Execute to Parse %: 90.77 Latch Hit %: 99.94
Parse CPU to Parse Elapsd %: 48.21 % Non-Parse CPU: 96.11

Shared Pool Statistics

  Begin End
Memory Usage %: 70.13 83.96
% SQL with executions>1: 79.07 89.59
% Memory for SQL w/exec>1: 82.96 78.97

Top 5 Timed Events

Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
CPU time   3,862   48.3  
gc cr block 2-way 774,146 1,115 1 13.9 Cluster
db file sequential read 257,852 911 4 11.4 User I/O
gc current block 2-way 398,996 547 1 6.8 Cluster
SQL*Net more data from client 419,147 426 1 5.3 Network

RAC Statistics

  Begin End
Number of Instances: 2 2

Global Cache Load Profile

  Per Second Per Transaction
Global Cache blocks received: 344.86 7.13
Global Cache blocks served: 365.81 7.56
GCS/GES messages received: 687.88 14.22
GCS/GES messages sent: 672.38 13.90
DBWR Fusion writes: 14.88 0.31
Estd Interconnect traffic (KB) 5,951.02  

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

Buffer access - local cache %: 99.20
Buffer access - remote cache %: 0.65
Buffer access - disk %: 0.14

Global Cache and Enqueue Services - Workload Characteristics

Avg global enqueue get time (ms): 0.1
Avg global cache cr block receive time (ms): 1.7
Avg global cache current block receive time (ms): 1.8
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 %: 13.5
Avg global cache cr block flush time (ms): 2.3
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 %: 1.5
Avg global cache current block flush time (ms): 0.8

Global Cache and Enqueue Services - Messaging Statistics

Avg message sent queue time (ms): 0.0
Avg message sent queue time on ksxp (ms): 1.2
Avg message received queue time (ms): 0.0
Avg GCS message process time (ms): 0.0
Avg GES message process time (ms): 0.0
% of direct sent messages: 69.47
% of indirect sent messages: 19.91
% of flow controlled messages: 10.61

 


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 6,996.94 87.53
DB CPU 3,861.85 48.31
inbound PL/SQL rpc elapsed time 2,560.33 32.03
PL/SQL execution elapsed time 1,035.60 12.95
parse time elapsed 332.64 4.16
hard parse elapsed time 229.24 2.87
repeated bind elapsed time 13.74 0.17
sequence load elapsed time 13.69 0.17
Java execution elapsed time 13.10 0.16
PL/SQL compilation elapsed time 5.22 0.07
connection management call elapsed time 1.90 0.02
failed parse elapsed time 0.27 0.00
hard parse (sharing criteria) elapsed time 0.14 0.00
hard parse (bind mismatch) elapsed time 0.01 0.00
DB time 7,994.02  
background elapsed time 925.29  
background cpu time 300.50  

Back to Wait Events Statistics
Back to Top

Wait Class

Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
Cluster 1,530,187 0.03 2,586 2 8.67
User I/O 269,903 0.00 949 4 1.53
Other 482,078 26.65 709 1 2.73
Network 10,318,988 0.00 437 0 58.44
Commit 96,799 0.00 202 2 0.55
Application 21,270 1.01 144 7 0.12
System I/O 230,390 0.00 113 0 1.30
Concurrency 30,321 11.46 108 4 0.17
Configuration 17,452 84.82 5 0 0.10
Administrative 4 0.00 0 8 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 774,146 0.00 1,115 1 4.38
db file sequential read 257,852 0.00 911 4 1.46
gc current block 2-way 398,996 0.00 547 1 2.26
SQL*Net more data from client 419,147 0.00 426 1 2.37
gcs log flush sync 187,298 31.67 272 1 1.06
gc cr block busy 59,744 0.00 256 4 0.34
log file sync 96,799 0.00 202 2 0.55
gc cr grant 2-way 107,743 0.00 168 2 0.61
wait for scn ack 171,294 0.00 166 1 0.97
gc current block busy 9,032 0.00 137 15 0.05
gc current grant busy 76,884 0.00 124 2 0.44
cr request retry 236 100.00 123 522 0.00
gc buffer busy 25,617 0.67 110 4 0.15
gc current grant 2-way 48,620 0.00 87 2 0.28
enq: TX - row lock contention 345 40.00 83 242 0.00
log file parallel write 199,698 0.00 81 0 1.13
Streams AQ: qmn coordinator waiting for slave to start 14 100.00 76 5422 0.00
enq: UL - contention 4,279 1.33 42 10 0.02
cursor: pin S wait on X 3,472 99.77 38 11 0.02
DFS lock handle 14,634 0.00 31 2 0.08
db file parallel write 20,497 0.00 29 1 0.12
read by other session 7,286 0.00 26 4 0.04
gc cr multi block request 19,981 1.23 23 1 0.11
enq: TX - index contention 2,789 0.00 21 8 0.02
row cache lock 14,118 0.00 20 1 0.08
enq: RO - fast object reuse 429 4.43 13 29 0.00
library cache load lock 282 0.00 12 44 0.00
PX Deq Credit: send blkd 3,457 29.91 11 3 0.02
db file scattered read 2,793 0.00 10 4 0.02
gc current split 213 0.00 10 45 0.00
SQL*Net break/reset to client 16,138 0.00 6 0 0.09
gc current multi block request 8,698 0.00 6 1 0.05
SQL*Net message to client 9,468,502 0.00 6 0 53.62
SQL*Net more data to client 431,339 0.00 5 0 2.44
reliable message 555 0.18 5 9 0.00
enq: FB - contention 2,749 0.00 5 2 0.02
buffer busy waits 3,968 0.25 5 1 0.02
latch: cache buffers chains 1,106 0.00 4 4 0.01
enq: HW - contention 2,519 0.04 4 2 0.01
enq: US - contention 6,247 0.00 3 1 0.04
library cache lock 2,699 0.00 3 1 0.02
LGWR wait for redo copy 2,667 5.44 3 1 0.02
enq: DV - contention 2,158 0.00 3 1 0.01
gc current retry 136 0.00 3 22 0.00
control file sequential read 8,460 0.00 3 0 0.05
latch: library cache 489 0.00 2 4 0.00
library cache pin 1,096 0.00 1 1 0.01
IPC send completion sync 256 87.89 1 4 0.00
control file parallel write 1,727 0.00 1 1 0.01
KJC: Wait for msg sends to complete 6 50.00 1 148 0.00
enq: PS - contention 301 0.00 1 3 0.00
name-service call wait 12 0.00 1 64 0.00
undo segment extension 14,802 99.99 1 0 0.08
PX Deq: Signal ACK 298 32.89 1 2 0.00
kksfbc child completion 15 93.33 1 46 0.00
rdbms ipc reply 687 0.00 1 1 0.00
enq: WF - contention 11 0.00 1 54 0.00
os thread startup 27 3.70 1 21 0.00
latch: library cache pin 155 0.00 1 4 0.00
gc cr failure 237 0.00 1 2 0.00
enq: TM - contention 78 0.00 1 6 0.00
local write wait 567 0.00 0 1 0.00
gc cr block congested 69 0.00 0 7 0.00
latch: cache buffers lru chain 118 0.00 0 4 0.00
enq: TX - contention 26 0.00 0 15 0.00
gc current block congested 41 0.00 0 9 0.00
PX Deq: reap credit 13,770 91.70 0 0 0.08
ksxr poll remote instances 39,987 51.21 0 0 0.23
latch: redo allocation 71 0.00 0 5 0.00
enq: SQ - contention 73 0.00 0 4 0.00
CGS wait for IPC msg 33,914 100.00 0 0 0.19
buffer deadlock 263 100.00 0 1 0.00
enq: CF - contention 180 0.00 0 1 0.00
latch free 75 0.00 0 2 0.00
global enqueue expand wait 18 83.33 0 9 0.00
latch: ges resource hash list 13 0.00 0 12 0.00
latch: shared pool 35 0.00 0 4 0.00
enq: TT - contention 139 0.00 0 1 0.00
latch: row cache objects 32 0.00 0 4 0.00
gc cr grant congested 14 0.00 0 9 0.00
db file parallel read 24 0.00 0 5 0.00
enq: TO - contention 80 0.00 0 2 0.00
ges inquiry response 178 0.00 0 1 0.00
latch: session allocation 31 0.00 0 3 0.00
enq: TX - allocate ITL entry 52 0.00 0 2 0.00
latch: undo global data 26 0.00 0 4 0.00
latch: KCL gc element parent latch 31 0.00 0 3 0.00
latch: object queue header operation 22 0.00 0 3 0.00
gc current grant congested 9 0.00 0 7 0.00
enq: TS - contention 49 0.00 0 1 0.00
latch: enqueue hash chains 9 0.00 0 5 0.00
lock escalate retry 98 98.98 0 0 0.00
switch logfile command 4 0.00 0 8 0.00
enq: CU - contention 1 0.00 0 29 0.00
latch: library cache lock 12 0.00 0 2 0.00
log file switch completion 5 0.00 0 5 0.00
enq: SR - contention 11 0.00 0 2 0.00
latch: cache buffer handles 8 0.00 0 2 0.00
cursor: mutex S 40 0.00 0 0 0.00
enq: TA - contention 38 0.00 0 0 0.00
cursor: pin S 11 0.00 0 1 0.00
enq: TQ - TM contention 3 0.00 0 3 0.00
log file sequential read 4 0.00 0 2 0.00
gc current block unknown 6 0.00 0 1 0.00
latch: gcs resource hash 4 0.00 0 1 0.00
enq: PI - contention 6 0.00 0 0 0.00
latch: redo writing 1 0.00 0 2 0.00
gc cr disk read 1 0.00 0 1 0.00
direct path write 1,381 0.00 0 0 0.01
log file single write 4 0.00 0 0 0.00
enq: PW - flush prewarm buffers 1 0.00 0 0 0.00
cursor: mutex X 1 0.00 0 0 0.00
lock deadlock retry 2 100.00 0 0 0.00
PX qref latch 1 100.00 0 0 0.00
SQL*Net message from client 9,468,495 0.00 2,419,430 256 53.62
pipe get 9,997 72.16 24,134 2414 0.06
Streams AQ: waiting for messages in the queue 3,190 100.00 18,230 5715 0.02
Streams AQ: qmn slave idle wait 1,348 1.34 8,799 6527 0.01
gcs remote message 2,101,396 90.79 6,728 3 11.90
PX Idle Wait 2,141 90.24 4,792 2238 0.01
DIAG idle wait 18,184 0.00 3,563 196 0.10
ges remote message 152,373 76.38 3,559 23 0.86
Streams AQ: waiting for time management or cleanup tasks 861 68.64 3,495 4059 0.00
Streams AQ: qmn coordinator idle wait 1,072 47.11 3,488 3253 0.01
PL/SQL lock timer 214 100.00 3,359 15698 0.00
jobq slave wait 20 100.00 59 2930 0.00
PX Deq: Execution Msg 959 18.87 10 11 0.01
PX Deq: Msg Fragment 1,032 30.04 2 2 0.01
PX Deq: Join ACK 268 38.43 1 4 0.00
PX Deq: Execute Reply 240 27.92 1 3 0.00
PX Deq: Parse Reply 210 40.48 0 2 0.00
PX Deq Credit: need buffer 98 28.57 0 2 0.00
PX Deq: Table Q Normal 93 39.78 0 1 0.00
Streams AQ: RAC qmn coordinator idle wait 1,079 99.54 0 0 0.01
class slave wait 16 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 447,718 25.48 529 1 2.54
log file parallel write 199,693 0.00 81 0 1.13
gc cr block 2-way 43,084 0.00 44 1 0.24
db file parallel write 20,497 0.00 29 1 0.12
db file scattered read 2,215 0.00 7 3 0.01
gc current block 2-way 3,457 0.00 4 1 0.02
gc cr multi block request 1,657 0.00 3 2 0.01
control file sequential read 5,062 0.00 2 0 0.03
gc cr block busy 316 0.00 1 4 0.00
db file sequential read 470 0.00 1 2 0.00
control file parallel write 1,727 0.00 1 1 0.01
gc current block busy 20 0.00 1 45 0.00
os thread startup 27 3.70 1 21 0.00
gc current grant 2-way 268 0.00 0 2 0.00
latch: cache buffers chains 57 0.00 0 6 0.00
gc current grant busy 344 0.00 0 1 0.00
row cache lock 152 0.00 0 2 0.00
enq: RO - fast object reuse 263 0.00 0 1 0.00
gc cr grant 2-way 105 0.00 0 1 0.00
gc buffer busy 54 59.26 0 2 0.00
db file parallel read 14 0.00 0 7 0.00
buffer busy waits 158 6.33 0 0 0.00
library cache lock 42 0.00 0 1 0.00
enq: HW - contention 17 0.00 0 2 0.00
gc current multi block request 5 0.00 0 5 0.00
latch: row cache objects 2 0.00 0 6 0.00
log file sequential read 4 0.00 0 2 0.00
latch: library cache 2 0.00 0 3 0.00
enq: TM - contention 11 0.00 0 1 0.00
enq: TX - row lock contention 4 0.00 0 0 0.00
latch: redo writing 1 0.00 0 2 0.00
library cache pin 1 0.00 0 1 0.00
log file single write 4 0.00 0 0 0.00
latch: library cache pin 1 0.00 0 0 0.00
rdbms ipc message 378,619 16.61 38,557 102 2.14
gcs remote message 2,101,379 90.79 6,728 3 11.90
DIAG idle wait 18,185 0.00 3,563 196 0.10
ges remote message 152,351 76.38 3,559 23 0.86
pmon timer 2,019 100.00 3,554 1760 0.01
smon timer 18,514 0.06 3,541 191 0.10
Streams AQ: waiting for time management or cleanup tasks 861 68.64 3,495 4059 0.00
Streams AQ: qmn coordinator idle wait 1,072 47.11 3,488 3253 0.01
PX Deq: Join ACK 27 44.44 0 2 0.00
PX Deq: Parse Reply 25 40.00 0 1 0.00
PX Deq: Execute Reply 31 35.48 0 1 0.00
Streams AQ: RAC qmn coordinator idle wait 1,079 99.54 0 0 0.01

Back to Wait Events Statistics
Back to Top

Operating System Statistics

Statistic Total
NUM_LCPUS 0
NUM_VCPUS 0
AVG_BUSY_TIME 119,014
AVG_IDLE_TIME 245,694
AVG_IOWAIT_TIME 6,017
AVG_SYS_TIME 23,685
AVG_USER_TIME 95,234
BUSY_TIME 476,431
IDLE_TIME 983,151
IOWAIT_TIME 24,456
SYS_TIME 95,123
USER_TIME 381,308
LOAD 0
OS_CPU_WAIT_TIME 1,179,800
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 5,414.30 2,426.20 138,758 145,114,223
VIS 2,579.10 1,436.10 122,404 45,324,700
SYS$BACKGROUND 0.00 0.00 18,210 2,849,931

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 143481 50698 26551 10151 0 0 4366657 42985
VIS 123487 43265 3061 544 0 0 5950496 693
SYS$BACKGROUND 2935 917 738 149 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
286 69 2 143.05 3.58 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
247 158 3,184 0.08 3.09 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
239 72 5,000 0.05 2.99 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
217 46 197 1.10 2.72 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
166 114 18,879 0.01 2.08 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
161 8 380 0.42 2.02 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
153 36 416 0.37 1.92 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
149 74 17,769 0.01 1.86 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
145 34 2 72.50 1.81 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
134 90 34,758 0.00 1.68 827gtfny5uagb CSCCCCRC begin :con := FND_GENERIC_POLI...
123 24 8,647 0.01 1.54 gmrwcu0hdcp8b JDBC Thin Client begin :v1 := CS_SR_CHILD_AUDIT...
115 5 641 0.18 1.43 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
108 31 5,000 0.02 1.36 4ds53shhfcynn PYUSLV declare begin hr_pre_pay....
103 20 380 0.27 1.29 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
96 27 268 0.36 1.19 2xga04bkszrs9 GLLEZL insert into gl_je_lines ( je_...
92 34 1 91.98 1.15 gtvdgakxyaham GLLEZL select int.rowid , decode(i...
91 42 4,999 0.02 1.14 csvvv0fmhr1yc PYUSLV BEGIN FFP1893_01010001.FORMULA...
89 5 7,436 0.01 1.12 2spgk3k0f7quz CSCCCCRC SELECT * FROM CS_INCIDENTS_ALL...
88 85 44,122 0.00 1.11 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
88 47 286 0.31 1.11 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
80 15 16 5.02 1.00 dab1prc9qyv3v PYUSLV begin hr_nonrun_asact...

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
158 247 3,184 0.05 3.09 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
114 166 18,879 0.01 2.08 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
90 134 34,758 0.00 1.68 827gtfny5uagb CSCCCCRC begin :con := FND_GENERIC_POLI...
85 88 44,122 0.00 1.11 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
74 149 17,769 0.00 1.86 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
72 239 5,000 0.01 2.99 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
69 286 2 34.49 3.58 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
56 61 12,037 0.00 0.76 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
47 88 286 0.16 1.11 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
46 217 197 0.24 2.72 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
42 91 4,999 0.01 1.14 csvvv0fmhr1yc PYUSLV BEGIN FFP1893_01010001.FORMULA...
36 153 416 0.09 1.92 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
34 92 1 33.59 1.15 gtvdgakxyaham GLLEZL select int.rowid , decode(i...
34 145 2 16.77 1.81 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
31 108 5,000 0.01 1.36 4ds53shhfcynn PYUSLV declare begin hr_pre_pay....
27 96 268 0.10 1.19 2xga04bkszrs9 GLLEZL insert into gl_je_lines ( je_...
24 123 8,647 0.00 1.54 gmrwcu0hdcp8b JDBC Thin Client begin :v1 := CS_SR_CHILD_AUDIT...
20 103 380 0.05 1.29 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
15 80 16 0.91 1.00 dab1prc9qyv3v PYUSLV begin hr_nonrun_asact...
8 161 380 0.02 2.02 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
5 115 641 0.01 1.43 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
5 89 7,436 0.00 1.12 2spgk3k0f7quz CSCCCCRC SELECT * FROM CS_INCIDENTS_ALL...

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
17,042,172 5,000 3,408.43 8.82 72.30 239.13 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
16,115,208 34,758 463.64 8.34 90.15 133.96 827gtfny5uagb CSCCCCRC begin :con := FND_GENERIC_POLI...
15,277,993 44,122 346.27 7.90 85.05 88.48 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
9,248,271 3,184 2,904.61 4.78 157.71 246.97 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
7,260,827 2 3,630,413.50 3.76 68.98 286.10 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
6,831,696 9,990 683.85 3.53 29.78 60.16 546kskr40arst PYUSLV select /*+ ORDERED USE_NL(AA...
6,517,605 17,762 366.94 3.37 27.64 34.33 7dtkxnqpkqszw jtfavald.jsp SELECT DISTINCT a.PERMISSION_...
4,708,552 268 17,569.22 2.44 26.98 68.20 c1a0aqnhptp0c GLLEZL update GL_INTERFACE set statu...
4,357,147 4,999 871.60 2.25 42.08 91.34 csvvv0fmhr1yc PYUSLV BEGIN FFP1893_01010001.FORMULA...
4,220,474 59,997 70.34 2.18 39.71 49.19 5qtxtsar19v4k PYUSLV insert into pay_run_result_val...
4,065,758 5,000 813.15 2.10 31.44 108.37 4ds53shhfcynn PYUSLV declare begin hr_pre_pay....
3,589,292 4,998 718.15 1.86 38.32 72.97 63t8zpm02skgh PYUSLV SELECT DECODE(COUNT(PRR.RUN_RE...
3,549,296 416 8,531.96 1.84 36.22 153.46 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
3,476,373 1 3,476,373.00 1.80 33.59 91.98 gtvdgakxyaham GLLEZL select int.rowid , decode(i...
2,510,431 4,985 503.60 1.30 19.10 63.26 3g160axpg863b PYUSLV SELECT fnd_number.number_to_ca...
2,468,247 18,879 130.74 1.28 113.73 166.50 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
2,297,005 268 8,570.91 1.19 27.37 95.51 2xga04bkszrs9 GLLEZL insert into gl_je_lines ( je_...
1,966,954 64,995 30.26 1.02 28.92 35.54 317b1cs5a192g PYUSLV insert into pay_run_results(ru...

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
32,189 380 84.71 11.52 8.11 161.14 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
27,214 641 42.46 9.74 5.24 114.62 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
26,649 5,000 5.33 9.54 72.30 239.13 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
20,084 380 52.85 7.19 19.80 102.79 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
9,614 9,990 0.96 3.44 29.78 60.16 546kskr40arst PYUSLV select /*+ ORDERED USE_NL(AA...
7,567 268 28.24 2.71 27.37 95.51 2xga04bkszrs9 GLLEZL insert into gl_je_lines ( je_...
6,909 5,000 1.38 2.47 31.44 108.37 4ds53shhfcynn PYUSLV declare begin hr_pre_pay....
6,276 4,985 1.26 2.25 19.10 63.26 3g160axpg863b PYUSLV SELECT fnd_number.number_to_ca...
2,945 3,412 0.86 1.05 27.64 57.67 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
2,476 4,999 0.50 0.89 42.08 91.34 csvvv0fmhr1yc PYUSLV BEGIN FFP1893_01010001.FORMULA...

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
106,881 106,859 1.00 0.00 0.00 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
76,075 76,085 1.00 0.00 0.00 4d6uaffumxzmr JDBC Thin Client SELECT SESSION_ID FROM ICX_SES...
64,995 352,455 5.42 0.00 0.00 317b1cs5a192g PYUSLV insert into pay_run_results(ru...
59,997 1,202,310 20.04 0.00 0.00 5qtxtsar19v4k PYUSLV insert into pay_run_result_val...
52,429 891,235 17.00 0.00 0.00 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
51,529 50,975 0.99 0.00 0.00 91hakq9n36htp ap.oie.server.HomePageAM SELECT TEXT_VALUE FROM WF_ITEM...
44,130 14,708 0.33 0.00 0.00 b5jqxnpqu8624 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
44,122 0 0.00 0.00 0.00 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
43,899 32,327 0.74 0.00 0.00 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
35,586 35,029 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
106,862 106,881 8.56 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
52,421 52,429 4.20 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
43,897 43,899 3.52 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
34,988 34,982 2.80 97mt0g20bcfc3 PYUSLV begin ...
34,759 34,758 2.78 827gtfny5uagb CSCCCCRC begin :con := FND_GENERIC_POLI...
18,283 18,329 1.46 162ttnv4ubqun OEXOETEL begin OE_DS_PVT.Check_PO_Appr...
16,848 16,890 1.35 8camsgjsr9zya OEXOETEL begin OE_TRANSACTION_TYPES_PK...
10,116 10,117 0.81 a29grr748ghc4 fnd.framework.navigate.server.OANavigatePortletA BEGIN jdr_custom_internal.getA...
9,993 9,996 0.80 83kbt99vg4svq PYUSLV begin ...
9,710 9,707 0.78 36zzrb9hja4my asnDispContainer.jsp begin jtf_icxses.updateSession...

Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b) Executions % Total SQL Id SQL Module SQL Text
2,915,880 0 0.18 0vycm111ch2g4 RAXMTR select /*+ parallel(t, 4) para...
1,226,901 80 0.08 b4qmsw139rps6 JDBC Thin Client SELECT COUNT(*) FROM GV$SESSIO...
1,182,268 0 0.07 gb58qk3vn9f9d RAXMTR select /*+ parallel(t, 4) para...
1,093,545 65 0.07 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...

Back to SQL Statistics
Back to Top

SQL ordered by Version Count

Version Count Executions SQL Id SQL Module SQL Text
37 80 b4qmsw139rps6 JDBC Thin Client SELECT COUNT(*) FROM GV$SESSIO...

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
185.83 64.95 286.10 68.98 2 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
130.81 87.91 148.81 73.51 17,769 81kz5n13tnzps OEXOETEL SELECT 1 FROM OE_PRICE_ADJUSTM...
105.88 69.00 153.46 36.22 416 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
85.98 59.29 145.00 33.53 2 8vmj377jqyqwq WSHASCSRS BEGIN WSH_BATCH_PROCESS.CONFIR...
78.34 36.03 217.45 46.42 197 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
54.06 21.89 246.97 157.71 3,184 0vfguqskjkcc4 OEXOETEL SELECT RLTD.RELATED_LINE_INDEX...
48.78 51.07 95.51 27.37 268 2xga04bkszrs9 GLLEZL insert into gl_je_lines ( je_...
47.88 52.05 91.98 33.59 1 gtvdgakxyaham GLLEZL select int.rowid , decode(i...
45.35 28.14 161.14 8.11 380 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
40.98 24.62 166.50 113.73 18,879 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
40.60 89.81 45.21 43.16 76,075 4d6uaffumxzmr JDBC Thin Client SELECT SESSION_ID FROM ICX_SES...
31.00 41.03 75.55 32.43 71 fumydqvpk1g21 qotSCopOverview.jsp BEGIN ASO_QUOTE_PUB_W.SUBMIT_Q...
27.42 40.21 68.20 26.98 268 c1a0aqnhptp0c GLLEZL update GL_INTERFACE set statu...
27.02 11.30 239.13 72.30 5,000 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
24.75 21.59 114.62 5.24 641 72cqcsuq5wgh0 asn.dashboard.server.DashboardAM SELECT aslrt.meaning as rank_n...
24.47 19.86 123.19 23.85 8,647 gmrwcu0hdcp8b JDBC Thin Client begin :v1 := CS_SR_CHILD_AUDIT...
23.23 37.29 62.29 26.80 1,288 8jb36w62w5hqf ibuSRDetailsActions.jsp BEGIN IBU_REQ_PKG.UpdateServic...
21.22 81.71 25.98 9.04 3,064 8q8zmrwmrccz4 OEXOETEL SELECT /*+ ORDERED USE_NL(adj ...
20.49 19.94 102.79 19.80 380 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
19.73 22.30 88.47 46.70 286 g8102j8yynbwz OEXOETEL begin WF_STANDARD.CONTINUEFLOW...
18.92 55.39 34.15 11.26 2,787 3vy5h9xkfv1s5 icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ATTRIBUTE_...
17.85 16.47 108.37 31.44 5,000 4ds53shhfcynn PYUSLV declare begin hr_pre_pay....
17.82 73.52 24.24 15.66 11,162 dzt4ys8ynkyrj CSCCCCRC INSERT INTO CS_INCIDENTS_AUDIT...
16.44 26.00 63.26 19.10 4,985 3g160axpg863b PYUSLV SELECT fnd_number.number_to_ca...
16.33 27.08 60.31 35.64 193 3cb7xm8ykx1qh icx.por.req.server.RequisitionAM begin :1 := POR_UTIL_PKG.subm...
15.40 30.51 50.49 29.17 648 9auhvwk6aatuq qotSCopProduct.jsp BEGIN ASO_QUOTE_PUB_W.UPDATE_Q...
12.70 87.47 14.52 7.04 2,787 6kd3qt5f36fdr icx.por.req.server.RequisitionAM INSERT INTO WF_ITEMS ( ITEM_TY...
10.58 18.36 57.67 27.64 3,412 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
10.38 17.26 60.16 29.78 9,990 546kskr40arst PYUSLV select /*+ ORDERED USE_NL(AA...
8.34 10.39 80.28 14.51 16 dab1prc9qyv3v PYUSLV begin hr_nonrun_asact...
7.26 45.83 15.85 13.04 9,707 36zzrb9hja4my asnDispContainer.jsp begin jtf_icxses.updateSession...
6.62 51.28 12.90 6.09 1,273 3g7y3gf1w3f3k ibuSRDetails.jsp SELECT 'INTERACTION', '1', ...
4.98 10.13 49.19 39.71 59,997 5qtxtsar19v4k PYUSLV insert into pay_run_result_val...
4.82 5.39 89.32 4.88 7,436 2spgk3k0f7quz CSCCCCRC SELECT * FROM CS_INCIDENTS_ALL...
4.62 12.99 35.54 28.92 64,995 317b1cs5a192g PYUSLV insert into pay_run_results(ru...
3.64 39.79 9.15 8.24 6,020 0t3fycvxv9xwb   INSERT INTO CTXSYS.DRV$PENDING...
3.58 77.34 4.63 1.59 432 9hypmc3t618sc OEXOETEL SELECT ORDERED_ITEM, ORDERED_Q...
3.20 23.54 13.61 8.47 37 3c086a4sm741b ARXAGE select decode ( UPPER ( : p_or...
2.49 58.56 4.26 1.39 8,543 9bbak9qpg1c7x icx.por.req.server.RequisitionAM INSERT INTO WF_ITEM_ATTRIBUTE_...
2.44 5.57 43.81 27.73 1,430 bfbyqwbr4vwms OEXOETEL begin OE_OEOL_SCH.SCHEDULE_LIN...
2.41 2.64 91.34 42.08 4,999 csvvv0fmhr1yc PYUSLV BEGIN FFP1893_01010001.FORMULA...
2.34 3.21 72.97 38.32 4,998 63t8zpm02skgh PYUSLV SELECT DECODE(COUNT(PRR.RUN_RE...
2.33 3.82 60.88 55.90 12,037 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
2.29 53.38 4.28 3.74 51,529 91hakq9n36htp ap.oie.server.HomePageAM SELECT TEXT_VALUE FROM WF_ITEM...
2.20 1.64 133.96 90.15 34,758 827gtfny5uagb CSCCCCRC begin :con := FND_GENERIC_POLI...
2.15 65.62 3.27 1.20 290 5mgaqh04z66b7 ap.oie.server.HomePageAM SELECT * FROM (SELECT AI.DESCR...
1.89 87.00 2.17 1.79 1,659 axmdf8vq7k1rh   select increment$, minvalue, m...
1.86 2.11 88.48 85.05 44,122 25wzrzwd46a44 asn.dashboard.server.DashboardAM SELECT 1 FROM DUAL WHERE EXIST...
1.71 42.80 3.99 3.09 24,043 2rg930brttdn3 icx.por.req.server.RequisitionAM INSERT INTO WF_NOTIFICATION_AT...
1.53 4.44 34.33 27.64 17,762 7dtkxnqpkqszw jtfavald.jsp SELECT DISTINCT a.PERMISSION_...
1.13 77.97 1.45 0.67 438 4z1g1n1wa0k2c ARXTWMAI SELECT * FROM RA_CUSTOMER_TRX ...
0.90 59.75 1.51 1.14 1,172 2ym6hhaq30r73   select type#, blocks, extents,...
0.80 79.14 1.00 0.28 65 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...
0.53 21.63 2.45 2.14 35,586 0b85w9vv0hbt1 icx.por.req.server.RequisitionAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...
0.52 75.70 0.69 0.26 65 6bs3v2f0w4fw1 ARXCWMAI SELECT TRX_NUMBER, BILLING_NUM...
0.46 17.49 2.63 0.59 0 gb58qk3vn9f9d RAXMTR select /*+ parallel(t, 4) para...
0.36 26.83 1.33 0.72 678 04xtrk7uyhknh   select obj#, type#, ctime, mti...
0.34 1.91 17.87 9.99 28 2fr5f5xzmffd8 POXPRPOP SELECT decode ( : P_sortby , ...
0.33 59.45 0.56 0.38 97 c1j60ttadh9jj ap.oie.history.server.ExpenseReportsPageAM SELECT * FROM (SELECT TO_CHAR(...
0.27 62.49 0.44 0.35 274 2nfc4vng01c8t POXPOVPO SELECT END_DATE, START_DATE, R...
0.26 7.92 3.25 1.03 0 0vycm111ch2g4 RAXMTR select /*+ parallel(t, 4) para...
0.24 65.97 0.37 0.37 274 297yq3ycazg9b POXPOVPO SELECT ROW_ID, CREATION_DATE, ...
0.22 22.56 0.97 0.88 1,098 8ay7m8qubw98j POXBWVRP select * from PO_TAX_LINES_SUM...
0.16 22.41 0.71 0.58 8,977 ffrmnb71g8f4g 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
0b85w9vv0hbt1 UPDATE WF_ITEM_ATTRIBUTE_VALUES SET TEXT_VALUE = :B4 WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
0t3fycvxv9xwb INSERT INTO CTXSYS.DRV$PENDING (PND_CID, PND_PID, PND_ROWID, PND_TIMESTAMP, PND_LOCK_FAILED) VALUES(:1, :2, :3, SYSDATE, 'N')
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
0vycm111ch2g4 select /*+ parallel(t, 4) parallel_index(t, 4) dbms_stats cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring */ count(*), count("LAST_PERIOD_TO_CREDIT"), count(distinct "LAST_PERIOD_TO_CREDIT"), sum(sys_op_opnsize("LAST_PERIOD_TO_CREDIT")), substrb(dump(min("LAST_PERIOD_TO_CREDIT"), 16, 0, 32), 1, 120), substrb(dump(max("LAST_PERIOD_TO_CREDIT"), 16, 0, 32), 1, 120), count("PAYING_CUSTOMER_ID"), count(distinct "PAYING_CUSTOMER_ID"), sum(sys_op_opnsize("PAYING_CUSTOMER_ID")), substrb(dump(min("PAYING_CUSTOMER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PAYING_CUSTOMER_ID"), 16, 0, 32), 1, 120), count("PAYING_SITE_USE_ID"), count(distinct "PAYING_SITE_USE_ID"), sum(sys_op_opnsize("PAYING_SITE_USE_ID")), substrb(dump(min("PAYING_SITE_USE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PAYING_SITE_USE_ID"), 16, 0, 32), 1, 120), count("TAX_EXEMPT_FLAG"), count(distinct "TAX_EXEMPT_FLAG"), sum(sys_op_opnsize("TAX_EXEMPT_FLAG")), substrb(dump(min("TAX_EXEMPT_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("TAX_EXEMPT_FLAG"), 16, 0, 32), 1, 120), count("TAX_EXEMPT_REASON_CODE"), count(distinct "TAX_EXEMPT_REASON_CODE"), sum(sys_op_opnsize("TAX_EXEMPT_REASON_CODE")), substrb(dump(min("TAX_EXEMPT_REASON_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("TAX_EXEMPT_REASON_CODE"), 16, 0, 32), 1, 120), count("TAX_EXEMPT_REASON_CODE_MEANING"), count(distinct "TAX_EXEMPT_REASON_CODE_MEANING"), sum(sys_op_opnsize("TAX_EXEMPT_REASON_CODE_MEANING")), substrb(dump(min(substrb("TAX _EXEMPT_REASON_CODE_MEANING", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TAX_EXEMPT_REASON_CODE_MEANING", 1, 32)), 16, 0, 32), 1, 120), count("TAX_EXEMPT_NUMBER"), count(distinct "TAX_EXEMPT_NUMBER"), sum(sys_op_opnsize("TAX_EXEMPT_NUMBER")), substrb(dump(min(substrb("TAX_EXEMPT_NUMBER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TAX_EXEMPT_NUMBER", 1, 32)), 16, 0, 32), 1, 120), count("SALES_TAX_ID"), count(distinct "SALES_TAX_ID"), sum(sys_op_opnsize("SALES_TAX_ID")), substrb(dump(min("SALES_TAX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SALES_TAX_ID"), 16, 0, 32), 1, 120), count("CREATED_BY"), count(distinct "CREATED_BY"), sum(sys_op_opnsize("CREATED_BY")), substrb(dump(min("CREATED_BY"), 16, 0, 32), 1, 120), substrb(dump(max("CREATED_BY"), 16, 0, 32), 1, 120), count("CREATION_DATE"), count(distinct "CREATION_DATE"), substrb(dump(min("CREATION_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("CREATION_DATE"), 16, 0, 32), 1, 120), count("LAST_UPDATED_BY"), count(distinct "LAST_UPDATED_BY"), sum(sys_op_opnsize("LAST_UPDATED_BY")), substrb(dump(min("LAST_UPDATED_BY"), 16, 0, 32), 1, 120), substrb(dump(max("LAST_UPDATED_BY"), 16, 0, 32), 1, 120), count("LAST_UPDATE_DATE"), count(distinct "LAST_UPDATE_DATE"), substrb(dump(min("LAST_UPDATE_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("LAST_UPDATE_DATE"), 16, 0, 32), 1, 120), count("LAST_UPDATE_LOGIN"), count(distinct "LAST_UPDATE_LOGIN"), sum(sys_op_opnsize("LAST_UPDATE_LOGIN")), substrb(dump(min("LAST_U PDATE_LOGIN"), 16, 0, 32), 1, 120), substrb(dump(max("LAST_UPDATE_LOGIN"), 16, 0, 32), 1, 120), count("LOCATION_SEGMENT_ID"), count(distinct "LOCATION_SEGMENT_ID"), sum(sys_op_opnsize("LOCATION_SEGMENT_ID")), substrb(dump(min("LOCATION_SEGMENT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("LOCATION_SEGMENT_ID"), 16, 0, 32), 1, 120), count("MOVEMENT_ID"), count(distinct "MOVEMENT_ID"), sum(sys_op_opnsize("MOVEMENT_ID")), substrb(dump(min("MOVEMENT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("MOVEMENT_ID"), 16, 0, 32), 1, 120), count("ORG_ID"), count(distinct "ORG_ID"), sum(sys_op_opnsize("ORG_ID")), substrb(dump(min("ORG_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORG_ID"), 16, 0, 32), 1, 120), count("AMOUNT_INCLUDES_TAX_FLAG"), count(distinct "AMOUNT_INCLUDES_TAX_FLAG"), sum(sys_op_opnsize("AMOUNT_INCLUDES_TAX_FLAG")), substrb(dump(min("AMOUNT_INCLUDES_TAX_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("AMOUNT_INCLUDES_TAX_FLAG"), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTR_CATEGORY"), count(distinct "HEADER_GDF_ATTR_CATEGORY"), sum(sys_op_opnsize("HEADER_GDF_ATTR_CATEGORY")), substrb(dump(min("HEADER_GDF_ATTR_CATEGORY"), 16, 0, 32), 1, 120), substrb(dump(max("HEADER_GDF_ATTR_CATEGORY"), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE1"), count(distinct "HEADER_GDF_ATTRIBUTE1"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE1")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 1 20), count("HEADER_GDF_ATTRIBUTE2"), count(distinct "HEADER_GDF_ATTRIBUTE2"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE2")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE3"), count(distinct "HEADER_GDF_ATTRIBUTE3"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE3")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE4"), count(distinct "HEADER_GDF_ATTRIBUTE4"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE4")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE5"), count(distinct "HEADER_GDF_ATTRIBUTE5"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE5")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE6"), count(distinct "HEADER_GDF_ATTRIBUTE6"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE6")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE7"), count(distinct "HEADER_GDF_ATTRIBUTE7"), sum(sys_op_opnsize("HEADER_ GDF_ATTRIBUTE7")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE8"), count(distinct "HEADER_GDF_ATTRIBUTE8"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE8")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE9"), count(distinct "HEADER_GDF_ATTRIBUTE9"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE9")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE10"), count(distinct "HEADER_GDF_ATTRIBUTE10"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE10")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE11"), count(distinct "HEADER_GDF_ATTRIBUTE11"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE11")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE12"), count(distinct "HEADER_GDF_ATTRIBUTE12"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE12")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1 , 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE13"), count(distinct "HEADER_GDF_ATTRIBUTE13"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE13")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE14"), count(distinct "HEADER_GDF_ATTRIBUTE14"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE14")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE15"), count(distinct "HEADER_GDF_ATTRIBUTE15"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE15")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE16"), count(distinct "HEADER_GDF_ATTRIBUTE16"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE16")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE16", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE16", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE17"), count(distinct "HEADER_GDF_ATTRIBUTE17"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE17")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE17", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE17", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE18"), count(distinct "HEADER_GDF_ATTRIBUTE18"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE18")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE18", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE18", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE19"), count(distinct "HEADER_GDF_ATTRIBUTE19"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE19")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE19", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE19", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE20"), count(distinct "HEADER_GDF_ATTRIBUTE20"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE20")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE20", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE20", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE21"), count(distinct "HEADER_GDF_ATTRIBUTE21"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE21")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE21", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE21", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE22"), count(distinct "HEADER_GDF_ATTRIBUTE22"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE22")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE22", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE22", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE23"), count(distinct "HEADER_GDF_ATTRIBUTE23 "), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE23")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE23", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE23", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE24"), count(distinct "HEADER_GDF_ATTRIBUTE24"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE24")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE24", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE24", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE25"), count(distinct "HEADER_GDF_ATTRIBUTE25"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE25")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE25", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE25", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE26"), count(distinct "HEADER_GDF_ATTRIBUTE26"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE26")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE26", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE26", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE27"), count(distinct "HEADER_GDF_ATTRIBUTE27"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE27")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE27", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE27", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE28"), count(distinct "HEADER_GDF_ATTRIBUTE28"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE28")), substrb(dump(min(substrb("HEA DER_GDF_ATTRIBUTE28", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE28", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE29"), count(distinct "HEADER_GDF_ATTRIBUTE29"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE29")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE29", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE29", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE30"), count(distinct "HEADER_GDF_ATTRIBUTE30"), sum(sys_op_opnsize("HEADER_GDF_ATTRIBUTE30")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE30", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBUTE30", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTR_CATEGORY"), count(distinct "LINE_GDF_ATTR_CATEGORY"), sum(sys_op_opnsize("LINE_GDF_ATTR_CATEGORY")), substrb(dump(min("LINE_GDF_ATTR_CATEGORY"), 16, 0, 32), 1, 120), substrb(dump(max("LINE_GDF_ATTR_CATEGORY"), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE1"), count(distinct "LINE_GDF_ATTRIBUTE1"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE1")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE2"), count(distinct "LINE_GDF_ATTRIBUTE2"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE2")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), count("LI NE_GDF_ATTRIBUTE3"), count(distinct "LINE_GDF_ATTRIBUTE3"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE3")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE4"), count(distinct "LINE_GDF_ATTRIBUTE4"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE4")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE5"), count(distinct "LINE_GDF_ATTRIBUTE5"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE5")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE6"), count(distinct "LINE_GDF_ATTRIBUTE6"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE6")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE7"), count(distinct "LINE_GDF_ATTRIBUTE7"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE7")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE8"), count(distinct "LINE_GDF_ATTRIBUTE8"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE8")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE9"), count(distinct "LINE_GDF_ATTRIBUTE9"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE9")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE10"), count(distinct "LINE_GDF_ATTRIBUTE10"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE10")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE11"), count(distinct "LINE_GDF_ATTRIBUTE11"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE11")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE12"), count(distinct "LINE_GDF_ATTRIBUTE12"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE12")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE13"), count(distinct "LINE_GDF_ATTRIBUTE13"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE13")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE14"), count(distinct "LINE_GDF_ATTRIBUTE14"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE14")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE15"), count(distinct "LINE_GDF_ATTRIBUTE15"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE15")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE16"), count(distinct "LINE_GDF_ATTRIBUTE16"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE16")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE16", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE16", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE17"), count(distinct "LINE_GDF_ATTRIBUTE17"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE17")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE17", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE17", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE18"), count(distinct "LINE_GDF_ATTRIBUTE18"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE18")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE18", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE18", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE19"), count(distinct "LINE_GDF_ATTRIBUTE19"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE19")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE 19", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE19", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE20"), count(distinct "LINE_GDF_ATTRIBUTE20"), sum(sys_op_opnsize("LINE_GDF_ATTRIBUTE20")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE20", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("LINE_GDF_ATTRIBUTE20", 1, 32)), 16, 0, 32), 1, 120), count("RESET_TRX_DATE_FLAG"), count(distinct "RESET_TRX_DATE_FLAG"), sum(sys_op_opnsize("RESET_TRX_DATE_FLAG")), substrb(dump(min("RESET_TRX_DATE_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("RESET_TRX_DATE_FLAG"), 16, 0, 32), 1, 120), count("PAYMENT_SERVER_ORDER_NUM"), count(distinct "PAYMENT_SERVER_ORDER_NUM"), sum(sys_op_opnsize("PAYMENT_SERVER_ORDER_NUM")), substrb(dump(min(substrb("PAYMENT_SERVER_ORDER_NUM", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("PAYMENT_SERVER_ORDER_NUM", 1, 32)), 16, 0, 32), 1, 120), count("APPROVAL_CODE"), count(distinct "APPROVAL_CODE"), sum(sys_op_opnsize("APPROVAL_CODE")), substrb(dump(min(substrb("APPROVAL_CODE", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("APPROVAL_CODE", 1, 32)), 16, 0, 32), 1, 120), count("ADDRESS_VERIFICATION_CODE"), count(distinct "ADDRESS_VERIFICATION_CODE"), sum(sys_op_opnsize("ADDRESS_VERIFICATION_CODE")), substrb(dump(min(substrb("ADDRESS_VERIFICATION_CODE", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ADDRESS_VERIFICATION_CODE", 1, 32)), 16, 0, 32), 1, 120), count("WAREHOUSE_ID"), count(distinct "WARE HOUSE_ID"), sum(sys_op_opnsize("WAREHOUSE_ID")), substrb(dump(min("WAREHOUSE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("WAREHOUSE_ID"), 16, 0, 32), 1, 120), count("TRANSLATED_DESCRIPTION"), count(distinct "TRANSLATED_DESCRIPTION"), sum(sys_op_opnsize("TRANSLATED_DESCRIPTION")), substrb(dump(min(substrb("TRANSLATED_DESCRIPTION", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TRANSLATED_DESCRIPTION", 1, 32)), 16, 0, 32), 1, 120), count("CONS_BILLING_NUMBER"), count(distinct "CONS_BILLING_NUMBER"), sum(sys_op_opnsize("CONS_BILLING_NUMBER")), substrb(dump(min("CONS_BILLING_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("CONS_BILLING_NUMBER"), 16, 0, 32), 1, 120), count("PROMISED_COMMITMENT_AMOUNT"), count(distinct "PROMISED_COMMITMENT_AMOUNT"), sum(sys_op_opnsize("PROMISED_COMMITMENT_AMOUNT")), substrb(dump(min("PROMISED_COMMITMENT_AMOUNT"), 16, 0, 32), 1, 120), substrb(dump(max("PROMISED_COMMITMENT_AMOUNT"), 16, 0, 32), 1, 120), count("PAYMENT_SET_ID"), count(distinct "PAYMENT_SET_ID"), sum(sys_op_opnsize("PAYMENT_SET_ID")), substrb(dump(min("PAYMENT_SET_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PAYMENT_SET_ID"), 16, 0, 32), 1, 120), count("ORIGINAL_GL_DATE"), count(distinct "ORIGINAL_GL_DATE"), substrb(dump(min("ORIGINAL_GL_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("ORIGINAL_GL_DATE"), 16, 0, 32), 1, 120), count("CONTRACT_LINE_ID"), count(distinct "CONTRACT_LINE_ID"), sum(sys_op_opnsize("CONTRACT_LINE_ID")), substrb(dump(min("CONTRACT_LINE_ID"), 16, 0, 32), 1 , 120), substrb(dump(max("CONTRACT_LINE_ID"), 16, 0, 32), 1, 120), count("CONTRACT_ID"), count(distinct "CONTRACT_ID"), sum(sys_op_opnsize("CONTRACT_ID")), substrb(dump(min("CONTRACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CONTRACT_ID"), 16, 0, 32), 1, 120), count("SOURCE_DATA_KEY1"), count(distinct "SOURCE_DATA_KEY1"), sum(sys_op_opnsize("SOURCE_DATA_KEY1")), substrb(dump(min(substrb("SOURCE_DATA_KEY1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY1", 1, 32)), 16, 0, 32), 1, 120), count("SOURCE_DATA_KEY2"), count(distinct "SOURCE_DATA_KEY2"), sum(sys_op_opnsize("SOURCE_DATA_KEY2")), substrb(dump(min(substrb("SOURCE_DATA_KEY2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY2", 1, 32)), 16, 0, 32), 1, 120), count("SOURCE_DATA_KEY3"), count(distinct "SOURCE_DATA_KEY3"), sum(sys_op_opnsize("SOURCE_DATA_KEY3")), substrb(dump(min(substrb("SOURCE_DATA_KEY3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY3", 1, 32)), 16, 0, 32), 1, 120), count("SOURCE_DATA_KEY4"), count(distinct "SOURCE_DATA_KEY4"), sum(sys_op_opnsize("SOURCE_DATA_KEY4")), substrb(dump(min(substrb("SOURCE_DATA_KEY4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY4", 1, 32)), 16, 0, 32), 1, 120), count("SOURCE_DATA_KEY5"), count(distinct "SOURCE_DATA_KEY5"), sum(sys_op_opnsize("SOURCE_DATA_KEY5")), substrb(dump(min(substrb("SOURCE_DATA_KEY5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY 5", 1, 32)), 16, 0, 32), 1, 120), count("INVOICED_LINE_ACCTG_LEVEL"), count(distinct "INVOICED_LINE_ACCTG_LEVEL"), sum(sys_op_opnsize("INVOICED_LINE_ACCTG_LEVEL")), substrb(dump(min("INVOICED_LINE_ACCTG_LEVEL"), 16, 0, 32), 1, 120), substrb(dump(max("INVOICED_LINE_ACCTG_LEVEL"), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG16"), count(distinct "MTL_SYSTEM_ITEMS_SEG16"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG16")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG16", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG16", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG17"), count(distinct "MTL_SYSTEM_ITEMS_SEG17"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG17")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG17", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG17", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG18"), count(distinct "MTL_SYSTEM_ITEMS_SEG18"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG18")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG18", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG18", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG19"), count(distinct "MTL_SYSTEM_ITEMS_SEG19"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG19")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG19", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG19", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG20"), count(distinct "MTL_SYSTEM_ITE MS_SEG20"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG20")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG20", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG20", 1, 32)), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ID"), count(distinct "REFERENCE_LINE_ID"), sum(sys_op_opnsize("REFERENCE_LINE_ID")), substrb(dump(min("REFERENCE_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ID"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_CONTEXT"), count(distinct "REFERENCE_LINE_CONTEXT"), sum(sys_op_opnsize("REFERENCE_LINE_CONTEXT")), substrb(dump(min("REFERENCE_LINE_CONTEXT"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_CONTEXT"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE1"), count(distinct "REFERENCE_LINE_ATTRIBUTE1"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE1")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE1"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE1"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE2"), count(distinct "REFERENCE_LINE_ATTRIBUTE2"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE2")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE2"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE2"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE3"), count(distinct "REFERENCE_LINE_ATTRIBUTE3"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE3")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE3"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE3"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE4"), count(distinct "REFERENCE_LINE_ATTRIBUTE4"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE4")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE4"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE4"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE5"), count(distinct "REFERENCE_LINE_ATTRIBUTE5"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE5")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE5"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE5"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE6"), count(distinct "REFERENCE_LINE_ATTRIBUTE6"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE6")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE6"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE6"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE7"), count(distinct "REFERENCE_LINE_ATTRIBUTE7"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE7")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), count("TERRITORY_ID"), count(distinct "TERRITORY_ID"), sum(sys_op_opnsize("TERRITORY_ID")), substrb(dump(min("TERRITORY_ID"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_ID"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT1"), count(distinct "TERRITORY_SEGMENT1"), sum(sys_op_opnsize("TERRITORY_SEGMENT1")), substrb(dump(min("TERRITORY_SEGMENT1"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT1"), 16, 0, 32), 1, 120 ), count("TERRITORY_SEGMENT2"), count(distinct "TERRITORY_SEGMENT2"), sum(sys_op_opnsize("TERRITORY_SEGMENT2")), substrb(dump(min("TERRITORY_SEGMENT2"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT2"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT3"), count(distinct "TERRITORY_SEGMENT3"), sum(sys_op_opnsize("TERRITORY_SEGMENT3")), substrb(dump(min("TERRITORY_SEGMENT3"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT3"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT4"), count(distinct "TERRITORY_SEGMENT4"), sum(sys_op_opnsize("TERRITORY_SEGMENT4")), substrb(dump(min("TERRITORY_SEGMENT4"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT4"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT5"), count(distinct "TERRITORY_SEGMENT5"), sum(sys_op_opnsize("TERRITORY_SEGMENT5")), substrb(dump(min("TERRITORY_SEGMENT5"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT5"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT6"), count(distinct "TERRITORY_SEGMENT6"), sum(sys_op_opnsize("TERRITORY_SEGMENT6")), substrb(dump(min("TERRITORY_SEGMENT6"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT6"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT7"), count(distinct "TERRITORY_SEGMENT7"), sum(sys_op_opnsize("TERRITORY_SEGMENT7")), substrb(dump(min("TERRITORY_SEGMENT7"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT7"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT8"), count(distinct "TERRITORY_SEGMENT8"), sum(sys_op_opnsize("TERRITORY_SEGMENT8 ")), substrb(dump(min("TERRITORY_SEGMENT8"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT8"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT9"), count(distinct "TERRITORY_SEGMENT9"), sum(sys_op_opnsize("TERRITORY_SEGMENT9")), substrb(dump(min("TERRITORY_SEGMENT9"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT9"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT10"), count(distinct "TERRITORY_SEGMENT10"), sum(sys_op_opnsize("TERRITORY_SEGMENT10")), substrb(dump(min("TERRITORY_SEGMENT10"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT10"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT11"), count(distinct "TERRITORY_SEGMENT11"), sum(sys_op_opnsize("TERRITORY_SEGMENT11")), substrb(dump(min("TERRITORY_SEGMENT11"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT11"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT12"), count(distinct "TERRITORY_SEGMENT12"), sum(sys_op_opnsize("TERRITORY_SEGMENT12")), substrb(dump(min("TERRITORY_SEGMENT12"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT12"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT13"), count(distinct "TERRITORY_SEGMENT13"), sum(sys_op_opnsize("TERRITORY_SEGMENT13")), substrb(dump(min("TERRITORY_SEGMENT13"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT13"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT14"), count(distinct "TERRITORY_SEGMENT14"), sum(sys_op_opnsize("TERRITORY_SEGMENT14")), substrb(dump(min("TERRITORY_SEGMENT14"), 16, 0, 32), 1, 120), substrb(dump(max(" TERRITORY_SEGMENT14"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT15"), count(distinct "TERRITORY_SEGMENT15"), sum(sys_op_opnsize("TERRITORY_SEGMENT15")), substrb(dump(min("TERRITORY_SEGMENT15"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT15"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT16"), count(distinct "TERRITORY_SEGMENT16"), sum(sys_op_opnsize("TERRITORY_SEGMENT16")), substrb(dump(min("TERRITORY_SEGMENT16"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT16"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT17"), count(distinct "TERRITORY_SEGMENT17"), sum(sys_op_opnsize("TERRITORY_SEGMENT17")), substrb(dump(min("TERRITORY_SEGMENT17"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT17"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT18"), count(distinct "TERRITORY_SEGMENT18"), sum(sys_op_opnsize("TERRITORY_SEGMENT18")), substrb(dump(min("TERRITORY_SEGMENT18"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT18"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT19"), count(distinct "TERRITORY_SEGMENT19"), sum(sys_op_opnsize("TERRITORY_SEGMENT19")), substrb(dump(min("TERRITORY_SEGMENT19"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT19"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT20"), count(distinct "TERRITORY_SEGMENT20"), sum(sys_op_opnsize("TERRITORY_SEGMENT20")), substrb(dump(min("TERRITORY_SEGMENT20"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT20"), 16, 0, 32), 1, 120), count("ATTRIBUTE_CATEGORY"), count (distinct "ATTRIBUTE_CATEGORY"), sum(sys_op_opnsize("ATTRIBUTE_CATEGORY")), substrb(dump(min("ATTRIBUTE_CATEGORY"), 16, 0, 32), 1, 120), substrb(dump(max("ATTRIBUTE_CATEGORY"), 16, 0, 32), 1, 120), count("ATTRIBUTE1"), count(distinct "ATTRIBUTE1"), sum(sys_op_opnsize("ATTRIBUTE1")), substrb(dump(min(substrb("ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE2"), count(distinct "ATTRIBUTE2"), sum(sys_op_opnsize("ATTRIBUTE2")), substrb(dump(min(substrb("ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE3"), count(distinct "ATTRIBUTE3"), sum(sys_op_opnsize("ATTRIBUTE3")), substrb(dump(min(substrb("ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE4"), count(distinct "ATTRIBUTE4"), sum(sys_op_opnsize("ATTRIBUTE4")), substrb(dump(min(substrb("ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE5"), count(distinct "ATTRIBUTE5"), sum(sys_op_opnsize("ATTRIBUTE5")), substrb(dump(min(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(s????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ORY"), sum(sys_op_opnsize("HEADER_ATTRIBUTE_CATEGORY")), substrb(dump(min("HEADER_ATTRIBUTE_CATEGORY"), 16, 0, 32), 1, 120), substrb(dump(max("HEADER_ATTRIBUTE_CATEGORY"), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE1"), count(distinct "HEADER_ATTRIBUTE1"), sum(sys_op_opnsize("HEADER_ATTRIBUTE1")), substrb(dump(min(substrb("HEADER_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE2"), count(distinct "HEADER_ATTRIBUTE2"), sum(sys_op_opnsize("HEADER_ATTRIBUTE2")), substrb(dump(min(substrb("HEADER_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE3"), count(distinct "HEADER_ATTRIBUTE3"), sum(sys_op_opnsize("HEADER_ATTRIBUTE3")), substrb(dump(min(substrb("HEADER_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE4"), count(distinct "HEADER_ATTRIBUTE4"), sum (sys_op_opnsize("HEADER_ATTRIBUTE4")), substrb(dump(min(substrb("HEADER_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE5"), count(distinct "HEADER_ATTRIBUTE5"), sum(sys_op_opnsize("HEADER_ATTRIBUTE5")), substrb(dump(min(substrb("HEADER_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE6"), count(distinct "HEADER_ATTRIBUTE6"), sum(sys_op_opnsize("HEADER_ATTRIBUTE6")), substrb(dump(min(substrb("HEADER_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE7"), count(distinct "HEADER_ATTRIBUTE7"), sum(sys_op_opnsize("HEADER_ATTRIBUTE7")), substrb(dump(min(substrb("HEADER_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE8"), count(distinct "HEADER_ATTRIBUTE8"), sum(sys_op_opnsize("HEADER_ATTRIBUTE8")), substrb(dump(min(substrb("HEADER_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE9"), count(distinct "HEADER_ATTRIBUTE9"), sum(sys_op_opnsize("HEADER_ATTRIBUTE9")), substrb(dump(min(substrb("HEADER_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ ATTRIBUTE10"), count(distinct "HEADER_ATTRIBUTE10"), sum(sys_op_opnsize("HEADER_ATTRIBUTE10")), substrb(dump(min(substrb("HEADER_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE11"), count(distinct "HEADER_ATTRIBUTE11"), sum(sys_op_opnsize("HEADER_ATTRIBUTE11")), substrb(dump(min(substrb("HEADER_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE12"), count(distinct "HEADER_ATTRIBUTE12"), sum(sys_op_opnsize("HEADER_ATTRIBUTE12")), substrb(dump(min(substrb("HEADER_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE13"), count(distinct "HEADER_ATTRIBUTE13"), sum(sys_op_opnsize("HEADER_ATTRIBUTE13")), substrb(dump(min(substrb("HEADER_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE14"), count(distinct "HEADER_ATTRIBUTE14"), sum(sys_op_opnsize("HEADER_ATTRIBUTE14")), substrb(dump(min(substrb("HEADER_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE15"), count(distinct "HEADER_ATTRIBUTE15"), sum(sys_op_opnsize("HEADER_ATTRIBUTE15")), substrb(dump(min(substrb("HEADER_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb (dump(max(substrb("HEADER_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("COMMENTS"), count(distinct "COMMENTS"), sum(sys_op_opnsize("COMMENTS")), substrb(dump(min(substrb("COMMENTS", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("COMMENTS", 1, 32)), 16, 0, 32), 1, 120), count("INTERNAL_NOTES"), count(distinct "INTERNAL_NOTES"), sum(sys_op_opnsize("INTERNAL_NOTES")), substrb(dump(min(substrb("INTERNAL_NOTES", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("INTERNAL_NOTES", 1, 32)), 16, 0, 32), 1, 120), count("INITIAL_CUSTOMER_TRX_ID"), count(distinct "INITIAL_CUSTOMER_TRX_ID"), sum(sys_op_opnsize("INITIAL_CUSTOMER_TRX_ID")), substrb(dump(min("INITIAL_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("INITIAL_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), count("USSGL_TRANSACTION_CODE_CONTEXT"), count(distinct "USSGL_TRANSACTION_CODE_CONTEXT"), sum(sys_op_opnsize("USSGL_TRANSACTION_CODE_CONTEXT")), substrb(dump(min("USSGL_TRANSACTION_CODE_CONTEXT"), 16, 0, 32), 1, 120), substrb(dump(max("USSGL_TRANSACTION_CODE_CONTEXT"), 16, 0, 32), 1, 120), count("USSGL_TRANSACTION_CODE"), count(distinct "USSGL_TRANSACTION_CODE"), sum(sys_op_opnsize("USSGL_TRANSACTION_CODE")), substrb(dump(min("USSGL_TRANSACTION_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("USSGL_TRANSACTION_CODE"), 16, 0, 32), 1, 120), count("ACCTD_AMOUNT"), count(distinct "ACCTD_AMOUNT"), sum(sys_op_opnsize("ACCTD_AMOUNT")), substrb(dump(min("ACCTD_AMOUNT"), 16, 0, 32), 1, 120), substrb(dump(max("ACCTD_ AMOUNT"), 16, 0, 32), 1, 120), count("CUSTOMER_BANK_ACCOUNT_ID"), count(distinct "CUSTOMER_BANK_ACCOUNT_ID"), sum(sys_op_opnsize("CUSTOMER_BANK_ACCOUNT_ID")), substrb(dump(min("CUSTOMER_BANK_ACCOUNT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CUSTOMER_BANK_ACCOUNT_ID"), 16, 0, 32), 1, 120), count("CUSTOMER_BANK_ACCOUNT_NAME"), count(distinct "CUSTOMER_BANK_ACCOUNT_NAME"), sum(sys_op_opnsize("CUSTOMER_BANK_ACCOUNT_NAME")), substrb(dump(min(substrb("CUSTOMER_BANK_ACCOUNT_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("CUSTOMER_BANK_ACCOUNT_NAME", 1, 32)), 16, 0, 32), 1, 120), count("UOM_CODE"), count(distinct "UOM_CODE"), sum(sys_op_opnsize("UOM_CODE")), substrb(dump(min("UOM_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("UOM_CODE"), 16, 0, 32), 1, 120), count("UOM_NAME"), count(distinct "UOM_NAME"), sum(sys_op_opnsize("UOM_NAME")), substrb(dump(min("UOM_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("UOM_NAME"), 16, 0, 32), 1, 120), count("DOCUMENT_NUMBER_SEQUENCE_ID"), count(distinct "DOCUMENT_NUMBER_SEQUENCE_ID"), sum(sys_op_opnsize("DOCUMENT_NUMBER_SEQUENCE_ID")), substrb(dump(min("DOCUMENT_NUMBER_SEQUENCE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("DOCUMENT_NUMBER_SEQUENCE_ID"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE10"), count(distinct "LINK_TO_LINE_ATTRIBUTE10"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE10")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120) f rom "AR"."RA_INTERFACE_LINES_ALL" sample ( 10.0000000000) t
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;
1q78dwnrrkf6c BEGIN ASN_SALES_PVT.Lead_Process_After_Update( P_Api_Version_Number => 2.0, P_Init_Msg_List => FND_API.G_TRUE, p_Commit => FND_API.G_FALSE, p_Validation_Level => FND_API.G_VALID_LEVEL_NONE, P_Identity_Salesforce_Id => :1, P_Salesgroup_id => :2, P_Sales_Lead_Id => :3, X_Return_Status => :4, X_Msg_Count => :5, X_Msg_Data => :6); END;
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 )
297yq3ycazg9b SELECT ROW_ID, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, PO_RELEASE_FLAG, PO_NUM, LAST_UPDATED_BY, PRINT_COUNT, PRINTED_DATE, COMMENTS, REVISED_DATE, FROZEN_FLAG, USER_HOLD_FLAG, CANCEL_FLAG, CLOSED_CODE, CLOSED_DATE, APPROVED_DATE, SHIP_TO_LOCATION, SHIP_TO_LOCATION_ID, BILL_TO_LOCATION, BILL_TO_LOCATION_ID, AGENT_ID, VENDOR_CONTACT, VENDOR_SITE_CODE, VENDOR_SITE_ID, VENDOR_NAME, VENDOR_ID, AUTHORIZATION_STATUS, PO_HEADER_ID, RELEASE_NUM, RELEASE_TYPE, PO_RELEASE_ID, REVISION_NUM, DOC_TYPE_NAME, GLOBAL_AGREEMENT_FLAG, OWNING_ORG_ID, PCARD_ID, TYPE_LOOKUP_CODE, ORDER_DATE, CURRENCY_CODE, TERMS_NAME, SHIP_VIA_LOOKUP_CODE, FOB_LOOKUP_CODE, PAY_ON_DSP, PAY_ON_CODE, FREIGHT_TERMS_LOOKUP_CODE, SHIPPING_CONTROL, RATE_DATE, RATE, START_DATE, END_DATE, BLANKET_TOTAL_AMOUNT, AMOUNT_LIMIT, MIN_RELEASE_AMOUNT, PRICE_UPDATE_TOLERANCE, NOTE_TO_VENDOR, NOTE_TO_RECEIVER, CONFIRMING_ORDER_FLAG, ACCEPTANCE_REQUIRED_FLAG, ACCEPTANCE_DUE_DATE, FIRM_STATUS_LOOKUP_CODE, FIRM_DATE, CANCELLED_BY, CANCEL_DATE, CANCEL_REASON, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, ATTRIBUTE_CATEGORY, USSGL_TRANSACTION_CODE, CONSIGNED_CONSUMPTION_FLAG, CONTERMS_EXIST_FLAG, PENDING_SIGNATURE_FLAG FROM PO_HEADERS_INQ_V WHERE (:1 = agent_id OR EXISTS ( SELECT 'This employee is in approval path of this doc' FROM PO_ACTION_HISTORY POAH2 WHERE POAH2.employee _id + 0 = :2 AND POAH2.object_type_code in ('PO', 'PA') AND POAH2.object_id = po_header_id) OR( ((type_lookup_code = 'STANDARD') AND (release_num is null)) AND ( ( :3 = 'PUBLIC') OR ( :4 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id =:5 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :6 = 'HIERARCHY' AND :7 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :8 , -1) )) ) ) OR( ((type_lookup_code = 'CONTRACT') AND (release_num is null)) AND ( ( :9 = 'PUBLIC') OR ( :10 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :11 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :12 = 'HIERARCHY' AND :13 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :14 , -1) )) ) ) OR( ((type_lookup_code = 'PLANNED') AND (release_num is null)) AND ( ( :15 = 'PUBLIC') OR ( :16 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :17 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :18 = 'HIERARCHY' AND :19 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POE H.position_structure_id = nvl( :20 , -1) )) ) ) OR( ((type_lookup_code = 'BLANKET') AND (release_num is null)) AND ( ( :21 = 'PUBLIC') OR ( :22 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :23 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :24 = 'HIERARCHY' AND :25 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :26 , -1) )) ) )OR( release_type = 'BLANKET' AND ( ( :27 = 'PUBLIC') OR ( :28 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :29 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :30 = 'HIERARCHY' AND :31 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :32 , -1) )) ) )OR( release_type = 'SCHEDULED' AND ( ( :33 = 'PUBLIC') OR ( :34 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :35 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :36 = 'HIERARCHY' AND :37 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :38 , -1) )) ) )) AND -1=-1 and (PO_RELEASE_FLAG=:39) and (PO_HEADER_ID=:40) order by po_header_id desc, po_release_id desc
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
2nfc4vng01c8t SELECT END_DATE, START_DATE, ROW_ID, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, LAST_UPDATED_BY, PO_NUM, RELEASE_NUM, RELEASE_TYPE, REVISED_DATE, APPROVED_DATE, BILL_TO_LOCATION_ID, BILL_TO_LOCATION, AGENT_ID, VENDOR_SITE_ID, VENDOR_SITE_CODE, VENDOR_ID, VENDOR_NAME, VENDOR_CONTACT, AUTHORIZATION_STATUS, NEED_BY_DATE, REVISION_NUM, DOC_TYPE_NAME, GLOBAL_AGREEMENT_FLAG, OWNING_ORG_ID, TYPE_LOOKUP_CODE, ORDER_DATE, CURRENCY_CODE, TERMS_NAME, SHIP_VIA_LOOKUP_CODE, HEADER_FOB_LOOKUP_CODE, HEADER_FREIGHT_TERMS_LC, RATE_TYPE, RATE_DATE, RATE, PLL_NOTE_TO_RECEIVER, CONFIRMING_ORDER_FLAG, LINE_NUM, LINE_TYPE_ID, LINE_TYPE, ORDER_TYPE_LOOKUP_CODE, PURCHASE_BASIS, ITEM_ID, ITEM_REVISION, JOB_ID, CATEGORY_ID, ITEM_DESCRIPTION, UNIT_MEAS_LOOKUP_CODE, ALLOW_PRICE_OVERRIDE_FLAG, NOT_TO_EXCEED_PRICE, UN_NUMBER, HAZARD_CLASS, FROM_HEADER_ID, FROM_LINE_ID, FROM_LINE_LOCATION_ID, NOTE_TO_VENDOR, UNORDERED_FLAG, VENDOR_PRODUCT_NUM, CONTRACT_ID, MIN_RELEASE_AMOUNT, PO_HEADER_ID, PO_RELEASE_ID, CLOSED_BY, CANCELLED_BY, PO_LINE_ID, LINE_LOCATION_ID, SHIPMENT_NUM, CREATION_DATE, QUANTITY, QUANTITY_RECEIVED, QUANTITY_ACCEPTED, QUANTITY_REJECTED, QUANTITY_BILLED, QUANTITY_CANCELLED, AMOUNT, AMOUNT_RECEIVED, AMOUNT_BILLED, AMOUNT_CANCELLED, SHIP_TO_LOCATION_ID, SHIP_TO_LOCATION, PROMISED_DATE, LAST_ACCEPT_DATE, PRICE_OVERRIDE, ENCUMBERED_FLAG, TAXABLE_FLAG, TAX_NAME, CANCEL_FLAG, CANCEL_DATE, CANCEL_REASON, FIRM_STATUS_LOOKUP_CODE, MATCHING_TYPE, MATCH_OPTION, COUNTRY_OF_ORIGIN, QTY_RCV_TOLERANC E, QTY_RCV_EXCEPTION_CODE, ENFORCE_SHIP_TO_LOCATION_CODE, ALLOW_SUBSTITUTE_RECEIPTS_FLAG, DAYS_EARLY_RECEIPT_ALLOWED, DAYS_LATE_RECEIPT_ALLOWED, RECEIPT_DAYS_EXCEPTION_CODE, INVOICE_CLOSE_TOLERANCE, RECEIVE_CLOSE_TOLERANCE, SHIP_TO_ORGANIZATION_ID, SHIP_TO_ORGANIZATION, SOURCE_SHIPMENT_ID, SHIPMENT_TYPE, CLOSED_CODE, RECEIVING_ROUTING_ID, ROUTING_NAME, ACCRUE_ON_RECEIPT_FLAG, CLOSED_REASON, CLOSED_DATE, SOURCE_SHIPMENT_NUM, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, ATTRIBUTE_CATEGORY, USSGL_TRANSACTION_CODE, ACCEPTANCE_DUE_DATE, SECONDARY_UNIT_OF_MEASURE, SECONDARY_QUANTITY, PREFERRED_GRADE, SECONDARY_QUANTITY_RECEIVED, SECONDARY_QUANTITY_ACCEPTED, SECONDARY_QUANTITY_REJECTED, SECONDARY_QUANTITY_CANCELLED, VMI_FLAG, CONSIGNED_FLAG, CONSIGNED_CONSUMPTION_FLAG, AUTO_PRICED_FLAG FROM PO_LINE_LOCATIONS_INQ_V WHERE (:1 = agent_id OR EXISTS ( SELECT 'This employee is in approval path of this doc' FROM PO_ACTION_HISTORY POAH2 WHERE POAH2.employee_id + 0 = :2 AND POAH2.object_type_code in ('PO', 'PA') AND POAH2.object_id = po_header_id) OR( ((type_lookup_code = 'STANDARD') AND (release_num is null)) AND ( ( :3 = 'PUBLIC') OR ( :4 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id =:5 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :6 = 'HIERARCHY' AND :7 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :8 , -1) )) ) ) OR( ((type_lookup_code = 'PLANNED') AND (release_num is null)) AND ( ( :9 = 'PUBLIC') OR ( :10 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :11 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :12 = 'HIERARCHY' AND :13 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :14 , -1) )) ) ) OR( ((type_lookup_code = 'BLANKET') AND (release_num is null)) AND ( ( :15 = 'PUBLIC') OR ( :16 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :17 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :18 = 'HIERARCHY' AND :19 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :20 , -1) )) ) )OR( release_type = 'BLANKET' AND ( ( :21 = 'PUBLIC') OR ( :22 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :23 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :24 = 'HIERARCHY' AND :25 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIE S POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :26 , -1) )) ) )OR( release_type = 'SCHEDULED' AND ( ( :27 = 'PUBLIC') OR ( :28 = 'PURCHASING' AND EXISTS (SELECT 'this employee is an agent' FROM PO_AGENTS POA WHERE POA.agent_id = :29 AND sysdate between nvl(POA.start_date_active, sysdate) and nvl(POA.end_date_active, sysdate + 1) )) OR ( :30 = 'HIERARCHY' AND :31 IN (SELECT POEH.superior_id FROM PO_EMPLOYEE_HIERARCHIES POEH WHERE POEH.employee_id = agent_id AND POEH.position_structure_id = nvl( :32 , -1) )) ) )OR (:33 = 'Y')) AND -1=-1 and (po_line_locations_inq_v.owning_org_id = decode(po_line_locations_inq_v.global_agreement_flag, 'Y', po_line_locations_inq_v.owning_org_id, 204) ) and (RELEASE_TYPE IS NULL) and (PO_HEADER_ID=:34) and (PO_LINE_ID=:35) order by po_header_id desc, release_num desc, line_num, shipment_num
2rg930brttdn3 INSERT INTO WF_NOTIFICATION_ATTRIBUTES ( NOTIFICATION_ID, NAME, TEXT_VALUE, NUMBER_VALUE, DATE_VALUE, EVENT_VALUE ) VALUES ( :B6 , :B5 , :B4 , :B3 , :B2 , :B1 )
2spgk3k0f7quz SELECT * FROM CS_INCIDENTS_ALL_B WHERE INCIDENT_ID = :B1 FOR UPDATE
2xga04bkszrs9 insert into gl_je_lines ( je_header_id , je_line_num , last_update_date , creation_date , last_updated_by , created_by , set_of_books_id , code_combination_id , period_name , effective_date , status , entered_dr , entered_cr , accounted_dr , accounted_cr , reference_1 , reference_2 , reference_3 , reference_4 , reference_5 , reference_6 , reference_7 , reference_8 , reference_9 , reference_10 , description , stat_amount , attribute1 , attribute2 , attribute3 , attribute4 , attribute5 , attribute6 , attribute7 , attribute8 , attribute9 , attribute10 , attribute11 , attribute12 , attribute13 , attribute14 , attribute15 , attribute16 , attribute17 , attribute18 , attribute19 , attribute20 , context , context2 , context3 , invoice_amount , invoice_date , invoice_identifier , tax_code , no1 , ussgl_transaction_code , gl_sl_link_id , gl_sl_link_table , subledger_doc_sequence_id , subledger_doc_sequence_value , jgzz_recon_ref , ignore_rate_flag) SELECT :je_header_id , :je_line_num , sysdate , sysdate , 1318 , 1318 , 1 , :ccid , :period_name , decode(substr(:account_date, 1, 1), '-', trunc(sysdate), to_date(:account_date, 'YYYY/MM/DD')) , 'U' , :entered_dr , :entered_cr , :accounted_dr , :accounted_cr , reference21 , reference22 , reference23 , reference24 , reference25 , reference26 , reference27 , reference28 , reference29 , reference30 , :description , :stat_amt , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , '' , gl_sl_link_id , gl_sl_link_table , subledger_doc_sequence_id , subledger_doc_sequence_value , jgzz_recon_ref , null FROM GL_INTERFACE where rowid = :row_id
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
317b1cs5a192g insert into pay_run_results(run_result_id, element_type_id, assignment_action_id, entry_type, source_id, source_type, status, jurisdiction_code, start_date, end_date, element_entry_id) values (:b1, :b2, :b3, :b4, :b5, :b6, :b7, :b8:b9, to_date(:b10:b11, :b12), to_date(:b13:b14, :b12), :b16:b17)
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
3cb7xm8ykx1qh begin :1 := POR_UTIL_PKG.submitreq(:2, :3, :4, :5, :6); end;
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 ) )
3g160axpg863b SELECT fnd_number.number_to_canonical(/*+ RULE*/ nvl(sum(fnd_number.canonical_to_number(TARGET.result_value) * FEED.scale), 0) ) FROM pay_run_result_values TARGET , pay_balance_feeds_f FEED , pay_run_results RR , pay_assignment_actions ASSACT , pay_assignment_actions BAL_ASSACT , pay_payroll_actions PACT , pay_payroll_actions BACT , pay_assignment_actions PPASSACT , pay_payroll_actions PPACT , pay_action_interlocks INTLCK2 where BAL_ASSACT.assignment_action_id = :ASSIGNMENT_ACTION_ID and BAL_ASSACT.payroll_action_id = BACT.payroll_action_id and FEED.balance_type_id = :U1 + DECODE(TARGET.INPUT_VALUE_ID, NULL , 0, 0) and FEED.input_value_id = TARGET.input_value_id and nvl(TARGET.result_value, '0') != '0' and TARGET.run_result_id = RR.run_result_id and RR.assignment_action_id = ASSACT.assignment_action_id and ASSACT.payroll_action_id = PACT.payroll_action_id and PACT.effective_date between FEED.effective_start_date and FEED.effective_end_date and RR.status in ('P', 'PA') and BACT.action_type in ('P', 'U', 'R', 'Q') and PPASSACT.assignment_action_id = pay_core_utils.get_pp_action_id(BACT.action_type, BAL_ASSACT.assignment_action_id) and PPASSACT.payroll_action_id = PPACT.payroll_action_id and PPACT.action_type in ('P', 'U') and nvl(PACT.future_process_mode, 'Y') = 'Y' and PPASSACT.assignment_action_id = INTLCK2.locking_action_id and INTLCK2.locked_action_id = ASSACT.assignment_action_id and pay_core_utils.include_action_in_payment(BACT.action_type, BAL_ASSACT.assignment_action_id, ASSACT.assignment_action_id) = 'Y' and NOT EXISTS (SELECT NULL FROM pay_payroll_actions RPACT , pay_assignment_actions RASSACT , pay_action_interlocks RINTLK where ASSACT.assignment_action_id = RINTLK.locked_action_id and RINTLK.locking_action_id = RASSACT.assignment_action_id and RPACT.payroll_action_id = RASSACT.payroll_action_id and RPACT.action_type = 'V')
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
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
4d6uaffumxzmr SELECT SESSION_ID FROM ICX_SESSIONS WHERE XSID = :B1
4ds53shhfcynn declare begin hr_pre_pay.do_prepayment(:p1, :p2, :p3, :p4, :5, :p6:p6ind, :p7); 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
546kskr40arst select /*+ ORDERED USE_NL(AA PA RR RRV LIV IV EE ET FC EC EL) INDEX(AA PAY_ASSIGNMENT_ACTIONS_PK, PA PAY_PAYROLL_ACTIONS_PK, RR PAY_RUN_RESULTS_N50, ET PAY_ELEMENT_TYPES_F_PK, EL PAY_ELEMENT_LINKS_F_PK, IV PAY_INPUT_VALUES_F_PK, RRV PAY_RUN_RESULT_VALUES_N50, LIV +*/ EL.element_link_id , EL.costable_type , decode(:b0, 0, EL.cost_allocation_keyflex_id, EL2.cost_allocation_keyflex_id) , decode(:b0, 0, EL.balancing_keyflex_id, EL2.balancing_keyflex_id) , EL.element_set_id , decode(IV.uom, 'M', nvl(FC.precision, 3), 3) , nvl(EC.costing_debit_or_credit, 'D') , to_char(RR.run_result_id) , decode(:b2, 'A', decode(EE.entry_type, 'A', EE.target_entry_id, 'R', EE.target_entry_id, RR.source_id), RR.source_id) , EE.creator_type , EE.cost_allocation_keyflex_id , EE.source_id , EE.source_asg_action_id , EE.source_link_id , RR.element_type_id , to_char(RRV.input_value_id) , RRV.result_value , IV.uom , decode(EL.costable_type, 'D', decode(EE.creator_type, 'E', 2, 'EE', 2, 3), 1) , RR.jurisdiction_code , 'E' , decode(IV.uom, 'M', decode(IV.name, 'Pay Value', 1, 0), 0) , to_char(decode(:b0, 0, PA.date_earned, nvl(RR.end_date, PA.date_earned)), 'YYYY/MM/DD') from pay_assignment_actions AA , pay_payroll_actions PA , pay_run_results RR , pay_run_result_values RRV , pay_link_input_values_f LIV , pay_input_values_f IV , pay_element_entries_f EE , pay_element_types_f ET , fnd_currencies FC , pay_element_classifications EC , pay_element_links_f EL , pay_element_links_f EL2 where (((((((((( (((((((((((((((((AA.assignment_action_id=:b4 and AA.payroll_action_id=PA.payroll_action_id) and RR.assignment_action_id=:b4) and RR.status like 'P%') and RR.source_type not in ('I', 'V')) and RR.element_type_id=ET.element_type_id) and RRV.run_result_id=RR.run_result_id) and IV.input_value_id=RRV.input_value_id) and PA.date_earned between IV.effective_start_date and IV.effective_end_date) and IV.element_type_id=ET.element_type_id) and RRV.result_value is not null ) and (decode(:b6, 'Y', 1, fnd_number.canonical_to_number(RRV.result_value))+decode(IV.uom, 'M', 0, 0))<>0) and RRV.input_value_id=LIV.input_value_id) and PA.date_earned between LIV.effective_start_date and LIV.effective_end_date) and LIV.costed_flag='Y') and LIV.element_link_id=EL.element_link_id) and RR.source_id=EE.element_entry_id) and nvl(RR.end_date, PA.date_earned) between EE.effective_start_date and EE.effective_end_date) and ((PA.action_type='B' and nvl(EE.BALANCE_ADJ_COST_FLAG, 'N')='Y') or PA.action_type<>'B')) and EE.element_link_id=EL.element_link_id) and PA.date_earned between EL.effective_start_date and EL.effective_end_date) and EL.costable_type<>'N') and (EL.element_type_id+0)=(ET.element_type_id+0)) and PA.date_earned between ET.effective_start_date and ET.effective_end_date) and ET.classification_id=EC.classification_id) and ET.output_currency_code=FC.currency_code) and EL2.element_link_id=EL.element_link_id) and nvl(decode(EL.costable_type, 'D', PA.date_earned, RR.end_date), PA. date_earned) between EL2.effective_start_date and EL2.effective_end_date) union all select /*+ ORDERED USE_NL(AA PA RR RRV LIV IV PERA ET FC EC EL) INDEX(AA PAY_ASSIGNMENT_ACTIONS_PK, PA PAY_PAYROLL_ACTIONS_PK, RR PAY_RUN_RESULTS_N50, ET PAY_ELEMENT_TYPES_F_PK, EL PAY_ELEMENT_LINKS_F_PK, IV PAY_INPUT_VALUES_F_PK, PERA PER_ASSIGNMENTS_F_PK, RRV PA +*/ EL.element_link_id , EL.costable_type , decode(:b0, 0, EL.cost_allocation_keyflex_id, EL2.cost_allocation_keyflex_id) , decode(:b0, 0, EL.balancing_keyflex_id, EL2.balancing_keyflex_id) , EL.element_set_id , decode(IV.uom, 'M', nvl(FC.precision, 3), 3) , nvl(EC.costing_debit_or_credit, 'D') , to_char(RR.run_result_id) , RR.source_id , 'N' , 0 , 0 , 0 , 0 , RR.element_type_id , to_char(RRV.input_value_id) , RRV.result_value , IV.uom , decode(EL.costable_type, 'D', 3, 1) , RR.jurisdiction_code , decode(RR.source_type, 'I', 'I', 'V', 'V', 'D') , decode(IV.uom, 'M', decode(IV.name, 'Pay Value', 1, 0), 0) , to_char(decode(:b0, 0, PA.date_earned, nvl(RR.end_date, PA.date_earned)), 'YYYY/MM/DD') from pay_assignment_actions AA , pay_payroll_actions PA , pay_run_results RR , pay_run_result_values RRV , pay_link_input_values_f LIV , pay_input_values_f IV , per_all_assignments_f PERA , pay_element_types_f ET , fnd_currencies FC , pay_element_classifications EC , pay_element_links_f EL , pay_element_links_f EL2 where (((((((((((((((((((((((((((((((((((((AA.assignment_action_id=:b4 and AA.payroll_action_id=PA.payroll_action_id) and ( not exists (select null from pay_element_entries_f EE1 where (RR.source_id=EE1.element_entry_id and nvl(RR.end_date, PA.date_earned) between EE1.effective_start_date and EE1.effective_end_date)) or RR.source_type in ('I', 'V'))) and RR.assignment_action_id=:b4) and RR.status like 'P%') and RR.element_type_id=ET.element_type_id) and RRV.run_result_id=RR.run_result_id) and IV.input_value_id=RRV.input_value_id) and PA.date_earned between IV.effective_start_date and IV.effective_end_date) and IV.element_type_id=ET.element_type_id) and RRV.result_value is not null ) and (decode(:b6, 'Y', 1, fnd_number.canonical_to_number(RRV.result_value))+decode(IV.uom, 'M', 0, 0))<>0) and RRV.input_value_id=LIV.input_value_id) and PA.date_earned between LIV.effective_start_date and LIV.effective_end_date) and LIV.costed_flag='Y') and LIV.element_link_id=EL.element_link_id) and RR.element_type_id=ET.element_type_id) and PA.date_earned between ET.effective_start_date and ET.effective_end_date) and ET.classification_id=EC.classification_id) and ET.output_currency_code=FC.currency_code) and (ET.element_type_id+0)=(EL.element_type_id+0)) and PA.date_earned between EL.effective_start_date and EL.effective_end_date) and EL.costable_type<>'N') and ((PA.action_type='B' and hr_cost.cost_bal_adj(RR.source_id, PA.date_earned)='Y') or PA.action_type<>'B')) and PERA.assignment_id=:b13) and (PERA.business_group_id+0)=(EL.business_group_id+0)) and PA.date_earned between PERA.effective_sta rt_date and PERA.effective_end_date) and (((EL.payroll_id is not null and EL.payroll_id=PERA.payroll_id) or (EL.link_to_all_payrolls_flag='Y' and PERA.payroll_id is not null )) or EL.payroll_id is null )) and (EL.organization_id=PERA.organization_id or EL.organization_id is null )) and (EL.position_id=PERA.position_id or EL.position_id is null )) and (EL.job_id=PERA.job_id or EL.job_id is null )) and (EL.grade_id=PERA.grade_id or EL.grade_id is null )) and (EL.location_id=PERA.location_id or EL.location_id is null )) and (EL.pay_basis_id=PERA.pay_basis_id or EL.pay_basis_id is null )) and (EL.employment_category=PERA.employment_category or EL.employment_category is null )) and (EL.people_group_id is null or exists (select 1 from pay_assignment_link_usages_f PAL where ((PAL.assignment_id=:b13 and PAL.element_link_id=EL.element_link_id) and PA.date_earned between PAL.effective_start_date and PAL.effective_end_date)))) and EL2.element_link_id=EL.element_link_id) and nvl(decode(EL.costable_type, 'D', PA.date_earned, RR.end_date), PA.date_earned) between EL2.effective_start_date and EL2.effective_end_date) order by 19, 8, 16
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
5qtxtsar19v4k insert into pay_run_result_values(input_value_id, run_result_id, result_value, formula_result_flag) values (:b1, :b2, :b3:b4, :b5:b6)
63t8zpm02skgh SELECT DECODE(COUNT(PRR.RUN_RESULT_ID), 0, 'N', 'Y') FROM PAY_RUN_RESULTS PRR, PAY_ASSIGNMENT_ACTIONS ASA, PAY_PAYROLL_ACTIONS PPA WHERE PRR.SOURCE_ID = :B3 AND PRR.SOURCE_TYPE IN ('E', 'I') AND PRR.STATUS IN ('P', 'PA', 'R', 'O') AND ASA.ASSIGNMENT_ACTION_ID = PRR.ASSIGNMENT_ACTION_ID AND PPA.PAYROLL_ACTION_ID = ASA.PAYROLL_ACTION_ID AND NOT EXISTS (SELECT NULL FROM PAY_RUN_RESULTS PRR2 WHERE PRR2.SOURCE_ID = PRR.RUN_RESULT_ID AND PRR2.SOURCE_TYPE IN ('R', 'V')) AND PPA.DATE_EARNED BETWEEN :B2 AND :B1
64qc329wgjv39 select /*+ ORDERED INDEX(ASSBAL PAY_ASSIGNMENT_LATEST_BALA_N1) INDEX(DEFBAL PAY_DEFINED_BALANCES_PK) INDEX(ACT PAY_ASSIGNMENT_ACTIONS_PK) INDEX(PACT PAY_PAYROLL_ACTIONS_PK) INDEX(VALUE PAY_BALANCE_CONTEXT_VALUES_PK) USE_NL(ASSBAL DEFBAL ACT PACT VALUE) +*/ ASSBAL.defined_balance_id , DEFBAL.balance_dimension_id , to_char(ASSBAL.value) , ASSBAL.latest_balance_id , ASSBAL.rowid , to_char(ASSBAL.assignment_action_id) , ACT.payroll_action_id , to_char(PACT.effective_date, :b0) , to_number(to_char(PACT.effective_date, 'J')) , nvl(VALUE.context_id, 0) , nvl(VALUE.value, 'NULL') , to_char(ASSBAL.expired_assignment_action_id) , to_char(ASSBAL.expired_value) , to_char(ASSBAL.prev_assignment_action_id) , to_char(ASSBAL.prev_balance_value) from pay_assignment_latest_balances ASSBAL , pay_defined_balances DEFBAL , pay_assignment_actions ACT , pay_payroll_actions PACT , pay_balance_context_values VALUE where ((((ASSBAL.assignment_id=:b1 and ACT.assignment_action_id=ASSBAL.assignment_action_id) and PACT.payroll_action_id=ACT.payroll_action_id) and DEFBAL.defined_balance_id=ASSBAL.defined_balance_id) and VALUE.latest_balance_id(+)=ASSBAL.latest_balance_id) union all select /*+ ORDERED INDEX(PERBAL PAY_PERSON_LATEST_BALANCES_N2) INDEX(DEFBAL PAY_DEFINED_BALANCES_PK) INDEX(ACT PAY_ASSIGNMENT_ACTIONS_PK) INDEX(VALUE PAY_BALANCE_CONTEXT_VALUES_PK) INDEX(PACT PAY_PAYROLL_ACTIONS_PK) USE_NL(PERBAL DEFBAL ACT PACT VALUE) +*/ PERBAL.defined_balance_id , DEFBAL.balance_dimension_id , to_char (PERBAL.value) , PERBAL.latest_balance_id , PERBAL.rowid , to_char(PERBAL.assignment_action_id) , ACT.payroll_action_id , to_char(PACT.effective_date, :b0) , to_number(to_char(PACT.effective_date, 'J')) , nvl(VALUE.context_id, 0) , nvl(VALUE.value, 'NULL') , to_char(PERBAL.expired_assignment_action_id) , to_char(PERBAL.expired_value) , to_char(PERBAL.prev_assignment_action_id) , to_char(PERBAL.prev_balance_value) from pay_person_latest_balances PERBAL , pay_defined_balances DEFBAL , pay_assignment_actions ACT , pay_payroll_actions PACT , pay_balance_context_values VALUE where ((((PERBAL.person_id=:b3 and ACT.assignment_action_id=PERBAL.assignment_action_id) and PACT.payroll_action_id=ACT.payroll_action_id) and DEFBAL.defined_balance_id=PERBAL.defined_balance_id) and VALUE.latest_balance_id(+)=PERBAL.latest_balance_id) order by 6, 2, 1, 4, 10 desc
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)
6h2tpcxpymqu7 BEGIN :1 := FND_AOLJ_UTIL.is_Valid_ICX(:2, NULL, 'Y', TRUE, TRUE, NULL, NULL, NULL, NULL, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, TRUE);:19 := fnd_session_management.g_enc_key;:20 := fnd_session_management.g_mac_key;END;
6kd3qt5f36fdr INSERT INTO WF_ITEMS ( ITEM_TYPE, ITEM_KEY, ROOT_ACTIVITY, ROOT_ACTIVITY_VERSION, OWNER_ROLE, PARENT_ITEM_TYPE, PARENT_ITEM_KEY, BEGIN_DATE, END_DATE, USER_KEY ) VALUES ( :B7 , :B6 , :B5 , :B4 , :B3 , '', '', :B2 , TO_DATE(NULL), :B1 )
72cqcsuq5wgh0 SELECT aslrt.meaning as rank_name , aslrt.rank_id, sum(case when asl.status_open_flag = 'Y' AND round(sysdate-asl.creation_date)<= 2 THEN 1 else 0 END) as day0_2, sum(case when asl.status_open_flag = 'Y' AND round((sysdate - asl.creation_date)) between 3 and 7 THEN 1 else 0 END) as day3_7, sum(case when asl.status_open_flag = 'Y' AND round((sysdate - asl.creation_date)) between 8 and 30 THEN 1 else 0 END) as day8_30, sum(case when asl.status_open_flag = 'Y' AND round((sysdate - asl.creation_date)) >= 31 THEN 1 else 0 END) as day_31, sum(case when nvl(asl.status_open_flag, 'N') = 'N' AND asl.status_code <> 'CONVERTED_TO_OPPORTUNITY' THEN 1 ELSE 0 END) as closed, sum(case when asl.status_code = 'CONVERTED_TO_OPPORTUNITY' THEN 1 ELSE 0 END) as converted, round((sum(case when asl.status_code = 'CONVERTED_TO_OPPORTUNITY' THEN 1 ELSE 0 END)/count(asl.sales_lead_id)) * 100, 2) as conversion, count(aslrt.rank_id) total_leads FROM as_sales_leads asl, as_sales_lead_ranks_tl aslrt, as_sales_lead_ranks_b aslrb, ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id , aaa.customer_id FROM as_accesses_all aaa WHERE aaa.lead_id is null AND aaa.sales_lead_id IS NOT NULL AND aaa.salesforce_id = :1)secu WHERE asl.lead_rank_id = aslrt.rank_id AND aslrb.rank_id = aslrt.rank_id AND aslrt.language = USERENV('LANG') AND secu.sa les_lead_id = asl.sales_lead_id AND secu.customer_id = asl.customer_id GROUP BY aslrt.rank_id, aslrt.meaning, aslrb.min_score ORDER BY aslrb.min_score DESC
7dtkxnqpkqszw SELECT DISTINCT a.PERMISSION_NAME, dom.DOMAIN_NAME, a.MAINTENANCE_MODE_FLAG FROM JTF_AUTH_PERMISSIONS_B A, JTF_AUTH_PRINCIPAL_MAPS B, JTF_AUTH_ROLE_PERMS C, JTF_AUTH_PRINCIPALS_B D, JTF_AUTH_PRINCIPALS_B E, JTF_AUTH_DOMAINS_B dom WHERE D.PRINCIPAL_NAME = :1 AND D.IS_USER_FLAG = 1 AND D.JTF_AUTH_PRINCIPAL_ID = B.JTF_AUTH_PRINCIPAL_ID AND B.JTF_AUTH_PARENT_PRINCIPAL_ID=E.JTF_AUTH_PRINCIPAL_ID AND E.IS_USER_FLAG = 0 AND E.JTF_AUTH_PRINCIPAL_ID = C.JTF_AUTH_PRINCIPAL_ID AND C.JTF_AUTH_PERMISSION_ID = A.JTF_AUTH_PERMISSION_ID AND C.POSITIVE_FLAG=1 AND B.JTF_AUTH_DOMAIN_ID = dom.JTF_AUTH_DOMAIN_ID ORDER BY A.PERMISSION_NAME
7g05xfvc5vp74 BEGIN arp_run.revenue_recognition( :errbuf, :rc, :A0, :A1, :A2); END;
81kz5n13tnzps SELECT 1 FROM OE_PRICE_ADJUSTMENTS WHERE HEADER_ID = :B1 AND LIST_LINE_TYPE_CODE = 'OM_CALLED_CHOOSE_SHIP_METHOD' AND ROWNUM = 1
827gtfny5uagb begin :con := FND_GENERIC_POLICY.GET_PREDICATE(:sn, :on); end;
83kbt99vg4svq begin hr_nonrun_asact.reinterlock (:assactid, :pactype); end;
8ay7m8qubw98j select * from PO_TAX_LINES_SUMMARY_V where trx_header_id = :b1 ORDER BY trx_header_id, trx_line_id, trx_shipment_id , trx_distribution_id
8c8cf4vtv4tx2 SELECT * FROM ( SELECT LeadEO.sales_lead_id as SalesLeadId , to_char(hz_timezone_pub.convert_datetime(:1, hcp.timezone_id, SYSDATE), 'HH:MI AM ') ||' '||ht.standard_time_short_code as PrimaryContactLocalTime , SUBSTRB(LeadEO.description, 1, 240) as Description , hp.party_name as ContactName , custParty.party_name as CustomerName , aslt.meaning as RankName , ast.meaning as LeadStatus , ROUND(SYSDATE - LeadEO.creation_date) as Age , DECODE(LeadEO.status_code, 'CONVERTED_TO_OPPORTUNITY', 'ASNCnvToOpptyDsbld', 'ASNCnvToOpptyEnbld') as ASNLeadLstCnvToOppty , LeadEO.customer_id , hp.party_id , LeadEO.primary_contact_party_id , hr.relationship_id FROM as_sales_leads LeadEO , ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id, aaa.customer_id FROM as_accesses_all aaa WHERE aaa.sales_lead_id IS NOT NULL AND aaa.lead_id IS NULL AND aaa.salesforce_id = :2) secu , as_statuses_tl ast , as_sales_lead_ranks_tl aslt , hz_parties CustParty , hz_parties hp, hz_relationships hr , hz_contact_points hcp , hz_timezones ht , ams_source_codes amsc WHERE LeadEO.sales_lead_id = secu.sales_lead_id AND LeadEO.customer_id = secu.customer_id AND LeadEO.status_code = ast.status_code AND ast.language = USERENV('LANG') AND LeadEO.lead_rank_id = aslt.rank_id (+) AND aslt.language (+) = USERENV('LANG') AND LeadEO.customer_id = CustParty.party_id AND LeadEO.primary_contact_party_id = hr.party_id(+) AND hr.subject_id = hp.party_id (+) AND hr.subject_table_name (+) = 'HZ_PARTIES' AND hr.object_id(+) = LeadEO.customer_id AND hr.object_table_name (+) = 'HZ_PARTIES' AND LeadEO.primary_contact_party_id = hcp.owner_table_id(+) AND hcp.owner_table_name (+) = 'HZ_PARTIES' AND hcp.primary_flag (+) = 'Y' AND hcp.contact_point_type (+) = 'PHONE' AND hcp.timezone_id = ht.timezone_id (+) AND LeadEO.source_promotion_id = amsc.source_code_id AND amsc.source_code_for_id = :3 AND LeadEO.status_code = :4 ORDER BY age )
8camsgjsr9zya begin OE_TRANSACTION_TYPES_PKG.Val_Ord_Change( :t_application_id, :t_entity_short_name, :t_validation_entity_short_name, :t_validation_tmplt_short_name, :t_record_set_short_name, :t_scope, :t_result ); end;
8jb36w62w5hqf BEGIN IBU_REQ_PKG.UpdateServiceRequest(:1, :2, -1, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16); 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
8vmj377jqyqwq BEGIN WSH_BATCH_PROCESS.CONFIRM_DELIVERY_SRS( :errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8, :A9, :A10, :A11, :A12, :A13, :A14, :A15, :A16, :A17, :A18, :A19, :A20, :A21, :A22); END;
91hakq9n36htp SELECT TEXT_VALUE FROM WF_ITEM_ATTRIBUTE_VALUES WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
97mt0g20bcfc3 begin pay_US_rules.get_default_jurisdiction (:asgact, :eeid, :defval:defvalind); end;
9auhvwk6aatuq BEGIN ASO_QUOTE_PUB_W.UPDATE_Quote( :1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, p_c_auto_version_flag => :17, p_c_pricing_request_type => :18, p_c_header_pricing_event => :19, p_c_cal_tax_flag => :20, p_c_cal_freight_charge_flag => :21, p_c_copy_task_flag => :22, p_c_copy_notes_flag => :23, p_c_copy_att_flag => :24, p_c_deactivate_all => :25, p_c_price_mode => :26, p_q_quote_header_id => :27, p_q_last_update_date => :28, p_q_pricing_status_indicator => :29, p_q_tax_status_indicator => :30, p_ql_quote_line_id => :31, p_ql_quote_header_id => :32, p_ql_item_type_code => :33, p_ql_inventory_item_id => :34, p_ql_organization_id => :35, p_ql_uom_code => :36, p_ql_operation_code => :37, x_return_status => :38, x_msg_count => :39, x_msg_data => :40 ); END;
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)
a29grr748ghc4 BEGIN jdr_custom_internal.getActiveLayers(:1, :2, :3, :4, :5); END;
avc1jqzz04wpr SELECT 'x' FROM DUAL
axmdf8vq7k1rh select increment$, minvalue, maxvalue, cycle#, order$, cache, highwater, audit$, flags from seq$ where obj#=:1
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
b4qmsw139rps6 SELECT COUNT(*) FROM GV$SESSION GV, FND_CONCURRENT_PROCESSES P WHERE GV.INST_ID = P.INSTANCE_NUMBER AND GV.AUDSID = P.SESSION_ID AND (PROCESS_STATUS_CODE NOT IN ('S', 'K')) AND ( QUEUE_APPLICATION_ID = :B2 AND CONCURRENT_QUEUE_ID = :B1 )
b5jqxnpqu8624 SELECT 1 FROM DUAL WHERE EXISTS ( SELECT /*+ INDEX(g, FND_GRANTS_N1) */ 1 FROM FND_GRANTS G WHERE (G.GRANTEE_TYPE = 'GLOBAL') 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 )
bfbyqwbr4vwms begin OE_OEOL_SCH.SCHEDULE_LINE (:v1, :v2, :v3, :v4, :v5); end;
c1a0aqnhptp0c update GL_INTERFACE set status = :status , status_description = :description , je_batch_id = :batch_id , je_header_id = :header_id , je_line_num = :line_num , code_combination_id = decode(:ccid, '-1', code_combination_id, :ccid) , accounted_dr = :acc_dr , accounted_cr = :acc_cr , descr_flex_error_message = :descr_description , request_id = to_number(:req_id) where rowid = :row_id
c1j60ttadh9jj SELECT * FROM (SELECT TO_CHAR(AI.AMT_DUE_CCARD_COMPANY , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMT_DUE_CCARD_COMPANY, TO_CHAR(AI.AMT_DUE_EMPLOYEE , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMT_DUE_EMPLOYEE, AI.DESCRIPTION DESCRIPTION , /*Bug 1993381: Replace INVOICE_AMOUNT with the sum of AMT_DUE_CCARD_COMPANY and AMT_DUE_EMPLOYEE */ TO_CHAR(NVL(AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE, decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT)), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR(NVL(AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE, decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT)), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) REPORT_TOTAL, AI.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE , TO_CHAR(ICX_AP_INVOICES_PKG.GET_AMOUNT_WITHHELD( AI.INVOICE_ID)) || ' ' || AI.INVOICE_CURRENCY_CODE WITHHELD_AMOUNT_CURRENCY, AI.INVOICE_DATE REPORT_DATE , AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AI.INVOICE_ID INVOICE_ID , AI.INVOICE_NUM INVOICE_NUM , APS.DUE_DATE DUE_DATE , decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT) GROSS_AMOUNT_QUERY , TO_CHAR(decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT), FND_CURRENCY_CACH E.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) GROSS_AMOUNT , TO_CHAR(APS.AMOUNT_REMAINING , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMOUNT_REMAINING , P.PERSON_ID EMPLOYEE_ID, AI.INVOICE_ID REPORT_PRIMARY_KEY , AERH.REPORT_HEADER_ID REPORT_HEADER_ID, 'INVOICE' DOCUMENT_TYPE , P.FULL_NAME FULL_NAME , ALC.DISPLAYED_FIELD STATUS, AERH.SOURCE SOURCE, DECODE(ALC.LOOKUP_CODE, 'PAID', 'FndViewPayablesEnabled', 'PARPAID', 'FndViewPayablesEnabled', 'INVOICED', 'FndViewPayablesEnabled', 'FndViewPayablesDisabled' ) VIEW_PAYABLES_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ReportNumberEnabled', 'SelfService', 'ReportNumberEnabled', 'CREDIT CARD', 'ReportNumberEnabled', 'NonValidatedWebExpense', 'ReportNumberEnabled', 'ReportNumberDisabled') REPORT_NUMBER_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ExpenseLinesImageEnabled', 'SelfService', 'ExpenseLinesImageEnabled', 'CREDIT CARD', 'ExpenseLinesImageEnabled', 'NonValidatedWebExpense', 'ExpenseLinesImageEnabled', 'ExpenseLinesImageOldUrl') EXPENSE_LINES_FIELD, 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, AP_LOOKUP_CODES ALC WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.INVOICE_ID = AERH.VOUCHNO(+) AND ALC.LOOKUP_TYPE = 'EXPENSE REPORT STATUS' /*Bug 2596131:Added 'decode cancelled date' for cancelled status.*/ AND ALC.LOOKUP_CODE = DECODE(AI.CANCELLED_DATE, null, DECODE(APS.GROSS_AMOUNT , 0, 'PAID', DECODE(AI.Payment_status_flag, 'Y', 'PAID', 'N', 'INVOICED', 'P', 'PARPAID', NULL)), 'CANCELLED') 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 UNION SELECT TO_CHAR(AI.AMT_DUE_CCARD_COMPANY , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMT_DUE_CCARD_COMPANY, TO_CHAR(AI.AMT_DUE_EMPLOYEE , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMT_DUE_EMPLOYEE, AI.DESCRIPTION DESCRIPTION , /*Bug 1993381: Replace INVOICE_AMOUNT with the sum of AMT_DUE_CCARD_COMPANY and AMT_DUE_EMPLOYEE */ TO_CHAR(NVL(AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE, decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT)), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY _CODE REPORT_TOTAL_CURRENCY, TO_CHAR(NVL(AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE, decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT)), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) REPORT_TOTAL, AI.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE , TO_CHAR(ICX_AP_INVOICES_PKG.GET_AMOUNT_WITHHELD( AI.INVOICE_ID)) || ' ' ||AI.INVOICE_CURRENCY_CODE WITHHELD_AMOUNT_CURRENCY_CODE, AI.INVOICE_DATE REPORT_DATE , AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AI.INVOICE_ID INVOICE_ID , AI.INVOICE_NUM INVOICE_NUM , APS.DUE_DATE DUE_DATE , decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT) GROSS_AMOUNT_QUERY , TO_CHAR(decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) GROSS_AMOUNT , TO_CHAR(APS.AMOUNT_REMAINING , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMOUNT_REMAINING , P.PERSON_ID EMPLOYEE_ID, AI.INVOICE_ID REPORT_PRIMARY_KEY , AERH.REPORT_HEADER_ID REPORT_HEADER_ID, 'INVOICE' DOCUMENT_TYPE , P.FULL_NAME FULL_NAME , ALC.DISPLAYED_FIELD STATUS, AERH.SOURCE SOURCE, DECODE(ALC.LOOKUP_CODE, 'PAID', 'FndViewPayablesEnabled', 'PARPAID', 'FndViewPayablesEnabled', 'INVOICED', 'FndViewPayablesEnabled', 'FndViewPayablesDisabled' ) VIEW_PAYABLES_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ReportNumberEnabled', 'SelfService', 'ReportNumberEnabled', 'CREDIT CARD', 'ReportNumberEnabled', 'NonValidatedWebExpense', 'ReportNumberEnabled', 'ReportNumberDisabled') REPORT_NUMBER_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ExpenseLinesImageEnabled', 'SelfService', 'ExpenseLinesImageEnabled', 'CREDIT CARD', 'ExpenseLinesImageEnabled', 'NonValidatedWebExpense', 'ExpenseLinesImageEnabled', 'ExpenseLinesImageOldUrl') EXPENSE_LINES_FIELD, DECODE (AERH.SOURCE, 'XpenseXpress', 'DuplicateImageDisabled', 'CREDIT CARD', 'DuplicateImageDisabled', NULL, 'DuplicateImageDisabled', /* This line needs to be here to handle purged reports */ '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, AP_LOOKUP_CODES ALC WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.INVOICE_ID= AERH.VOUCHNO(+) AND ALC.LOOKUP_TYPE = 'EXPENSE REPORT STATUS' /*Bug 2596131:Added decode cancelled date for cancelled status.*/ AND ALC.LOOKUP_CODE = DECODE(AI.CANCELLED_DATE, null, DECODE(APS.GROSS_AMOUNT , 0, 'PAID', DECODE(AI.Payment_status_flag, 'Y', 'PAID', 'N', 'INVOICED', 'P', 'PARPAID', NULL)), 'CANCELLED') 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 UNION ALL SELECT TO_CHAR((AERH.AMT_DUE_CCARD_COMPANY), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) || ' ' || AERH.DEFAULT_CURRENCY_CODE AMOUNT_DUE_CC_COMPANY, TO_CHAR((AERH.AMT_DUE_EMPLOYEE), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) || ' ' || AERH.DEFAULT_CURRENCY_CODE AMOUNT_DUE_EMPLOYEE, AERH.DESCRIPTION, /* Bug 2177401:Changed AERH.total to AMOUNT_DUE_CC_COMPANY+AMOUNT_DUE_EMP */ 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, AERH.DEFAULT_CURRENCY_CODE, '', AERH.WEEK_END_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, -1, AERH.INVOICE_NUM, TO_DATE('', 'Y'), AERH.TOTAL GROSS_AMOUNT_QUERY, TO_CHAR((AERH.TOTAL), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) GROSS_AMOUNT, TO_CHAR(AERH.TOTAL, FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) || ' ' || AERH.DEFAULT_CURRENCY_CODE AMOUNT_REMAINING, P.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_PRIMARY_ KEY, AERH.REPORT_HEADER_ID REPORT_HEADER_ID, 'EXPENSE REPORT', P.FULL_NAME FULL_NAME, ALC.DISPLAYED_FIELD STATUS, AERH.SOURCE SOURCE, 'FndViewPayablesDisabled' VIEW_PAYABLES_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ReportNumberEnabled', 'SelfService', 'ReportNumberEnabled', 'CREDIT CARD', 'ReportNumberEnabled', 'NonValidatedWebExpense', 'ReportNumberEnabled', 'ReportNumberDisabled') REPORT_NUMBER_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ExpenseLinesImageEnabled', 'SelfService', 'ExpenseLinesImageEnabled', 'CREDIT CARD', 'ExpenseLinesImageEnabled', 'NonValidatedWebExpense', 'ExpenseLinesImageEnabled', 'ExpenseLinesImageOldUrl') EXPENSE_LINES_FIELD, 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)), 'ERROR', 'DuplicateImageDisabled', 'DuplicateImageEnabled')) DUPLICATE_FIELD FROM AK_WEB_USER_SEC_ATTR_VALUES A, PER_PEOPLE_X P, AP_EXPENSE_REPORT_HEADERS AERH, AP_LOOKUP_CODES ALC WHERE AERH.VOUCHNO =0 AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID' AND AERH.EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :3 AND P.PERSON_ID = AERH.EMPLOYEE_ID AND (AERH.Source <> 'NonValidatedWebExpense' OR AE RH.Workflow_approved_flag IS NULL) AND ALC.LOOKUP_TYPE = 'EXPENSE REPORT STATUS' AND ALC.LOOKUP_CODE = NVL(AERH.expense_status_code, AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, 'N')) UNION SELECT TO_CHAR((AERH.AMT_DUE_CCARD_COMPANY), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) || ' ' || AERH.DEFAULT_CURRENCY_CODE AMOUNT_DUE_CC_COMPANY, TO_CHAR((AERH.AMT_DUE_EMPLOYEE), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) || ' ' || AERH.DEFAULT_CURRENCY_CODE AMOUNT_DUE_EMPLOYEE, AERH.DESCRIPTION, /* Bug 2177401:Changed AERH.total to AMOUNT_DUE_CC_COMPANY+AMOUNT_DUE_EMP */ 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, AERH.DEFAULT_CURRENCY_CODE, '', AERH.WEEK_END_DATE REPORT_DATE, AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, -1, AERH.INVOICE_NUM, TO_DATE('', 'Y'), AERH.TOTAL GROSS_AMOUNT_QUERY, TO_CHAR((AERH.TOTAL), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) GROSS_AMOUNT, TO_CHAR(AERH.TOTAL, FND_CURRENCY_CACHE.GET_FORMAT_MASK (AERH.DEFAULT_CURRENCY_CODE, 30)) || ' ' || AERH.DEFAULT_CURRENCY_CODE AMOUNT _REMAINING, P.PERSON_ID EMPLOYEE_ID, AERH.REPORT_HEADER_ID REPORT_PRIMARY_KEY, AERH.REPORT_HEADER_ID REPORT_HEADER_ID, 'EXPENSE REPORT', P.FULL_NAME FULL_NAME, ALC.DISPLAYED_FIELD STATUS, AERH.SOURCE SOURCE, 'FndViewPayablesDisabled' VIEW_PAYABLES_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ReportNumberEnabled', 'SelfService', 'ReportNumberEnabled', 'CREDIT CARD', 'ReportNumberEnabled', 'NonValidatedWebExpense', 'ReportNumberEnabled', 'ReportNumberDisabled') REPORT_NUMBER_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ExpenseLinesImageEnabled', 'SelfService', 'ExpenseLinesImageEnabled', 'CREDIT CARD', 'ExpenseLinesImageEnabled', 'NonValidatedWebExpense', 'ExpenseLinesImageEnabled', 'ExpenseLinesImageOldUrl') EXPENSE_LINES_FIELD, 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)), 'ERROR', 'DuplicateImageDisabled', 'DuplicateImageEnabled')) DUPLICATE_FIELD FROM AK_WEB_USER_SEC_ATTR_VALUES A, PER_PEOPLE_X P, AP_EXPENSE_REPORT_HEADERS AERH, AP_LOOKUP_CODES ALC WHERE AERH.VOUCHNO =0 AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID' AND AERH.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE AND A.WEB_USER_ID = :4 AND P .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 ALC.LOOKUP_TYPE = 'EXPENSE REPORT STATUS' AND ALC.LOOKUP_CODE = NVL(AERH.expense_status_code, AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag, AERH.report_header_id, 'N')) UNION ALL SELECT /* Bug 3313129: Added this select to include contingent worker's reports that have been imported */ TO_CHAR(AI.AMT_DUE_CCARD_COMPANY , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMT_DUE_CCARD_COMPANY, TO_CHAR(AI.AMT_DUE_EMPLOYEE , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMT_DUE_EMPLOYEE, AI.DESCRIPTION DESCRIPTION , /*Bug 1993381: Replace INVOICE_AMOUNT with the sum of AMT_DUE_CCARD_COMPANY and AMT_DUE_EMPLOYEE */ TO_CHAR(NVL(AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE, decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT)), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY, TO_CHAR(NVL(AI.AMT_DUE_CCARD_COMPANY + AI.AMT_DUE_EMPLOYEE, decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT)), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) REPORT_TOTAL, AI.INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE , TO_CHAR(ICX_AP_INVOICES_PKG.GET_AMOUNT_WITHHELD( AI.INVOICE_ID)) || ' ' || AI.INVOICE_CURRENCY_CODE WITHHELD_AMOUNT_CURRENCY_CODE, AI.INVOICE_DATE REPORT_DATE , AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE, AI.INVOICE_ID INVOICE_ID , AI.INVOICE_NUM INVOICE_NUM , APS.DUE_DATE DUE_DATE , decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT) GROSS_AMOUNT_QUERY , TO_CHAR(decode(ALC.LOOKUP_CODE, 'CANCELLED', AERH.TOTAL, APS.GROSS_AMOUNT), FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) GROSS_AMOUNT , TO_CHAR(APS.AMOUNT_REMAINING , FND_CURRENCY_CACHE.GET_FORMAT_MASK (AI.INVOICE_CURRENCY_CODE, 30)) || ' ' || AI.INVOICE_CURRENCY_CODE AMOUNT_REMAINING , P.PERSON_ID EMPLOYEE_ID, AI.INVOICE_ID REPORT_PRIMARY_KEY , AERH.REPORT_HEADER_ID REPORT_HEADER_ID, 'INVOICE' DOCUMENT_TYPE , P.FULL_NAME FULL_NAME , ALC.DISPLAYED_FIELD STATUS, AERH.SOURCE SOURCE, DECODE(ALC.LOOKUP_CODE, 'PAID', 'FndViewPayablesEnabled', 'PARPAID', 'FndViewPayablesEnabled', 'INVOICED', 'FndViewPayablesEnabled', 'FndViewPayablesDisabled' ) VIEW_PAYABLES_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ReportNumberEnabled', 'SelfService', 'ReportNumberEnabled', 'CREDIT CARD', 'ReportNumberEnabled', 'NonValidatedWebExpense', 'ReportNumberEnabled', 'ReportNumberDisabled') REPORT_NUMBER_FIELD, DECODE(AERH.SOURCE, 'WebExpense', 'ExpenseLinesImageEnabled', 'SelfServi ce', 'ExpenseLinesImageEnabled', 'CREDIT CARD', 'ExpenseLinesImageEnabled', 'NonValidatedWebExpense', 'ExpenseLinesImageEnabled', 'ExpenseLinesImageOldUrl') EXPENSE_LINES_FIELD, 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, AP_LOOKUP_CODES ALC WHERE AI.INVOICE_ID= APS.INVOICE_ID AND AI.INVOICE_ID = AERH.VOUCHNO(+) AND ALC.LOOKUP_TYPE = 'EXPENSE REPORT STATUS' /*Bug 2596131:Added 'decode cancelled date' for cancelled status.*/ AND ALC.LOOKUP_CODE = DECODE(AI.CANCELLED_DATE, null, DECODE(APS.GROSS_AMOUNT , 0, 'PAID', DECODE(AI.Payment_status_flag, 'Y', 'PAID', 'N', 'INVOICED', 'P', 'PARPAID', NULL)), 'CANCELLED') 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') QRSLT WHERE (( UPPER(FULL_NAME) like :6 AND (FULL_NAME like :7 OR FULL_NAME like :8 OR FULL_NAME like :9 OR FULL_NAME like :10)AND UPPER(INVOICE_NUM) like :11 AND (INVOICE_NUM like :12 OR INVOICE_NUM like :13 OR INVOICE_NUM like :14 OR INVOICE_NUM like :15))) ORDER BY REPORT_DATE DESC
csvvv0fmhr1yc BEGIN FFP1893_01010001.FORMULA( :N1, :N4, :T1, :I1, :D1, :T2, :I2, :T7, :I7, :T8, :I8, :T5, :I5, :N3, :T4, :I4, :N2, :N5, :T3, :I3, :T6, :I6, :FFERLN, :FFERCD, :FFERMT); END;
cwyx16zn1hpfb select parameter, value from nls_session_parameters
dab1prc9qyv3v begin hr_nonrun_asact.asact(:pactid, :atype, :itpflg, :ptype, :lub, :lul, :use_pop_person); 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
ffrmnb71g8f4g UPDATE WF_ITEM_ATTRIBUTE_VALUES SET NUMBER_VALUE = :B4 WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
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
fumydqvpk1g21 BEGIN ASO_QUOTE_PUB_W.SUBMIT_Quote(x_return_status => :1, x_msg_count => :2, x_msg_data => :3, p_q_quote_header_id => :4, p_q_last_update_date => :5, p_q_quote_expiration_date => :6, p_sc_book_flag => :7, p_sc_reserve_flag => :8, p_sc_calculate_price => :9, p_sc_server_id => :10, x_order_number => :11, x_order_header_id => :12, x_order_request_id => :13, x_contract_id => :14, x_status => :15 ); END;
g0g2sj2by3p75 BEGIN WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 ); END;
g8102j8yynbwz begin WF_STANDARD.CONTINUEFLOW (:v1, :v2, :v3, :v4, :v5); end;
gb58qk3vn9f9d select /*+ parallel(t, 4) parallel_index(t, 4) dbms_stats cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring */ count(*), count("LINK_TO_LINE_ATTRIBUTE11"), count(distinct "LINK_TO_LINE_ATTRIBUTE11"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE11")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE11"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE11"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE12"), count(distinct "LINK_TO_LINE_ATTRIBUTE12"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE12")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE13"), count(distinct "LINK_TO_LINE_ATTRIBUTE13"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE13")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE13"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE13"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE14"), count(distinct "LINK_TO_LINE_ATTRIBUTE14"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE14")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE14"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE14"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE15"), count(distinct "LINK_TO_LINE_ATTRIBUTE15"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE15")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE8"), count(disti nct "LINK_TO_LINE_ATTRIBUTE8"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE8")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE8"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE8"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE9"), count(distinct "LINK_TO_LINE_ATTRIBUTE9"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE9")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE10"), count(distinct "REFERENCE_LINE_ATTRIBUTE10"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE10")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE11"), count(distinct "REFERENCE_LINE_ATTRIBUTE11"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE11")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE11"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE11"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE12"), count(distinct "REFERENCE_LINE_ATTRIBUTE12"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE12")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE13"), count(distinct "REFERENCE_LINE_ATTRIBUTE13"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE13")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE13"), 16, 0, 32), 1, 120), substrb(dump (max("REFERENCE_LINE_ATTRIBUTE13"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE14"), count(distinct "REFERENCE_LINE_ATTRIBUTE14"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE14")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE14"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE14"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE15"), count(distinct "REFERENCE_LINE_ATTRIBUTE15"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE15")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE8"), count(distinct "REFERENCE_LINE_ATTRIBUTE8"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE8")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE8"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE8"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE9"), count(distinct "REFERENCE_LINE_ATTRIBUTE9"), sum(sys_op_opnsize("REFERENCE_LINE_ATTRIBUTE9")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), substrb(dump(max("REFERENCE_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE10"), count(distinct "INTERFACE_LINE_ATTRIBUTE10"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE10")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE11"), count(distinct "INTERFACE_LINE_ATTRIBUTE11"), sum(sys_op _opnsize("INTERFACE_LINE_ATTRIBUTE11")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE11"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE11"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE12"), count(distinct "INTERFACE_LINE_ATTRIBUTE12"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE12")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE13"), count(distinct "INTERFACE_LINE_ATTRIBUTE13"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE13")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE13"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE13"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE14"), count(distinct "INTERFACE_LINE_ATTRIBUTE14"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE14")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE14"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE14"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE15"), count(distinct "INTERFACE_LINE_ATTRIBUTE15"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE15")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE9"), count(distinct "INTERFACE_LINE_ATTRIBUTE9"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE9")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_A TTRIBUTE9"), 16, 0, 32), 1, 120), count("VAT_TAX_ID"), count(distinct "VAT_TAX_ID"), sum(sys_op_opnsize("VAT_TAX_ID")), substrb(dump(min("VAT_TAX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("VAT_TAX_ID"), 16, 0, 32), 1, 120), count("REASON_CODE_MEANING"), count(distinct "REASON_CODE_MEANING"), sum(sys_op_opnsize("REASON_CODE_MEANING")), substrb(dump(min(substrb("REASON_CODE_MEANING", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("REASON_CODE_MEANING", 1, 32)), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE4"), count(distinct "INTERFACE_LINE_ATTRIBUTE4"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE4")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE4"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE4"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE5"), count(distinct "INTERFACE_LINE_ATTRIBUTE5"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE5")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE5"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE5"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE6"), count(distinct "INTERFACE_LINE_ATTRIBUTE6"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE6")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE6"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE6"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE7"), count(distinct "INTERFACE_LINE_ATTRIBUTE7"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE7")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), subst rb(dump(max("INTERFACE_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE8"), count(distinct "INTERFACE_LINE_ATTRIBUTE8"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE8")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE8"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE8"), 16, 0, 32), 1, 120), count(distinct "BATCH_SOURCE_NAME"), sum(sys_op_opnsize("BATCH_SOURCE_NAME")), substrb(dump(min(substrb("BATCH_SOURCE_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("BATCH_SOURCE_NAME", 1, 32)), 16, 0, 32), 1, 120), count("SET_OF_BOOKS_ID"), count(distinct "SET_OF_BOOKS_ID"), sum(sys_op_opnsize("SET_OF_BOOKS_ID")), substrb(dump(min("SET_OF_BOOKS_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SET_OF_BOOKS_ID"), 16, 0, 32), 1, 120), count(distinct "LINE_TYPE"), sum(sys_op_opnsize("LINE_TYPE")), substrb(dump(min("LINE_TYPE"), 16, 0, 32), 1, 120), substrb(dump(max("LINE_TYPE"), 16, 0, 32), 1, 120), count(distinct "DESCRIPTION"), sum(sys_op_opnsize("DESCRIPTION")), substrb(dump(min(substrb("DESCRIPTION", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("DESCRIPTION", 1, 32)), 16, 0, 32), 1, 120), count(distinct "CURRENCY_CODE"), sum(sys_op_opnsize("CURRENCY_CODE")), substrb(dump(min("CURRENCY_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("CURRENCY_CODE"), 16, 0, 32), 1, 120), count("AMOUNT"), count(distinct "AMOUNT"), sum(sys_op_opnsize("AMOUNT")), substrb(dump(min("AMOUNT"), 16, 0, 32), 1, 120), substrb(dump(max("AMOUNT"), 16, 0, 32), 1, 120), count("CUST_TRX_TYPE_NAME"), count(distinct "CUST_TRX_TYPE_NAME"), sum(sys_op_opnsize("CUST_TRX_TYPE_NAME")), substrb(dump(min("CUST_TRX_TYPE_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("CUST_TRX_TYPE_NAME"), 16, 0, 32), 1, 120), count("CUST_TRX_TYPE_ID"), count(distinct "CUST_TRX_TYPE_ID"), sum(sys_op_opnsize("CUST_TRX_TYPE_ID")), substrb(dump(min("CUST_TRX_TYPE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CUST_TRX_TYPE_ID"), 16, 0, 32), 1, 120), count("TERM_NAME"), count(distinct "TERM_NAME"), sum(sys_op_opnsize("TERM_NAME")), substrb(dump(min("TERM_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("TERM_NAME"), 16, 0, 32), 1, 120), count("TERM_ID"), count(distinct "TERM_ID"), sum(sys_op_opnsize("TERM_ID")), substrb(dump(min("TERM_ID"), 16, 0, 32), 1, 120), substrb(dump(max("TERM_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BATCH_NAME"), count(distinct "ORIG_SYSTEM_BATCH_NAME"), sum(sys_op_opnsize("ORIG_SYSTEM_BATCH_NAME")), substrb(dump(min(substrb("ORIG_SYSTEM_BATCH_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_BATCH_NAME", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_CUSTOMER_REF"), count(distinct "ORIG_SYSTEM_BILL_CUSTOMER_REF"), sum(sys_op_opnsize("ORIG_SYSTEM_BILL_CUSTOMER_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_BILL_CUSTOMER_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_BILL_CUSTOMER_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_CUSTOMER_ID"), count(distinct "ORIG_SYSTEM_BILL_ CUSTOMER_ID"), sum(sys_op_opnsize("ORIG_SYSTEM_BILL_CUSTOMER_ID")), substrb(dump(min("ORIG_SYSTEM_BILL_CUSTOMER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_BILL_CUSTOMER_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_ADDRESS_REF"), count(distinct "ORIG_SYSTEM_BILL_ADDRESS_REF"), sum(sys_op_opnsize("ORIG_SYSTEM_BILL_ADDRESS_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_BILL_ADDRESS_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_BILL_ADDRESS_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_ADDRESS_ID"), count(distinct "ORIG_SYSTEM_BILL_ADDRESS_ID"), sum(sys_op_opnsize("ORIG_SYSTEM_BILL_ADDRESS_ID")), substrb(dump(min("ORIG_SYSTEM_BILL_ADDRESS_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_BILL_ADDRESS_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_CONTACT_REF"), count(distinct "ORIG_SYSTEM_BILL_CONTACT_REF"), sum(sys_op_opnsize("ORIG_SYSTEM_BILL_CONTACT_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_BILL_CONTACT_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_BILL_CONTACT_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_CONTACT_ID"), count(distinct "ORIG_SYSTEM_BILL_CONTACT_ID"), sum(sys_op_opnsize("ORIG_SYSTEM_BILL_CONTACT_ID")), substrb(dump(min("ORIG_SYSTEM_BILL_CONTACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_BILL_CONTACT_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_CUSTOMER_REF"), count(distinct "ORIG_SYSTEM_SHIP_CUSTOMER_REF"), sum(sys_op_opnsize( "ORIG_SYSTEM_SHIP_CUSTOMER_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_SHIP_CUSTOMER_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_SHIP_CUSTOMER_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_CUSTOMER_ID"), count(distinct "ORIG_SYSTEM_SHIP_CUSTOMER_ID"), sum(sys_op_opnsize("ORIG_SYSTEM_SHIP_CUSTOMER_ID")), substrb(dump(min("ORIG_SYSTEM_SHIP_CUSTOMER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_SHIP_CUSTOMER_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_ADDRESS_REF"), count(distinct "ORIG_SYSTEM_SHIP_ADDRESS_REF"), sum(sys_op_opnsize("ORIG_SYSTEM_SHIP_ADDRESS_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_SHIP_ADDRESS_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_SHIP_ADDRESS_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_ADDRESS_ID"), count(distinct "ORIG_SYSTEM_SHIP_ADDRESS_ID"), sum(sys_op_opnsize("ORIG_SYSTEM_SHIP_ADDRESS_ID")), substrb(dump(min("ORIG_SYSTEM_SHIP_ADDRESS_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_SHIP_ADDRESS_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_CONTACT_REF"), count(distinct "ORIG_SYSTEM_SHIP_CONTACT_REF"), sum(sys_op_opnsize("ORIG_SYSTEM_SHIP_CONTACT_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_SHIP_CONTACT_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_SHIP_CONTACT_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_CONTACT_ID"), count(distinct "ORIG_SYSTEM_SHIP_CONTACT_ID"), sum(sys_op_opnsiz e("ORIG_SYSTEM_SHIP_CONTACT_ID")), substrb(dump(min("ORIG_SYSTEM_SHIP_CONTACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_SHIP_CONTACT_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SOLD_CUSTOMER_REF"), count(distinct "ORIG_SYSTEM_SOLD_CUSTOMER_REF"), sum(sys_op_opnsize("ORIG_SYSTEM_SOLD_CUSTOMER_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_SOLD_CUSTOMER_REF", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ORIG_SYSTEM_SOLD_CUSTOMER_REF", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SOLD_CUSTOMER_ID"), count(distinct "ORIG_SYSTEM_SOLD_CUSTOMER_ID"), sum(sys_op_opnsize("ORIG_SYSTEM_SOLD_CUSTOMER_ID")), substrb(dump(min("ORIG_SYSTEM_SOLD_CUSTOMER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_SOLD_CUSTOMER_ID"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ID"), count(distinct "LINK_TO_LINE_ID"), sum(sys_op_opnsize("LINK_TO_LINE_ID")), substrb(dump(min("LINK_TO_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ID"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_CONTEXT"), count(distinct "LINK_TO_LINE_CONTEXT"), sum(sys_op_opnsize("LINK_TO_LINE_CONTEXT")), substrb(dump(min("LINK_TO_LINE_CONTEXT"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_CONTEXT"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE1"), count(distinct "LINK_TO_LINE_ATTRIBUTE1"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE1")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE1"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE1"), 16, 0, 32), 1, 120), count("L INK_TO_LINE_ATTRIBUTE2"), count(distinct "LINK_TO_LINE_ATTRIBUTE2"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE2")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE2"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE2"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE3"), count(distinct "LINK_TO_LINE_ATTRIBUTE3"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE3")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE3"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE3"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE4"), count(distinct "LINK_TO_LINE_ATTRIBUTE4"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE4")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE4"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE4"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE5"), count(distinct "LINK_TO_LINE_ATTRIBUTE5"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE5")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE5"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE5"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE6"), count(distinct "LINK_TO_LINE_ATTRIBUTE6"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE6")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE6"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE6"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE7"), count(distinct "LINK_TO_LINE_ATTRIBUTE7"), sum(sys_op_opnsize("LINK_TO_LINE_ATTRIBUTE7")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_A TTRIBUTE7"), 16, 0, 32), 1, 120), count("RECEIPT_METHOD_NAME"), count(distinct "RECEIPT_METHOD_NAME"), sum(sys_op_opnsize("RECEIPT_METHOD_NAME")), substrb(dump(min("RECEIPT_METHOD_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("RECEIPT_METHOD_NAME"), 16, 0, 32), 1, 120), count("RECEIPT_METHOD_ID"), count(distinct "RECEIPT_METHOD_ID"), sum(sys_op_opnsize("RECEIPT_METHOD_ID")), substrb(dump(min("RECEIPT_METHOD_ID"), 16, 0, 32), 1, 120), substrb(dump(max("RECEIPT_METHOD_ID"), 16, 0, 32), 1, 120), count(distinct "CONVERSION_TYPE"), sum(sys_op_opnsize("CONVERSION_TYPE")), substrb(dump(min("CONVERSION_TYPE"), 16, 0, 32), 1, 120), substrb(dump(max("CONVERSION_TYPE"), 16, 0, 32), 1, 120), count("CONVERSION_DATE"), count(distinct "CONVERSION_DATE"), substrb(dump(min("CONVERSION_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("CONVERSION_DATE"), 16, 0, 32), 1, 120), count("CONVERSION_RATE"), count(distinct "CONVERSION_RATE"), sum(sys_op_opnsize("CONVERSION_RATE")), substrb(dump(min("CONVERSION_RATE"), 16, 0, 32), 1, 120), substrb(dump(max("CONVERSION_RATE"), 16, 0, 32), 1, 120), count("CUSTOMER_TRX_ID"), count(distinct "CUSTOMER_TRX_ID"), sum(sys_op_opnsize("CUSTOMER_TRX_ID")), substrb(dump(min("CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), count("TRX_DATE"), count(distinct "TRX_DATE"), substrb(dump(min("TRX_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("TRX_DATE"), 16, 0, 32), 1, 120), count("GL_DATE"), count(distinct "GL_DATE"), substr b(dump(min("GL_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("GL_DATE"), 16, 0, 32), 1, 120), count("DOCUMENT_NUMBER"), count(distinct "DOCUMENT_NUMBER"), sum(sys_op_opnsize("DOCUMENT_NUMBER")), substrb(dump(min("DOCUMENT_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("DOCUMENT_NUMBER"), 16, 0, 32), 1, 120), count("TRX_NUMBER"), count(distinct "TRX_NUMBER"), sum(sys_op_opnsize("TRX_NUMBER")), substrb(dump(min("TRX_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("TRX_NUMBER"), 16, 0, 32), 1, 120), count("LINE_NUMBER"), count(distinct "LINE_NUMBER"), sum(sys_op_opnsize("LINE_NUMBER")), substrb(dump(min("LINE_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("LINE_NUMBER"), 16, 0, 32), 1, 120), count("QUANTITY"), count(distinct "QUANTITY"), sum(sys_op_opnsize("QUANTITY")), substrb(dump(min("QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("QUANTITY"), 16, 0, 32), 1, 120), count("QUANTITY_ORDERED"), count(distinct "QUANTITY_ORDERED"), sum(sys_op_opnsize("QUANTITY_ORDERED")), substrb(dump(min("QUANTITY_ORDERED"), 16, 0, 32), 1, 120), substrb(dump(max("QUANTITY_ORDERED"), 16, 0, 32), 1, 120), count("UNIT_SELLING_PRICE"), count(distinct "UNIT_SELLING_PRICE"), sum(sys_op_opnsize("UNIT_SELLING_PRICE")), substrb(dump(min("UNIT_SELLING_PRICE"), 16, 0, 32), 1, 120), substrb(dump(max("UNIT_SELLING_PRICE"), 16, 0, 32), 1, 120), count("UNIT_STANDARD_PRICE"), count(distinct "UNIT_STANDARD_PRICE"), sum(sys_op_opnsize("UNIT_STANDARD_PRICE")), substrb(dump(min("UNIT_STANDARD_PRICE"), 16, 0, 32) , 1, 120), substrb(dump(max("UNIT_STANDARD_PRICE"), 16, 0, 32), 1, 120), count("PRINTING_OPTION"), count(distinct "PRINTING_OPTION"), sum(sys_op_opnsize("PRINTING_OPTION")), substrb(dump(min("PRINTING_OPTION"), 16, 0, 32), 1, 120), substrb(dump(max("PRINTING_OPTION"), 16, 0, 32), 1, 120), count("INTERFACE_STATUS"), count(distinct "INTERFACE_STATUS"), sum(sys_op_opnsize("INTERFACE_STATUS")), substrb(dump(min("INTERFACE_STATUS"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_STATUS"), 16, 0, 32), 1, 120), count("REQUEST_ID"), count(distinct "REQUEST_ID"), sum(sys_op_opnsize("REQUEST_ID")), substrb(dump(min("REQUEST_ID"), 16, 0, 32), 1, 120), substrb(dump(max("REQUEST_ID"), 16, 0, 32), 1, 120), count("RELATED_BATCH_SOURCE_NAME"), count(distinct "RELATED_BATCH_SOURCE_NAME"), sum(sys_op_opnsize("RELATED_BATCH_SOURCE_NAME")), substrb(dump(min(substrb("RELATED_BATCH_SOURCE_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("RELATED_BATCH_SOURCE_NAME", 1, 32)), 16, 0, 32), 1, 120), count("RELATED_TRX_NUMBER"), count(distinct "RELATED_TRX_NUMBER"), sum(sys_op_opnsize("RELATED_TRX_NUMBER")), substrb(dump(min("RELATED_TRX_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("RELATED_TRX_NUMBER"), 16, 0, 32), 1, 120), count("RELATED_CUSTOMER_TRX_ID"), count(distinct "RELATED_CUSTOMER_TRX_ID"), sum(sys_op_opnsize("RELATED_CUSTOMER_TRX_ID")), substrb(dump(min("RELATED_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("RELATED_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), count("P REVIOUS_CUSTOMER_TRX_ID"), count(distinct "PREVIOUS_CUSTOMER_TRX_ID"), sum(sys_op_opnsize("PREVIOUS_CUSTOMER_TRX_ID")), substrb(dump(min("PREVIOUS_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PREVIOUS_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), count("CREDIT_METHOD_FOR_ACCT_RULE"), count(distinct "CREDIT_METHOD_FOR_ACCT_RULE"), sum(sys_op_opnsize("CREDIT_METHOD_FOR_ACCT_RULE")), substrb(dump(min("CREDIT_METHOD_FOR_ACCT_RULE"), 16, 0, 32), 1, 120), substrb(dump(max("CREDIT_METHOD_FOR_ACCT_RULE"), 16, 0, 32), 1, 120), count("CREDIT_METHOD_FOR_INSTALLMENTS"), count(distinct "CREDIT_METHOD_FOR_INSTALLMENTS"), sum(sys_op_opnsize("CREDIT_METHOD_FOR_INSTALLMENTS")), substrb(dump(min("CREDIT_METHOD_FOR_INSTALLMENTS"), 16, 0, 32), 1, 120), substrb(dump(max("CREDIT_METHOD_FOR_INSTALLMENTS"), 16, 0, 32), 1, 120), count("REASON_CODE"), count(distinct "REASON_CODE"), sum(sys_op_opnsize("REASON_CODE")), substrb(dump(min("REASON_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("REASON_CODE"), 16, 0, 32), 1, 120), count("TAX_RATE"), count(distinct "TAX_RATE"), sum(sys_op_opnsize("TAX_RATE")), substrb(dump(min("TAX_RATE"), 16, 0, 32), 1, 120), substrb(dump(max("TAX_RATE"), 16, 0, 32), 1, 120), count("TAX_CODE"), count(distinct "TAX_CODE"), sum(sys_op_opnsize("TAX_CODE")), substrb(dump(min(substrb("TAX_CODE", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TAX_CODE", 1, 32)), 16, 0, 32), 1, 120), count("TAX_PRECEDENCE"), count(distinct "TAX_PRECEDENCE"), sum(sys_op_opnsize("TAX_P RECEDENCE")), substrb(dump(min("TAX_PRECEDENCE"), 16, 0, 32), 1, 120), substrb(dump(max("TAX_PRECEDENCE"), 16, 0, 32), 1, 120), count("EXCEPTION_ID"), count(distinct "EXCEPTION_ID"), sum(sys_op_opnsize("EXCEPTION_ID")), substrb(dump(min("EXCEPTION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("EXCEPTION_ID"), 16, 0, 32), 1, 120), count("EXEMPTION_ID"), count(distinct "EXEMPTION_ID"), sum(sys_op_opnsize("EXEMPTION_ID")), substrb(dump(min("EXEMPTION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("EXEMPTION_ID"), 16, 0, 32), 1, 120), count("SHIP_DATE_ACTUAL"), count(distinct "SHIP_DATE_ACTUAL"), substrb(dump(min("SHIP_DATE_ACTUAL"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_DATE_ACTUAL"), 16, 0, 32), 1, 120), count("FOB_POINT"), count(distinct "FOB_POINT"), sum(sys_op_opnsize("FOB_POINT")), substrb(dump(min("FOB_POINT"), 16, 0, 32), 1, 120), substrb(dump(max("FOB_POINT"), 16, 0, 32), 1, 120), count("SHIP_VIA"), count(distinct "SHIP_VIA"), sum(sys_op_opnsize("SHIP_VIA")), substrb(dump(min("SHIP_VIA"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_VIA"), 16, 0, 32), 1, 120), count("WAYBILL_NUMBER"), count(distinct "WAYBILL_NUMBER"), sum(sys_op_opnsize("WAYBILL_NUMBER")), substrb(dump(min(substrb("WAYBILL_NUMBER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("WAYBILL_NUMBER", 1, 32)), 16, 0, 32), 1, 120), count("INVOICING_RULE_NAME"), count(distinct "INVOICING_RULE_NAME"), sum(sys_op_opnsize("INVOICING_RULE_NAME")), substrb(dump(min("INVOICING_RULE_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("INVOICING_RULE_NAME"), 16, 0, 32), 1, 120), count("INVOICING_RULE_ID"), count(distinct "INVOICING_RULE_ID"), sum(sys_op_opnsize("INVOICING_RULE_ID")), substrb(dump(min("INVOICING_RULE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("INVOICING_RULE_ID"), 16, 0, 32), 1, 120), count("ACCOUNTING_RULE_NAME"), count(distinct "ACCOUNTING_RULE_NAME"), sum(sys_op_opnsize("ACCOUNTING_RULE_NAME")), substrb(dump(min("ACCOUNTING_RULE_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("ACCOUNTING_RULE_NAME"), 16, 0, 32), 1, 120), count("ACCOUNTING_RULE_ID"), count(distinct "ACCOUNTING_RULE_ID"), sum(sys_op_opnsize("ACCOUNTING_RULE_ID")), substrb(dump(min("ACCOUNTING_RULE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ACCOUNTING_RULE_ID"), 16, 0, 32), 1, 120), count("ACCOUNTING_RULE_DURATION"), count(distinct "ACCOUNTING_RULE_DURATION"), sum(sys_op_opnsize("ACCOUNTING_RULE_DURATION")), substrb(dump(min("ACCOUNTING_RULE_DURATION"), 16, 0, 32), 1, 120), substrb(dump(max("ACCOUNTING_RULE_DURATION"), 16, 0, 32), 1, 120), count("RULE_START_DATE"), count(distinct "RULE_START_DATE"), substrb(dump(min("RULE_START_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("RULE_START_DATE"), 16, 0, 32), 1, 120), count("PRIMARY_SALESREP_NUMBER"), count(distinct "PRIMARY_SALESREP_NUMBER"), sum(sys_op_opnsize("PRIMARY_SALESREP_NUMBER")), substrb(dump(min("PRIMARY_SALESREP_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("PRIMARY_SALESREP_NUMBER"), 16, 0, 32), 1, 120), count("PRIMARY_SALESREP_ID"), count(dist inct "PRIMARY_SALESREP_ID"), sum(sys_op_opnsize("PRIMARY_SALESREP_ID")), substrb(dump(min("PRIMARY_SALESREP_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PRIMARY_SALESREP_ID"), 16, 0, 32), 1, 120), count("SALES_ORDER"), count(distinct "SALES_ORDER"), sum(sys_op_opnsize("SALES_ORDER")), substrb(dump(min(substrb("SALES_ORDER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SALES_ORDER", 1, 32)), 16, 0, 32), 1, 120), count("SALES_ORDER_LINE"), count(distinct "SALES_ORDER_LINE"), sum(sys_op_opnsize("SALES_ORDER_LINE")), substrb(dump(min("SALES_ORDER_LINE"), 16, 0, 32), 1, 120), substrb(dump(max("SALES_ORDER_LINE"), 16, 0, 32), 1, 120), count("SALES_ORDER_DATE"), count(distinct "SALES_ORDER_DATE"), substrb(dump(min("SALES_ORDER_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("SALES_ORDER_DATE"), 16, 0, 32), 1, 120), count("SALES_ORDER_SOURCE"), count(distinct "SALES_ORDER_SOURCE"), sum(sys_op_opnsize("SALES_ORDER_SOURCE")), substrb(dump(min(substrb("SALES_ORDER_SOURCE", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SALES_ORDER_SOURCE", 1, 32)), 16, 0, 32), 1, 120), count("SALES_ORDER_REVISION"), count(distinct "SALES_ORDER_REVISION"), sum(sys_op_opnsize("SALES_ORDER_REVISION")), substrb(dump(min("SALES_ORDER_REVISION"), 16, 0, 32), 1, 120), substrb(dump(max("SALES_ORDER_REVISION"), 16, 0, 32), 1, 120), count("PURCHASE_ORDER"), count(distinct "PURCHASE_ORDER"), sum(sys_op_opnsize("PURCHASE_ORDER")), substrb(dump(min(substrb("PURCHASE_ORDER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("PURCHASE_ORDER", 1, 32)), 16, 0, 32), 1, 120), count("PURCHASE_ORDER_REVISION"), count(distinct "PURCHASE_ORDER_REVISION"), sum(sys_op_opnsize("PURCHASE_ORDER_REVISION")), substrb(dump(min(substrb("PURCHASE_ORDER_REVISION", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("PURCHASE_ORDER_REVISION", 1, 32)), 16, 0, 32), 1, 120), count("PURCHASE_ORDER_DATE"), count(distinct "PURCHASE_ORDER_DATE"), substrb(dump(min("PURCHASE_ORDER_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("PURCHASE_ORDER_DATE"), 16, 0, 32), 1, 120), count("AGREEMENT_NAME"), count(distinct "AGREEMENT_NAME"), sum(sys_op_opnsize("AGREEMENT_NAME")), substrb(dump(min("AGREEMENT_NAME"), 16, 0, 32), 1, 120), substrb(dump(max("AGREEMENT_NAME"), 16, 0, 32), 1, 120), count("AGREEMENT_ID"), count(distinct "AGREEMENT_ID"), sum(sys_op_opnsize("AGREEMENT_ID")), substrb(dump(min("AGREEMENT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("AGREEMENT_ID"), 16, 0, 32), 1, 120), count("MEMO_LINE_NAME"), count(distinct "MEMO_LINE_NAME"), sum(sys_op_opnsize("MEMO_LINE_NAME")), substrb(dump(min(substrb("MEMO_LINE_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MEMO_LINE_NAME", 1, 32)), 16, 0, 32), 1, 120), count("MEMO_LINE_ID"), count(distinct "MEMO_LINE_ID"), sum(sys_op_opnsize("MEMO_LINE_ID")), substrb(dump(min("MEMO_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("MEMO_LINE_ID"), 16, 0, 32), 1, 120), count("INVENTORY_ITEM_ID"), count(distinct "INVENTORY_ITEM_ID"), sum(sys_op_opn size("INVENTORY_ITEM_ID")), substrb(dump(min("INVENTORY_ITEM_ID"), 16, 0, 32), 1, 120), substrb(dump(max("INVENTORY_ITEM_ID"), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG1"), count(distinct "MTL_SYSTEM_ITEMS_SEG1"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG1")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG1", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG2"), count(distinct "MTL_SYSTEM_ITEMS_SEG2"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG2")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG2", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG3"), count(distinct "MTL_SYSTEM_ITEMS_SEG3"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG3")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG3", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG4"), count(distinct "MTL_SYSTEM_ITEMS_SEG4"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG4")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG4", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG5"), count(distinct "MTL_SYSTEM_ITEMS_SEG5"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG5")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ ITEMS_SEG5", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG6"), count(distinct "MTL_SYSTEM_ITEMS_SEG6"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG6")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG6", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG7"), count(distinct "MTL_SYSTEM_ITEMS_SEG7"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG7")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG7", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG8"), count(distinct "MTL_SYSTEM_ITEMS_SEG8"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG8")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG8", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG9"), count(distinct "MTL_SYSTEM_ITEMS_SEG9"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG9")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG9", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG10"), count(distinct "MTL_SYSTEM_ITEMS_SEG10"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG10")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG10", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG11"), count(distinct "MTL_SYST EM_ITEMS_SEG11"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG11")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG11", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG12"), count(distinct "MTL_SYSTEM_ITEMS_SEG12"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG12")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG12", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG12", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG13"), count(distinct "MTL_SYSTEM_ITEMS_SEG13"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG13")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG13", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG14"), count(distinct "MTL_SYSTEM_ITEMS_SEG14"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG14")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG14", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG15"), count(distinct "MTL_SYSTEM_ITEMS_SEG15"), sum(sys_op_opnsize("MTL_SYSTEM_ITEMS_SEG15")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("MTL_SYSTEM_ITEMS_SEG15", 1, 32)), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ID"), sum(sys_op_opnsize("INTERFACE_LINE_ID")), substrb(dump(min("INTERFACE_LINE_ID"), 16, 0, 32), 1, 120), substrb (dump(max("INTERFACE_LINE_ID"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_CONTEXT"), count(distinct "INTERFACE_LINE_CONTEXT"), sum(sys_op_opnsize("INTERFACE_LINE_CONTEXT")), substrb(dump(min("INTERFACE_LINE_CONTEXT"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_CONTEXT"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE1"), count(distinct "INTERFACE_LINE_ATTRIBUTE1"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE1")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE1"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE1"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE2"), count(distinct "INTERFACE_LINE_ATTRIBUTE2"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE2")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE2"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE2"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE3"), count(distinct "INTERFACE_LINE_ATTRIBUTE3"), sum(sys_op_opnsize("INTERFACE_LINE_ATTRIBUTE3")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE3"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE3"), 16, 0, 32), 1, 120) from "AR"."RA_INTERFACE_LINES_ALL" sample ( 10.0000000000) t
gmrwcu0hdcp8b begin :v1 := CS_SR_CHILD_AUDIT_PKG.CS_SR_Audit_ChildEntities(:v2, :v3); end;
gtvdgakxyaham select int.rowid , decode(int.SEGMENT1|| int.SEGMENT2|| int.SEGMENT3|| int.SEGMENT4|| int.SEGMENT5 , '', replace(ccid_cc.SEGMENT3, '-', ' ') || '-' || replace(ccid_cc.SEGMENT1, '-', ' ') || '-' || replace(ccid_cc.SEGMENT2, '-', ' ') || '-' || replace(ccid_cc.SEGMENT4, '-', ' ') || '-' || replace(ccid_cc.SEGMENT5, '-', ' ') , replace(int.SEGMENT3, '-', ' ') || '-' || replace(int.SEGMENT1, '-', ' ') || '-' || replace(int.SEGMENT2, '-', ' ') || '-' || replace(int.SEGMENT4, '-', ' ') || '-' || replace(int.SEGMENT5, '-', ' ') ) flexfield , nvl(flex_cc.code_combination_id, nvl(int.code_combination_id, -4)) , decode(int.SEGMENT1|| int.SEGMENT2|| int.SEGMENT3|| int.SEGMENT4|| int.SEGMENT5 , '', decode(ccid_cc.code_combination_id, null, decode(int.code_combination_id, null, -4, -5), decode(sign(nvl(ccid_cc.start_date_active, int.accounting_date-1) - int.accounting_date), 1, -1, decode(sign(nvl(ccid_cc.end_date_active, int.accounting_date +1) - int.accounting_date), -1, -1, 0)) + decode(ccid_cc.enabled_flag, 'N', -10, 0) + decode(ccid_cc.summary_flag, 'Y', -100, decode(int.actual_flag, 'B', decode(ccid_cc.detail_budgeting_allowed_flag, 'N', -100, 0), decode(ccid_cc.detail_posting_allowed_flag, 'N', -100, 0)))), decode(flex_cc.code_combination_id, null, -4, decode(sign(nvl(flex_cc.start_date_active, int.accounting_date-1) - int.accounting_date), 1, -1, decode(sign(nvl(flex_cc.end_date_active, int.accounting_date +1) - int.accountin g_date), -1, -1, 0)) + decode(flex_cc.enabled_flag, 'N', -10, 0) + decode(flex_cc.summary_flag, 'Y', -100, decode(int.actual_flag, 'B', decode(flex_cc.detail_budgeting_allowed_flag, 'N', -100, 0), decode(flex_cc.detail_posting_allowed_flag, 'N', -100, 0))))) , int.user_je_category_name , int.user_je_category_name , 'UNKNOWN' period_name , decode(actual_flag, 'B' , decode(period_name, NULL, '-1' , period_name), nvl(period_name, '0')) period_name2 , currency_code , decode(actual_flag , 'A', actual_flag , 'B', decode(budget_version_id , 1002, '2' , 1003, '2' , 1004, '2' , 1005, '2' , 1006, '2' , 1065, '2' , 1066, '2' , 1087, '2' , 1290, actual_flag , 1311, actual_flag , 1351, actual_flag , 1659, actual_flag , 1939, '2' , 1972, actual_flag , NULL, '1', '6') , 'E', decode(encumbrance_type_id , 1000, actual_flag , 1001, actual_flag , 1022, actual_flag , 1023, actual_flag , 1024, actual_flag , 1048, actual_flag , 1049, actual_flag , 1050, actual_flag , 1025, actual_flag , 999, actual_flag , 1045, actual_flag , 1046, actual_flag , 1047, actual_flag , 1068, actual_flag , 1088, actual_flag , NULL, '3', '4'), '5') actual_flag , '0' exception_rate , decode( currency_code , 'USD', 1 , 'STAT', 1 , decode(actual_flag, 'E', -8, 'B', 1 , decode(user_currency_conversion_type , 'User', decode(currency_conversion_rate, NULL, -1, currency_conversion_rate) , 'Corporate', decode(currency_conversion_date, NULL, -2, -6) , 'Spot', decode(currency_conversion_date, NULL, -2, -6) , 'Reporting', decode(currency_conversion_date, NULL, -2, -6) , 'HRUK', decode(currency_conversion_date, NULL, -2, -6) , 'DALY', decode(currency_conversion_date, NULL, -2, -6) , NULL, decode(currency_conversion_rate, NULL, decode(decode(nvl(to_char(entered_dr), 'X'), 'X', 1, 2), decode(nvl(to_char(accounted_dr), 'X'), 'X', 1, 2), decode(decode(nvl(to_char(entered_cr), 'X'), 'X', 1, 2), decode(nvl(to_char(accounted_cr), 'X'), 'X', 1, 2), -20, -3), -3), -9), -9))) currency_conversion_rate , to_number(to_char(nvl(int.currency_conversion_date, int.accounting_date), 'J')) , decode(int.actual_flag , 'A', decode(int.currency_code , 'USD', 'User' , 'STAT', 'User' , nvl(int.user_currency_conversion_type, 'User')) , 'B', 'User', 'E', 'User' , nvl(int.user_currency_conversion_type, 'User')) user_currency_conversion_type , ltrim(rtrim(substrb(rtrim(substrb(int.reference1, 1, 50)) || ' ' || int.user_je_source_name || ' 2733887: ' || int.actual_flag || ' ' || int.group_id, 1, 100))) , rtrim(substrb(nvl(rtrim(in t.reference2), 'Journal Import ' || int.user_je_source_name || ' 2733887:'), 1, 240)) , ltrim(rtrim(substrb(rtrim(rtrim(substrb(int.reference4, 1, 25)) || ' ' || int.user_je_category_name || ' ' || int.currency_code || decode(int.actual_flag, 'E', ' ' || int.encumbrance_type_id, 'B', ' ' || int.budget_version_id, '') || ' ' || int.user_currency_conversion_type || ' ' || decode(int.user_currency_conversion_type, NULL, '', 'User', to_char(int.currency_conversion_rate), to_char(int.currency_conversion_date))) || ' ' || substrb(int.reference8, 1, 15) || int.originating_bal_seg_value, 1, 100))) , rtrim(nvl(rtrim(int.reference5), 'Journal Import 2733887:')) , rtrim(substrb(nvl(rtrim(int.reference6), 'Journal Import Created'), 1, 80)) , rtrim(decode(upper(substrb(nvl(rtrim(int.reference7), 'N'), 1, 1)), 'Y', 'Y', 'N')) , decode(upper(substrb(int.reference7, 1, 1)), 'Y', decode(rtrim(reference8), NULL, '-1', rtrim(substrb(reference8, 1, 15))), NULL) , rtrim(upper(substrb(int.reference9, 1, 1))) , rtrim(nvl(rtrim(int.reference10), nvl(to_char(int.subledger_doc_sequence_value), 'Journal Import Created'))) , int.entered_dr , int.entered_cr , to_number(to_char(int.accounting_date, 'J')) , to_char(int.accounting_date, 'YYYY/MM/DD') , int.user_je_source_name , nvl(int.encumbrance_type_id, -1) , nvl(int.budget_version_id, -1) , NULL , decode(int.stat_amount, '0', NULL, int.stat_amount) , decode(int.actual_flag , 'E', dec ode(int.currency_code, 'STAT', '1', '0'), '0') , decode(int.actual_flag , 'A', decode(int.budget_version_id , NULL, decode(int.encumbrance_type_id, NULL, '0', '1') , decode(int.encumbrance_type_id, NULL, '2', '3')) , 'B', decode(int.encumbrance_type_id , NULL, '0', '4') , 'E', decode(int.budget_version_id , NULL, '0', '5'), '0') , int.accounted_dr , int.accounted_cr , nvl(int.group_id, -1) , nvl(int.average_journal_flag, 'N') , int.originating_bal_seg_value from GL_INTERFACE int, gl_code_combinations flex_cc, gl_code_combinations ccid_cc where int.set_of_books_id = 1 and int.status != 'PROCESSED' and accounting_date between to_date('2003/06/01', 'YYYY/MM/DD') and to_date('2007/11/30', 'YYYY/MM/DD') and (int.user_je_source_name, group_id) in (('Receivables', 41520)) and flex_cc.SEGMENT1(+) = int.SEGMENT1 and flex_cc.SEGMENT2(+) = int.SEGMENT2 and flex_cc.SEGMENT3(+) = int.SEGMENT3 and flex_cc.SEGMENT4(+) = int.SEGMENT4 and flex_cc.SEGMENT5(+) = int.SEGMENT5 and flex_cc.chart_of_accounts_id(+) = 101 and flex_cc.template_id(+) is NULL and ccid_cc.code_combination_id(+) = int.code_combination_id and ccid_cc.chart_of_accounts_id(+) = 101 and ccid_cc.template_id(+) is NULL order by decode(int.SEGMENT1|| int.SEGMENT2|| int.SEGMENT3|| int.SEGMENT4|| int.SEGMENT5 , '' , rpad(ccid_cc.SEGMENT3, 30) || '-' || rpad(ccid_cc.SEGMENT1, 30) || '-' || rpad(ccid_cc.SEGMENT2, 30) || '-' || rpad(ccid_cc.SEGMENT4, 30) || '-' || rpad(ccid_cc.SEGMENT5, 30) , rpad(int.SEGMENT3, 30) || '-' || rpad(int.SEGMENT1, 30) || '-' || rpad(int.SEGMENT2, 30) || '-' || rpad(int.SEGMENT4, 30) || '-' || rpad(int.SEGMENT5, 30) ) , int.entered_dr, int.accounted_dr, int.entered_cr, int.accounted_cr, int.accounting_date

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 226,665 62.10 1.28
CPU used when call started 224,623 61.54 1.27
CR blocks created 494,646 135.51 2.80
Cached Commit SCN referenced 9,225 2.53 0.05
Commit SCN cached 81 0.02 0.00
DB time 5,186,578 1,420.88 29.37
DBWR checkpoint buffers written 80,093 21.94 0.45
DBWR checkpoints 176 0.05 0.00
DBWR fusion writes 54,327 14.88 0.31
DBWR object drop buffers written 1,725 0.47 0.01
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR transaction table writes 416 0.11 0.00
DBWR undo block writes 226,529 62.06 1.28
DDL statements parallelized 0 0.00 0.00
DFO trees parallelized 104 0.03 0.00
DML statements parallelized 0 0.00 0.00
IPC CPU used by this session 102,923 28.20 0.58
PX local messages recv'd 1,274 0.35 0.01
PX local messages sent 1,274 0.35 0.01
PX remote messages recv'd 1,441 0.39 0.01
PX remote messages sent 2,861 0.78 0.02
Parallel operations downgraded to serial 0 0.00 0.00
Parallel operations not downgraded 104 0.03 0.00
RowCR - row contention 3,646 1.00 0.02
RowCR attempts 1,257,477 344.49 7.12
RowCR hits 1,280,121 350.69 7.25
SMON posted for instance recovery 0 0.00 0.00
SMON posted for undo segment shrink 25 0.01 0.00
SQL*Net roundtrips to/from client 9,465,282 2,593.04 53.60
active txn count during cleanout 3,336,396 914.01 18.89
application wait time 14,443 3.96 0.08
background checkpoints completed 2 0.00 0.00
background checkpoints started 2 0.00 0.00
background timeouts 12,882 3.53 0.07
branch node splits 163 0.04 0.00
buffer is not pinned count 97,961,502 26,836.81 554.76
buffer is pinned count 196,996,454 53,967.70 1,115.60
bytes received via SQL*Net from client 1,981,151,905 542,741.79 11,219.38
bytes sent via SQL*Net to client 2,063,135,808 565,201.50 11,683.66
calls to get snapshot scn: kcmgss 15,574,670 4,266.72 88.20
calls to kcmgas 2,289,132 627.11 12.96
calls to kcmgcs 1,348,473 369.42 7.64
change write time 8,316 2.28 0.05
cleanout - number of ktugct calls 1,939,047 531.21 10.98
cleanouts and rollbacks - consistent read gets 475,269 130.20 2.69
cleanouts only - consistent read gets 51,470 14.10 0.29
cluster key scan block gets 52,186 14.30 0.30
cluster key scans 17,686 4.85 0.10
cluster wait time 258,653 70.86 1.46
commit batch performed 1 0.00 0.00
commit batch requested 1 0.00 0.00
commit batch/immediate performed 913 0.25 0.01
commit batch/immediate requested 913 0.25 0.01
commit cleanout failures: block lost 32,900 9.01 0.19
commit cleanout failures: buffer being written 4 0.00 0.00
commit cleanout failures: callback failure 15,585 4.27 0.09
commit cleanout failures: cannot pin 185 0.05 0.00
commit cleanouts 1,260,066 345.20 7.14
commit cleanouts successfully completed 1,211,392 331.86 6.86
commit immediate performed 912 0.25 0.01
commit immediate requested 912 0.25 0.01
commit txn count during cleanout 235,874 64.62 1.34
concurrency wait time 10,805 2.96 0.06
consistent changes 10,707,078 2,933.23 60.63
consistent gets 164,929,443 45,182.86 934.01
consistent gets - examination 61,000,844 16,711.34 345.45
consistent gets direct 0 0.00 0.00
consistent gets from cache 164,943,070 45,186.59 934.08
current blocks converted for CR 40 0.01 0.00
cursor authentications 696 0.19 0.00
data blocks consistent reads - undo records applied 9,919,660 2,717.52 56.18
db block changes 22,535,112 6,173.55 127.62
db block gets 28,355,744 7,768.13 160.58
db block gets direct 858 0.24 0.00
db block gets from cache 28,354,886 7,767.90 160.58
deferred (CURRENT) block cleanout applications 206,131 56.47 1.17
dirty buffers inspected 241,989 66.29 1.37
enqueue conversions 2,311 0.63 0.01
enqueue releases 768,526 210.54 4.35
enqueue requests 770,443 211.06 4.36
enqueue timeouts 1,809 0.50 0.01
enqueue waits 18,549 5.08 0.11
exchange deadlocks 881 0.24 0.00
execute count 13,532,053 3,707.14 76.63
failed probes on index block reclamation 36 0.01 0.00
free buffer inspected 1,910,722 523.45 10.82
free buffer requested 2,565,020 702.69 14.53
gc CPU used by this session 59,130 16.20 0.33
gc cr block build time 1,257 0.34 0.01
gc cr block flush time 27,766 7.61 0.16
gc cr block receive time 143,884 39.42 0.81
gc cr block send time 2,190 0.60 0.01
gc cr blocks received 844,707 231.41 4.78
gc cr blocks served 881,022 241.36 4.99
gc current block flush time 559 0.15 0.00
gc current block pin time 4,224 1.16 0.02
gc current block receive time 72,857 19.96 0.41
gc current block send time 1,161 0.32 0.01
gc current blocks received 414,123 113.45 2.35
gc current blocks served 454,274 124.45 2.57
gcs messages sent 2,358,486 646.11 13.36
ges messages sent 95,876 26.27 0.54
global enqueue CPU used by this session 3,557 0.97 0.02
global enqueue get time 24,882 6.82 0.14
global enqueue gets async 20,466 5.61 0.12
global enqueue gets sync 2,273,810 622.92 12.88
global enqueue releases 2,265,809 620.72 12.83
heap block compress 257,048 70.42 1.46
hot buffers moved to head of LRU 505,667 138.53 2.86
immediate (CR) block cleanout applications 526,775 144.31 2.98
immediate (CURRENT) block cleanout applications 167,629 45.92 0.95
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 19,733,215 5,405.97 111.75
index scans kdiixs1 23,501,242 6,438.23 133.09
java call heap collected bytes 140,587,312 38,514.26 796.15
java call heap collected count 1,511,955 414.20 8.56
java call heap gc count 369 0.10 0.00
java call heap live object count max 6 0.00 0.00
java call heap live size max 0 0.00 0.00
java call heap object count max 127 0.03 0.00
java call heap total size max 6,912 1.89 0.04
java call heap used size max 15,728 4.31 0.09
leaf node 90-10 splits 5,299 1.45 0.03
leaf node splits 37,991 10.41 0.22
lob reads 24,452 6.70 0.14
lob writes 29,398 8.05 0.17
lob writes unaligned 29,398 8.05 0.17
logons cumulative 1,349 0.37 0.01
messages received 298,199 81.69 1.69
messages sent 298,199 81.69 1.69
no buffer to keep pinned count 36 0.01 0.00
no work - consistent read gets 78,810,294 21,590.29 446.31
opened cursors cumulative 897,774 245.95 5.08
parse count (failures) 539 0.15 0.00
parse count (hard) 2,871 0.79 0.02
parse count (total) 1,248,601 342.06 7.07
parse time cpu 15,017 4.11 0.09
parse time elapsed 31,147 8.53 0.18
physical read IO requests 260,690 71.42 1.48
physical read bytes 2,289,467,392 627,205.63 12,965.39
physical read total IO requests 269,319 73.78 1.53
physical read total bytes 2,429,429,760 665,548.69 13,758.00
physical read total multi block requests 2,793 0.77 0.02
physical reads 279,455 76.56 1.58
physical reads cache 279,476 76.56 1.58
physical reads cache prefetch 18,892 5.18 0.11
physical reads direct 0 0.00 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 225,077 61.66 1.27
physical write bytes 3,808,935,936 1,043,468.05 21,570.23
physical write total IO requests 418,559 114.67 2.37
physical write total bytes 7,938,795,520 2,174,853.98 44,957.87
physical write total multi block requests 241,295 66.10 1.37
physical writes 464,958 127.38 2.63
physical writes direct 858 0.24 0.00
physical writes direct (lob) 835 0.23 0.00
physical writes from cache 464,100 127.14 2.63
physical writes non checkpoint 430,288 117.88 2.44
pinned buffers inspected 6,404 1.75 0.04
prefetch warmup blocks aged out before use 0 0.00 0.00
prefetch warmup blocks flushed out before use 0 0.00 0.00
prefetched blocks aged out before use 202 0.06 0.00
process last non-idle time 3,651 1.00 0.02
queries parallelized 104 0.03 0.00
recursive calls 21,248,364 5,821.05 120.33
recursive cpu usage 155,043 42.47 0.88
redo blocks written 7,900,338 2,164.32 44.74
redo buffer allocation retries 3 0.00 0.00
redo entries 11,530,688 3,158.86 65.30
redo log space requests 5 0.00 0.00
redo log space wait time 3 0.00 0.00
redo ordering marks 214,522 58.77 1.21
redo size 3,854,686,644 1,056,001.57 21,829.32
redo synch time 21,214 5.81 0.12
redo synch writes 407,513 111.64 2.31
redo wastage 57,975,948 15,882.66 328.32
redo write time 9,103 2.49 0.05
redo writer latching time 312 0.09 0.00
redo writes 199,685 54.70 1.13
rollback changes - undo records applied 3,786 1.04 0.02
rollbacks only - consistent read gets 10,222 2.80 0.06
rows fetched via callback 13,829,963 3,788.75 78.32
session connect time 0 0.00 0.00
session cursor cache hits 732,878 200.77 4.15
session logical reads 193,285,117 52,950.97 1,094.59
session pga memory 2,258,962,592 618,848.76 12,792.64
session pga memory max 2,391,752,896 655,227.02 13,544.64
session uga memory 6,077,041,208 1,664,821.47 34,414.64
session uga memory max 9,629,810,184 2,638,111.90 54,534.19
shared hash latch upgrades - no wait 22,773,609 6,238.89 128.97
shared hash latch upgrades - wait 11,804 3.23 0.07
sorts (memory) 1,536,915 421.04 8.70
sorts (rows) 16,992,559 4,655.16 96.23
sql area evicted 273 0.07 0.00
sql area purged 845 0.23 0.00
summed dirty queue length 547,647 150.03 3.10
switch current to new buffer 115,697 31.70 0.66
table fetch by rowid 131,136,558 35,925.21 742.63
table fetch continued row 126,780 34.73 0.72
table scan blocks gotten 19,047,154 5,218.02 107.87
table scan rows gotten 679,040,823 186,025.02 3,845.45
table scans (direct read) 0 0.00 0.00
table scans (long tables) 92 0.03 0.00
table scans (rowid ranges) 88 0.02 0.00
table scans (short tables) 906,078 248.22 5.13
total number of times SMON posted 18,499 5.07 0.10
transaction lock background gets 8 0.00 0.00
transaction lock foreground requests 8 0.00 0.00
transaction lock foreground wait time 0 0.00 0.00
transaction rollbacks 913 0.25 0.01
transaction tables consistent read rollbacks 18 0.00 0.00
transaction tables consistent reads - undo records applied 266 0.07 0.00
undo change vector size 1,514,871,732 415,003.11 8,578.81
user I/O wait time 94,908 26.00 0.54
user calls 9,091,394 2,490.61 51.49
user commits 127,774 35.00 0.72
user rollbacks 48,809 13.37 0.28
workarea executions - optimal 939,982 257.51 5.32
write clones created in background 567 0.16 0.00
write clones created in foreground 26 0.01 0.00

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

Statistic Begin Value End Value
session cursor cache count 82,498 214,312
opened cursors current 236,693 281,656
workarea memory allocated 968 1,737
logons current 1,116 1,119

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

Statistic Total per Hour
log switches (derived) 2 1.97

Back to Instance Activity Statistics
Back to Top

 

IO Stats

Back to Top

Tablespace IO Stats

Tablespace Reads Av Reads/s Av Rd(ms) Av Blks/Rd Writes Av Writes/s Buffer Waits Av Buf Wt(ms)
APPS_TS_TX_DATA 104,088 29 3.76 1.03 33,121 9 4,261 4.61
APPS_TS_TX_IDX 71,772 20 4.21 1.00 46,388 13 5,744 5.64
APPS_UNDOTS1 1,118 0 0.65 1.00 84,288 23 901 1.17
APPS_ASSM_DATA 54,485 15 2.59 1.00 29,006 8 1,036 4.50
APPS_ASSM_IDX 16,857 5 2.36 1.00 20,936 6 4,834 3.84
SYSTEM 6,131 2 3.66 3.49 1,237 0 225 2.18
TEMPTS2 1,331 0 1.59 1.00 4,214 1 0 0.00
APPS_TS_SEED 3,494 1 5.23 1.04 1,229 0 313 4.92
APPS_TS_TX_INTERFACE 219 0 1.64 1.00 1,740 0 12 2.50
SYSAUX 527 0 2.35 1.05 1,023 0 2 5.00
APPS_TS_QUEUES 225 0 3.24 1.11 836 0 4 0.00
APPS_TS_ARCHIVE 229 0 2.75 1.00 824 0 48 12.71
APPS_TS_SUMMARY 73 0 2.74 1.00 213 0 1 10.00
APPS_TS_NOLOGGING 13 0 6.15 1.00 87 0 0 0.00
APPS_UNDOTS2 1 0 0.00 1.00 0 0 513 1.62

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 54,485 15 2.59 1.00 29,006 8 1,036 4.50
APPS_ASSM_IDX /oasb_data/apps_assm_idx.dbf 16,857 5 2.36 1.00 20,936 6 4,834 3.84
APPS_TS_ARCHIVE /oasb_data/archive1.dbf 63 0 2.70 1.00 277 0 0 0.00
APPS_TS_ARCHIVE /oasb_data/archive2.dbf 86 0 3.02 1.00 286 0 27 13.70
APPS_TS_ARCHIVE /oasb_data/archive3.dbf 80 0 2.50 1.00 261 0 21 11.43
APPS_TS_NOLOGGING /oasb_data/nologging1.dbf 9 0 5.56 1.00 81 0 0 0.00
APPS_TS_NOLOGGING /oasb_data/nologging2.dbf 4 0 7.50 1.00 6 0 0 0.00
APPS_TS_QUEUES /oasb_data/queues1.dbf 50 0 3.60 1.00 290 0 3 0.00
APPS_TS_QUEUES /oasb_data/queues2.dbf 103 0 3.11 1.21 376 0 1 0.00
APPS_TS_QUEUES /oasb_data/queues3.dbf 72 0 3.19 1.04 170 0 0 0.00
APPS_TS_SEED /oasb_data/reference1.dbf 1,000 0 4.76 1.06 278 0 198 4.44
APPS_TS_SEED /oasb_data/reference2.dbf 960 0 4.83 1.09 342 0 115 5.74
APPS_TS_SEED /oasb_data/reference3.dbf 1,534 0 5.78 1.00 609 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary1.dbf 18 0 1.11 1.00 17 0 1 10.00
APPS_TS_SUMMARY /oasb_data/summary2.dbf 1 0 10.00 1.00 0 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary3.dbf 17 0 0.59 1.00 24 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary4.dbf 1 0 10.00 1.00 0 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary5.dbf 34 0 4.12 1.00 169 0 0 0.00
APPS_TS_SUMMARY /oasb_data/summary6.dbf 2 0 5.00 1.00 3 0 0 0.00
APPS_TS_TX_DATA /oasb_data/tx_data1.dbf 5,765 2 3.69 1.05 2,378 1 357 5.43
APPS_TS_TX_DATA /oasb_data/tx_data10.dbf 5,690 2 3.70 1.04 1,755 0 326 4.82
APPS_TS_TX_DATA /oasb_data/tx_data11.dbf 5,540 2 3.59 1.04 2,161 1 236 4.41
APPS_TS_TX_DATA /oasb_data/tx_data12.dbf 41,314 11 3.87 1.00 8,564 2 334 6.50
APPS_TS_TX_DATA /oasb_data/tx_data2.dbf 5,643 2 3.62 1.04 2,070 1 330 5.06
APPS_TS_TX_DATA /oasb_data/tx_data3.dbf 5,680 2 3.66 1.05 2,790 1 370 4.51
APPS_TS_TX_DATA /oasb_data/tx_data4.dbf 5,956 2 3.57 1.05 2,581 1 432 4.21
APPS_TS_TX_DATA /oasb_data/tx_data5.dbf 4,581 1 3.82 1.08 2,434 1 416 4.18
APPS_TS_TX_DATA /oasb_data/tx_data6.dbf 5,877 2 3.76 1.05 2,340 1 344 3.81
APPS_TS_TX_DATA /oasb_data/tx_data7.dbf 6,389 2 3.72 1.05 1,902 1 441 3.58
APPS_TS_TX_DATA /oasb_data/tx_data8.dbf 5,876 2 3.64 1.06 2,045 1 308 4.58
APPS_TS_TX_DATA /oasb_data/tx_data9.dbf 5,777 2 3.78 1.04 2,101 1 367 4.66
APPS_TS_TX_IDX /oasb_data/tx_idx1.dbf 3,409 1 3.98 1.00 2,234 1 979 3.59
APPS_TS_TX_IDX /oasb_data/tx_idx10.dbf 3,528 1 4.12 1.00 1,611 0 270 4.74
APPS_TS_TX_IDX /oasb_data/tx_idx11.dbf 3,308 1 4.25 1.00 1,473 0 519 12.18
APPS_TS_TX_IDX /oasb_data/tx_idx12.dbf 29,237 8 4.44 1.00 12,409 3 766 6.11
APPS_TS_TX_IDX /oasb_data/tx_idx13.dbf 4,800 1 4.72 1.00 4,290 1 606 2.57
APPS_TS_TX_IDX /oasb_data/tx_idx2.dbf 3,148 1 3.99 1.00 2,629 1 247 5.26
APPS_TS_TX_IDX /oasb_data/tx_idx3.dbf 2,981 1 3.82 1.00 2,782 1 248 10.85
APPS_TS_TX_IDX /oasb_data/tx_idx4.dbf 3,598 1 4.10 1.00 3,646 1 626 5.50
APPS_TS_TX_IDX /oasb_data/tx_idx5.dbf 3,145 1 3.93 1.00 3,392 1 304 5.56
APPS_TS_TX_IDX /oasb_data/tx_idx6.dbf 3,427 1 3.69 1.00 4,148 1 341 5.01
APPS_TS_TX_IDX /oasb_data/tx_idx7.dbf 4,058 1 3.83 1.00 3,565 1 354 5.48
APPS_TS_TX_IDX /oasb_data/tx_idx8.dbf 3,654 1 3.89 1.00 2,179 1 239 5.23
APPS_TS_TX_IDX /oasb_data/tx_idx9.dbf 3,479 1 4.08 1.00 2,030 1 245 4.24
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface.dbf 118 0 2.29 1.01 602 0 12 2.50
APPS_TS_TX_INTERFACE /oasb_data/apps_ts_tx_interface1.dbf 101 0 0.89 1.00 1,138 0 0 0.00
APPS_UNDOTS1 /oasb_data/undo01.dbf 145 0 0.48 1.00 13,919 4 163 1.41
APPS_UNDOTS1 /oasb_data/undo02.dbf 262 0 0.99 1.00 15,002 4 78 0.51
APPS_UNDOTS1 /oasb_data/undo03.dbf 194 0 0.31 1.00 14,381 4 161 0.50
APPS_UNDOTS1 /oasb_data/undo04.dbf 175 0 0.63 1.00 13,626 4 108 1.11
APPS_UNDOTS1 /oasb_data/undo05.dbf 234 0 0.73 1.00 13,707 4 304 0.89
APPS_UNDOTS1 /oasb_data/undo06.dbf 108 0 0.56 1.00 13,653 4 87 3.56
APPS_UNDOTS2 /oasb_data/undo02_2.dbf 1 0 0.00 1.00 0 0 513 1.62
SYSAUX /oasb_data/sysaux01.dbf 357 0 2.41 1.07 642 0 0 0.00
SYSAUX /oasb_data/sysaux02.dbf 170 0 2.24 1.00 381 0 2 5.00
SYSTEM /oasb_data/sys1.dbf 888 0 4.22 3.57 142 0 69 2.90
SYSTEM /oasb_data/sys2.dbf 983 0 3.26 4.06 251 0 57 1.40
SYSTEM /oasb_data/sys3.dbf 982 0 3.88 3.31 119 0 38 0.79
SYSTEM /oasb_data/sys4.dbf 960 0 3.31 3.21 211 0 8 0.00
SYSTEM /oasb_data/sys5.dbf 773 0 3.56 3.71 65 0 32 2.50
SYSTEM /oasb_data/sys6.dbf 944 0 3.79 3.30 316 0 16 4.38
SYSTEM /oasb_data/sys7.dbf 601 0 3.56 3.21 133 0 5 6.00
TEMPTS2 /oasb_data/tmp01_2.dbf 413 0 1.48 1.00 1,260 0 0  
TEMPTS2 /oasb_data/tmp02_2.dbf 507 0 1.54 1.00 1,441 0 0  
TEMPTS2 /oasb_data/tmp1_2.dbf 411 0 1.78 1.00 1,513 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 173,070 100 193,178,205 279,446 464,101 0 0 35,630


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 50 14669 207952 619728 14743710 619728  
E 0 52 15043 374338 4647083 14743710 4647083  

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 85,088 0

Back to Advisory Statistics
Back to Top

PGA Aggr Target Stats

  PGA Aggr Target(M) Auto PGA Target(M) PGA Mem Alloc(M) W/A PGA Used(M) %PGA W/A Mem %Auto W/A Mem %Man W/A Mem Global Mem Bound(K)
B 6,144 384 8,711.18 0.95 0.01 100.00 0.00 507,904
E 6,144 384 10,757.71 1.70 0.02 100.00 0.00 507,904

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 850,499 850,499 0 0
64K 128K 5,294 5,294 0 0
128K 256K 47 47 0 0
256K 512K 20 20 0 0
512K 1024K 30,812 30,812 0 0
1M 2M 52,785 52,785 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 117,513.54 2,940.04 98.00 555
1,536 0.25 117,513.54 2,901.08 98.00 541
3,072 0.50 117,513.54 2,839.23 98.00 508
4,608 0.75 117,513.54 2,715.85 98.00 463
6,144 1.00 117,513.54 0.00 100.00 416
7,373 1.20 117,513.54 0.00 100.00 221
8,602 1.40 117,513.54 0.00 100.00 0
9,830 1.60 117,513.54 0.00 100.00 0
11,059 1.80 117,513.54 0.00 100.00 0
12,288 2.00 117,513.54 0.00 100.00 0
18,432 3.00 117,513.54 0.00 100.00 0
24,576 4.00 117,513.54 0.00 100.00 0
36,864 6.00 117,513.54 0.00 100.00 0
49,152 8.00 117,513.54 0.00 100.00 0

Back to Advisory Statistics
Back to Top

Shared Pool Advisory

Shared Pool Size(M) SP Size Factr Est LC Size (M) Est LC Mem Obj Est LC Time Saved (s) Est LC Time Saved Factr Est LC Load Time (s) Est LC Load Time Factr Est LC Mem Obj Hits
864 0.57 171 10,208 572,978 0.99 5,984 10.21 20,762,675
1,024 0.68 321 13,426 578,365 1.00 597 1.02 21,063,211
1,184 0.79 479 17,206 578,376 1.00 586 1.00 21,064,031
1,344 0.89 614 28,526 578,376 1.00 586 1.00 21,064,137
1,504 1.00 614 28,526 578,376 1.00 586 1.00 21,064,137
1,664 1.11 614 28,526 578,376 1.00 586 1.00 21,064,137
1,824 1.21 614 28,526 578,376 1.00 586 1.00 21,064,137
1,984 1.32 614 28,526 578,376 1.00 586 1.00 21,064,137
2,144 1.43 614 28,526 578,376 1.00 586 1.00 21,064,137
2,304 1.53 614 28,526 578,376 1.00 586 1.00 21,064,137
2,464 1.64 614 28,526 578,376 1.00 586 1.00 21,064,137
2,624 1.74 614 28,526 578,376 1.00 586 1.00 21,064,137
2,784 1.85 614 28,526 578,376 1.00 586 1.00 21,064,137
2,944 1.96 614 28,526 578,376 1.00 586 1.00 21,064,137
3,104 2.06 614 28,526 578,376 1.00 586 1.00 21,064,137

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

Size for Est (MB) Size Factor Est Spill Count Est Spill Time (s) Est Unspill Count Est Unspill Time (s)
16 0.25 0 0 0 0
32 0.50 0 0 0 0
48 0.75 0 0 0 0
64 1.00 0 0 0 0
80 1.25 0 0 0 0
96 1.50 0 0 0 0
112 1.75 0 0 0 0
128 2.00 0 0 0 0
144 2.25 0 0 0 0
160 2.50 0 0 0 0
176 2.75 0 0 0 0
192 3.00 0 0 0 0
208 3.25 0 0 0 0
224 3.50 0 0 0 0
240 3.75 0 0 0 0
256 4.00 0 0 0 0
272 4.25 0 0 0 0
288 4.50 0 0 0 0
304 4.75 0 0 0 0
320 5.00 0 0 0 0

Back to Advisory Statistics
Back to Top

Java Pool Advisory

Java Pool Size(M) JP Size Factr Est LC Size (M) Est LC Mem Obj Est LC Time Saved (s) Est LC Time Saved Factr Est LC Load Time (s) Est LC Load Time Factr Est LC Mem Obj Hits
16 0.25 16 364 217 1.00 586 1.00 3,630
32 0.50 20 396 217 1.00 586 1.00 3,630
48 0.75 20 396 217 1.00 586 1.00 3,630
64 1.00 20 396 217 1.00 586 1.00 3,630
80 1.25 20 396 217 1.00 586 1.00 3,630
96 1.50 20 396 217 1.00 586 1.00 3,630
112 1.75 20 396 217 1.00 586 1.00 3,630
128 2.00 20 396 217 1.00 586 1.00 3,630

Back to Advisory Statistics
Back to Top

 

Wait Statistics

Back to Top

Buffer Wait Statistics

Class Waits Total Wait Time (s) Avg Time (ms)
data block 16,357 77 5
undo header 18,423 43 2
undo block 714 1 2
segment header 36 0 7
1st level bmb 63 0 3
2nd level bmb 31 0 6

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)
TX-Transaction (row lock contention) 485 185 300 207 85 412.45
UL-User-defined 6,583 5,074 1,509 3,605 43 11.87
TX-Transaction (index contention) 4,082 4,075 0 2,754 22 7.89
RO-Multiple Object Reuse (fast object reuse) 966 966 0 296 13 43.43
FB-Format Block 4,958 4,958 0 2,451 5 2.18
HW-Segment High Water Mark 41,746 41,746 0 2,494 4 1.58
US-Undo Segment 4,528 4,528 0 4,391 4 0.82
DV-Diana Versioning 4,777 4,777 0 1,466 3 2.16
PS-PX Process Reservation 790 789 0 291 1 2.88
WF-AWR Flush 24 24 0 10 1 60.50
TM-DML 376,612 376,556 0 72 1 7.18
TX-Transaction 180,200 180,214 0 22 0 18.27
SQ-Sequence Cache 2,284 2,284 0 72 0 4.60
CF-Controlfile Transaction 5,806 5,806 0 125 0 1.78
TT-Tablespace 35,256 35,256 0 104 0 1.46
TO-Temp Object 7,533 7,533 0 67 0 1.97
TX-Transaction (allocate ITL entry) 65 65 0 50 0 2.12
TS-Temporary Segment 134 134 0 26 0 2.12
CU-Cursor 3,046 3,046 0 1 0 30.00
SR-Synchronized Replication 447 447 0 10 0 2.10
TA-Instance Undo 24 24 0 24 0 0.58
TQ-Queue table enqueue (TM contention) 658 658 0 3 0 3.67
PI-Remote PX Process Spawn Status 4 4 0 4 0 0.50
PW-Buffer Cache PreWarm (flush prewarm buffers) 1 1 0 1 0 0.00

Back to Wait Statistics
Back to Top

 

Undo Statistics

Back to Top

Undo Segment Summary

Undo TS# Num Undo Blocks (K) Number of Transactions Max Qry Len (s) Max Tx Concurcy Min/Max TR (mins) STO/ OOS uS/uR/uU/ eS/eR/eU
1 224.57 181,983 2,664 80 26/58.4166666666666666666666666666666666667 0/0 0/0/0/0/0/0

Back to Undo Statistics
Back to Top

Undo Segment Stats

End Time Num Undo Blocks Number of Transactions Max Qry Len (s) Max Tx Concy Tun Ret (mins) STO/ OOS uS/uR/uU/ eS/eR/eU
16-Nov 20:39 98,391 41,164 1,359 77 37 0/0 0/0/0/0/0/0
16-Nov 20:29 54,515 38,099 720 80 26 0/0 0/0/0/0/0/0
16-Nov 20:19 40,759 32,229 2,309 75 52 0/0 0/0/0/0/0/0
16-Nov 20:09 10,047 23,587 2,325 75 53 0/0 0/0/0/0/0/0
16-Nov 19:59 10,724 24,281 2,664 73 58 0/0 0/0/0/0/0/0
16-Nov 19:49 10,134 22,623 2,168 76 50 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 81,201 0.00   0 0  
Consistent RBA 199,722 0.01 0.00 0 0  
FOB s.o list latch 26,812 0.03 0.00 0 0  
JOX SGA heap latch 36,314 0.00   0 0  
JS broadcast add buf latch 835 0.00   0 0  
JS broadcast drop buf latch 835 0.00   0 0  
JS broadcast load blnc latch 730 0.00   0 0  
JS queue state obj latch 21,900 0.00   0 0  
JS slv state obj latch 3 0.00   0 0  
KCL gc element parent latch 8,666,228 0.01 0.03 0 26,165 0.03
KJC message pool free list 278,472 0.00 0.00 0 20,182 0.01
KJCT flow control latch 3,254,630 0.02 0.00 0 0  
KMG MMAN ready and startup request latch 1,216 0.00   0 0  
KSXR large replies 244 0.00   0 0  
KTF sga latch 24 0.00   0 1,228 0.00
KWQMN job cache list latch 14,260 0.01 1.00 0 0  
KWQP Prop Status 450 0.00   0 0  
MQL Tracking Latch 0     0 72 0.00
Memory Management Latch 0     0 1,216 0.00
Mutex Stats 1 0.00   0 0  
OS process 1,620 0.00   0 0  
OS process allocation 2,300 0.04 0.00 0 0  
OS process: request allocation 1,000 0.00   0 0  
PL/SQL warning settings 574,548 0.00   0 0  
SGA IO buffer pool latch 14,328 0.00   0 14,328 0.00
SQL memory manager latch 2 0.00   0 1,215 0.00
SQL memory manager workarea list latch 1,126,847 0.00 0.00 0 0  
Shared B-Tree 2,342 0.00   0 0  
active checkpoint queue latch 29,469 0.00   0 0  
active service list 12,832 0.10 0.00 0 2,019 0.00
begin backup scn array 557 0.00   0 0  
bq:time manger info latch 129 0.00   0 0  
bufq statistics 8 0.00   0 0  
business card 208 0.00   0 0  
cache buffer handles 3,555,374 0.14 0.00 0 0  
cache buffers chains 404,014,070 0.06 0.00 4 2,813,003 0.07
cache buffers lru chain 2,460,924 0.14 0.03 0 4,689,714 0.18
cache table scan latch 0     0 2,793 0.00
channel handle pool latch 62,465 0.00 0.00 0 0  
channel operations parent latch 1,686,472 0.23 0.00 0 0  
checkpoint queue latch 1,134,248 0.01 0.00 0 743,329 0.01
client/application info 269,836 0.02 0.00 0 0  
commit callback allocation 34,171 0.00   0 0  
compile environment latch 546,188 0.00   0 0  
dictionary lookup 88 0.00   0 0  
dml lock allocation 752,195 0.05 0.01 0 0  
dummy allocation 2,704 0.15 0.00 0 0  
enqueue hash chains 2,622,330 0.03 0.01 0 3,038 0.00
enqueue sob latch 14 0.00   0 0  
enqueues 966,355 0.02 0.01 0 0  
error message lists 508 0.00   0 0  
event group latch 502 0.00   0 0  
file cache latch 4,645 0.00   0 0  
gcs opaque info freelist 925,552 0.03 0.00 0 0  
gcs partitioned table hash 586,464 0.00   0 0  
gcs resource freelist 641,474 0.00 0.06 0 0  
gcs resource hash 6,677,103 0.01 0.01 0 4,787 0.00
gcs resource scan list 9,576 0.00   0 0  
gcs shadows freelist 490,625 0.00   0 0  
ges caches resource lists 570,530 0.02 0.00 0 91,787 0.02
ges deadlock list 15,632 0.00   0 29 0.00
ges domain table 4,431,922 0.00 0.00 0 0  
ges enqueue table freelist 4,587,582 0.03 0.00 0 0  
ges group table 6,621,763 0.00 0.00 0 0  
ges process hash list 68,592 0.00   0 0  
ges process parent latch 9,171,860 0.00 0.00 0 0  
ges process table freelist 1,000 0.10 0.00 0 0  
ges resource hash list 6,656,141 0.07 0.00 0 77,271 0.04
ges resource scan list 21,038 0.00   0 0  
ges resource table freelist 91,410 0.01 0.00 0 0  
ges timeout list 25,550 0.00   0 24,693 0.00
global KZLD latch for mem in SGA 1,148 0.00   0 0  
global ctx hash table latch 3,898 0.00   0 0  
hash table column usage latch 988 0.00   0 2,509,000 0.00
hash table modification latch 117 0.00   0 0  
job workq parent latch 0     0 2 0.00
job_queue_processes parameter latch 61 0.00   0 0  
kks stats 5,469 0.00   0 0  
ksuosstats global area 247 0.00   0 0  
ktm global data 18,564 0.00   0 0  
kwqbsn:qsga 2,202 0.00   0 0  
kwqbsn:qxl 2 0.00   0 0  
lgwr LWN SCN 249,272 0.05 0.00 0 0  
library cache 54,560,660 0.13 0.01 2 1,452 0.14
library cache load lock 3,515 0.03 0.00 0 19 0.00
library cache lock 10,357,759 0.02 0.01 0 0  
library cache lock allocation 223,892 0.00 0.00 0 0  
library cache pin 34,161,248 0.05 0.01 1 2 0.00
library cache pin allocation 71,846 0.00   0 0  
list of block allocation 44,358 0.00 0.00 0 0  
loader state object freelist 50,128 0.00   0 0  
logminer context allocation 2 0.00   0 0  
longop free list parent 19 0.00   0 19 0.00
message pool operations parent latch 144,662 0.19 0.00 0 0  
messages 1,099,438 0.02 0.00 0 0  
mostly latch-free SCN 252,758 1.31 0.00 0 0  
multiblock read objects 71,982 0.00 0.00 0 0  
name-service memory objects 31,776 0.00   0 0  
name-service namespace bucket 47,118 0.00   0 0  
name-service pending queue 16,644 0.00   0 0  
name-service request 24 0.00   0 0  
name-service request queue 58,105 0.00   0 0  
ncodef allocation latch 96 0.00   0 0  
object queue header heap 118,252 0.00 0.00 0 62,021 0.00
object queue header operation 7,309,447 0.01 0.02 0 0  
object stats modification 62,925 0.00 0.00 0 0  
parallel query alloc buffer 3,264 0.00   0 0  
parallel query stats 492 0.20 0.00 0 0  
parallel txn reco latch 4,463 0.00   0 0  
parameter list 1,007 0.00   0 0  
parameter table allocation management 3,489 0.17 0.00 0 0  
post/wait queue 465,504 0.01 0.00 0 303,971 0.01
process allocation 31,508 0.00 0.00 0 502 0.00
process group creation 1,000 0.10 0.00 0 0  
process queue 1,398 0.00   0 0  
process queue reference 57,794 0.00   0 6,531 0.02
qmn state object latch 30 0.00   0 0  
qmn task queue latch 4,252 3.06 0.00 0 0  
query server freelists 1,148 0.35 0.00 0 0  
query server process 4 0.00   0 4 0.00
queued dump request 18,184 0.00   0 0  
redo allocation 726,002 0.11 0.09 0 11,525,664 0.15
redo copy 0     0 11,530,885 0.04
redo writing 652,943 0.00 0.17 0 0  
resmgr group change latch 140,314 0.00   0 0  
resmgr:actses active list 3,805 0.03 0.00 0 0  
resmgr:actses change group 3,598 0.00   0 0  
resmgr:free threads list 2,670 0.22 0.00 0 0  
resmgr:schema config 2 0.00   0 0  
row cache objects 20,126,780 0.16 0.00 0 167 0.00
rules engine aggregate statistics 6,491 0.02 0.00 0 0  
rules engine rule set statistics 26,164 0.00 0.00 0 0  
rules engine rule statistics 12,982 0.00   0 0  
sequence cache 3,451,522 0.12 0.00 0 0  
session allocation 2,822,789 0.05 0.02 0 0  
session idle bit 18,728,752 0.02 0.01 0 0  
session state list latch 7,263 0.03 0.00 0 0  
session switching 2,237 0.00   0 0  
session timer 2,019 0.00   0 0  
shared pool 1,877,263 0.14 0.01 0 0  
shared pool sim alloc 171 0.00   0 0  
shared pool simulator 657,175 0.00 0.00 0 0  
slave class 18 0.00   0 0  
slave class create 70 0.00   0 0  
sort extent pool 211,300 0.14 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 65 0.00   0 0  
temporary table state object allocation 1,530 0.00   0 0  
threshold alerts latch 341 0.00   0 0  
trace latch 31 0.00   0 0  
transaction allocation 19,693 0.01 0.00 0 0  
transaction branch allocation 96 0.00   0 0  
undo global data 15,601,778 0.07 0.00 0 0  
user lock 4,587 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 404,014,070 230,341 1,106 229,260 0 0 0
library cache 54,560,660 73,249 489 72,760 0 0 0
row cache objects 20,126,780 31,336 32 31,305 0 0 0
library cache pin 34,161,248 15,694 155 15,539 0 0 0
undo global data 15,601,778 10,947 26 10,921 0 0 0
cache buffer handles 3,555,374 4,976 8 4,969 0 0 0
ges resource hash list 6,656,141 4,803 13 4,790 0 0 0
sequence cache 3,451,522 4,281 14 4,267 0 0 0
session idle bit 18,728,752 4,144 40 4,104 0 0 0
channel operations parent latch 1,686,472 3,926 6 3,920 0 0 0
cache buffers lru chain 2,460,924 3,443 118 3,325 0 0 0
shared pool 1,877,263 2,621 35 2,586 0 0 0
library cache lock 10,357,759 2,232 12 2,220 0 0 0
ges enqueue table freelist 4,587,582 1,474 4 1,470 0 0 0
session allocation 2,822,789 1,394 31 1,363 0 0 0
KCL gc element parent latch 8,666,228 1,220 31 1,189 0 0 0
object queue header operation 7,309,447 1,069 22 1,048 0 0 0
enqueue hash chains 2,622,330 820 9 811 0 0 0
KJCT flow control latch 3,254,630 795 1 794 0 0 0
redo allocation 726,002 778 71 708 0 0 0
dml lock allocation 752,195 352 4 348 0 0 0
gcs resource hash 6,677,103 335 4 331 0 0 0
message pool operations parent latch 144,662 273 1 272 0 0 0
enqueues 966,355 214 3 211 0 0 0
gcs resource freelist 641,474 17 1 16 0 0 0
redo writing 652,943 6 1 5 0 0 0
KWQMN job cache list latch 14,260 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 19 18
KCL gc element parent latch kclbla 0 10 0
KCL gc element parent latch KCLUNLNK 0 5 5
KCL gc element parent latch kclebs 0 3 1
KCL gc element parent latch kclulb 0 3 8
KCL gc element parent latch kclnfnd 0 2 1
KCL gc element parent latch kclshrsplit 0 2 0
KCL gc element parent latch kclfwrite1 0 1 2
KCL gc element parent latch kclgcr 0 1 1
KCL gc element parent latch kcllwr 0 1 2
KCL gc element parent latch kclpto_3 0 1 0
KCL gc element parent latch kclzcl 0 1 0
KJCT flow control latch kjctcsnd: send normal message 0 1 0
KWQMN job cache list latch kwqmnuji: update job item 0 1 0
cache buffer handles kcbzfs 0 5 4
cache buffer handles kcbzgs 0 3 4
cache buffers chains kcbgtcr: fast path 0 684 440
cache buffers chains kcbgtcr: kslbegin excl 0 590 726
cache buffers chains kcbrls: kslbegin 0 242 414
cache buffers chains kcbchg: kslbegin: bufs not pinned 0 211 181
cache buffers chains kcbgcur: kslbegin 0 77 59
cache buffers chains kcbchg: kslbegin: call CR func 0 69 92
cache buffers chains kcbget: pin buffer 0 57 80
cache buffers chains kcbzgb: scan from tail. nowait 0 47 0
cache buffers chains kcbget: exchange rls 0 23 10
cache buffers chains kcbgtcr: kslbegin shared 0 21 8
cache buffers chains kcbget: exchange 0 17 9
cache buffers chains kcbnew: new latch again 0 15 0
cache buffers chains kclbla 0 13 4
cache buffers chains kcbzwb 0 12 16
cache buffers chains kclwcrs 0 7 5
cache buffers chains kclebs_1 0 6 2
cache buffers chains kcbnlc 0 4 13
cache buffers chains kcbcge 0 3 2
cache buffers chains kcbesc: escalate 0 3 0
cache buffers chains kcbgtcr 0 2 2
cache buffers chains kcbgkcbcr 0 1 2
cache buffers chains kcbzib: finish free bufs 0 1 3
cache buffers chains kclpred 0 1 0
cache buffers chains kclpto 0 1 0
cache buffers chains kclwrt 0 1 3
cache buffers lru chain kcbzgws 0 69 1
cache buffers lru chain kcbzgb: posted for free bufs 0 15 87
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 12 0
cache buffers lru chain H_MK_PI_CR_BG 0 5 0
cache buffers lru chain kcbzswcu 0 5 0
cache buffers lru chain H_MK_PI_CR 0 2 0
cache buffers lru chain kcbbxsv: move to being written 0 2 2
cache buffers lru chain kcbzgm 0 2 0
cache buffers lru chain kclmergepi 0 2 0
cache buffers lru chain kcbbic2 0 1 1
cache buffers lru chain kcbkubc 0 1 15
cache buffers lru chain kcbo_link_q 0 1 0
cache buffers lru chain kclwcrs 0 1 0
channel operations parent latch ksrwait() 0 10 16
channel operations parent latch ksrapublish() 0 6 4
channel operations parent latch ksrsconsume() 0 6 0
channel operations parent latch ksrchdelete() 0 5 3
channel operations parent latch ksrmfree() 0 1 0
dml lock allocation ktaiam 0 3 3
dml lock allocation ktaidm 0 1 1
enqueue hash chains ksqcmi: if lk mode not requested 0 5 0
enqueue hash chains ksqcmi: if lk mode requested 0 2 0
enqueue hash chains ksqgtl3 0 1 7
enqueue hash chains ksqrcl 0 1 2
enqueues ksqgel: create enqueue 0 2 1
enqueues ksqies 0 1 2
gcs resource freelist kjbralc add resource 0 1 1
gcs resource hash kjbcrcomplete 0 1 1
gcs resource hash kjbcrconvert 0 1 0
gcs resource hash kjbcropen 0 1 0
gcs resource hash kjbopen:affinity 0 1 0
ges enqueue table freelist kjlfr: remove lock from parent object 0 3 0
ges enqueue table freelist kjlalc: lock allocation 0 1 5
ges resource hash list kjrmas1: lookup master node 0 8 0
ges resource hash list kjlrlr: remove lock from resource queue 0 3 3
ges resource hash list kjucvl: lock convert request 0 2 1
library cache kglpndl: child: after processing 0 323 0
library cache kglpnp: child 0 97 298
library cache kglobpn: child: 0 22 69
library cache kgldte: child 0 0 17 15
library cache kglLockCursor 0 16 21
library cache kglpin 0 6 2
library cache kglic 0 3 0
library cache kgldti: 2child 0 2 0
library cache lock kgllkdl: child: cleanup 0 7 7
library cache lock kgllkal: child: multiinstance 0 5 5
library cache lock kgllkdl: child: no lock handle 0 3 1
library cache pin kglpndl 0 109 21
library cache pin kglpnp: child 0 40 101
library cache pin kglpnal: child: alloc space 0 6 36
message pool operations parent latch ksrmalloc() 0 2 1
object queue header operation kcbw_link_q 0 9 0
object queue header operation kcbw_unlink_q 0 4 3
object queue header operation kcbo_link_q:reget 0 3 0
object queue header operation kcbo_switch_cq 0 2 9
object queue header operation kcbo_ivbo 0 1 0
object queue header operation kcbo_swap_buf 0 1 0
object queue header operation kcbo_swap_buf_bg 0 1 10
object queue header operation kcbo_switch_mq_bg 0 1 0
redo allocation kcrfw_redo_gen: redo allocation 1 0 70 0
redo allocation kcrfw_redo_write: before write 0 1 52
redo writing kcrfw_post: rba scn pair 0 1 0
row cache objects kqreqd: reget 0 31 0
row cache objects kqrpre: find obj 0 1 37
sequence cache kdnssd 0 14 0
session allocation ksuprc 0 13 1
session allocation ksudlc 0 12 1
session allocation ksuxds: not user session 0 3 3
session allocation ksuxds: KSUSFCLC not set 0 2 0
session allocation ksucri 0 1 26
session idle bit ksupuc: set busy 0 38 25
session idle bit ksupuc: clear busy 0 23 36
session idle bit ksuxds 0 2 2
shared pool kghupr1 0 18 27
shared pool kghalo 0 13 6
shared pool kghfre 0 4 1
undo global data kturimugur: child 0 15 0
undo global data ktudba: KSLBEGIN 0 7 24
undo global data ktudnx:child 0 4 1

Back to Latch Statistics
Back to Top

 

Parent Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

 

Child Latch Statistics

No data exists for this section of the report.

Back to Latch Statistics
Back to Top

 

Segment Statistics

Back to Top

Segments by Logical Reads

Owner Tablespace Name Object Name Subobject Name Obj. Type Logical Reads %Total
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 9,268,624 4.80
APPLSYS APPS_TS_TX_IDX FND_GRANTS_N9   INDEX 6,742,576 3.49
APPLSYS APPS_TS_TX_DATA WF_LOCAL_USER_ROLES FND_RESP TABLE PARTITION 5,333,392 2.76
QP APPS_TS_TX_IDX QP_LIST_LINES_N5   INDEX 4,465,296 2.31
JTF APPS_TS_SEED JTF_AUTH_PERMISSIONS_B_U1   INDEX 4,048,896 2.09

Back to Segment Statistics
Back to Top

Segments by Physical Reads

Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Reads %Total
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 26,565 9.51
AR APPS_TS_TX_DATA HZ_PARTIES   TABLE 21,667 7.75
GL APPS_ASSM_DATA GL_INTERFACE   TABLE 12,807 4.58
HR APPS_TS_TX_IDX PAY_BALANCE_CONTEXT_VALUES_PK   INDEX 8,031 2.87
HR APPS_ASSM_DATA PAY_RUN_RESULTS   TABLE 5,550 1.99

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
HR APPS_ASSM_IDX PAY_RUN_RESULT_VALUES_PK   INDEX 988 25.78
APPLSYS APPS_TS_TX_DATA FND_CONCURRENT_REQUESTS   TABLE 612 15.97
HR APPS_ASSM_IDX PAY_RUN_RESULT_VALUES_N50   INDEX 304 7.93
HR APPS_TS_TX_IDX PAY_COSTS_FK2   INDEX 164 4.28
CS APPS_TS_TX_DATA CS_INCIDENTS_ALL_B   TABLE 154 4.02

Back to Segment Statistics
Back to Top

Segments by ITL Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type ITL Waits % of Capture
GL APPS_ASSM_IDX GL_IMPORT_REFERENCES_N1   INDEX 3 25.00
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 3 25.00
HR APPS_TS_TX_IDX PAY_ACTION_INTERLOCKS_FK2   INDEX 1 8.33
HR APPS_ASSM_IDX PAY_RUN_RESULTS_N50   INDEX 1 8.33
HR APPS_ASSM_IDX PAY_RUN_RESULTS_N51   INDEX 1 8.33

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
HR APPS_ASSM_IDX PAY_RUN_RESULT_VALUES_PK   INDEX 519 19.19
HR APPS_ASSM_IDX PAY_RUN_RESULT_VALUES_N50   INDEX 342 12.64
HR APPS_TS_TX_IDX PAY_ACTION_INTERLOCKS_FK1   INDEX 272 10.06
HR APPS_ASSM_IDX PAY_RUN_RESULTS_PK   INDEX 205 7.58
HR APPS_TS_TX_IDX PAY_PERSON_LATEST_BALA_N50   INDEX 147 5.43

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
HR APPS_ASSM_IDX PAY_RUN_RESULT_VALUES_N50   INDEX 546 16.48
APPLSYS APPS_TS_TX_DATA FND_CONCURRENT_REQUESTS   TABLE 264 7.97
HR APPS_ASSM_IDX PAY_RUN_RESULT_VALUES_PK   INDEX 263 7.94
HR APPS_TS_TX_DATA PAY_DEFINED_BALANCES   TABLE 251 7.57
ONT APPS_ASSM_IDX OE_PRICE_ADJUSTMENTS_N1   INDEX 231 6.97

Back to Segment Statistics
Back to Top

Segments by CR Blocks Received

Owner Tablespace Name Object Name Subobject Name Obj. Type CR Blocks Received %Total
GL APPS_ASSM_DATA GL_INTERFACE   TABLE 42,881 5.08
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 37,285 4.41
WSH APPS_ASSM_DATA WSH_DELIVERY_DETAILS   TABLE 19,037 2.25
ONT APPS_TS_TX_DATA OE_PRICE_ADJUSTMENTS   TABLE 10,969 1.30
ONT APPS_ASSM_IDX OE_PRICE_ADJUSTMENTS_N1   INDEX 10,794 1.28

Back to Segment Statistics
Back to Top

Segments by Current Blocks Received

Owner Tablespace Name Object Name Subobject Name Obj. Type Current Blocks Received %Total
OSM APPS_ASSM_DATA AS_SALES_LEADS   TABLE 16,839 4.07
AR APPS_ASSM_IDX RA_CUST_TRX_LINE_GL_DIST_N5   INDEX 12,238 2.96
ICX APPS_TS_TX_DATA ICX_SESSIONS   TABLE 12,078 2.92
GL APPS_ASSM_DATA GL_INTERFACE   TABLE 11,185 2.70
AR APPS_TS_TX_DATA AR_RECEIVABLE_APPLICATIONS_ALL   TABLE 6,446 1.56

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 864 51.27 0   864 361
dc_global_oids 798,679 0.00 0   0 93
dc_histogram_data 10,241 1.13 0   0 1,715
dc_histogram_defs 89,315 3.86 0   558 25,219
dc_object_grants 21,434 0.00 0   0 15,630
dc_object_ids 1,775,273 0.03 0   72 6,459
dc_objects 32,904 2.32 0   602 9,341
dc_profiles 1,149 0.00 0   0 1
dc_rollback_segments 915,805 0.00 0   8 192
dc_segments 76,370 1.66 0   1,593 7,183
dc_sequences 3,276 50.73 0   3,276 79
dc_tablespace_quotas 1,389 46.00 0   41 35
dc_tablespaces 866,029 0.00 0   0 25
dc_usernames 89,109 0.00 0   0 94
dc_users 2,220,615 0.00 0   0 161
outstanding_alerts 134 89.55 0   0 1

Back to Dictionary Cache Statistics
Back to Top

Dictionary Cache Stats (RAC)

Cache GES Requests GES Conflicts GES Releases
dc_awr_control 5 2 0
dc_constraints 1,512 10 0
dc_global_oids 9 0 0
dc_histogram_defs 4,563 618 0
dc_object_ids 693 1 0
dc_objects 1,234 8 0
dc_rollback_segments 34 4 0
dc_segments 3,633 790 0
dc_sequences 6,482 1,643 0
dc_tablespace_quotas 2,778 626 0
outstanding_alerts 266 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 95,692 0.06 6,443,818 0.00 0 0
CLUSTER 9 0.00 28 0.00 0 0
INDEX 3,085 2.72 3,451 3.48 0 0
JAVA DATA 1 0.00 0   0 0
PIPE 10,480 2.27 13,250 1.71 0 0
SQL AREA 2,473 93.93 14,631,670 0.01 539 345
TABLE/PROCEDURE 73,904 0.63 9,014,551 0.02 87 0
TRIGGER 4,326 0.14 116,962 0.01 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 28 0 0 0 0
INDEX 3,271 300 36 12 0
TABLE/PROCEDURE 211,452 952 33 805 0

Back to Library Cache Statistics
Back to Top

 

Memory Statistics

Back to Top

Process Memory Summary

  Category Alloc (MB) Used (MB) Avg Alloc (MB) Std Dev Alloc (MB) Max Alloc (MB) Hist Max Alloc (MB) Num Proc Num Alloc
B Other 6,823.51   9.00 5.92 32 32 758 758
  SQL 751.77 377.81 1.01 0.71 4 21 744 741
  Freeable 669.88 0.00 1.11 0.81 10   602 602
  PL/SQL 418.17 47.89 0.55 0.78 3 3 758 758
  JAVA 50.56 50.30 2.30 0.13 2 5 22 22
E Other 8,360.57   10.97 7.14 35 35 762 762
  SQL 923.23 476.71 1.23 0.82 5 21 750 747
  Freeable 918.75 0.00 1.45 0.95 10   633 633
  PL/SQL 504.95 53.75 0.66 0.84 3 3 762 762
  JAVA 50.54 50.30 2.30 0.13 2 5 22 22

Back to Memory Statistics
Back to Top

SGA Memory Summary

SGA regions Begin Size (Bytes) End Size (Bytes) (if different)
Database Buffers 1,509,949,440  
Fixed Size 2,074,736  
Redo Buffers 14,700,544  
Variable Size 1,711,277,968  

Back to Memory Statistics
Back to Top

SGA breakdown difference

Pool Name Begin MB End MB % Diff
java free memory 49.13 49.13 0.00
java joxlod exec hp 14.00 14.00 0.00
java joxs heap 0.87 0.87 0.00
shared CCursor 37.49 45.73 21.99
shared Heap0: KGL 22.01 23.66 7.46
shared KGLS heap 49.92 53.47 7.12
shared KQR L PO 43.08 47.49 10.23
shared PCursor 24.99 29.06 16.28
shared PL/SQL DIANA 30.67 34.25 11.68
shared PL/SQL MPCODE 73.47 76.33 3.89
shared free memory 449.22 241.27 -46.29
shared gcs resources 30.09 30.09 0.00
shared gcs shadows 18.96 18.96 0.00
shared ges enqueues 24.27 25.38 4.59
shared ges resource 18.38 20.44 11.19
shared library cache 211.57 260.39 23.08
shared sql area 261.61 379.67 45.13
shared sql area:PLSQL 16.42 20.41 24.33
streams free memory 63.99 63.99 -0.00
  buffer_cache 1,440.00 1,440.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

Session Type CPU Time User I/O Time Sys I/O Time
QMON Slaves 13,170,431 237,222 0
QMON Coordinator 125,724 0 0

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

Queue Schema and Name Incoming per second Outgoing per second Spilled per second Diff Pct Spilled
APPLSYS.WF_CONTROL 0 0 0 0

Back to Streams Statistics
Back to Top

Buffered Subscribers

Subscriber Name Incoming per second Outgoing per second Spilled per second
WFBESCL_13828 0 0 0
WFBESCL_13829 0 0 0

Back to Streams Statistics
Back to Top

Rule Set

Ruleset Name Evals Fast Evals SQL Execs CPU Time Elapsed Time
APPLSYS.WF_DEFERRED_R 4,980 0 4,980 11 63
APPLSYS.WF_DEFERRED_QUEUE_M_R 621 0 621 7 12
APPLSYS.WF_NOTIFICATION_OUT_R 612 0 612 0 5
APPLSYS.WF_JAVA_DEFERRED_R 277 0 277 2 6
SYS.ALERT_QUE_R 0 0 0 0 0

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 1509949440   
db_file_multiblock_read_count 8   
db_files 512   
db_name VIS   
db_writer_processes 1   
dml_locks 10000   
instance_number 1   
java_pool_size 67108864   
job_queue_processes 10   
local_listener VIS   
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 VIS2   
replication_dependency_tracking FALSE   
session_cached_cursors 500   
sessions 1545   
shared_pool_reserved_size 157286400   
shared_pool_size 1577058304   
thread 1   
timed_statistics TRUE   
trace_enabled FALSE   
undo_management AUTO   
undo_tablespace APPS_UNDOTS1   
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) 167,978 46.02 0.95
acks for commit broadcast(logical) 204,562 56.04 1.16
broadcast msgs on commit(actual) 199,530 54.66 1.13
broadcast msgs on commit(logical) 199,690 54.71 1.13
broadcast msgs on commit(wasted) 3,346 0.92 0.02
dynamically allocated gcs resources 0 0.00 0.00
dynamically allocated gcs shadows 0 0.00 0.00
false posts waiting for scn acks 0 0.00 0.00
flow control messages received 0 0.00 0.00
flow control messages sent 0 0.00 0.00
gcs assume cvt 0 0.00 0.00
gcs assume no cvt 223,752 61.30 1.27
gcs ast xid 208 0.06 0.00
gcs blocked converts 341,653 93.60 1.93
gcs blocked cr converts 929,429 254.62 5.26
gcs compatible basts 654 0.18 0.00
gcs compatible cr basts (global) 42,426 11.62 0.24
gcs compatible cr basts (local) 110,622 30.31 0.63
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 49,899 13.67 0.28
gcs dbwr write request msgs 40,615 11.13 0.23
gcs error msgs 0 0.00 0.00
gcs forward cr to pinged instance 0 0.00 0.00
gcs immediate (compatible) converts 38,658 10.59 0.22
gcs immediate (null) converts 120,358 32.97 0.68
gcs immediate cr (compatible) converts 81 0.02 0.00
gcs immediate cr (null) converts 214,035 58.64 1.21
gcs indirect ast 237,824 65.15 1.35
gcs lms flush pi msgs 0 0.00 0.00
gcs lms write request msgs 12,694 3.48 0.07
gcs msgs process time(ms) 68,644 18.81 0.39
gcs msgs received 2,400,114 657.52 13.59
gcs out-of-order msgs 0 0.00 0.00
gcs pings refused 877 0.24 0.00
gcs queued converts 732 0.20 0.00
gcs recovery claim msgs 0 0.00 0.00
gcs refuse xid 199 0.05 0.00
gcs regular cr 0 0.00 0.00
gcs retry convert request 0 0.00 0.00
gcs side channel msgs actual 7,234 1.98 0.04
gcs side channel msgs logical 1,446,386 396.24 8.19
gcs undo cr 0 0.00 0.00
gcs write notification msgs 5,458 1.50 0.03
gcs writes refused 822 0.23 0.00
ges msgs process time(ms) 1,137 0.31 0.01
ges msgs received 110,818 30.36 0.63
global posts dropped 0 0.00 0.00
global posts queue time 168,167 46.07 0.95
global posts queued 6,080 1.67 0.03
global posts requested 6,088 1.67 0.03
global posts sent 6,082 1.67 0.03
implicit batch messages received 64,289 17.61 0.36
implicit batch messages sent 63,716 17.46 0.36
lmd msg send time(ms) 0 0.00 0.00
lms(s) msg send time(ms) 0 0.00 0.00
messages flow controlled 224,692 61.55 1.27
messages queue sent actual 518,480 142.04 2.94
messages queue sent logical 651,851 178.58 3.69
messages received actual 2,183,358 598.14 12.36
messages received logical 2,510,939 687.88 14.22
messages sent directly 1,470,905 402.96 8.33
messages sent indirectly 421,618 115.50 2.39
messages sent not implicit batched 454,780 124.59 2.58
messages sent pbatched 505,398 138.46 2.86
msgs causing lmd to send msgs 40,230 11.02 0.23
msgs causing lms(s) to send msgs 259,746 71.16 1.47
msgs received queue time (ms) 17,661 4.84 0.10
msgs received queued 2,510,498 687.76 14.22
msgs sent queue time (ms) 24,633 6.75 0.14
msgs sent queue time on ksxp (ms) 2,571,785 704.55 14.56
msgs sent queued 633,013 173.42 3.58
msgs sent queued on ksxp 2,170,238 594.54 12.29
process batch messages received 305,051 83.57 1.73
process batch messages sent 337,564 92.48 1.91


Back to Top

 

Global CR Served Stats

Statistic Total
CR Block Requests 439,643
CURRENT Block Requests 441,574
Data Block Requests 439,643
Undo Block Requests 10,788
TX Block Requests 430,793
Current Results 801,531
Private results 73,336
Zero Results 6,127
Disk Read Results 13
Fail Results 66
Fairness Down Converts 61,257
Fairness Clears 0
Free GC Elements 0
Flushes 118,771
Flushes Queued 0
Flush Queue Full 0
Flush Max Time (us) 0
Light Works 32,387
Errors 0


Back to Top

 

Global CURRENT Served Stats

Statistic Total % <1ms % <10ms % <100ms % <1s % <10s
Pins 454,110 99.73 0.02 0.25 0.00 0.00
Flushes 6,735 88.05 11.51 0.45 0.00 0.00
Writes 54,377 21.41 53.61 24.93 0.05 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
2 data block 448,009 86.77 13.22 0.01 397,684 97.84 2.15 0.01
2 undo header 368,551 99.32 0.67 0.01 340 94.71 5.29 0.00
2 Others 11,776 99.53 0.43 0.03 16,010 98.77 1.22 0.01
2 undo block 16,314 95.37 4.63 0.00 0      


Back to Top

End of Report