WORKLOAD REPOSITORY report for

DB Name DB Id Instance Inst num Release Cluster Host
VIS 118468335 VIS 1 10.1.0.4.0 NO oasb-db.oasb.hp

  Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 967 16-Jan-08 09:35:04 2011 149.9
End Snap: 968 16-Jan-08 10:35:05 2019 163.5
Elapsed:   60.02 (mins)    
DB Time:   127.58 (mins)    

 

Report Summary

Cache Sizes (end)

Buffer Cache: 5,024M Std Block Size: 8K
Shared Pool Size: 3,104M Log Buffer: 2,048K

Load Profile

  Per Second Per Transaction
Redo size: 2,334,306.57 22,038.34
Logical reads: 117,636.65 1,110.62
Block changes: 14,509.56 136.99
Physical reads: 78.06 0.74
Physical writes: 220.17 2.08
User calls: 4,592.43 43.36
Parses: 2,642.80 24.95
Hard parses: 2.00 0.02
Sorts: 1,304.09 12.31
Logons: 1.00 0.01
Executes: 10,238.30 96.66
Transactions: 105.92  

% Blocks changed per Read: 12.33 Recursive Call %: 81.03
Rollback per transaction %: 23.60 Rows per Sort: 13.64

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.99 Redo NoWait %: 100.00
Buffer Hit %: 99.94 In-memory Sort %: 100.00
Library Hit %: 100.00 Soft Parse %: 99.92
Execute to Parse %: 74.19 Latch Hit %: 99.80
Parse CPU to Parse Elapsd %: 97.31 % Non-Parse CPU: 94.69

Shared Pool Statistics

  Begin End
Memory Usage %: 46.75 59.18
% SQL with executions>1: 86.25 83.42
% Memory for SQL w/exec>1: 83.28 65.45

Top 5 Timed Events

Event Waits Time(s) Percent Total DB Time Wait Class
CPU time   6,788 88.67  
db file sequential read 156,100 646 8.44 User I/O
log file parallel write 605,408 126 1.65 System I/O
log file sync 163,854 82 1.07 Commit
enq: TX - row lock contention 263 71 .92 Application

Main Report


Back to Top

Wait Events Statistics

Back to Top

Wait Events

Event Waits Timeouts Total Wait Time (s) Avg wait (ms) Waits /txn
db file sequential read 156,100 0 646 4 0.41
log file parallel write 605,408 0 126 0 1.59
log file sync 163,854 0 82 0 0.43
enq: TX - row lock contention 263 1 71 268 0.00
db file parallel write 99,662 0 50 1 0.26
db file scattered read 11,859 0 49 4 0.03
enq: TM - contention 15 1 33 2,188 0.00
read by other session 9,923 0 23 2 0.03
enq: TX - index contention 4,690 0 19 4 0.01
buffer busy waits 38,807 2 14 0 0.10
library cache pin 1,349 0 14 10 0.00
SQL*Net more data from client 851,227 0 13 0 2.23
SQL*Net message to client 17,320,364 0 10 0 45.40
enq: UL - contention 367 1 10 27 0.00
rdbms ipc reply 3,119 2 8 2 0.01
SQL*Net more data to client 689,649 0 7 0 1.81
latch: library cache 13,226 0 5 0 0.03
SQL*Net break/reset to client 37,138 0 5 0 0.10
direct path read temp 1,660 0 4 3 0.00
PX Deq: Signal ACK 264 84 4 15 0.00
control file sequential read 1,066 0 3 3 0.00
library cache load lock 152 0 1 10 0.00
enq: DV - contention 89 0 1 12 0.00
enq: HW - contention 52 0 1 20 0.00
control file parallel write 1,573 0 1 1 0.00
PX Deq Credit: send blkd 1,948 0 1 0 0.01
latch: library cache pin 1,375 0 1 0 0.00
direct path write temp 1,760 0 1 0 0.00
enq: RO - fast object reuse 211 0 0 2 0.00
local write wait 1,204 0 0 0 0.00
latch: cache buffers chains 1,058 0 0 0 0.00
latch: shared pool 2,123 0 0 0 0.01
PX qref latch 54 28 0 6 0.00
process startup 18 0 0 15 0.00
enq: SQ - contention 1,434 0 0 0 0.00
latch: session allocation 651 0 0 0 0.00
LGWR wait for redo copy 5,444 0 0 0 0.01
latch: In memory undo latch 1,223 0 0 0 0.00
latch: undo global data 1,191 0 0 0 0.00
latch free 283 0 0 0 0.00
direct path read 200 0 0 0 0.00
latch: library cache lock 112 0 0 0 0.00
control file single write 124 0 0 0 0.00
enq: CU - contention 11 0 0 3 0.00
enq: TX - contention 41 0 0 1 0.00
latch: redo allocation 58 0 0 0 0.00
latch: cache buffers lru chain 53 0 0 0 0.00
latch: object queue header operation 30 0 0 0 0.00
enq: TX - allocate ITL entry 11 0 0 1 0.00
latch: row cache objects 20 0 0 0 0.00
latch: enqueue hash chains 21 0 0 0 0.00
direct path write 1,376 0 0 0 0.00
undo segment extension 2,745 2,730 0 0 0.01
enq: PS - contention 33 0 0 0 0.00
latch: cache buffer handles 13 0 0 0 0.00
enq: FB - contention 13 0 0 0 0.00
latch: parallel query alloc buffer 1 0 0 1 0.00
row cache lock 4 0 0 0 0.00
PX Deq: Table Q qref 5 0 0 0 0.00
buffer deadlock 666 666 0 0 0.00
latch: messages 3 0 0 0 0.00
latch: checkpoint queue latch 1 0 0 0 0.00
SQL*Net message from client 17,320,354 0 4,078,868 235 45.40
pipe get 13,267 6,699 17,564 1,324 0.03
queue messages 1,283 970 10,179 7,934 0.00
PX Idle Wait 2,736 2,400 4,708 1,721 0.01
Queue Monitor Wait 120 120 3,511 29,255 0.00
wakeup time manager 1,475 706 3,134 2,125 0.00
PL/SQL lock timer 54 51 1,231 22,787 0.00
PX Deq: Execution Msg 7,022 27 152 22 0.02
jobq slave wait 20 20 59 2,930 0.00
PX Deq: Execute Reply 5,135 1 17 3 0.01
PX Deq: Msg Fragment 1,977 1 8 4 0.01
class slave wait 1 1 5 4,883 0.00
PX Deq Credit: need buffer 886 0 2 2 0.00
PX Deq: Table Q Normal 1,636 0 1 0 0.00
PX Deq: Parse Reply 141 0 0 0 0.00
PX Deq: Join ACK 182 0 0 0 0.00
PX Deq: Table Q Sample 68 0 0 0 0.00

Back to Wait Events Statistics
Back to Top

Background Wait Events

Event Waits Timeouts Total Wait Time (s) Avg wait (ms) Waits /txn
log file parallel write 605,400 0 126 0 1.59
db file parallel write 99,662 0 50 1 0.26
db file scattered read 2,597 0 5 2 0.01
control file sequential read 632 0 2 3 0.00
control file parallel write 1,573 0 1 1 0.00
buffer busy waits 380 0 1 1 0.00
db file sequential read 657 0 1 1 0.00
rdbms ipc reply 2,773 0 0 0 0.01
latch: library cache 902 0 0 0 0.00
LGWR wait for redo copy 5,444 0 0 0 0.01
direct path read 200 0 0 0 0.00
latch: shared pool 331 0 0 0 0.00
control file single write 124 0 0 0 0.00
process startup 2 0 0 14 0.00
latch free 90 0 0 0 0.00
latch: redo allocation 54 0 0 0 0.00
latch: library cache lock 40 0 0 0 0.00
latch: library cache pin 55 0 0 0 0.00
latch: session allocation 96 0 0 0 0.00
latch: cache buffers chains 11 0 0 1 0.00
direct path write 150 0 0 0 0.00
latch: cache buffers lru chain 18 0 0 0 0.00
latch: enqueue hash chains 16 0 0 0 0.00
latch: undo global data 10 0 0 0 0.00
latch: In memory undo latch 18 0 0 0 0.00
latch: object queue header operation 7 0 0 0 0.00
latch: messages 3 0 0 0 0.00
latch: row cache objects 1 0 0 0 0.00
rdbms ipc message 353,975 9,862 27,312 77 0.93
Queue Monitor Wait 120 120 3,511 29,255 0.00
smon timer 12,408 0 3,445 278 0.03
wakeup time manager 1,475 706 3,134 2,125 0.00

Back to Wait Events Statistics
Back to Top

Time Model Statistics

Statistic Name Time (seconds) % Total DB Time
DB time 7,654.67 100.00
DB CPU 6,787.76 88.67
sql execute elapsed time 6,363.12 83.13
PL/SQL execution elapsed time 1,923.24 25.13
inbound PL/SQL rpc elapsed time 1,684.77 22.01
background elapsed time 673.46 8.80
background cpu time 490.79 6.41
parse time elapsed 322.29 4.21
hard parse elapsed time 179.39 2.34
Java execution elapsed time 138.86 1.81
connection management call elapsed time 6.13 0.08
sequence load elapsed time 5.29 0.07
PL/SQL compilation elapsed time 2.80 0.04
failed parse elapsed time 1.34 0.02
hard parse (sharing criteria) elapsed time 0.54 0.01
hard parse (bind mismatch) elapsed time 0.51 0.01
failed parse (out of shared memory) elapsed t 0.00 0.00

Back to Wait Events Statistics
Back to Top

 

Operating System Statistics

No data exists for this section of the report.

Back to Wait Events Statistics
Back to Top

Service Statistics

Service Name DB Time (s) DB CPU (s) Physical Reads Logical Reads
VIS 6,100.70 5,440.50 173,641 347,644,193
SYS$USERS 1,555.10 1,348.30 64,287 46,515,071
SYS$BACKGROUND 0.00 0.00 25,715 29,262,908

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
VIS 137,105 51,633 57,933 5,283 0 0 13,455,494 2,610
SYS$USERS 41,276 19,804 2,655 113 0 0 5,400,286 381
SYS$BACKGROUND 5,835 903 1,407 73 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
339 335 52,445 0.01 4.42 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
263 263 2 131.61 3.44 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
245 245 54,286 0.00 3.20 9sf243fdjmdmh JDBC Thin Client begin fnd_global.apps_initiali...
218 218 4 54.38 2.84 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
188 187 37,239 0.01 2.46 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
153 152 63 2.44 2.00 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
147 147 4 36.75 1.92 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
140 78 5,000 0.03 1.84 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
131 131 100,537 0.00 1.72 4dqasqjrvudqn JDBC Thin Client begin dbms_session.reset_packa...
129 127 481 0.27 1.68 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
119 6 801 0.15 1.55 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
110 39 211 0.52 1.44 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
97 68 7,202 0.01 1.27 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
90 83 3 29.85 1.17 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
88 88 1,490,417 0.00 1.15 cgb6kp2umq52a   select t.schema, t.name, t.f...
85 85 3,139,478 0.00 1.12 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
83 83 2,422,127 0.00 1.08 6cjfxb1c4kx16   SELECT PROFILE_OPTION_ID, APP...
81 36 801 0.10 1.06 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
79 9 8,344 0.01 1.04 gmrwcu0hdcp8b JDBC Thin Client begin :v1 := CS_SR_CHILD_AUDIT...
79 78 1,000 0.08 1.03 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
77 31 16,937 0.00 1.01 3vy5h9xkfv1s5 OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...

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
335 339 52,445 0.01 4.42 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
263 263 2 131.61 3.44 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
245 245 54,286 0.00 3.20 9sf243fdjmdmh JDBC Thin Client begin fnd_global.apps_initiali...
218 218 4 54.38 2.84 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
187 188 37,239 0.01 2.46 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
152 153 63 2.41 2.00 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
147 147 4 36.75 1.92 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
131 131 100,537 0.00 1.72 4dqasqjrvudqn JDBC Thin Client begin dbms_session.reset_packa...
127 129 481 0.26 1.68 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
88 88 1,490,417 0.00 1.15 cgb6kp2umq52a   select t.schema, t.name, t.f...
85 85 3,139,478 0.00 1.12 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
83 90 3 27.62 1.17 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
83 83 2,422,127 0.00 1.08 6cjfxb1c4kx16   SELECT PROFILE_OPTION_ID, APP...
78 140 5,000 0.02 1.84 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
78 79 1,000 0.08 1.03 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
68 97 7,202 0.01 1.27 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
39 110 211 0.19 1.44 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
36 81 801 0.05 1.06 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
31 77 16,937 0.00 1.01 3vy5h9xkfv1s5 OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
9 79 8,344 0.00 1.04 gmrwcu0hdcp8b JDBC Thin Client begin :v1 := CS_SR_CHILD_AUDIT...
6 119 801 0.01 1.55 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...

Back to SQL Statistics
Back to Top

SQL ordered by Gets

Buffer Gets Executions Gets per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
26,280,222 4 6,570,055.50 6.20 217.51 217.51 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
23,285,878 4 5,821,469.50 5.50 147.00 147.00 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
21,133,378 2 10,566,689.00 4.99 263.22 263.22 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
11,923,332 1,490,417 8.00 2.81 88.38 88.38 cgb6kp2umq52a   select t.schema, t.name, t.f...
11,858,732 5,000 2,371.75 2.80 77.99 140.46 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
10,694,314 52,445 203.91 2.52 335.46 338.55 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
10,689,384 3,139,478 3.40 2.52 85.40 85.42 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
10,423,368 3 3,474,456.00 2.46 82.87 89.55 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
9,579,483 481 19,915.77 2.26 126.90 128.53 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
9,293,217 1,000 9,293.22 2.19 77.66 78.58 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
8,783,987 63 139,428.37 2.07 151.71 153.41 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
6,782,897 2,422,127 2.80 1.60 82.59 82.59 6cjfxb1c4kx16   SELECT PROFILE_OPTION_ID, APP...
6,460,098 54,286 119.00 1.52 244.64 244.84 9sf243fdjmdmh JDBC Thin Client begin fnd_global.apps_initiali...
6,326,849 12,394 510.48 1.49 63.37 64.42 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
5,206,913 37,239 139.82 1.23 187.35 187.98 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...

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
31,898 801 39.82 11.35 5.62 119.02 3dssuqfjsynrk asn.lead.server.LeadUwqAM SELECT count(1) FROM (SELECT *...
27,615 5,000 5.52 9.82 77.99 140.46 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
17,487 16,937 1.03 6.22 31.14 76.95 3vy5h9xkfv1s5 OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
10,046 801 12.54 3.57 36.24 81.40 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
9,555 1 9,555.00 3.40 14.05 16.45 bb995vqx5y1zd SQL*Plus select /*+ cursor_sharing_exa...
7,537 7,202 1.05 2.68 67.64 97.42 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
7,080 3 2,360.00 2.52 82.87 89.55 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
1,702 400 4.26 0.61 59.37 65.92 3cb7xm8ykx1qh icx.por.req.server.RequisitionAM begin :1 := POR_UTIL_PKG.subm...
1,410 5,004 0.28 0.50 57.98 64.74 00y09j4jtwps1 JDBC Thin Client declare sid number; l_enc_ke...
985 120 8.21 0.35 50.37 53.86 fumydqvpk1g21 qotSCopOverview.jsp BEGIN ASO_QUOTE_PUB_W.SUBMIT_Q...

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
3,139,478 1,262,863 0.40 0.00 0.00 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
2,422,127 1,938,699 0.80 0.00 0.00 6cjfxb1c4kx16   SELECT PROFILE_OPTION_ID, APP...
1,490,417 1,490,417 1.00 0.00 0.00 cgb6kp2umq52a   select t.schema, t.name, t.f...
1,490,225 1,490,225 1.00 0.00 0.00 8bsm049u7thjd   select min(next_date) from "AP...
981,569 981,570 1.00 0.00 0.00 bc7t6t6jfx2n7   SELECT VERSION FROM FND_CACHE_...
947,729 947,726 1.00 0.00 0.00 9dvfguzd15kpv JDBC Thin Client SELECT VALUE FROM V$NLS_PARAME...
314,550 129,296 0.41 0.00 0.00 4g5vzcyf68n9w   SELECT PROFILE_OPTION_VALUE FR...
201,630 201,630 1.00 0.00 0.00 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
164,052 164,052 1.00 0.00 0.00 0w785m9gmw41a   SELECT USERENV('SESSIONID') FR...
163,597 92,010 0.56 0.00 0.00 5as61q63aqmts   SELECT A.APPLICATION_SHORT_NAM...

Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
1,490,417 1,490,417 15.66 cgb6kp2umq52a   select t.schema, t.name, t.f...
1,490,225 700 15.66 20rc3cmapyvnz   select q_name, state, delay,...
1,490,225 1,490,225 15.66 8bsm049u7thjd   select min(next_date) from "AP...
208,449 2,422,127 2.19 6cjfxb1c4kx16   SELECT PROFILE_OPTION_ID, APP...
201,631 201,630 2.12 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
191,622 3,139,478 2.01 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
110,828 110,828 1.16 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
104,196 164,052 1.09 0w785m9gmw41a   SELECT USERENV('SESSIONID') FR...
103,741 163,596 1.09 29x3dahwzdj8b   SELECT U.USER_NAME, NVL(U.EMP...
103,741 163,597 1.09 5as61q63aqmts   SELECT A.APPLICATION_SHORT_NAM...
103,741 163,596 1.09 95pbs94n69z3d   SELECT NVL(MULTI_ORG_FLAG, 'N...
103,741 981,569 1.09 bc7t6t6jfx2n7   SELECT VERSION FROM FND_CACHE_...
103,741 163,596 1.09 bvyqm6268u2as   SELECT NODE_NAME FROM FND_NODE...
103,741 103,741 1.09 fhqzxap2n0ybj   select NAME from HR_OPERATING_...
97,099 97,099 1.02 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...

Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b) Executions % Total SQL Id SQL Module SQL Text
2,277,627 2,395 0.07 8ay7m8qubw98j POXBWVRP select * from PO_TAX_LINES_SUM...
2,054,169 138 0.06 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...
1,999,032 81 0.06 2fr5f5xzmffd8 POXPRPOP SELECT decode ( : P_sortby , ...
1,849,292 19 0.06 9trqpr8qyg7xm POXPRPOP SELECT distinct pol . line_num...
1,753,326 6,960 0.05 8q8zmrwmrccz4 OEXOETEL SELECT /*+ ORDERED USE_NL(adj ...
1,666,073 2,400 0.05 bf4kcv5v66czb ibuSRDetails.jsp SELECT 'NOTE', '2', b.creat...
1,566,077 2,399 0.05 bk9zgysk994av OEXOETEL SELECT /*+ ORDERED USE_NL(qpq ...
1,398,445 1 0.04 0tdy0gjxn6wrb RAXMTR select /*+ cursor_sharing_exa...
1,370,522 1 0.04 dkvvgc7c1wksu RAXTRX select CONTRACT_ID||'~'||L.AGR...
1,362,297 1 0.04 bb995vqx5y1zd SQL*Plus select /*+ cursor_sharing_exa...
1,309,501 4,799 0.04 fc74w8q18dtdu OEXOETEL SELECT /*+ ORDERED USE_NL(QPQ ...
1,275,536 400 0.04 2nfc4vng01c8t POXPOVPO SELECT END_DATE, START_DATE, R...
1,241,350 81 0.04 3c086a4sm741b ARXAGE select decode ( UPPER ( : p_or...
1,234,065 1 0.04 496za9aq6dd71 RAXMTR select /*+ cursor_sharing_exa...
1,219,687 400 0.04 0nr5vc1336tr9 APXINWKB SELECT DESTINATION_TYPE_CODE, ...
1,164,050 399 0.04 c1j60ttadh9jj ap.oie.history.server.ExpenseReportsPageAM SELECT * FROM (SELECT TO_CHAR(...
1,131,193 1 0.03 879tscdjdfycd RAXMTR select /*+ cursor_sharing_exa...
1,057,820 37,780 0.03 25bkagv1j2xf7 INVTTMTX INSERT INTO MTL_MATERIAL_TRAN...

Back to SQL Statistics
Back to Top

 

SQL ordered by Version Count

No data exists for this section of the report.

Back to SQL Statistics
Back to Top

 

Complete List of SQL Text

SQL Id SQL Text
00y09j4jtwps1 declare sid number; l_enc_key icx_sessions.enc_key%type := null; l_mac_key icx_sessions.mac_key%type := null;begin sid := fnd_session_management.createSession( p_user_id => :1, c_mode_code => :2, p_server_id => :3); if sid > -1 then select enc_key, mac_key into l_enc_key, l_mac_key from icx_sessions where session_id = sid; end if; :4 := sid; :5 := l_enc_key; :6 := l_mac_key;end;
0nr5vc1336tr9 SELECT DESTINATION_TYPE_CODE, DISTRIBUTION_LINE_NUMBER, LINE_TYPE, AMOUNT, VAT_CODE, TAX_CODE_ID, TAX_CODE_OVERRIDE_FLAG, TAX_RECOVERY_RATE, TAX_RECOVERABLE_FLAG, TAX_RECOVERY_OVERRIDE_FLAG, ACCOUNTING_DATE, AMOUNT_INCLUDES_TAX_FLAG, ASSETS_TRACKING_FLAG, DESCRIPTION, TYPE_1099, INCOME_TAX_REGION, QUANTITY_INVOICED, UNIT_PRICE, PO_NUMBER, PO_LINE_NUMBER, PO_LINE_LOCATION_NUMBER, PO_DISTRIBUTION_NUMBER, RECEIPT_NUMBER, PROJECT, TASK, AWARD_ID, EXPENDITURE_TYPE, EXPENDITURE_ORGANIZATION_NAME, EXPE NDITURE_ITEM_DATE, PA_QUANTITY, UNIT_OF_MEASURE, PREPAY_DISTRIBUTION_ID, PREPAY_NUMBER, PREPAY_DIST_NUMBER, PREPAY_AMOUNT_REMAINING, PREPAY_TAX_PARENT_ID, INVOICE_INCLUDES_PREPAY_FLAG, STAT_AMOUNT, AWT_GROUP_NAME, AWT_CREATION_METHOD, POSTED_STATUS_DISP, START_EXPENSE_DATE, MERCHANT_DOCUMENT_NUMBER, MERCHANT_NAME, MERCHANT_TAX_REG_NUMBER, MERCHANT_TAXPAYER_ID, MERCHANT_REFERENCE, COUNTRY_OF_SUPPLY, USSGL_TRANSACTION_CODE, LAST_UPDATE_DATE, CREATION_DATE, ROW_ID, ACCRUAL_POSTED_FLAG, ACCTS_PAY_CO DE_COMBINATION_ID, ASSETS_ADDITION_FLAG, INVOICE_DISTRIBUTION_ID, ATTRIBUTE14, ATTRIBUTE1, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE15, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE_CATEGORY, AWT_FLAG, AWT_GROSS_AMOUNT, AWT_GROUP_ID, AWT_INVOICE_ID, AWT_ORIGIN_GROUP_ID, AWT_TAX_RATE_ID, BASE_AMOUNT, BASE_INVOICE_PRICE_VARIANCE, BASE_QUANTITY_VARIANCE, BATCH_ID, CASH_JE_BATCH_ID, CASH_POSTED_FLAG, CREATED_BY, DIST_COD E_COMBINATION_ID, ENCUMBERED_FLAG, EXCHANGE_DATE, EXCHANGE_RATE, EXCHANGE_RATE_TYPE, EXCHANGE_RATE_VARIANCE, EXPENDITURE_ORGANIZATION_ID, INVOICE_ID, INVOICE_PRICE_VARIANCE, JE_BATCH_ID, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, LINE_TYPE_LOOKUP_CODE, MATCH_STATUS_FLAG, ORG_ID, OTHER_INVOICE_ID, PACKET_ID, PARENT_INVOICE_ID, PA_ADDITION_FLAG, PERIOD_NAME, POSTED_AMOUNT, POSTED_BASE_AMOUNT, POSTED_FLAG, PO_ACCRUE_ON_RECEIPT_FLAG, PO_CODE_COMBINATION_ID, PO_DISTRIBUTION_ID, PRICE_VAR_CODE_COMBINATION_ID , PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, PROJECT_ACCOUNTING_CONTEXT, PROJECT_ID, QUANTITY_VARIANCE, AMOUNT_VARIANCE, BASE_AMOUNT_VARIANCE, RATE_VAR_CODE_COMBINATION_ID, REFERENCE_1, REFERENCE_2, REQUEST_ID, REVERSAL_FLAG, SET_OF_BOOKS_ID, SET_OF_BOOKS_SHORT_NAME, TASK_ID, TAX_CALCULATED_FLAG, USSGL_TRX_CODE_CONTEXT, INVOICE_NUM, PARENT_INVOICE_NUM, BATCH_NAME, INCOME_TAX_REGION_NAME, POSTED_STATUS, JE_BATCH_NAME, CASH_JE_BATCH_NAME, CHART_OF_ACCOUNTS_ID, SET_OF_BOOKS_NAME, PO_H EADER_ID, PO_LINE_ID, LINE_LOCATION_ID, RCV_TRANSACTION_ID, UNIT_MEAS_LOOKUP_CODE, TAX_TYPE, MATCHED_UOM_LOOKUP_CODE, PARENT_REVERSAL_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, GLOB AL_ATTRIBUTE18, GLOBAL_ATTRIBUTE19, GLOBAL_ATTRIBUTE20, PRICE_CORRECT_INV_ID, PRICE_CORRECT_QTY, MATCHING_BASIS, DIST_MATCH_TYPE, WEB_PARAMETER_ID FROM AP_INVOICE_DISTRIBUTIONS_V WHERE invoice_id = :1 AND -1=-1 order by DISTRIBUTION_LINE_NUMBER, LINE_TYPE, AMOUNT, DECODE(LINE_TYPE_LOOKUP_CODE, 'ITEM', 1, 'PREPAY', 3, 'AWT', 4, 2)
0tdy0gjxn6wrb select /*+ cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring parallel(t, 8) parallel_index(t, 8) */ count(*), count("HEADER_GDF_ATTRIBUTE21"), count(distinct "HEADER_GDF_ATTRIBUTE21"), sum(vsize("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(vsize("HE ADER_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("HEADER_GDF_ATTRIBUTE27")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE27", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(su bstrb("HEADER_GDF_ATTRIBUTE27", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE28"), count(distinct "HEADER_GDF_ATTRIBUTE28"), sum(vsize("HEADER_GDF_ATTRIBUTE28")), substrb(dump(min(substrb("HEADER_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LINE_GDF_ATTRIBUTE2")), substr b(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("LINE_GDF_ATTRIBUTE3"), count(distinct "LINE_GDF_ATTRIBUTE3"), sum(vsize("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(vsize("LINE_GDF_A TTRIBUTE4")), 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(vsize("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"), s um(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LINE_GDF_ATTRIBUTE15")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(su bstrb("LINE_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE16"), count(distinct "LINE_GDF_ATTRIBUTE16"), sum(vsize("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(vsize("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(vsize("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(vsize("LINE_GDF_ATTRIBUTE19")), substrb(dump(min(substrb("LINE_GDF_ATT RIBUTE19", 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(vsize("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(vsize("RESET_TRX_DATE_FLAG")), substrb(dum p(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(vsize("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(vsize("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(vsize("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 "WAREHOUSE_ID"), sum(vsize("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(vsize("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(vsize("CONS_BILLING_NUMBER")), substrb(du mp(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(vsize("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(vsize("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(vsize("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"), coun t(distinct "CONTRACT_ID"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("SOURCE_DATA_KEY5")), substrb(dump(min(substrb("SOURCE_DATA_KEY5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY5", 1, 32)), 16, 0, 32), 1, 120), count("INVOICED_LINE_ACCTG_LEVEL"), count(distinct "INVOICED_LINE_ACCTG_LEVEL"), sum(vsize("INVOICED_LINE_ACCTG_L EVEL")), 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("ATTRIBUTE4"), count(distinct "ATTRIBUTE4"), sum(vsize("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(vsize("ATTRIBUTE5")), substrb(dump(min(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE6"), count(distinct "ATTRIBUTE6"), sum(vsize("ATTRIBUTE6")), substrb(dump(min(substrb("ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE7"), count(distinct "ATTRIBUTE7"), sum(vsize("ATTRIBUTE7")), substrb(dump(min(substrb("ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 1 20), count("ATTRIBUTE8"), count(distinct "ATTRIBUTE8"), sum(vsize("ATTRIBUTE8")), substrb(dump(min(substrb("ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE9"), count(distinct "ATTRIBUTE9"), sum(vsize("ATTRIBUTE9")), substrb(dump(min(substrb("ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE10"), count(distinct "ATTRIBUTE10"), sum(vsize("A TTRIBUTE10")), substrb(dump(min(substrb("ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE11"), count(distinct "ATTRIBUTE11"), sum(vsize("ATTRIBUTE11")), substrb(dump(min(substrb("ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE12"), count(distinct "ATTRIBUTE12"), sum(vsize("ATTRIBUTE12")), substrb(dump(min(substrb("ATTRIBUTE12", 1, 32 )), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE13"), count(distinct "ATTRIBUTE13"), sum(vsize("ATTRIBUTE13")), substrb(dump(min(substrb("ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE14"), count(distinct "ATTRIBUTE14"), sum(vsize("ATTRIBUTE14")), substrb(dump(min(substrb("ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE 14", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE15"), count(distinct "ATTRIBUTE15"), sum(vsize("ATTRIBUTE15")), substrb(dump(min(substrb("ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE_CATEGORY"), count(distinct "HEADER_ATTRIBUTE_CATEGORY"), sum(vsize("HEADER_ATTRIBUTE_CATEGORY")), substrb(dump(min("HEADER_ATTRIBUTE_CATEGORY"), 16, 0, 32), 1, 120), substrb(dump(max("HEADER_ATTRIBUTE_CATEGORY"), 16, 0, 3 2), 1, 120), count("HEADER_ATTRIBUTE1"), count(distinct "HEADER_ATTRIBUTE1"), sum(vsize("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(vsize("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, 3 2), 1, 120), count("HEADER_ATTRIBUTE3"), count(distinct "HEADER_ATTRIBUTE3"), sum(vsize("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(vsize("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, 3 2), 1, 120), count("HEADER_ATTRIBUTE5"), count(distinct "HEADER_ATTRIBUTE5"), sum(vsize("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(vsize("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, 3 2), 1, 120), count("HEADER_ATTRIBUTE7"), count(distinct "HEADER_ATTRIBUTE7"), sum(vsize("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(vsize("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, 3 2), 1, 120), count("HEADER_ATTRIBUTE9"), count(distinct "HEADER_ATTRIBUTE9"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("HEADER_ATTRIBUTE14")), substrb(dump(min(substrb("HEADER_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_ATTRIB UTE14", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE15"), count(distinct "HEADER_ATTRIBUTE15"), sum(vsize("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(vsize("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), co unt("INTERNAL_NOTES"), count(distinct "INTERNAL_NOTES"), sum(vsize("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(vsize("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_TRANSA CTION_CODE_CONTEXT"), count(distinct "USSGL_TRANSACTION_CODE_CONTEXT"), sum(vsize("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(vsize("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(vsize("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(vsize("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(dist inct "CUSTOMER_BANK_ACCOUNT_NAME"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LINK_TO_LINE_ATTRIBUTE10")), substrb(dump(min("L INK_TO_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE10"), 16, 0, 32), 1, 120), count("LINK_TO_LINE_ATTRIBUTE11"), count(distinct "LINK_TO_LINE_ATTRIBUTE11"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(distinct "LINK_TO_LINE_ATTRIBUTE8"), sum(vsize("LINK_TO_LINE_ATTRIBUTE8")), subs trb(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(vsize("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(vsize("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(vsize("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(vsize("REFE RENCE_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(vsize("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_ATTR IBUTE14"), sum(vsize("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(vsize("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(dist inct "REFERENCE_LINE_ATTRIBUTE8"), sum(vsize("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(vsize("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_ATTRIBUT E10"), count(distinct "INTERFACE_LINE_ATTRIBUTE10"), sum(vsize("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(vsize("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), coun t("INTERFACE_LINE_ATTRIBUTE12"), count(distinct "INTERFACE_LINE_ATTRIBUTE12"), sum(vsize("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(vsize("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(vsize("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(vsize("INTERFACE_LINE_ATTRIBUTE15")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), substrb(dump(max("INT ERFACE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE9"), count(distinct "INTERFACE_LINE_ATTRIBUTE9"), sum(vsize("INTERFACE_LINE_ATTRIBUTE9")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE9"), 16, 0, 32), 1, 120), count("VAT_TAX_ID"), count(distinct "VAT_TAX_ID"), sum(vsize("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("REAS ON_CODE_MEANING"), count(distinct "REASON_CODE_MEANING"), sum(vsize("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("LAST_PERIOD_TO_CREDIT"), count(distinct "LAST_PERIOD_TO_CREDIT"), sum(vsize("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(vsize("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(vsize("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(vs ize("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(vsize("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(vsize("TAX_EXEMPT_REA SON_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LAST_UPDATE_LOGIN")), substrb(dump(min("L AST_UPDATE_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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, 120), count("HEADER_GDF_ATTRIBUTE2"), count(distin ct "HEADER_GDF_ATTRIBUTE2"), sum(vsize("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(vsize("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), coun t("HEADER_GDF_ATTRIBUTE4"), count(distinct "HEADER_GDF_ATTRIBUTE4"), sum(vsize("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(vsize("HEADER_GDF_ATTRIBUTE5")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATTRIBU TE5", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE6"), count(distinct "HEADER_GDF_ATTRIBUTE6"), sum(vsize("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(vsize("HEADER_GDF_ATTRIBUTE7")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), subs trb(dump(max(substrb("HEADER_GDF_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE8"), count(distinct "HEADER_GDF_ATTRIBUTE8"), sum(vsize("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(vsize("HEADER_GDF_ATTRIBUTE9")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBU TE9", 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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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("HE ADER_GDF_ATTRIBUTE15"), count(distinct "HEADER_GDF_ATTRIBUTE15"), sum(vsize("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(vsize("HEADER_GDF_ATTRIBUTE16")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE16", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GDF_ATT RIBUTE16", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE17"), count(distinct "HEADER_GDF_ATTRIBUTE17"), sum(vsize("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(vsize("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(vsize("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(vsize("HEADER_GDF_ATTRIBUTE20")), substrb(dump(min(subs trb("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("RECEIPT_METHOD_NAME"), count(distinct "RECEIPT_METHOD_NAME"), sum(vsize("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(vsize("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(vsize("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_R ATE"), sum(vsize("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(vsize("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"), substrb(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(vsize("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(vsize("TRX_NUMBER")), substrb(dump(min("TRX_NUMBER"), 16, 0, 32), 1, 120), substr b(dump(max("TRX_NUMBER"), 16, 0, 32), 1, 120), count("LINE_NUMBER"), count(distinct "LINE_NUMBER"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("PRINTING_OPTION")), substrb(dump(min("PRINTING_OPTION"), 16, 0, 32), 1, 120), substrb(dump(max("PRINTING_OPTION"), 16, 0, 32), 1, 120) from "AR"."RA_INTERFACE_LINES_ALL" sample ( 10.0000000000) t
0w785m9gmw41a SELECT USERENV('SESSIONID') FROM SYS.DUAL
0z318y6g3uagc declare l_retstat varchar2 ( 3 ) ; l_msg_data varchar2 ( 244 ) ; l_msg_cnt number ; l_trx_cnt number ; BEGIN :retval := INV_TXN_MANAGER_PUB . process_Transactions ( p_api_version => 1.0 , p_commit => fnd_api . g_true , x_return_status => l_retstat , x_msg_count => l_msg_cnt , x_msg_data => l_msg_data , x_trans_count => l_trx_cnt , p_table => 1 , p_header_id => :header_id ) ; END ;
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;
20rc3cmapyvnz select q_name, state, delay, expiration, rowid, msgid, dequeue_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no, priority, exception_qschema, exception_queue, retry_count, corrid, time_manager_info, sender_name, sender_address, sender_protocol from "APPLSYS"."WF_DEFERRED_TABLE_M" where msgid = :1
25bkagv1j2xf7 INSERT INTO MTL_MATERIAL_TRANSACTIONS ( TRANSACTION_ID, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, LAST_UPDATE_LOGIN, REQUEST_ID, PROGRAM_ID, PROGRAM_APPLICATION_ID, INVENTORY_ITEM_ID, ORGANIZATION_ID, SUBINVENTORY_CODE, LOCATOR_ID, REVISION, TRANSACTION_TYPE_ID, TRANSACTION_ACTION_ID, TRANSACTION_SOURCE_TYPE_ID, TRANSACTION_SOURCE_ID, TRANSACTION_SOURCE_NAME, TRANSACTION_QUANTITY, TRANSACTION_UOM, PRIMARY_QUANTITY, TRANSACTION_DATE, TRANSACTION_COST, ACTUAL_COST, PRIOR_COST, NEW_COST, QUANTITY_ADJUSTED, VARIANCE_AMOUNT, TRANSFER_COST, TRANSPORTATION_COST, TRANSFER_TRANSACTION_ID, TRANSFER_ORGANIZATION_ID, TRANSFER_SUBINV ENTORY, TRANSFER_LOCATOR_ID , ACCT_PERIOD_ID, TRANSACTION_REFERENCE, REASON_ID, REPETITIVE_LINE_ID, DEPARTMENT_ID, OPERATION_SEQ_NUM, SHIPMENT_NUMBER, FREIGHT_CODE, WAYBILL_AIRBILL, TRX_SOURCE_LINE_ID, MOVE_ORDER_LINE_ID , COSTED_FLAG , INVOICED_FLAG , DISTRIBUTION_ACCOUNT_ID , ENCUMBRANCE_ACCOUNT , ENCUMBRANCE_A MOUNT , COST_UPDATE_ID , PROJECT_ID , TASK_ID , TO_PROJECT_ID , TO_TASK_ID , LPN_ID , TRANSFER_LPN_ID, CONTENT_LPN_ID , PUT_AWAY_STRATEGY_ID , PUT_AWAY_RULE_ID , PICK_STRATEGY_ID , PICK_RULE_ID , CREATED_BY , COST_GROUP_ID , TRANSFER_COST_GROUP_ID , TRANSACTION_SET_ID , PM_COST_COLLECTED , COST_CATE GORY_ID , ORGANIZATION_TYPE , TRANSFER_ORGANIZATION_TYPE , OWNING_ORGANIZATION_ID , OWNING_TP_TYPE , PLANNING_ORGANIZATION_ID , PLANNING_TP_TYPE , XFR_OWNING_ORGANIZATION_ID , TRANSFER_OWNING_TP_TYPE , XFR_PLANNING_ORGANIZATION_ID , TRANSFER_PLANNING_TP_TYPE , SECONDARY_TRANSACTION_QUANTITY , SECONDARY_UOM_CODE, PICK_SLIP_NUMBER, PICKING_LINE_I D, VENDOR_LOT_NUMBER, SOURCE_CODE, SOURCE_LINE_ID, MOVE_TRANSACTION_ID, RCV_TRANSACTION_ID, COMPLETION_TRANSACTION_ID, CURRENCY_CODE, CURRENCY_CONVERSION_RATE, CURRENCY_CONVERSION_DATE, CURRENCY_CONVERSION_TYPE, MATERIAL_ACCOUNT, MATERIAL_OVERHEAD_ACCOUNT, RESOURCE_ACCOUNT, OUTSIDE_PROCESSING_ACCOUNT, OVERHEAD_ACCOUNT, MOV EMENT_ID, SOURCE_PROJECT_ID, SOURCE_TASK_ID, PA_EXPENDITURE_ORG_ID, EXPENDITURE_TYPE, TRANSFER_PERCENTAGE, ORG_COST_GROUP_ID, COST_TYPE_ID, VALUE_CHANGE, PERCENTAGE_CHANGE, EMPLOYEE_CODE, MASTER_SCHEDULE_UPDATE_CODE, TRX_SOURCE_DELIVERY_ID, RECEIVING_DOCUMENT, TRANSPORTATION_DIST_ACCOUNT, NUMBER_OF_CONTAINERS, RMA_LINE_ID, CYCLE_COUNT_ID, PHYSICAL_ADJUSTMENT_ID, FLOW_SCHEDULE, FINAL_COMPLETION_FLAG, QA_COLLECTION_ID, OVERCOMPLETION_TRANSACTION_QTY, OVERCOMPLETION_PRIMARY_QTY, OVERCOMPLETION_TRANSACTION_ID, COMMON_BOM_SEQ_ID, COMMON_ROUTING_SEQ_ID, MVT_STAT_STATUS, PICK_SLIP_DATE, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, SHIP_TO_LOCATION_ID, TRANSACTION_MODE, TRANSACTION_BATCH_ID, TRANSACTION_BATCH_SEQ, FOB_POINT, INTRANSIT_ACCOUNT, TRX_FLOW_HEADER_ID, L OGICAL_TRX_TYPE_CODE, ORIGINAL_TRANSACTION_TEMP_ID, SHORTAGE_PROCESS_CODE) VALUES(:1, SYSDATE, :2, SYSDATE, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, ROUND(:17, 5), :18, ROUND(:19, 5), nvl(:20, sysdate), :21, :22, :23, :24, :25, :26, :27, :28, :29, :30, :31, :32, :33, :34, :35, :36, :37, :38, :39, :40, :41, :42, :43, 'N', 'N', :44, :45, :46, :47, :48, :49, :50, :51, :52, :53, :54, :55, :56, :57, :58, :59, :60, :61, :62, :63, :64, :65, :66, :67, :68, :69, :70, :71, :72, :73, :74, :75, :76, :77, :78, :79, :80, :81, :82, :83, :84, :85, :86, :87, :88, :89, :90, :91, :92, :93, :94, :95, :96, :97, :98, :99, :100, :101, :102, :103, :104, :105, :106, :107, :108, :109, :110, :111, :112, :113, :114, :115, :116, :117, :118, :119, :120, 'NEW', :121, :122, :123, :124, :125, :126, :127, :128, :129, :130, :131, :132, :133, :134, :135, :136, :137, :138, :139, :140, :141, :142, :143, :144, :145, :146, :147)
29x3dahwzdj8b SELECT U.USER_NAME, NVL(U.EMPLOYEE_ID, -1), NVL(U.CUSTOMER_ID, -1), NVL(U.SUPPLIER_ID, -1), NVL(U.PERSON_PARTY_ID, -1) FROM FND_USER U WHERE U.USER_ID = :B1
2fjd6cndjby9p INSERT INTO RA_CUST_TRX_LINE_GL_DIST ( CUSTOMER_TRX_LINE_ID, CUSTOMER_TRX_ID, CODE_COMBINATION_ID, SET_OF_BOOKS_ID, ACCOUNT_CLASS, ACCOUNT_SET_FLAG, PERCENT, AMOUNT, ACCTD_AMOUNT, GL_DATE, CUST_TRX_LINE_SALESREP_ID, REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, POSTING_CONTROL_ID, ORIGINAL_GL_DATE, CUST_TRX_LINE_GL_DIST_ID ) SELECT /*+ ORDERED */ ASS.CUSTOMER_TRX_LINE_ID, LINES.CUSTOMER_TRX _ID, DIST.CODE_COMBINATION_ID, :B12 , ASS.ACCOUNT_CLASS, 'N', ROUND( (DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * DECODE(ASS.AMOUNT, 0, DECODE(ASS.ACCOUNT_CLASS, 'REV', DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, 1, -1 ), DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, -1, 1 ) ), ASS.AMOUNT ), FC.PRECISION), ROUND( ((DIST.PERCENT/100) * DECODE(ASS.AMOUNT, 0, DECODE(ASS.ACCOUNT_CLASS, 'REV', DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, 1, -1) , DECODE( LINES.PREVIOUS_CUSTOMER_TRX_ID, NULL, -1, 1) ), ASS.AMOUNT) ) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT) / DECODE(LINES.EXTENDED_AMOUNT, 0, 1, LINES.EXTENDED_AMOUNT)) * DECODE(ASS.AMOUNT, 0, 0, 100), 4), DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ((DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT), DECODE(:B10 , NULL, ROUND( NVL(HEADER.EXCHANGE_ RATE, 1) * DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ((DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT ), :B11 ), ROUND( ( NVL(HEADER.EXCHANGE_RATE, 1) * DECODE(FC.MINIMUM_ACCOUNTABLE_UNIT, NULL, ROUND( (DIST.PERCENT/100) * ASS.AMOUNT, FC.PRECISION), ROUND( ( (DIST.PERCENT/100) * ASS.AMOUNT) / FC.MINIMUM_ACCOUNTABLE_UNIT) * FC.MINIMUM_ACCOUNTABLE_UNIT ) ) / :B10 ) * :B10 ), DEC ODE(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.CUST OMER_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_D IST 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 , 'RELE ASE' , '-' || 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_vendo r , 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_b ill_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, HEAD ER_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, CLOSE D_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' AN D :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 (SEL ECT 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 P OEH.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
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 . excha nge_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_bu cket_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_custome r_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_I D , : 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 am ount_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 , 'DISP UTE_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 A CC' ) 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.paym ent_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 ( gre atest ( : 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 , ce il ( : 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.cu st_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 CustPa rty , 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.sta tus_code = :4 ORDER BY age ) )
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
496za9aq6dd71 select /*+ cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring parallel(t, 8) parallel_index(t, 8) */ count(*), count("HEADER_GDF_ATTRIBUTE21"), count(distinct "HEADER_GDF_ATTRIBUTE21"), sum(vsize("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(vsize("HE ADER_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("HEADER_GDF_ATTRIBUTE27")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE27", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(su bstrb("HEADER_GDF_ATTRIBUTE27", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE28"), count(distinct "HEADER_GDF_ATTRIBUTE28"), sum(vsize("HEADER_GDF_ATTRIBUTE28")), substrb(dump(min(substrb("HEADER_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LINE_GDF_ATTRIBUTE2")), substr b(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("LINE_GDF_ATTRIBUTE3"), count(distinct "LINE_GDF_ATTRIBUTE3"), sum(vsize("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(vsize("LINE_GDF_A TTRIBUTE4")), 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(vsize("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"), s um(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LINE_GDF_ATTRIBUTE15")), substrb(dump(min(substrb("LINE_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(su bstrb("LINE_GDF_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("LINE_GDF_ATTRIBUTE16"), count(distinct "LINE_GDF_ATTRIBUTE16"), sum(vsize("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(vsize("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(vsize("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(vsize("LINE_GDF_ATTRIBUTE19")), substrb(dump(min(substrb("LINE_GDF_ATT RIBUTE19", 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(vsize("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(vsize("RESET_TRX_DATE_FLAG")), substrb(dum p(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(vsize("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(vsize("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(vsize("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("TRANSLATED_DESCRIPTION"), count(distinct "TRANSLATED_DESCRIPTION"), sum(vsi ze("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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"), coun t(distinct "SOURCE_DATA_KEY1"), sum(vsize("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(vsize("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(vsize("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(vsize("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_D ATA_KEY5"), sum(vsize("SOURCE_DATA_KEY5")), substrb(dump(min(substrb("SOURCE_DATA_KEY5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_DATA_KEY5", 1, 32)), 16, 0, 32), 1, 120), count("INVOICED_LINE_ACCTG_LEVEL"), count(distinct "INVOICED_LINE_ACCTG_LEVEL"), sum(vsize("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("ATTRIBUTE4"), count(distinct "ATTRIBUTE4" ), sum(vsize("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(vsize("ATTRIBUTE5")), substrb(dump(min(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE6"), count(distinct "ATTRIBUTE6"), sum(vsize("ATTRIBUTE6")), substrb(dump(min(substrb("ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE7"), count(distinct "ATTRIBUTE7"), sum(vsize("ATTRIBUTE7")), substrb(dump(min(substrb("ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE8"), count(distinct "ATTRIBUTE8"), sum(vsize("ATTRIBUTE8")), substrb(dump(min(substrb("ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE9"), count(distinct "ATTRIBUTE9"), sum(vsize("ATTRIBUTE9")), substrb(dump(min(substrb("ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE10"), count(distinct "ATTRIBUTE10"), sum(vsize("ATTRIBUTE10")), substrb(dump(min(substrb("ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE11"), count(distinct " ATTRIBUTE11"), sum(vsize("ATTRIBUTE11")), substrb(dump(min(substrb("ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE12"), count(distinct "ATTRIBUTE12"), sum(vsize("ATTRIBUTE12")), substrb(dump(min(substrb("ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE13"), count(distinct "ATTRIBUTE13"), sum(vsize("ATTRIBUTE13")), substrb(dump(min(s ubstrb("ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE14"), count(distinct "ATTRIBUTE14"), sum(vsize("ATTRIBUTE14")), substrb(dump(min(substrb("ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE15"), count(distinct "ATTRIBUTE15"), sum(vsize("ATTRIBUTE15")), substrb(dump(min(substrb("ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb( dump(max(substrb("ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE_CATEGORY"), count(distinct "HEADER_ATTRIBUTE_CATEGORY"), sum(vsize("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_ATTRIBUTE2"), count(distinct "HEADER_ATTRIBUTE2"), sum(vsize("HEADER_ATTRIBUTE2")), substrb(dump(min(substrb("HEADER_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), substr b(dump(max(substrb("HEADER_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE3"), count(distinct "HEADER_ATTRIBUTE3"), sum(vsize("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(vsize("HEADER_ATTRIBUTE4")), substrb(dump(min(substrb("HEADER_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), substr b(dump(max(substrb("HEADER_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE5"), count(distinct "HEADER_ATTRIBUTE5"), sum(vsize("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(vsize("HEADER_ATTRIBUTE6")), substrb(dump(min(substrb("HEADER_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substr b(dump(max(substrb("HEADER_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE7"), count(distinct "HEADER_ATTRIBUTE7"), sum(vsize("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(vsize("HEADER_ATTRIBUTE8")), substrb(dump(min(substrb("HEADER_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substr b(dump(max(substrb("HEADER_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE9"), count(distinct "HEADER_ATTRIBUTE9"), sum(vsize("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(vsize("HEADER_ATTRIBUTE10")), substrb(dump(min(substrb("HEADER_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), su bstrb(dump(max(substrb("HEADER_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_ATTRIBUTE11"), count(distinct "HEADER_ATTRIBUTE11"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("INITIAL_CUSTOMER_TRX_ID")), substrb(dump(min("INITIAL_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("INITIAL_CU STOMER_TRX_ID"), 16, 0, 32), 1, 120), count("USSGL_TRANSACTION_CODE_CONTEXT"), count(distinct "USSGL_TRANSACTION_CODE_CONTEXT"), sum(vsize("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(vsize("USSGL_TRANSACTION_CODE")), substrb(dump(min("USSGL_TRANSACTION_CODE"), 16, 0, 32), 1, 120), s ubstrb(dump(max("USSGL_TRANSACTION_CODE"), 16, 0, 32), 1, 120), count("ACCTD_AMOUNT"), count(distinct "ACCTD_AMOUNT"), sum(vsize("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(vsize("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(vsize("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_NAME"), count(distinct "UOM_NAME"), sum(vsize("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(vsize("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(vsize("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), c ount("LINK_TO_LINE_ATTRIBUTE11"), count(distinct "LINK_TO_LINE_ATTRIBUTE11"), sum(vsize("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(vsize("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, 1 20), count("LINK_TO_LINE_ATTRIBUTE13"), count(distinct "LINK_TO_LINE_ATTRIBUTE13"), sum(vsize("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(vsize("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(vsize("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(distinct "LINK_TO_LINE_ATTRIBUTE8"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("REFERENCE_LINE_ATTRIBUTE12")), substrb(dump(min("REFERENCE_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), substrb(dump(max("RE FERENCE_LINE_ATTRIBUTE12"), 16, 0, 32), 1, 120), count("REFERENCE_LINE_ATTRIBUTE13"), count(distinct "REFERENCE_LINE_ATTRIBUTE13"), sum(vsize("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(vsize("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(vsize("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(vsize("REFERENCE_LINE_ATTRIBUTE8")), substrb(dump(min("REFERENCE_LINE_ATTRIBU TE8"), 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(vsize("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_ATTRIBUTE15"), count(distinct "INTERFACE_LINE_ATTRIBUTE15"), sum(vsize("INTERFACE_LINE_ATTRIBUTE15")), substrb(dump(min("INT ERFACE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE15"), 16, 0, 32), 1, 120), count("VAT_TAX_ID"), count(distinct "VAT_TAX_ID"), sum(vsize("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(vsize("REASON_CODE_MEANING")), substrb(dump(min(substrb("REASON_CODE_MEANING", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(s ubstrb("REASON_CODE_MEANING", 1, 32)), 16, 0, 32), 1, 120), count("LAST_PERIOD_TO_CREDIT"), count(distinct "LAST_PERIOD_TO_CREDIT"), sum(vsize("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(vsize("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(vsize("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_REASON_CODE"), count(distinct "TAX_EXEMPT_REASON_CODE"), sum(vsize("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_EX EMPT_REASON_CODE_MEANING"), count(distinct "TAX_EXEMPT_REASON_CODE_MEANING"), sum(vsize("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(vsize("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(vsize("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("LAST_UPDATE_LOGIN"), count(distinct "LAST_UPDATE_LOGIN"), sum(vsize("LAST_UPDATE_LOGIN")), substrb(dump(min("LAST_UPDATE_LOGIN"), 16, 0, 32), 1, 120), substrb(dump(max("LAST_UPDATE_LOGIN"), 16, 0, 32), 1, 120), count("LOCATION_SEGMENT_ID"), count(d istinct "LOCATION_SEGMENT_ID"), sum(vsize("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(vsize("MOVEMENT_ID")), substrb(dump(min("MOVEMENT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("MOVEMENT_ID"), 16, 0, 32), 1, 120), count("AMOUNT_INCLUDES_TAX_FLAG"), count(distinct "AMOUNT_INCLUDES_TAX_FLAG"), sum(vsize("AMOUNT_INCLUDES_TAX_FLAG")), su bstrb(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(vsize("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(vsize("HEADER_GDF_ATTRIBUTE1")), subst rb(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, 120), count("HEADER_GDF_ATTRIBUTE2"), count(distinct "HEADER_GDF_ATTRIBUTE2"), sum(vsize("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"), su m(vsize("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(vsize("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"), cou nt(distinct "HEADER_GDF_ATTRIBUTE5"), sum(vsize("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(vsize("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, 1 20), count("HEADER_GDF_ATTRIBUTE7"), count(distinct "HEADER_GDF_ATTRIBUTE7"), sum(vsize("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(vsize("HEADER_GDF_ATTRIBUTE8")), substrb(dump(min(substrb("HEADER_GDF_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("HEADER_GD F_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("HEADER_GDF_ATTRIBUTE9"), count(distinct "HEADER_GDF_ATTRIBUTE9"), sum(vsize("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(vsize("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(vsize("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(vsize("HEADER_GDF_ATTRIBUTE12")), substrb(dump(min(subst rb("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(vsize("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(vsize( "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(vsize("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"), co unt(distinct "HEADER_GDF_ATTRIBUTE16"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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("RECEIPT_METHOD_NAME"), count(distinct "RECEIPT_METHOD_NAME"), sum(vsize("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(vsize("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("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("CUSTOMER_TRX_ID"), count(disti nct "CUSTOMER_TRX_ID"), sum(vsize("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"), substrb(dump(min("GL_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("GL_DATE"), 16, 0, 32), 1, 120), count("DOCUMENT_NUMBER"), count(dis tinct "DOCUMENT_NUMBER"), sum(vsize("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(vsize("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(vsize("LINE_NUMBER")), substrb(dump(min("LINE_NUMBER"), 16, 0, 32), 1, 120), substrb(du mp(max("LINE_NUMBER"), 16, 0, 32), 1, 120), count("PRINTING_OPTION"), count(distinct "PRINTING_OPTION"), sum(vsize("PRINTING_OPTION")), substrb(dump(min("PRINTING_OPTION"), 16, 0, 32), 1, 120), substrb(dump(max("PRINTING_OPTION"), 16, 0, 32), 1, 120) from "AR"."RA_INTERFACE_LINES_ALL" t
4dqasqjrvudqn begin dbms_session.reset_package; end;
4g5vzcyf68n9w SELECT PROFILE_OPTION_VALUE FROM FND_PROFILE_OPTION_VALUES WHERE PROFILE_OPTION_ID = :B4 AND APPLICATION_ID = :B3 AND LEVEL_ID = 10003 AND LEVEL_VALUE = :B2 AND LEVEL_VALUE_APPLICATION_ID = :B1
4yak7x2zqz0dh BEGIN inv_transfer_order_pvt.finalize_pick_confirm(:1, :2, :3, :4, :5, :6, :7); END;
5as61q63aqmts SELECT A.APPLICATION_SHORT_NAME FROM FND_APPLICATION A WHERE A.APPLICATION_ID = :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_cha r(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_assign ment_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
6cjfxb1c4kx16 SELECT PROFILE_OPTION_ID, APPLICATION_ID, SITE_ENABLED_FLAG , APP_ENABLED_FLAG , RESP_ENABLED_FLAG , USER_ENABLED_FLAG, ORG_ENABLED_FLAG , SERVER_ENABLED_FLAG, HIERARCHY_TYPE FROM FND_PROFILE_OPTIONS WHERE PROFILE_OPTION_NAME = UPPER(:B1 ) AND START_DATE_ACTIVE <= SYSDATE AND NVL(END_DATE_ACTIVE, SYSDATE) >= SYSDATE
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;
7g05xfvc5vp74 BEGIN arp_run.revenue_recognition( :errbuf, :rc, :A0, :A1, :A2); END;
879tscdjdfycd select /*+ cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring parallel(t, 8) parallel_index(t, 8) */ count(*), count("INTERFACE_STATUS"), count(distinct "INTERFACE_STATUS"), sum(vsize("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(vsize("REQUEST_ID")), substrb(dump(min("REQUEST_ID"), 16, 0, 32), 1, 120), substrb(dump(max("RE QUEST_ID"), 16, 0, 32), 1, 120), count("RELATED_BATCH_SOURCE_NAME"), count(distinct "RELATED_BATCH_SOURCE_NAME"), sum(vsize("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(vsize("RELATED_TRX_NUMBER")), substrb(dump(min("RELATED_TRX_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(ma x("RELATED_TRX_NUMBER"), 16, 0, 32), 1, 120), count("RELATED_CUSTOMER_TRX_ID"), count(distinct "RELATED_CUSTOMER_TRX_ID"), sum(vsize("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("PREVIOUS_CUSTOMER_TRX_ID"), count(distinct "PREVIOUS_CUSTOMER_TRX_ID"), sum(vsize("PREVIOUS_CUSTOMER_TRX_ID")), substrb(dump(min("PREVIOUS_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PR EVIOUS_CUSTOMER_TRX_ID"), 16, 0, 32), 1, 120), count("CREDIT_METHOD_FOR_ACCT_RULE"), count(distinct "CREDIT_METHOD_FOR_ACCT_RULE"), sum(vsize("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(vsize("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(vsize("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(vsize("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_CO DE"), sum(vsize("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(vsize("TAX_PRECEDENCE")), 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(vsize("EXCEPTION_ID")), substrb(dump(min("EXCEPTION_ID"), 16, 0, 32), 1, 1 20), substrb(dump(max("EXCEPTION_ID"), 16, 0, 32), 1, 120), count("EXEMPTION_ID"), count(distinct "EXEMPTION_ID"), sum(vsize("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(vsize("FOB_PO INT")), 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(vsize("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(vsize("WAYBILL_NUMBER")), substrb(dump(min(substrb("WAYBILL_NUMBER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("WAYBILL_NUMBER", 1, 32)), 1 6, 0, 32), 1, 120), count("INVOICING_RULE_NAME"), count(distinct "INVOICING_RULE_NAME"), sum(vsize("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(vsize("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"), cou nt(distinct "ACCOUNTING_RULE_NAME"), sum(vsize("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(vsize("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(vsize("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(vsize("PRIMARY_SALESREP_NUMBER")), substrb(dump(min("PRIMARY_SALESR EP_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("PRIMARY_SALESREP_NUMBER"), 16, 0, 32), 1, 120), count("PRIMARY_SALESREP_ID"), count(distinct "PRIMARY_SALESREP_ID"), sum(vsize("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(vsize("SALES_ORDER")), substrb(dump(min(substrb("SALES_ORDER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(subst rb("SALES_ORDER", 1, 32)), 16, 0, 32), 1, 120), count("SALES_ORDER_LINE"), count(distinct "SALES_ORDER_LINE"), sum(vsize("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_S OURCE"), sum(vsize("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(vsize("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(vsize(" 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(vsize("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(vsize("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(vsize("AGREEMENT_ID")), substrb(dump(min("AGREEMENT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("AGR EEMENT_ID"), 16, 0, 32), 1, 120), count("MEMO_LINE_NAME"), count(distinct "MEMO_LINE_NAME"), sum(vsize("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(vsize("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(dist inct "INVENTORY_ITEM_ID"), sum(vsize("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(vsize("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 "MT L_SYSTEM_ITEMS_SEG2"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("MTL_SYSTEM_ITEMS_SEG7")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG7", 1, 32)), 16, 0, 32), 1, 120), substrb(du mp(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(vsize("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(vsize("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(vsize("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_SYSTEM_ITEMS_SEG11"), sum(vsize("MTL_SYSTEM_ITEMS_SEG11")), su bstrb(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(vsize("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(vsize("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(vsize("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_SYST EM_ITEMS_SEG15"), count(distinct "MTL_SYSTEM_ITEMS_SEG15"), sum(vsize("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("MTL_SYSTEM_ITEMS_SEG16"), count(distinct "MTL_SYSTEM_ITEMS_SEG16"), sum(vsize("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_SEG 16", 1, 32)), 16, 0, 32), 1, 120), count("MTL_SYSTEM_ITEMS_SEG17"), count(distinct "MTL_SYSTEM_ITEMS_SEG17"), sum(vsize("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(vsize("MTL_SYSTEM_ITEMS_SEG18")), substrb(dump(min(substrb("MTL_SYSTEM_ITEMS_SEG18", 1, 32)), 16, 0, 32), 1, 12 0), 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(vsize("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_ITEMS_SEG20"), sum(vsize("MTL_SYSTEM_ITEMS_SEG20")), substrb(dump(min(substrb("M TL_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(vsize("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(vsize("REFERENCE_LINE_CONTEXT")), substrb(dump(min("REFERENCE_LINE_C ONTEXT"), 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(vsize("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(vsize("REFERENCE_LINE_ATTRIBUTE2")), substrb(dump(min("REFERE NCE_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(vsize("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(vsize("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(vsize("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(vsize("REFERENCE_LINE_ATTRIBU TE6")), 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(vsize("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(vsize("TERRITORY_ID")), substrb(dump(mi n("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(vsize("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(vsize("TERRITORY_SEGMENT2")), substrb(dump(min("TERRITORY_SEGMENT2"), 16, 0, 32), 1, 120), substrb(dump(max("TE RRITORY_SEGMENT2"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT3"), count(distinct "TERRITORY_SEGMENT3"), sum(vsize("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(vsize("TERRITORY_SEGMENT4")), substrb(dump(min("TERRITORY_SEGMENT4"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT4"), 16, 0, 32), 1, 120), count("TERRIT ORY_SEGMENT5"), count(distinct "TERRITORY_SEGMENT5"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("TERRITORY_SEGMENT9")), substrb(dump(min("TE RRITORY_SEGMENT9"), 16, 0, 32), 1, 120), substrb(dump(max("TERRITORY_SEGMENT9"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT10"), count(distinct "TERRITORY_SEGMENT10"), sum(vsize("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(vsize("TERRITORY_SEGMENT11")), substrb(dump(min("TERRITORY_SEGMENT11"), 16, 0, 32), 1, 120), subs trb(dump(max("TERRITORY_SEGMENT11"), 16, 0, 32), 1, 120), count("TERRITORY_SEGMENT12"), count(distinct "TERRITORY_SEGMENT12"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(v size("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(vsize("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(vsize("TERRITORY_SEGMENT20")), substrb(dump(m in("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(vsize("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(vsize("ATTRIBUTE1")), substrb(dump(min(substrb("ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(subs trb("ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE2"), count(distinct "ATTRIBUTE2"), sum(vsize("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(vsize("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("INTERFACE_LINE_ ID"), sum(vsize("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(vsize("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(vsize("INTERF ACE_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(vsize("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"), s um(vsize("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), count("INTERFACE_LINE_ATTRIBUTE4"), count(distinct "INTERFACE_LINE_ATTRIBUTE4"), sum(vsize("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(vsize("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(vsize("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(vsize("INTERFACE_LINE_ATTRIBUTE7")), substrb(dump(min("INTERFACE_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), substrb(dump(max("INTERFACE_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), count("INTERFACE_LINE_ATTRIBUTE8"), count(distinct "INTERFACE_LINE_ATTRIBUTE8"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("AMOUNT")), substrb(d ump(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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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_RE F", 1, 32)), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_BILL_ADDRESS_ID"), count(distinct "ORIG_SYSTEM_BILL_ADDRESS_ID"), sum(vsize("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(vsize("ORIG_SYSTEM_BILL_CONTACT_REF")), substrb(dump(min(substrb("ORIG_SYSTEM_BILL_CONTACT_REF", 1, 32)), 1 6, 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(vsize("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(vsize("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(vsize("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"), cou nt(distinct "ORIG_SYSTEM_SHIP_ADDRESS_REF"), sum(vsize("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(vsize("ORIG_SYSTEM_SHIP_ADDRESS_ID")), substrb(dump(min("ORIG_SYSTEM_SHIP_ADDRESS_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORIG_SYSTEM_SHIP_ADDR ESS_ID"), 16, 0, 32), 1, 120), count("ORIG_SYSTEM_SHIP_CONTACT_REF"), count(distinct "ORIG_SYSTEM_SHIP_CONTACT_REF"), sum(vsize("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(vsize("ORIG_SYSTEM_SHIP_CONTACT_ID")), substrb(dump(min("ORIG_SYSTEM_SHIP_C ONTACT_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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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("LINK_TO_LINE_ATTRIBUTE2"), count(distinct "LINK_TO_LINE_ATTRIBUTE2"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("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(vsize("LINK_TO_LINE_ATTRIBUTE7")), substrb(dump(min("LINK_TO_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120), substrb(dump(max("LINK_TO_LINE_ATTRIBUTE7"), 16, 0, 32), 1, 120) from "AR"."RA_INTERFACE_LINES_ALL" sample ( 10.0000000000) t
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
8bsm049u7thjd select min(next_date) from "APPLSYS"."AQ$_WF_DEFERRED_TABLE_M_T"
8c30hkqv9n7cr BEGIN OE_BULK_ORDER_IMPORT_PVT.ORDER_IMPORT_CONC_PGM( :errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8); END;
8c8cf4vtv4tx2 SELECT * FROM ( SELECT LeadEO.sales_lead_id as SalesLeadId , to_char(hz_timezone_pub.convert_datetime(:1, hcp.timezone_id, SYSDATE), 'HH:MI AM ') ||' '||ht.standard_time_short_code as PrimaryContactLocalTime , SUBSTRB(LeadEO.description, 1, 240) as Description , hp.party_name as ContactName , custParty.party_name as CustomerName , aslt.meaning as RankName , ast.meaning as LeadStatus , ROUND(SYSDATE - LeadEO.creation_date) as Age , DECODE(LeadEO.status_code, 'CONVERTED_TO_OPPORTUNI TY', 'ASNCnvToOpptyDsbld', 'ASNCnvToOpptyEnbld') as ASNLeadLstCnvToOppty , LeadEO.customer_id , hp.party_id , LeadEO.primary_contact_party_id , hr.relationship_id FROM as_sales_leads LeadEO , ( SELECT /*+ no_merge */ distinct aaa.sales_lead_id, aaa.customer_id FROM as_accesses_all aaa WHERE aaa.sales_lead_id IS NOT NULL AND aaa.lead_id IS NULL AND aaa.salesforce_id = :2) secu , as_statuses_tl ast , as_sales_lead_ranks_tl aslt , hz_parties CustParty , hz_parties hp, hz_relationships hr , hz_contact_points hcp , hz_timezones ht , ams_source_codes amsc WHERE LeadEO.sales_lead_id = secu.sales_lead_id AND LeadEO.customer_id = secu.customer_id AND LeadEO.status_code = ast.status_code AND ast.language = USERENV('LANG') AND LeadEO.lead_rank_id = aslt.rank_id (+) AND aslt.language (+) = USERENV('LANG') AND LeadEO.customer_id = CustParty.party_id AND LeadEO.primary_contact_party_id = hr.party_id(+) AND hr.subject_id = hp.party_id (+) AND hr.subject_table_name (+) = 'HZ_PARTIES' AND hr.object_id(+) = LeadEO.customer_id AND hr.object_table_name (+) = 'HZ_PARTIES' AND LeadEO.primary_contact_party_id = hcp.owner_table_id(+) AND hcp.owner_table_name (+) = 'HZ_PARTIES' AND hcp.primary_flag (+) = 'Y' AND hcp.contact_point_type (+) = 'PHONE' AND hcp.timezone_id = ht.timezone_id (+) AND LeadEO.source_promotion_id = amsc.source_code_id AND amsc.source_code_for_id = :3 AND LeadEO.status_code = :4 ORDER BY age )
8q8zmrwmrccz4 SELECT /*+ ORDERED USE_NL(adj qplh) */ ADJ.LIST_LINE_ID CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , ADJ.PRICE_ADJUSTMENT_ID LINE_DETAIL_INDEX , ADJ.LIST_LINE_TYPE_CODE CREATED_FROM_LIST_LINE_TYPE , ADJ.LIST_HEADER_ID CREATED_FROM_LIST_HEADER_ID , ADJ.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , ADJ.RANGE_BREAK_QUANTITY PRICED_QUANTITY , LINE.P RICED_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 AN D 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.APPL IED_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.UNI T_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_SEQ UENCE , 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_NP REQ_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.AUTOMAT IC_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.PROCES SED_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_UNI T_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 ) A ND 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_I D 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_QUANTI TY , 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
95pbs94n69z3d SELECT NVL(MULTI_ORG_FLAG, 'N'), NVL(MULTI_CURRENCY_FLAG, 'N') FROM FND_PRODUCT_GROUPS
9dvfguzd15kpv SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER = :B1
9sf243fdjmdmh begin fnd_global.apps_initialize(-1, -1, -1, :1); end;
9trqpr8qyg7xm SELECT distinct pol . line_num pol_line_num , pol . po_item_id pol_po_item_id , pol . revision_num pol_item_revision , pol . vendor_product_num pol_vendor_product_num , pol . item_description pol_item_description , round ( pol . quantity_to_print , : P_QTY_PRECISION ) pol_quantity_to_print , nvl ( pol.unit_of_measure , pol . unit_of_measure ) pol_unit_of_measure , pol . price_to_print pol_price_to_print , pol . amount_to_print C_AMOUNT_POL , round ( pol . quantity_comitted , : P_QTY _PRECISION ) pol_quantity_comitted , pol . un_number_and_desc pol_un_number_and_desc , pol . hazard_class pol_hazard_class , pol . cancel_flag pol_cancel_flag , pol . cancel_date pol_cancel_date , pol . note_to_vendor pol_note_to_vendor , pol . contract_num pol_contract_num , pol . po_quote_num pol_po_quote_num , pol . vendor_quote_num pol_vendor_quote_num , pol . quotation_line pol_quotation_line , pol . po_header_id pol_po_header_id , pol . po_line_id pol_po_line_id , rownum pol_ro w_num , pol . line_type pol_line_type , nvl ( pol . po_release_id , - 1 ) pol_join_release_id , nvl ( pol . src_ga_flag , 'N' ) pol_src_ga_flag , pol . from_header_id pol_from_header_id , pol . from_line_id pol_from_line_id FROM po_lines_print pol WHERE ( 1 = 1 AND decode ( : poh_po_type , 'BLANKET' , decode ( : P_BLANKET_LINES , 'Y' , - 1 , - 2 ) , 'PLANNED' , decode ( : P_BLANKET_LINES , 'Y' , - 1 , - 2 ) , 'CONTRACT' , decode ( : P_BLANKET_LINES , 'Y' , - 1 , - 2 ) , - 1 ) = - 1 ) AND ( :poh_po_header_id = pol.po_header_id) AND ( :poh_join_release_id = nvl ( pol.po_release_id , - 1 )) order by pol.line_num
avc1jqzz04wpr SELECT 'x' FROM DUAL
azfadzhfxbxj3 SELECT ROW_ID, APBA_INACTIVE_DATE, DEFAULT_TAX_EXEMPT_FLAG, BS_BATCH_SOURCE_NAME, TRX_NUMBER, RA_BILLING_NUMBER, SOA_AGREEMENT_NAME, RAB_BATCH_NAME, RAC_BILL_TO_CUSTOMER_NAME, RAC_BILL_TO_CUSTOMER_NUM, RAA_BILL_TO_CONCAT_ADDRESS, RAA_BILL_TO_ADDRESS1, RAA_BILL_TO_ADDRESS2, RAA_BILL_TO_ADDRESS3, RAA_BILL_TO_ADDRESS3_DB, RAA_BILL_TO_CITY, FT_BILL_TO_COUNTRY, RAA_BILL_TO_COUNTY, RAA_BILL_TO_POSTAL_CODE, RAA_BILL_TO_PROVINCE, RAA_BILL_TO_STATE, RACO_BILL_TO_CONTACT_NAME, BILL_TO_TAXPAYER_ID, SU_BILL _TO_LOCATION, OF_SHIP_VIA_NAME, CTT_CLASS, COMMENTS, END_DATE_COMMITMENT, START_DATE_COMMITMENT, COMPLETE_FLAG, CT_RELATED_TRX_NUMBER, APBA_BANK_ACCOUNT_NAME, APBA_BANK_ACCOUNT_NUM, APB_CUSTOMER_BANK_BRANCH_NAME, APB_CUSTOMER_BANK_NAME, CUSTOMER_REFERENCE, CUSTOMER_REFERENCE_DATE, INVOICE_CURRENCY_CODE, AL_DEFAULT_TAX_EXEMPT_FLAG, ATTRIBUTE_CATEGORY, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ATTRIBUTE6, ATTRIBUTE7, ATTRIBUTE8, ATTRIBUTE9, ATTRIBUTE10, ATTRIBUTE11, ATTRIBUTE12, ATTRIBUTE13, ATTRIBUTE14, ATTRIBUTE15, PS_DISPUTE_AMOUNT, PS_DISPUTE_DATE, DOC_SEQUENCE_VALUE, TERM_DUE_DATE, EXCHANGE_DATE, EXCHANGE_RATE, GDCT_USER_EXCHANGE_RATE_TYPE, AL_FOB_MEANING, FINANCE_CHARGES, GD_GL_DATE, INVOICING_RULE_ID, CT_MODEL_TRX_NUMBER, PRINTING_ORIGINAL_DATE, CT_INVOICE_FOR_CB, PURCHASE_ORDER_DATE, PURCHASE_ORDER_REVISION, SU_PAYING_CUSTOMER_LOCATION, RAC_PAYING_CUSTOMER_NAME, RAC_PAYING_CUSTOMER_NUM, ARM_RECEIPT_METHOD_NAME, PRINTING_COUNT, PRINTING_LAST_PRINTED, PRINTING_OPT ION, PURCHASE_ORDER, CT_REFERENCE, RAA_CONCAT_REMIT_TO_ADDRESS, RAA_REMIT_TO_ADDRESS1, RAA_REMIT_TO_ADDRESS2, RAA_REMIT_TO_ADDRESS3, RAA_REMIT_TO_ADDRESS3_DB, RAA_REMIT_TO_CITY, RAA_REMIT_TO_COUNTY, RAA_REMIT_TO_STATE, RAA_REMIT_TO_PROVINCE, RAA_REMIT_TO_POSTAL_CODE, FT_REMIT_TO_COUNTRY, CREDIT_METHOD_FOR_RULES, RAS_PRIMARY_SALESREP_NAME, RAS_PRIMARY_SALESREP_NUM, SHIP_DATE_ACTUAL, RAA_SHIP_TO_CONCAT_ADDRESS, RAA_SHIP_TO_ADDRESS1, RAA_SHIP_TO_ADDRESS2, RAA_SHIP_TO_ADDRESS3, RAA_SHIP_TO_ADDRESS3_ DB, RAA_SHIP_TO_CITY, RAA_SHIP_TO_COUNTY, RAA_SHIP_TO_STATE, RAA_SHIP_TO_PROVINCE, RAA_SHIP_TO_POSTAL_CODE, FT_SHIP_TO_COUNTRY, RAC_SHIP_TO_CUSTOMER_NAME, RACO_SHIP_TO_CONTACT_NAME, RAC_SHIP_TO_CUSTOMER_NUM, SU_SHIP_TO_LOCATION, SHIP_TO_TAXPAYER_ID, RAC_SOLD_TO_CUSTOMER_NAME, RAC_SOLD_TO_CUSTOMER_NUM, INTERNAL_NOTES, CREDIT_METHOD_FOR_INSTALLMENTS, STATUS_TRX, RAT_TERM_NAME, DEFAULT_USSGL_TRANSACTION_CODE, TRX_DATE, INTERFACE_HEADER_CONTEXT, INTERFACE_HEADER_ATTRIBUTE1, INTERFACE_HEADER_ATTRIBUT E2, 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, EXCH ANGE_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
bb995vqx5y1zd select /*+ cursor_sharing_exact use_weak_name_resl dynamic_sampling(0) no_monitoring parallel(t, 8) parallel_index(t, 8) */ count(*), count("FILLED_VOLUME"), count(distinct "FILLED_VOLUME"), sum(vsize("FILLED_VOLUME")), substrb(dump(min("FILLED_VOLUME"), 16, 0, 32), 1, 120), substrb(dump(max("FILLED_VOLUME"), 16, 0, 32), 1, 120), count("UNIT_WEIGHT"), count(distinct "UNIT_WEIGHT"), sum(vsize("UNIT_WEIGHT")), substrb(dump(min("UNIT_WEIGHT"), 16, 0, 32), 1, 120), substrb(dump(max("UNIT_WEIGHT") , 16, 0, 32), 1, 120), count("UNIT_VOLUME"), count(distinct "UNIT_VOLUME"), sum(vsize("UNIT_VOLUME")), substrb(dump(min("UNIT_VOLUME"), 16, 0, 32), 1, 120), substrb(dump(max("UNIT_VOLUME"), 16, 0, 32), 1, 120), count("WV_FROZEN_FLAG"), count(distinct "WV_FROZEN_FLAG"), sum(vsize("WV_FROZEN_FLAG")), substrb(dump(min("WV_FROZEN_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("WV_FROZEN_FLAG"), 16, 0, 32), 1, 120), count("PO_REVISION_NUMBER"), count(distinct "PO_REVISION_NUMBER"), sum(vsize("PO_REVIS ION_NUMBER")), substrb(dump(min("PO_REVISION_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("PO_REVISION_NUMBER"), 16, 0, 32), 1, 120), count("RELEASE_REVISION_NUMBER"), count(distinct "RELEASE_REVISION_NUMBER"), sum(vsize("RELEASE_REVISION_NUMBER")), substrb(dump(min("RELEASE_REVISION_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("RELEASE_REVISION_NUMBER"), 16, 0, 32), 1, 120), count("SERVICE_LEVEL"), count(distinct "SERVICE_LEVEL"), sum(vsize("SERVICE_LEVEL")), substrb(dump(min("SERVICE_LEV EL"), 16, 0, 32), 1, 120), substrb(dump(max("SERVICE_LEVEL"), 16, 0, 32), 1, 120), count("MODE_OF_TRANSPORT"), count(distinct "MODE_OF_TRANSPORT"), sum(vsize("MODE_OF_TRANSPORT")), substrb(dump(min("MODE_OF_TRANSPORT"), 16, 0, 32), 1, 120), substrb(dump(max("MODE_OF_TRANSPORT"), 16, 0, 32), 1, 120), count("EARLIEST_PICKUP_DATE"), count(distinct "EARLIEST_PICKUP_DATE"), substrb(dump(min("EARLIEST_PICKUP_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("EARLIEST_PICKUP_DATE"), 16, 0, 32), 1, 120), co unt("LATEST_PICKUP_DATE"), count(distinct "LATEST_PICKUP_DATE"), substrb(dump(min("LATEST_PICKUP_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("LATEST_PICKUP_DATE"), 16, 0, 32), 1, 120), count("EARLIEST_DROPOFF_DATE"), count(distinct "EARLIEST_DROPOFF_DATE"), substrb(dump(min("EARLIEST_DROPOFF_DATE"), 16, 0, 32), 1, 120), substrb(dump(max("EARLIEST_DROPOFF_DATE"), 16, 0, 32), 1, 120), count("LATEST_DROPOFF_DATE"), count(distinct "LATEST_DROPOFF_DATE"), substrb(dump(min("LATEST_DROPOFF_DATE"), 16 , 0, 32), 1, 120), substrb(dump(max("LATEST_DROPOFF_DATE"), 16, 0, 32), 1, 120), count("REQUEST_DATE_TYPE_CODE"), count(distinct "REQUEST_DATE_TYPE_CODE"), sum(vsize("REQUEST_DATE_TYPE_CODE")), substrb(dump(min("REQUEST_DATE_TYPE_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("REQUEST_DATE_TYPE_CODE"), 16, 0, 32), 1, 120), count("TP_DELIVERY_DETAIL_ID"), count(distinct "TP_DELIVERY_DETAIL_ID"), sum(vsize("TP_DELIVERY_DETAIL_ID")), substrb(dump(min("TP_DELIVERY_DETAIL_ID"), 16, 0, 32), 1, 120), su bstrb(dump(max("TP_DELIVERY_DETAIL_ID"), 16, 0, 32), 1, 120), sum(vsize("DELIVERY_DETAIL_ID")), substrb(dump(min("DELIVERY_DETAIL_ID"), 16, 0, 32), 1, 120), substrb(dump(max("DELIVERY_DETAIL_ID"), 16, 0, 32), 1, 120), count(distinct "SOURCE_CODE"), sum(vsize("SOURCE_CODE")), substrb(dump(min("SOURCE_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_CODE"), 16, 0, 32), 1, 120), count("SOURCE_HEADER_ID"), count(distinct "SOURCE_HEADER_ID"), sum(vsize("SOURCE_HEADER_ID")), substrb(dump(min("SOU RCE_HEADER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_HEADER_ID"), 16, 0, 32), 1, 120), count(distinct "SOURCE_LINE_ID"), sum(vsize("SOURCE_LINE_ID")), substrb(dump(min("SOURCE_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_LINE_ID"), 16, 0, 32), 1, 120), count("SOURCE_HEADER_TYPE_ID"), count(distinct "SOURCE_HEADER_TYPE_ID"), sum(vsize("SOURCE_HEADER_TYPE_ID")), substrb(dump(min("SOURCE_HEADER_TYPE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_HEADER_TYPE_ID"), 16, 0, 3 2), 1, 120), count("SOURCE_HEADER_TYPE_NAME"), count(distinct "SOURCE_HEADER_TYPE_NAME"), sum(vsize("SOURCE_HEADER_TYPE_NAME")), substrb(dump(min(substrb("SOURCE_HEADER_TYPE_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SOURCE_HEADER_TYPE_NAME", 1, 32)), 16, 0, 32), 1, 120), count("CUST_PO_NUMBER"), count(distinct "CUST_PO_NUMBER"), sum(vsize("CUST_PO_NUMBER")), substrb(dump(min(substrb("CUST_PO_NUMBER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("CUST_PO_NUMBER", 1, 32)), 16, 0, 32), 1, 120), count("CUSTOMER_ID"), count(distinct "CUSTOMER_ID"), sum(vsize("CUSTOMER_ID")), substrb(dump(min("CUSTOMER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CUSTOMER_ID"), 16, 0, 32), 1, 120), count("SOLD_TO_CONTACT_ID"), count(distinct "SOLD_TO_CONTACT_ID"), sum(vsize("SOLD_TO_CONTACT_ID")), substrb(dump(min("SOLD_TO_CONTACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SOLD_TO_CONTACT_ID"), 16, 0, 32), 1, 120), count("INVENTORY_ITEM_ID"), count(distinct "INVENTORY_ITEM_ID "), sum(vsize("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("ITEM_DESCRIPTION"), count(distinct "ITEM_DESCRIPTION"), sum(vsize("ITEM_DESCRIPTION")), substrb(dump(min(substrb("ITEM_DESCRIPTION", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ITEM_DESCRIPTION", 1, 32)), 16, 0, 32), 1, 120), count("SHIP_SET_ID"), count(distinct "SHIP_SET_ID"), sum(vsize("SHIP_SET_ID")), substrb(dump(min(" SHIP_SET_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_SET_ID"), 16, 0, 32), 1, 120), count("ARRIVAL_SET_ID"), count(distinct "ARRIVAL_SET_ID"), sum(vsize("ARRIVAL_SET_ID")), substrb(dump(min("ARRIVAL_SET_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ARRIVAL_SET_ID"), 16, 0, 32), 1, 120), count("TOP_MODEL_LINE_ID"), count(distinct "TOP_MODEL_LINE_ID"), sum(vsize("TOP_MODEL_LINE_ID")), substrb(dump(min("TOP_MODEL_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("TOP_MODEL_LINE_ID"), 16, 0, 32) , 1, 120), count("ATO_LINE_ID"), count(distinct "ATO_LINE_ID"), sum(vsize("ATO_LINE_ID")), substrb(dump(min("ATO_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ATO_LINE_ID"), 16, 0, 32), 1, 120), count("HOLD_CODE"), count(distinct "HOLD_CODE"), sum(vsize("HOLD_CODE")), substrb(dump(min("HOLD_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("HOLD_CODE"), 16, 0, 32), 1, 120), count("SHIP_MODEL_COMPLETE_FLAG"), count(distinct "SHIP_MODEL_COMPLETE_FLAG"), sum(vsize("SHIP_MODEL_COMPLETE_FLAG")), subs trb(dump(min("SHIP_MODEL_COMPLETE_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_MODEL_COMPLETE_FLAG"), 16, 0, 32), 1, 120), count("HAZARD_CLASS_ID"), count(distinct "HAZARD_CLASS_ID"), sum(vsize("HAZARD_CLASS_ID")), substrb(dump(min("HAZARD_CLASS_ID"), 16, 0, 32), 1, 120), substrb(dump(max("HAZARD_CLASS_ID"), 16, 0, 32), 1, 120), count("COUNTRY_OF_ORIGIN"), count(distinct "COUNTRY_OF_ORIGIN"), sum(vsize("COUNTRY_OF_ORIGIN")), substrb(dump(min(substrb("COUNTRY_OF_ORIGIN", 1, 32)), 16, 0, 32 ), 1, 120), substrb(dump(max(substrb("COUNTRY_OF_ORIGIN", 1, 32)), 16, 0, 32), 1, 120), count("CLASSIFICATION"), count(distinct "CLASSIFICATION"), sum(vsize("CLASSIFICATION")), substrb(dump(min("CLASSIFICATION"), 16, 0, 32), 1, 120), substrb(dump(max("CLASSIFICATION"), 16, 0, 32), 1, 120), count(distinct "SHIP_FROM_LOCATION_ID"), sum(vsize("SHIP_FROM_LOCATION_ID")), substrb(dump(min("SHIP_FROM_LOCATION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_FROM_LOCATION_ID"), 16, 0, 32), 1, 120), cou nt("ORGANIZATION_ID"), count(distinct "ORGANIZATION_ID"), sum(vsize("ORGANIZATION_ID")), substrb(dump(min("ORGANIZATION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORGANIZATION_ID"), 16, 0, 32), 1, 120), count("SHIP_TO_LOCATION_ID"), count(distinct "SHIP_TO_LOCATION_ID"), sum(vsize("SHIP_TO_LOCATION_ID")), substrb(dump(min("SHIP_TO_LOCATION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_TO_LOCATION_ID"), 16, 0, 32), 1, 120), count("SHIP_TO_CONTACT_ID"), count(distinct "SHIP_TO_CONTACT_ID"), sum(vsize("SHIP_TO_CONTACT_ID")), substrb(dump(min("SHIP_TO_CONTACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_TO_CONTACT_ID"), 16, 0, 32), 1, 120), count("DELIVER_TO_LOCATION_ID"), count(distinct "DELIVER_TO_LOCATION_ID"), sum(vsize("DELIVER_TO_LOCATION_ID")), substrb(dump(min("DELIVER_TO_LOCATION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("DELIVER_TO_LOCATION_ID"), 16, 0, 32), 1, 120), count("DELIVER_TO_CONTACT_ID"), count(distinct "DELIVER_TO_CONTACT_ID"), sum(vsize("DELIVER_TO_CONTAC T_ID")), substrb(dump(min("DELIVER_TO_CONTACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("DELIVER_TO_CONTACT_ID"), 16, 0, 32), 1, 120), count("INTMED_SHIP_TO_LOCATION_ID"), count(distinct "INTMED_SHIP_TO_LOCATION_ID"), sum(vsize("INTMED_SHIP_TO_LOCATION_ID")), substrb(dump(min("INTMED_SHIP_TO_LOCATION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("INTMED_SHIP_TO_LOCATION_ID"), 16, 0, 32), 1, 120), count("INTMED_SHIP_TO_CONTACT_ID"), count(distinct "INTMED_SHIP_TO_CONTACT_ID"), sum(vsize("INTMED_S HIP_TO_CONTACT_ID")), substrb(dump(min("INTMED_SHIP_TO_CONTACT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("INTMED_SHIP_TO_CONTACT_ID"), 16, 0, 32), 1, 120), count("SHIP_TOLERANCE_ABOVE"), count(distinct "SHIP_TOLERANCE_ABOVE"), sum(vsize("SHIP_TOLERANCE_ABOVE")), substrb(dump(min("SHIP_TOLERANCE_ABOVE"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_TOLERANCE_ABOVE"), 16, 0, 32), 1, 120), count("SHIP_TOLERANCE_BELOW"), count(distinct "SHIP_TOLERANCE_BELOW"), sum(vsize("SHIP_TOLERANCE_BELOW")), su bstrb(dump(min("SHIP_TOLERANCE_BELOW"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_TOLERANCE_BELOW"), 16, 0, 32), 1, 120), count("SRC_REQUESTED_QUANTITY"), count(distinct "SRC_REQUESTED_QUANTITY"), sum(vsize("SRC_REQUESTED_QUANTITY")), substrb(dump(min("SRC_REQUESTED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("SRC_REQUESTED_QUANTITY"), 16, 0, 32), 1, 120), count("SRC_REQUESTED_QUANTITY_UOM"), count(distinct "SRC_REQUESTED_QUANTITY_UOM"), sum(vsize("SRC_REQUESTED_QUANTITY_UOM")), substrb( dump(min("SRC_REQUESTED_QUANTITY_UOM"), 16, 0, 32), 1, 120), substrb(dump(max("SRC_REQUESTED_QUANTITY_UOM"), 16, 0, 32), 1, 120), count("CANCELLED_QUANTITY"), count(distinct "CANCELLED_QUANTITY"), sum(vsize("CANCELLED_QUANTITY")), substrb(dump(min("CANCELLED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("CANCELLED_QUANTITY"), 16, 0, 32), 1, 120), count(distinct "REQUESTED_QUANTITY"), sum(vsize("REQUESTED_QUANTITY")), substrb(dump(min("REQUESTED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(m ax("REQUESTED_QUANTITY"), 16, 0, 32), 1, 120), count(distinct "REQUESTED_QUANTITY_UOM"), sum(vsize("REQUESTED_QUANTITY_UOM")), substrb(dump(min("REQUESTED_QUANTITY_UOM"), 16, 0, 32), 1, 120), substrb(dump(max("REQUESTED_QUANTITY_UOM"), 16, 0, 32), 1, 120), count("SHIPPED_QUANTITY"), count(distinct "SHIPPED_QUANTITY"), sum(vsize("SHIPPED_QUANTITY")), substrb(dump(min("SHIPPED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("SHIPPED_QUANTITY"), 16, 0, 32), 1, 120), count("DELIVERED_QUANTITY"), c ount(distinct "DELIVERED_QUANTITY"), sum(vsize("DELIVERED_QUANTITY")), substrb(dump(min("DELIVERED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("DELIVERED_QUANTITY"), 16, 0, 32), 1, 120), count("QUALITY_CONTROL_QUANTITY"), count(distinct "QUALITY_CONTROL_QUANTITY"), sum(vsize("QUALITY_CONTROL_QUANTITY")), substrb(dump(min("QUALITY_CONTROL_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("QUALITY_CONTROL_QUANTITY"), 16, 0, 32), 1, 120), count("CYCLE_COUNT_QUANTITY"), count(distinct "CYCLE_C OUNT_QUANTITY"), sum(vsize("CYCLE_COUNT_QUANTITY")), substrb(dump(min("CYCLE_COUNT_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("CYCLE_COUNT_QUANTITY"), 16, 0, 32), 1, 120), count("MOVE_ORDER_LINE_ID"), count(distinct "MOVE_ORDER_LINE_ID"), sum(vsize("MOVE_ORDER_LINE_ID")), substrb(dump(min("MOVE_ORDER_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("MOVE_ORDER_LINE_ID"), 16, 0, 32), 1, 120), count("SUBINVENTORY"), count(distinct "SUBINVENTORY"), sum(vsize("SUBINVENTORY")), substrb(dump(mi n("SUBINVENTORY"), 16, 0, 32), 1, 120), substrb(dump(max("SUBINVENTORY"), 16, 0, 32), 1, 120), count("REVISION"), count(distinct "REVISION"), sum(vsize("REVISION")), substrb(dump(min("REVISION"), 16, 0, 32), 1, 120), substrb(dump(max("REVISION"), 16, 0, 32), 1, 120), count("LOT_NUMBER"), count(distinct "LOT_NUMBER"), sum(vsize("LOT_NUMBER")), substrb(dump(min("LOT_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("LOT_NUMBER"), 16, 0, 32), 1, 120), count("RELEASED_STATUS"), count(distinct "RELEASE D_STATUS"), sum(vsize("RELEASED_STATUS")), substrb(dump(min("RELEASED_STATUS"), 16, 0, 32), 1, 120), substrb(dump(max("RELEASED_STATUS"), 16, 0, 32), 1, 120), count("CUSTOMER_REQUESTED_LOT_FLAG"), count(distinct "CUSTOMER_REQUESTED_LOT_FLAG"), sum(vsize("CUSTOMER_REQUESTED_LOT_FLAG")), substrb(dump(min("CUSTOMER_REQUESTED_LOT_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("CUSTOMER_REQUESTED_LOT_FLAG"), 16, 0, 32), 1, 120), count("SERIAL_NUMBER"), count(distinct "SERIAL_NUMBER"), sum(vsize("SERIA L_NUMBER")), substrb(dump(min("SERIAL_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("SERIAL_NUMBER"), 16, 0, 32), 1, 120), count("LOCATOR_ID"), count(distinct "LOCATOR_ID"), sum(vsize("LOCATOR_ID")), substrb(dump(min("LOCATOR_ID"), 16, 0, 32), 1, 120), substrb(dump(max("LOCATOR_ID"), 16, 0, 32), 1, 120), count("DATE_REQUESTED"), count(distinct "DATE_REQUESTED"), substrb(dump(min("DATE_REQUESTED"), 16, 0, 32), 1, 120), substrb(dump(max("DATE_REQUESTED"), 16, 0, 32), 1, 120), count("DATE_SCHEDUL ED"), count(distinct "DATE_SCHEDULED"), substrb(dump(min("DATE_SCHEDULED"), 16, 0, 32), 1, 120), substrb(dump(max("DATE_SCHEDULED"), 16, 0, 32), 1, 120), count("MASTER_CONTAINER_ITEM_ID"), count(distinct "MASTER_CONTAINER_ITEM_ID"), sum(vsize("MASTER_CONTAINER_ITEM_ID")), substrb(dump(min("MASTER_CONTAINER_ITEM_ID"), 16, 0, 32), 1, 120), substrb(dump(max("MASTER_CONTAINER_ITEM_ID"), 16, 0, 32), 1, 120), count("DETAIL_CONTAINER_ITEM_ID"), count(distinct "DETAIL_CONTAINER_ITEM_ID"), sum(vsize("DET AIL_CONTAINER_ITEM_ID")), substrb(dump(min("DETAIL_CONTAINER_ITEM_ID"), 16, 0, 32), 1, 120), substrb(dump(max("DETAIL_CONTAINER_ITEM_ID"), 16, 0, 32), 1, 120), count("LOAD_SEQ_NUMBER"), count(distinct "LOAD_SEQ_NUMBER"), sum(vsize("LOAD_SEQ_NUMBER")), substrb(dump(min("LOAD_SEQ_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("LOAD_SEQ_NUMBER"), 16, 0, 32), 1, 120), count("SHIP_METHOD_CODE"), count(distinct "SHIP_METHOD_CODE"), sum(vsize("SHIP_METHOD_CODE")), substrb(dump(min("SHIP_METHOD_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_METHOD_CODE"), 16, 0, 32), 1, 120), count("CARRIER_ID"), count(distinct "CARRIER_ID"), sum(vsize("CARRIER_ID")), substrb(dump(min("CARRIER_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CARRIER_ID"), 16, 0, 32), 1, 120), count("FREIGHT_TERMS_CODE"), count(distinct "FREIGHT_TERMS_CODE"), sum(vsize("FREIGHT_TERMS_CODE")), substrb(dump(min("FREIGHT_TERMS_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("FREIGHT_TERMS_CODE"), 16, 0, 32), 1, 120), count("SHIPME NT_PRIORITY_CODE"), count(distinct "SHIPMENT_PRIORITY_CODE"), sum(vsize("SHIPMENT_PRIORITY_CODE")), substrb(dump(min("SHIPMENT_PRIORITY_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("SHIPMENT_PRIORITY_CODE"), 16, 0, 32), 1, 120), count("FOB_CODE"), count(distinct "FOB_CODE"), sum(vsize("FOB_CODE")), substrb(dump(min("FOB_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("FOB_CODE"), 16, 0, 32), 1, 120), count("CUSTOMER_ITEM_ID"), count(distinct "CUSTOMER_ITEM_ID"), sum(vsize("CUSTOMER_ITEM_ID")), su bstrb(dump(min("CUSTOMER_ITEM_ID"), 16, 0, 32), 1, 120), substrb(dump(max("CUSTOMER_ITEM_ID"), 16, 0, 32), 1, 120), count("DEP_PLAN_REQUIRED_FLAG"), count(distinct "DEP_PLAN_REQUIRED_FLAG"), sum(vsize("DEP_PLAN_REQUIRED_FLAG")), substrb(dump(min("DEP_PLAN_REQUIRED_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("DEP_PLAN_REQUIRED_FLAG"), 16, 0, 32), 1, 120), count("CUSTOMER_PROD_SEQ"), count(distinct "CUSTOMER_PROD_SEQ"), sum(vsize("CUSTOMER_PROD_SEQ")), substrb(dump(min(substrb("CUSTOMER_PROD_SEQ ", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("CUSTOMER_PROD_SEQ", 1, 32)), 16, 0, 32), 1, 120), count("CUSTOMER_DOCK_CODE"), count(distinct "CUSTOMER_DOCK_CODE"), sum(vsize("CUSTOMER_DOCK_CODE")), substrb(dump(min(substrb("CUSTOMER_DOCK_CODE", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("CUSTOMER_DOCK_CODE", 1, 32)), 16, 0, 32), 1, 120), count("NET_WEIGHT"), count(distinct "NET_WEIGHT"), sum(vsize("NET_WEIGHT")), substrb(dump(min("NET_WEIGHT"), 16, 0, 32), 1, 120), substr b(dump(max("NET_WEIGHT"), 16, 0, 32), 1, 120), count("WEIGHT_UOM_CODE"), count(distinct "WEIGHT_UOM_CODE"), sum(vsize("WEIGHT_UOM_CODE")), substrb(dump(min("WEIGHT_UOM_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("WEIGHT_UOM_CODE"), 16, 0, 32), 1, 120), count("VOLUME"), count(distinct "VOLUME"), sum(vsize("VOLUME")), substrb(dump(min("VOLUME"), 16, 0, 32), 1, 120), substrb(dump(max("VOLUME"), 16, 0, 32), 1, 120), count("VOLUME_UOM_CODE"), count(distinct "VOLUME_UOM_CODE"), sum(vsize("VOLUME_UOM _CODE")), substrb(dump(min("VOLUME_UOM_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("VOLUME_UOM_CODE"), 16, 0, 32), 1, 120), count("SHIPPING_INSTRUCTIONS"), count(distinct "SHIPPING_INSTRUCTIONS"), sum(vsize("SHIPPING_INSTRUCTIONS")), substrb(dump(min(substrb("SHIPPING_INSTRUCTIONS", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SHIPPING_INSTRUCTIONS", 1, 32)), 16, 0, 32), 1, 120), count("PACKING_INSTRUCTIONS"), count(distinct "PACKING_INSTRUCTIONS"), sum(vsize("PACKING_INSTRUCTIONS") ), substrb(dump(min(substrb("PACKING_INSTRUCTIONS", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("PACKING_INSTRUCTIONS", 1, 32)), 16, 0, 32), 1, 120), count("PROJECT_ID"), count(distinct "PROJECT_ID"), sum(vsize("PROJECT_ID")), substrb(dump(min("PROJECT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PROJECT_ID"), 16, 0, 32), 1, 120), count("TASK_ID"), count(distinct "TASK_ID"), sum(vsize("TASK_ID")), substrb(dump(min("TASK_ID"), 16, 0, 32), 1, 120), substrb(dump(max("TASK_ID"), 16, 0, 32 ), 1, 120), count("ORG_ID"), count(distinct "ORG_ID"), sum(vsize("ORG_ID")), substrb(dump(min("ORG_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ORG_ID"), 16, 0, 32), 1, 120), count("OE_INTERFACED_FLAG"), count(distinct "OE_INTERFACED_FLAG"), sum(vsize("OE_INTERFACED_FLAG")), substrb(dump(min("OE_INTERFACED_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("OE_INTERFACED_FLAG"), 16, 0, 32), 1, 120), count("MVT_STAT_STATUS"), count(distinct "MVT_STAT_STATUS"), sum(vsize("MVT_STAT_STATUS")), substrb(du mp(min("MVT_STAT_STATUS"), 16, 0, 32), 1, 120), substrb(dump(max("MVT_STAT_STATUS"), 16, 0, 32), 1, 120), count("TRACKING_NUMBER"), count(distinct "TRACKING_NUMBER"), sum(vsize("TRACKING_NUMBER")), substrb(dump(min("TRACKING_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("TRACKING_NUMBER"), 16, 0, 32), 1, 120), count("TRANSACTION_TEMP_ID"), count(distinct "TRANSACTION_TEMP_ID"), sum(vsize("TRANSACTION_TEMP_ID")), substrb(dump(min("TRANSACTION_TEMP_ID"), 16, 0, 32), 1, 120), substrb(dump(max("TR ANSACTION_TEMP_ID"), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE_CATEGORY"), count(distinct "TP_ATTRIBUTE_CATEGORY"), sum(vsize("TP_ATTRIBUTE_CATEGORY")), substrb(dump(min(substrb("TP_ATTRIBUTE_CATEGORY", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE_CATEGORY", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE1"), count(distinct "TP_ATTRIBUTE1"), sum(vsize("TP_ATTRIBUTE1")), substrb(dump(min(substrb("TP_ATTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_A TTRIBUTE1", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE2"), count(distinct "TP_ATTRIBUTE2"), sum(vsize("TP_ATTRIBUTE2")), substrb(dump(min(substrb("TP_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE2", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE3"), count(distinct "TP_ATTRIBUTE3"), sum(vsize("TP_ATTRIBUTE3")), substrb(dump(min(substrb("TP_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE3", 1, 32)), 16, 0, 32), 1, 120) , count("TP_ATTRIBUTE4"), count(distinct "TP_ATTRIBUTE4"), sum(vsize("TP_ATTRIBUTE4")), substrb(dump(min(substrb("TP_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE4", 1, 32)), 16, 0, 32), 1, 120), count("SOURCE_DOCUMENT_TYPE_ID"), count(distinct "SOURCE_DOCUMENT_TYPE_ID"), sum(vsize("SOURCE_DOCUMENT_TYPE_ID")), substrb(dump(min("SOURCE_DOCUMENT_TYPE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_DOCUMENT_TYPE_ID"), 16, 0, 32), 1, 120), count("VENDOR_ID"), count(distinct "VENDOR_ID"), sum(vsize("VENDOR_ID")), substrb(dump(min("VENDOR_ID"), 16, 0, 32), 1, 120), substrb(dump(max("VENDOR_ID"), 16, 0, 32), 1, 120), count("SHIP_FROM_SITE_ID"), count(distinct "SHIP_FROM_SITE_ID"), sum(vsize("SHIP_FROM_SITE_ID")), substrb(dump(min("SHIP_FROM_SITE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SHIP_FROM_SITE_ID"), 16, 0, 32), 1, 120), count("IGNORE_FOR_PLANNING"), count(distinct "IGNORE_FOR_PLANNING"), sum(vsize("IGNORE_FOR_PLANNING")), substrb(dump(min("IG NORE_FOR_PLANNING"), 16, 0, 32), 1, 120), substrb(dump(max("IGNORE_FOR_PLANNING"), 16, 0, 32), 1, 120), count("LINE_DIRECTION"), count(distinct "LINE_DIRECTION"), sum(vsize("LINE_DIRECTION")), substrb(dump(min("LINE_DIRECTION"), 16, 0, 32), 1, 120), substrb(dump(max("LINE_DIRECTION"), 16, 0, 32), 1, 120), count("PARTY_ID"), count(distinct "PARTY_ID"), sum(vsize("PARTY_ID")), substrb(dump(min("PARTY_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PARTY_ID"), 16, 0, 32), 1, 120), count("ROUTING_REQ_I D"), count(distinct "ROUTING_REQ_ID"), sum(vsize("ROUTING_REQ_ID")), substrb(dump(min("ROUTING_REQ_ID"), 16, 0, 32), 1, 120), substrb(dump(max("ROUTING_REQ_ID"), 16, 0, 32), 1, 120), count("SHIPPING_CONTROL"), count(distinct "SHIPPING_CONTROL"), sum(vsize("SHIPPING_CONTROL")), substrb(dump(min("SHIPPING_CONTROL"), 16, 0, 32), 1, 120), substrb(dump(max("SHIPPING_CONTROL"), 16, 0, 32), 1, 120), count("SOURCE_BLANKET_REFERENCE_ID"), count(distinct "SOURCE_BLANKET_REFERENCE_ID"), sum(vsize("SOURCE_B LANKET_REFERENCE_ID")), substrb(dump(min("SOURCE_BLANKET_REFERENCE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_BLANKET_REFERENCE_ID"), 16, 0, 32), 1, 120), count("SOURCE_BLANKET_REFERENCE_NUM"), count(distinct "SOURCE_BLANKET_REFERENCE_NUM"), sum(vsize("SOURCE_BLANKET_REFERENCE_NUM")), substrb(dump(min("SOURCE_BLANKET_REFERENCE_NUM"), 16, 0, 32), 1, 120), substrb(dump(max("SOURCE_BLANKET_REFERENCE_NUM"), 16, 0, 32), 1, 120), count("PO_SHIPMENT_LINE_ID"), count(distinct "PO_SHIPMENT_LINE_ ID"), sum(vsize("PO_SHIPMENT_LINE_ID")), substrb(dump(min("PO_SHIPMENT_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PO_SHIPMENT_LINE_ID"), 16, 0, 32), 1, 120), count("PO_SHIPMENT_LINE_NUMBER"), count(distinct "PO_SHIPMENT_LINE_NUMBER"), sum(vsize("PO_SHIPMENT_LINE_NUMBER")), substrb(dump(min("PO_SHIPMENT_LINE_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("PO_SHIPMENT_LINE_NUMBER"), 16, 0, 32), 1, 120), count("SCHEDULED_QUANTITY"), count(distinct "SCHEDULED_QUANTITY"), sum(vsize("SCHEDULED _QUANTITY")), substrb(dump(min("SCHEDULED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("SCHEDULED_QUANTITY"), 16, 0, 32), 1, 120), count("RETURNED_QUANTITY"), count(distinct "RETURNED_QUANTITY"), sum(vsize("RETURNED_QUANTITY")), substrb(dump(min("RETURNED_QUANTITY"), 16, 0, 32), 1, 120), substrb(dump(max("RETURNED_QUANTITY"), 16, 0, 32), 1, 120), count("SCHEDULED_QUANTITY2"), count(distinct "SCHEDULED_QUANTITY2"), sum(vsize("SCHEDULED_QUANTITY2")), substrb(dump(min("SCHEDULED_QUANTITY2"), 1 6, 0, 32), 1, 120), substrb(dump(max("SCHEDULED_QUANTITY2"), 16, 0, 32), 1, 120), count("RETURNED_QUANTITY2"), count(distinct "RETURNED_QUANTITY2"), sum(vsize("RETURNED_QUANTITY2")), substrb(dump(min("RETURNED_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("RETURNED_QUANTITY2"), 16, 0, 32), 1, 120), count("SOURCE_LINE_TYPE_CODE"), count(distinct "SOURCE_LINE_TYPE_CODE"), sum(vsize("SOURCE_LINE_TYPE_CODE")), substrb(dump(min("SOURCE_LINE_TYPE_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("SOU RCE_LINE_TYPE_CODE"), 16, 0, 32), 1, 120), count("RCV_SHIPMENT_LINE_ID"), count(distinct "RCV_SHIPMENT_LINE_ID"), sum(vsize("RCV_SHIPMENT_LINE_ID")), substrb(dump(min("RCV_SHIPMENT_LINE_ID"), 16, 0, 32), 1, 120), substrb(dump(max("RCV_SHIPMENT_LINE_ID"), 16, 0, 32), 1, 120), count("SUPPLIER_ITEM_NUMBER"), count(distinct "SUPPLIER_ITEM_NUMBER"), sum(vsize("SUPPLIER_ITEM_NUMBER")), substrb(dump(min(substrb("SUPPLIER_ITEM_NUMBER", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("SUPPLIER_ITE M_NUMBER", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE5"), count(distinct "TP_ATTRIBUTE5"), sum(vsize("TP_ATTRIBUTE5")), substrb(dump(min(substrb("TP_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE6"), count(distinct "TP_ATTRIBUTE6"), sum(vsize("TP_ATTRIBUTE6")), substrb(dump(min(substrb("TP_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE7"), count(distinct "TP_ATTRIBUTE7"), sum(vsize("TP_ATTRIBUTE7")), substrb(dump(min(substrb("TP_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE8"), count(distinct "TP_ATTRIBUTE8"), sum(vsize("TP_ATTRIBUTE8")), substrb(dump(min(substrb("TP_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE9"), count(distinct "TP_ATTRIBUTE9"), sum(vsize("TP_ATTRIBUTE9")), substrb(dump(min(substrb("TP_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE10"), count(distinct "TP_ATTRIBUTE10"), sum(vsize("TP_ATTRIBUTE10")), substrb(dump(min(substrb("TP_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE11"), count(distinct "TP_ATTRIBUTE11"), sum(vsize("TP_A TTRIBUTE11")), substrb(dump(min(substrb("TP_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE12"), count(distinct "TP_ATTRIBUTE12"), sum(vsize("TP_ATTRIBUTE12")), substrb(dump(min(substrb("TP_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE13"), count(distinct "TP_ATTRIBUTE13"), sum(vsize("TP_ATTRIBUTE13")), substrb(dump(mi n(substrb("TP_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE14"), count(distinct "TP_ATTRIBUTE14"), sum(vsize("TP_ATTRIBUTE14")), substrb(dump(min(substrb("TP_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), count("TP_ATTRIBUTE15"), count(distinct "TP_ATTRIBUTE15"), sum(vsize("TP_ATTRIBUTE15")), substrb(dump(min(substrb("TP_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("TP_ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE_CATEGORY"), count(distinct "ATTRIBUTE_CATEGORY"), sum(vsize("ATTRIBUTE_CATEGORY")), substrb(dump(min(substrb("ATTRIBUTE_CATEGORY", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE_CATEGORY", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE1"), count(distinct "ATTRIBUTE1"), sum(vsize("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(vsize("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(vsize("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(vsize("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(vsize("ATTRIBUTE5")), substrb(dump(min(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE5", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE6"), count(distinct "ATTRIBUTE6"), sum(vsize("ATTRIBU TE6")), substrb(dump(min(substrb("ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE6", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE7"), count(distinct "ATTRIBUTE7"), sum(vsize("ATTRIBUTE7")), substrb(dump(min(substrb("ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE7", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE8"), count(distinct "ATTRIBUTE8"), sum(vsize("ATTRIBUTE8")), substrb(dump(min(substrb("ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE8", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE9"), count(distinct "ATTRIBUTE9"), sum(vsize("ATTRIBUTE9")), substrb(dump(min(substrb("ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE9", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE10"), count(distinct "ATTRIBUTE10"), sum(vsize("ATTRIBUTE10")), substrb(dump(min(substrb("ATTRIBUTE10", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE10", 1, 32)), 16, 0, 32) , 1, 120), count("ATTRIBUTE11"), count(distinct "ATTRIBUTE11"), sum(vsize("ATTRIBUTE11")), substrb(dump(min(substrb("ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE11", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE12"), count(distinct "ATTRIBUTE12"), sum(vsize("ATTRIBUTE12")), substrb(dump(min(substrb("ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE12", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE13"), count(distinct "ATTRIBUTE13 "), sum(vsize("ATTRIBUTE13")), substrb(dump(min(substrb("ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE13", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE14"), count(distinct "ATTRIBUTE14"), sum(vsize("ATTRIBUTE14")), substrb(dump(min(substrb("ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE14", 1, 32)), 16, 0, 32), 1, 120), count("ATTRIBUTE15"), count(distinct "ATTRIBUTE15"), sum(vsize("ATTRIBUTE15")), substrb(dump(min(substrb("ATT RIBUTE15", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("ATTRIBUTE15", 1, 32)), 16, 0, 32), 1, 120), 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(distinct "CREATED_BY"), sum(vsize("CREATED_BY")), substrb(dump(min("CREATED_BY"), 16, 0, 32), 1, 120), substrb(dump(max("CREATED_BY"), 16, 0, 32), 1, 120), count(distinct "LAST_UPDATE_DATE"), substrb(dump(min("LAST_UPDATE_DATE"), 16, 0, 3 2), 1, 120), substrb(dump(max("LAST_UPDATE_DATE"), 16, 0, 32), 1, 120), count(distinct "LAST_UPDATED_BY"), sum(vsize("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_LOGIN"), count(distinct "LAST_UPDATE_LOGIN"), sum(vsize("LAST_UPDATE_LOGIN")), substrb(dump(min("LAST_UPDATE_LOGIN"), 16, 0, 32), 1, 120), substrb(dump(max("LAST_UPDATE_LOGIN"), 16, 0, 32), 1, 120), count("PROGRAM_APPLICATION_I D"), count(distinct "PROGRAM_APPLICATION_ID"), sum(vsize("PROGRAM_APPLICATION_ID")), substrb(dump(min("PROGRAM_APPLICATION_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PROGRAM_APPLICATION_ID"), 16, 0, 32), 1, 120), count("PROGRAM_ID"), count(distinct "PROGRAM_ID"), sum(vsize("PROGRAM_ID")), substrb(dump(min("PROGRAM_ID"), 16, 0, 32), 1, 120), substrb(dump(max("PROGRAM_ID"), 16, 0, 32), 1, 120), count("PROGRAM_UPDATE_DATE"), count(distinct "PROGRAM_UPDATE_DATE"), substrb(dump(min("PROGRAM_UPDATE_ DATE"), 16, 0, 32), 1, 120), substrb(dump(max("PROGRAM_UPDATE_DATE"), 16, 0, 32), 1, 120), count("REQUEST_ID"), count(distinct "REQUEST_ID"), sum(vsize("REQUEST_ID")), substrb(dump(min("REQUEST_ID"), 16, 0, 32), 1, 120), substrb(dump(max("REQUEST_ID"), 16, 0, 32), 1, 120), count("MOVEMENT_ID"), count(distinct "MOVEMENT_ID"), sum(vsize("MOVEMENT_ID")), substrb(dump(min("MOVEMENT_ID"), 16, 0, 32), 1, 120), substrb(dump(max("MOVEMENT_ID"), 16, 0, 32), 1, 120), count("SPLIT_FROM_DELIVERY_DETAIL_ID") , count(distinct "SPLIT_FROM_DELIVERY_DETAIL_ID"), sum(vsize("SPLIT_FROM_DELIVERY_DETAIL_ID")), substrb(dump(min("SPLIT_FROM_DELIVERY_DETAIL_ID"), 16, 0, 32), 1, 120), substrb(dump(max("SPLIT_FROM_DELIVERY_DETAIL_ID"), 16, 0, 32), 1, 120), count("INV_INTERFACED_FLAG"), count(distinct "INV_INTERFACED_FLAG"), sum(vsize("INV_INTERFACED_FLAG")), substrb(dump(min("INV_INTERFACED_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("INV_INTERFACED_FLAG"), 16, 0, 32), 1, 120), count("SEAL_CODE"), count(distin ct "SEAL_CODE"), sum(vsize("SEAL_CODE")), substrb(dump(min("SEAL_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("SEAL_CODE"), 16, 0, 32), 1, 120), count("MINIMUM_FILL_PERCENT"), count(distinct "MINIMUM_FILL_PERCENT"), sum(vsize("MINIMUM_FILL_PERCENT")), substrb(dump(min("MINIMUM_FILL_PERCENT"), 16, 0, 32), 1, 120), substrb(dump(max("MINIMUM_FILL_PERCENT"), 16, 0, 32), 1, 120), count("MAXIMUM_VOLUME"), count(distinct "MAXIMUM_VOLUME"), sum(vsize("MAXIMUM_VOLUME")), substrb(dump(min("MAXIMUM_VOLUME "), 16, 0, 32), 1, 120), substrb(dump(max("MAXIMUM_VOLUME"), 16, 0, 32), 1, 120), count("MAXIMUM_LOAD_WEIGHT"), count(distinct "MAXIMUM_LOAD_WEIGHT"), sum(vsize("MAXIMUM_LOAD_WEIGHT")), substrb(dump(min("MAXIMUM_LOAD_WEIGHT"), 16, 0, 32), 1, 120), substrb(dump(max("MAXIMUM_LOAD_WEIGHT"), 16, 0, 32), 1, 120), count("MASTER_SERIAL_NUMBER"), count(distinct "MASTER_SERIAL_NUMBER"), sum(vsize("MASTER_SERIAL_NUMBER")), substrb(dump(min("MASTER_SERIAL_NUMBER"), 16, 0, 32), 1, 120), substrb(dump(max("MA STER_SERIAL_NUMBER"), 16, 0, 32), 1, 120), count("GROSS_WEIGHT"), count(distinct "GROSS_WEIGHT"), sum(vsize("GROSS_WEIGHT")), substrb(dump(min("GROSS_WEIGHT"), 16, 0, 32), 1, 120), substrb(dump(max("GROSS_WEIGHT"), 16, 0, 32), 1, 120), count("FILL_PERCENT"), count(distinct "FILL_PERCENT"), sum(vsize("FILL_PERCENT")), substrb(dump(min("FILL_PERCENT"), 16, 0, 32), 1, 120), substrb(dump(max("FILL_PERCENT"), 16, 0, 32), 1, 120), count("CONTAINER_NAME"), sum(vsize("CONTAINER_NAME")), substrb(dump(min (substrb("CONTAINER_NAME", 1, 32)), 16, 0, 32), 1, 120), substrb(dump(max(substrb("CONTAINER_NAME", 1, 32)), 16, 0, 32), 1, 120), count("CONTAINER_TYPE_CODE"), count(distinct "CONTAINER_TYPE_CODE"), sum(vsize("CONTAINER_TYPE_CODE")), substrb(dump(min("CONTAINER_TYPE_CODE"), 16, 0, 32), 1, 120), substrb(dump(max("CONTAINER_TYPE_CODE"), 16, 0, 32), 1, 120), count(distinct "CONTAINER_FLAG"), sum(vsize("CONTAINER_FLAG")), substrb(dump(min("CONTAINER_FLAG"), 16, 0, 32), 1, 120), substrb(dump(max("CON TAINER_FLAG"), 16, 0, 32), 1, 120), count("PREFERRED_GRADE"), count(distinct "PREFERRED_GRADE"), sum(vsize("PREFERRED_GRADE")), substrb(dump(min("PREFERRED_GRADE"), 16, 0, 32), 1, 120), substrb(dump(max("PREFERRED_GRADE"), 16, 0, 32), 1, 120), count("SRC_REQUESTED_QUANTITY2"), count(distinct "SRC_REQUESTED_QUANTITY2"), sum(vsize("SRC_REQUESTED_QUANTITY2")), substrb(dump(min("SRC_REQUESTED_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("SRC_REQUESTED_QUANTITY2"), 16, 0, 32), 1, 120), count("S RC_REQUESTED_QUANTITY_UOM2"), count(distinct "SRC_REQUESTED_QUANTITY_UOM2"), sum(vsize("SRC_REQUESTED_QUANTITY_UOM2")), substrb(dump(min("SRC_REQUESTED_QUANTITY_UOM2"), 16, 0, 32), 1, 120), substrb(dump(max("SRC_REQUESTED_QUANTITY_UOM2"), 16, 0, 32), 1, 120), count("REQUESTED_QUANTITY2"), count(distinct "REQUESTED_QUANTITY2"), sum(vsize("REQUESTED_QUANTITY2")), substrb(dump(min("REQUESTED_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("REQUESTED_QUANTITY2"), 16, 0, 32), 1, 120), count("SHIPP ED_QUANTITY2"), count(distinct "SHIPPED_QUANTITY2"), sum(vsize("SHIPPED_QUANTITY2")), substrb(dump(min("SHIPPED_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("SHIPPED_QUANTITY2"), 16, 0, 32), 1, 120), count("DELIVERED_QUANTITY2"), count(distinct "DELIVERED_QUANTITY2"), sum(vsize("DELIVERED_QUANTITY2")), substrb(dump(min("DELIVERED_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("DELIVERED_QUANTITY2"), 16, 0, 32), 1, 120), count("CANCELLED_QUANTITY2"), count(distinct "CANCELLED_QUANTITY2" ), sum(vsize("CANCELLED_QUANTITY2")), substrb(dump(min("CANCELLED_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("CANCELLED_QUANTITY2"), 16, 0, 32), 1, 120), count("QUALITY_CONTROL_QUANTITY2"), count(distinct "QUALITY_CONTROL_QUANTITY2"), sum(vsize("QUALITY_CONTROL_QUANTITY2")), substrb(dump(min("QUALITY_CONTROL_QUANTITY2"), 16, 0, 32), 1, 120), substrb(dump(max("QUALITY_CONTROL_QUANTITY2"), 16, 0, 32), 1, 120) from "WSH"."WSH_DELIVERY_DETAILS" t
bc7t6t6jfx2n7 SELECT VERSION FROM FND_CACHE_VERSIONS WHERE NAME = :B1
bf4kcv5v66czb 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_r esource_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 = :1 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_extn s r WHERE atth.entity_name = 'CS_INCIDENTS' AND atth.pk1_value = :2 AND atth.created_by = u.user_id AND atth.function_name = :3 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, s tl.name, tktype.name, 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, 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 = :4 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.effecti ve_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_PRO DUCT_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_FLA G, '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, c s_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 = :5 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 sta t_old.incident_status_id = AUDI.old_incident_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 SELE CT '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 = :6 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
bk9zgysk994av SELECT /*+ ORDERED USE_NL(qpq qplatq qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_outer_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENC E , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_EFFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ .LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SECOND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID, QUALIFIER_GROUPING_NO FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = QPTQ.QUALIFIER_GROUPING_NO AND QPQ.QUALIFIER_GROUPING_NO <> -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.QUALIFIER_ATTR_VALUE = QPLATQ.VALUE_FROM AND QPQ.COMPARISON_OPERATOR_CODE = '=' AND QPQ.SEARCH_IND = 2 AND QPQ.QUALIFIER_GROUP_CNT > 1 AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND ((:B7 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIV E , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPH.ACTIVE_FLAG = :B5 AND QPQ.ACTIVE_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE U NION ALL SELECT /*+ ORDERED USE_NL(qpq qplatq qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_o uter_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER _PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_EFFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SECOND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.QUALIFIER_ATTR_VALUE = QPLATQ.VALUE_FROM AND QPQ.COMPARISON_OPERATOR_CODE = '=' AND QPQ.SEARCH_IND = 2 AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_ CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND ((:B7 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DA TE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPH.ACTIVE_FLAG = :B5 AND QPQ.ACTIVE_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE UNION ALL SELECT /*+ ORDERED USE_NL(qpq qplatq qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_m ini_outer_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_AC TIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_EFFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SECOND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID, QUALIFIER_GROUPING_NO FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = QPTQ.QUALIFIER_GROUPING_NO AND QPQ.QUALIFIER_GROUPING_NO <> -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.COMPARISON_OPERATOR_CODE = :B14 AND QPQ.QUALIFIER_DATATYPE = :B13 AND QPQ.SEARCH_IND = 2 AND QPQ.QUALIFIER_GROUP_CNT > 1 AND FND_NUMBER.CANONICAL_TO_NUMBER(DECODE(QPQ.QUALIFIER_DATATYPE, :B13 , QPLATQ.VALUE_FRO M, NULL)) BETWEEN QPQ.QUAL_ATTR_VALUE_FROM_NUMBER AND QPQ.QUAL_ATTR_VALUE_TO_NUMBER AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND ((:B7 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIV E, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPH.ACTIVE_FLAG = :B5 AND QPQ.ACTIVE_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 A ND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE UNION ALL SELECT /*+ ORDERED USE_NL(qpq qplatq qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_ou ter_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIE R_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_EFFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_ CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SECOND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = : B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.COMPARISON_OPERATOR_CODE = :B14 AND QPQ.QUALIFIER_DATATYPE = :B13 AND QPQ.SEARCH_IND = 2 AND FND_NUMBER.CANONICAL_TO_NUMBER(DECODE(QPQ .QUALIFIER_DATATYPE, :B13 , QPLATQ.VALUE_FROM, NULL)) BETWEEN QPQ.QUAL_ATTR_VALUE_FROM_NUMBER AND QPQ.QUAL_ATTR_VALUE_TO_NUMBER AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND ((:B7 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DAT E_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPH.ACTIVE_FLAG = :B5 AND QPQ.ACTIVE_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_T YPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE UNION ALL SELECT /*+ ORDERED USE_NL(qpq qplatq qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_outer_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATT RIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_EFFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FI RST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SECOND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID, QUALIFI ER_GROUPING_NO FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = QPTQ.QUALIFIER_GROUPING_NO AND QPQ.QUALIFIER_GROUPING_NO <> -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.CO MPARISON_OPERATOR_CODE = :B14 AND QPQ.SEARCH_IND = 2 AND QPQ.QUALIFIER_GROUP_CNT > 1 AND QPQ.QUALIFIER_DATATYPE IN (:B17 , :B16 , :B15 ) AND QPLATQ.VALUE_FROM BETWEEN QPQ.QUALIFIER_ATTR_VALUE AND QPQ.QUALIFIER_ATTR_VALUE_TO AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND QPH.ACTIVE_FLAG = :B5 AND ((:B7 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPQ.ACTIVE_FLAG = :B5 AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE UNION ALL SELECT /*+ ORDERED USE_NL(qpq qplh qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_out er_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_ FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PR ICING_EFFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_D ATE_SECOND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.COMPARISON_OPERATOR_CODE = :B14 AND QPQ.SEARCH_IND = 2 AND QPQ.QUALIFIER_DATATYPE IN (:B17 , :B16 , :B15 ) AND QPLATQ.VALUE_FROM BETWEEN QPQ.QUALIFIER_ATTR_VALUE AND QPQ.QUALIFIER_ATTR_VALUE_TO AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND QPH.ACTIVE_FLAG = :B5 AND ((:B7 BETWEEN NV L(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPQ.ACTIVE_FLAG = :B5 AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH. LIST_HEADER_ID AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE UNION ALL SELECT /*+ ORDERED USE_NL(qpq qplh qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_outer_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_EFFECTIVE_DATE, QPH .START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SECOND_TYPE, QPH.LIMI T_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID, QUALIFIER_GROUPING_NO FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = QPTQ.QUALIFIER_GROUPING_NO AND QPQ.QUALIFIER_GROUPING_NO <> -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ.COMPARISON_OPERATOR_CODE = 'NOT =' AND QPQ.QUALIFIER_ATTR_VALUE <> QPLATQ.VALUE_FROM AND QPQ.SEARCH_IND = 2 AND QPQ.QUALIFIER_GROUP_CNT > 1 AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND ((:B7 BETWEEN NVL(QPH.ST ART_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPH.ACTIVE_FLAG = :B5 AND QPQ.ACTIVE_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.LINE_INDEX > 0 AND QPLA TQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE UNION ALL SELECT /*+ ORDERED USE_NL(qpq qplh qph) index(qpq qp_qualifiers_n1) index(qph qp_list_headers_b_n7) l_mini_out er_qual_cur_mod */ QPQ.LIST_HEADER_ID, QPQ.LIST_LINE_ID LIST_LINE_ID, QPQ.QUALIFIER_GROUP_CNT, QPQ.OTHERS_GROUP_CNT, QPQ.HEADER_QUALS_EXIST_FLAG, QPQ.SEARCH_IND, :B11 VALIDATED_FLAG, :B11 APPLIED_FLAG, :B12 ATTRIBUTE_LEVEL, :B4 ATTRIBUTE_TYPE, QPLATQ.CONTEXT , QPLATQ.ATTRIBUTE , QPLATQ.VALUE_FROM , QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO , QPQ.QUALIFIER_PRECEDENCE , QPQ.QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE , QPQ.QUALIFIER_ATTR_VALUE_TO , QPQ.START_DATE_ACTIVE, QPQ.END_DATE_ACTIVE, :B11 PRICING_ATTR_FLAG, QPQ.COMPARISON_OPERATOR_CODE , QPH.LIST_TYPE_CODE, QPH.ASK_FOR_FLAG, QPLATQ.PRICING_STATUS_CODE, 'OHQ1' , NULL LINE_INDEX, NULL PRICING_E FFECTIVE_DATE, QPH.START_DATE_ACTIVE_FIRST START_DATE_ACTIVE_FIRST, QPH.END_DATE_ACTIVE_FIRST END_DATE_ACTIVE_FIRST, NULL LINE_TYPE_CODE, :B1 PRICING_PHASE_ID, QPQ.LIST_HEADER_ID || '-' || QPQ.LIST_LINE_ID || '-' || QPQ.QUALIFIER_GROUPING_NO UNIQUE_KEY, QPH.START_DATE_ACTIVE START_DATE_ACTIVE_H, QPH.END_DATE_ACTIVE END_DATE_ACTIVE_H, QPH.START_DATE_ACTIVE_SECOND START_DATE_ACTIVE_SECOND, QPH.END_DATE_ACTIVE_SECOND END_DATE_ACTIVE_SECOND, QPH.ACTIVE_DATE_FIRST_TYPE, QPH.ACTIVE_DATE_SEC OND_TYPE, QPH.LIMIT_EXISTS_FLAG FROM (SELECT DISTINCT LIST_HEADER_ID, LIST_LINE_ID FROM QP_PREQ_QUAL_TMP WHERE PRICING_STATUS_CODE = :B2 AND PRICING_PHASE_ID = :B1 ) QPTQ, QP_QUALIFIERS QPQ , QP_NPREQ_LINE_ATTRS_TMP QPLATQ, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS WHERE QPQ.LIST_HEADER_ID = QPTQ.LIST_HEADER_ID AND QPQ.LIST_LINE_ID = QPTQ.LIST_LINE_ID AND QPQ.QUALIFIER_GROUPING_NO = -1 AND QPQ.QUALIFIER_CONTEXT = QPLATQ.CONTEXT AND QPQ.QUALIFIER_ATTRIBUTE = QPLATQ.ATTRIBUTE AND QPQ .COMPARISON_OPERATOR_CODE = 'NOT =' AND QPQ.QUALIFIER_ATTR_VALUE <> QPLATQ.VALUE_FROM AND QPQ.SEARCH_IND = 2 AND ((QPH.CURRENCY_CODE IS NOT NULL AND QPH.CURRENCY_CODE = :B10 ) OR QPH.CURRENCY_CODE IS NULL) AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND ((:B7 BETWEEN NVL(QPH.START_DATE_ACTIVE , :B7 ) AND NVL(QPH.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPH.START_DATE_ACTIVE , : B6 ) AND NVL(QPH.END_DATE_ACTIVE, :B6 ))) AND ((:B7 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B7 ) AND NVL(QPQ.END_DATE_ACTIVE, :B7 ) OR :B6 BETWEEN NVL(QPQ.START_DATE_ACTIVE , :B6 ) AND NVL(QPQ.END_DATE_ACTIVE, :B6 ))) AND QPH.LIST_TYPE_CODE NOT IN ('PRL', 'AGR') AND QPH.ACTIVE_FLAG = :B5 AND QPQ.ACTIVE_FLAG = :B5 AND QPQ.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPLATQ.LINE_INDEX > 0 AND QPLATQ.DISTINCT_QUALIFIER_FLAG = :B5 AND QPLATQ.PRICING_STATUS_CODE = :B2 AND QPLATQ.ATTRIBUTE_TYPE = :B4 AND QPRS.REQUEST_TYPE_CODE = :B3 AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE
bkxrrs52m7d8p BEGIN WSH_SHIP_CONFIRM_ACTIONS.interface_ALL_wrp( :errbuf, :rc, :A0, :A1, :A2, :A3, :A4, :A5, :A6, :A7, :A8); END;
bt0w082dfrm8v BEGIN WSH_SHIP_CONFIRM_ACTIONS.interface_ALL_wrp( :errbuf, :rc, :A0, :A1, :A2, :A3); END;
bvyqm6268u2as SELECT NODE_NAME FROM FND_NODES WHERE NODE_ID = :B1
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.AM T_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 IN VOICE_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', 'PA RPAID', '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_fl ag, '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 RE PORT_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_R EMAINING , 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_M ASK (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_MA SK (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', 'FndVi ewPayablesEnabled', '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_I NVOICES 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
c4y7jp0q2awbf SELECT PROFILE_OPTION_VALUE FROM FND_PROFILE_OPTION_VALUES WHERE PROFILE_OPTION_ID = :B4 AND APPLICATION_ID = :B3 AND LEVEL_ID = :B2 AND LEVEL_VALUE = :B1
cgb6kp2umq52a select t.schema, t.name, t.flags, q.name, t.timezone from system.aq$_queue_tables t, system.aq$_queues q where t.objno = :1 and q.table_objno = t.objno and q.usage = 0 and NOT ( t.name in ('DEF$_AQCALL' , 'DEF$_AQERROR') and t.schema = 'SYSTEM')
cwyx16zn1hpfb select parameter, value from nls_session_parameters
dkvvgc7c1wksu select CONTRACT_ID||'~'||L.AGREEMENT_ID||'~'||L.COMMENTS||'~'||L.CONS_BILLING_NUMBER||'~'||L.CONVERSION_RATE||'~'||L.CONVERSION_TYPE||'~'||L.CREDIT_METHOD_FOR_ACCT_RULE||'~'||L.CREDIT_METHOD_FOR_INSTALLMENTS||'~'||L.CURRENCY_CODE||'~'||L.CUSTOMER_BANK_ACCOUNT_ID||'~'||L.CUST_TRX_TYPE_ID||'~'||L.DOCUMENT_NUMBER||'~'||L.DOCUMENT_NUMBER_SEQUENCE_ID||'~'||L.GL_DATE||'~'||L.HEADER_ATTRIBUTE1||'~'||L.HEADER_ATTRIBUTE10||'~'||L.HEADER_ATTRIBUTE11||'~'||L.HEADER_ATTRIBUTE12||'~'||L.HEADER_ATTRIBUTE13||' ~'||L.HEADER_ATTRIBUTE14||'~'||L.HEADER_ATTRIBUTE15||'~'||L.HEADER_ATTRIBUTE2||'~'||L.HEADER_ATTRIBUTE3||'~'||L.HEADER_ATTRIBUTE4||'~'||L.HEADER_ATTRIBUTE5||'~'||L.HEADER_ATTRIBUTE6||'~'||L.HEADER_ATTRIBUTE7||'~'||L.HEADER_ATTRIBUTE8||'~'||L.HEADER_ATTRIBUTE9||'~'||L.HEADER_ATTRIBUTE_CATEGORY||'~'||L.HEADER_GDF_ATTRIBUTE1||'~'||L.HEADER_GDF_ATTRIBUTE10||'~'||L.HEADER_GDF_ATTRIBUTE11||'~'||L.HEADER_GDF_ATTRIBUTE12||'~'||L.HEADER_GDF_ATTRIBUTE13||'~'||L.HEADER_GDF_ATTRIBUTE14||'~'||L.HEADER_GDF_AT TRIBUTE15||'~'||L.HEADER_GDF_ATTRIBUTE16||'~'||L.HEADER_GDF_ATTRIBUTE17||'~'||L.HEADER_GDF_ATTRIBUTE18||'~'||L.HEADER_GDF_ATTRIBUTE19||'~'||L.HEADER_GDF_ATTRIBUTE2||'~'||L.HEADER_GDF_ATTRIBUTE20||'~'||L.HEADER_GDF_ATTRIBUTE21||'~'||L.HEADER_GDF_ATTRIBUTE22||'~'||L.HEADER_GDF_ATTRIBUTE23||'~'||L.HEADER_GDF_ATTRIBUTE24||'~'||L.HEADER_GDF_ATTRIBUTE25||'~'||L.HEADER_GDF_ATTRIBUTE26||'~'||L.HEADER_GDF_ATTRIBUTE27||'~'||L.HEADER_GDF_ATTRIBUTE28||'~'||L.HEADER_GDF_ATTRIBUTE29||'~'||L.HEADER_GDF_ATTRIBU TE3||'~'||L.HEADER_GDF_ATTRIBUTE30||'~'||L.HEADER_GDF_ATTRIBUTE4||'~'||L.HEADER_GDF_ATTRIBUTE5||'~'||L.HEADER_GDF_ATTRIBUTE6||'~'||L.HEADER_GDF_ATTRIBUTE7||'~'||L.HEADER_GDF_ATTRIBUTE8||'~'||L.HEADER_GDF_ATTRIBUTE9||'~'||L.INITIAL_CUSTOMER_TRX_ID||'~'||L.INTERFACE_LINE_ATTRIBUTE1||'~'||L.INTERNAL_NOTES||'~'||L.INVOICING_RULE_ID||'~'||L.LINE_GDF_ATTR_CATEGORY||'~'||L.ORIG_SYSTEM_BATCH_NAME||'~'||L.ORIG_SYSTEM_BILL_ADDRESS_ID||'~'||L.ORIG_SYSTEM_BILL_CONTACT_ID||'~'||L.ORIG_SYSTEM_BILL_CUSTOMER_ID ||'~'||L.ORIG_SYSTEM_SHIP_ADDRESS_ID||'~'||L.ORIG_SYSTEM_SHIP_CONTACT_ID||'~'||L.ORIG_SYSTEM_SHIP_CUSTOMER_ID||'~'||L.ORIG_SYSTEM_SOLD_CUSTOMER_ID||'~'||L.PAYMENT_SET_ID||'~'||L.PREVIOUS_CUSTOMER_TRX_ID||'~'||L.PRIMARY_SALESREP_ID||'~'||L.PRINTING_OPTION||'~'||L.PURCHASE_ORDER||'~'||L.PURCHASE_ORDER_DATE||'~'||L.PURCHASE_ORDER_REVISION||'~'||L.REASON_CODE||'~'||L.RECEIPT_METHOD_ID||'~'||L.RELATED_CUSTOMER_TRX_ID||'~'||L.SET_OF_BOOKS_ID||'~'||L.TERM_ID||'~'||L.TERRITORY_ID||'~'||L.TRX_DATE||'~'|| L.TRX_NUMBER||'~'||NVL(L.CONVERSION_DATE, L.TRX_DATE), substrb(l.line_type, 1, 1), null, null, l.rowid, null, 'B', '2' from ra_cust_trx_types t, ra_interface_lines l where l.request_id = :request_id and nvl(l.interface_status, '~') != 'P' and l.cust_trx_type_id = t.cust_trx_type_id and t.type = :trx_type and NOT ((l.reference_line_id is not null or l.reference_line_attribute1 || l.reference_line_attribute2 || l.reference_line_attribute3 || l.reference_line_attribute 4 || l.reference_line_attribute5 || l.reference_line_attribute6 || l.reference_line_attribute7 || l.reference_line_attribute8 || l.reference_line_attribute9 || l.reference_line_attribute10 || l.reference_line_attribute11 || l.reference_line_attribute12 || l.reference_line_attribute13 || l.reference_line_attribute14 || l.reference_line_attribute15 is not null) and t.type = 'CM') and exists ( select 'x' from ra_interface_lines l2, hz_cust_site_uses u, hz_customer_profiles p_cust, hz_customer_profiles p_site, ra_batch_sources bs, ar_system_parameters p where l2.orig_system_bill_customer_id = p_cust.cust_account_id and p_cust.site_use_id is null and l2.orig_system_bill_address_id = u.cust_acct_site_id(+) and u.site_use_code(+) = 'BILL_TO' and u.status(+) = 'A' and u.site_use_id = p_site.site_use_id (+) and nvl(bs.grouping_rule_id, nvl(p_site.grouping_rule_id, nvl(p_cust.grouping_rule_id, p.default_grouping_rule_id))) = :grule_id and l2.set_of_books_id = p.set_of_books_id and l.rowid = l2.rowid and bs.batch_source_id = :bs_id and bs.name = l2.batch_source_name ) and nvl(l.interface_status, '~') != 'P' and l.link_to_line_id is null and not exists ( select /*+ index(e) */ 'x' from ra_interface_errors e where e.interface_line_id = l.interface_line_id ) and not exists ( select 'x' from ra_interface_lines lk where exists (select /* + index(e) */ 'x' from ra_interface_errors e where e.interface_line_id = lk.interface_line_id) and lk.link_to_line_id = l.interface_line_id ) union select CONTRACT_ID||'~'||L.AGREEMENT_ID||'~'||L.COMMENTS||'~'||L.CONS_BILLING_NUMBER||'~'||L.CONVERSION_RATE||'~'||L.CONVERSION_TYPE||'~'||L.CREDIT_METHOD_FOR_ACCT_RULE||'~'||L.CREDIT_METHOD_FOR_INSTALLMENTS||'~'||L.CURRENCY_CODE||'~'||L.CUSTOMER_BANK_ACCOUNT_ID||'~'||L.CUST_TRX_TYPE_ID||'~'||L.DOCUMENT_NUMBER||'~'||L.DOCUMENT_NUM BER_SEQUENCE_ID||'~'||L.GL_DATE||'~'||L.HEADER_ATTRIBUTE1||'~'||L.HEADER_ATTRIBUTE10||'~'||L.HEADER_ATTRIBUTE11||'~'||L.HEADER_ATTRIBUTE12||'~'||L.HEADER_ATTRIBUTE13||'~'||L.HEADER_ATTRIBUTE14||'~'||L.HEADER_ATTRIBUTE15||'~'||L.HEADER_ATTRIBUTE2||'~'||L.HEADER_ATTRIBUTE3||'~'||L.HEADER_ATTRIBUTE4||'~'||L.HEADER_ATTRIBUTE5||'~'||L.HEADER_ATTRIBUTE6||'~'||L.HEADER_ATTRIBUTE7||'~'||L.HEADER_ATTRIBUTE8||'~'||L.HEADER_ATTRIBUTE9||'~'||L.HEADER_ATTRIBUTE_CATEGORY||'~'||L.HEADER_GDF_ATTRIBUTE1||'~'||L. HEADER_GDF_ATTRIBUTE10||'~'||L.HEADER_GDF_ATTRIBUTE11||'~'||L.HEADER_GDF_ATTRIBUTE12||'~'||L.HEADER_GDF_ATTRIBUTE13||'~'||L.HEADER_GDF_ATTRIBUTE14||'~'||L.HEADER_GDF_ATTRIBUTE15||'~'||L.HEADER_GDF_ATTRIBUTE16||'~'||L.HEADER_GDF_ATTRIBUTE17||'~'||L.HEADER_GDF_ATTRIBUTE18||'~'||L.HEADER_GDF_ATTRIBUTE19||'~'||L.HEADER_GDF_ATTRIBUTE2||'~'||L.HEADER_GDF_ATTRIBUTE20||'~'||L.HEADER_GDF_ATTRIBUTE21||'~'||L.HEADER_GDF_ATTRIBUTE22||'~'||L.HEADER_GDF_ATTRIBUTE23||'~'||L.HEADER_GDF_ATTRIBUTE24||'~'||L.HEADE R_GDF_ATTRIBUTE25||'~'||L.HEADER_GDF_ATTRIBUTE26||'~'||L.HEADER_GDF_ATTRIBUTE27||'~'||L.HEADER_GDF_ATTRIBUTE28||'~'||L.HEADER_GDF_ATTRIBUTE29||'~'||L.HEADER_GDF_ATTRIBUTE3||'~'||L.HEADER_GDF_ATTRIBUTE30||'~'||L.HEADER_GDF_ATTRIBUTE4||'~'||L.HEADER_GDF_ATTRIBUTE5||'~'||L.HEADER_GDF_ATTRIBUTE6||'~'||L.HEADER_GDF_ATTRIBUTE7||'~'||L.HEADER_GDF_ATTRIBUTE8||'~'||L.HEADER_GDF_ATTRIBUTE9||'~'||L.INITIAL_CUSTOMER_TRX_ID||'~'||L.INTERFACE_LINE_ATTRIBUTE1||'~'||L.INTERNAL_NOTES||'~'||L.INVOICING_RULE_ID||' ~'||L.LINE_GDF_ATTR_CATEGORY||'~'||L.ORIG_SYSTEM_BATCH_NAME||'~'||L.ORIG_SYSTEM_BILL_ADDRESS_ID||'~'||L.ORIG_SYSTEM_BILL_CONTACT_ID||'~'||L.ORIG_SYSTEM_BILL_CUSTOMER_ID||'~'||L.ORIG_SYSTEM_SHIP_ADDRESS_ID||'~'||L.ORIG_SYSTEM_SHIP_CONTACT_ID||'~'||L.ORIG_SYSTEM_SHIP_CUSTOMER_ID||'~'||L.ORIG_SYSTEM_SOLD_CUSTOMER_ID||'~'||L.PAYMENT_SET_ID||'~'||L.PREVIOUS_CUSTOMER_TRX_ID||'~'||L.PRIMARY_SALESREP_ID||'~'||L.PRINTING_OPTION||'~'||L.PURCHASE_ORDER||'~'||L.PURCHASE_ORDER_DATE||'~'||L.PURCHASE_ORDER_REV ISION||'~'||L.REASON_CODE||'~'||L.RECEIPT_METHOD_ID||'~'||L.RELATED_CUSTOMER_TRX_ID||'~'||L.SET_OF_BOOKS_ID||'~'||L.TERM_ID||'~'||L.TERRITORY_ID||'~'||L.TRX_DATE||'~'||L.TRX_NUMBER||'~'||NVL(L.CONVERSION_DATE, L.TRX_DATE), substrb(l.line_type, 1, 1), null, null, l.rowid, null, 'B', '1' from ra_cust_trx_types t, ra_interface_lines l where l.request_id = :request_id and nvl(l.interface_status, '~') != 'P' and l.cust_trx_type_id = t.cust_trx_type_id and t.type = :trx_type and NOT ((l.reference_line_id is not null or l.reference_line_attribute1 || l.reference_line_attribute2 || l.reference_line_attribute3 || l.reference_line_attribute4 || l.reference_line_attribute5 || l.reference_line_attribute6 || l.reference_line_attribute7 || l.reference_line_attribute8 || l.reference_line_attribute9 || l.reference_line_attribute10 || l.reference_line_attribute11 || l.reference_line_attribute12 || l.reference_line_attribute13 || l.reference_line_attribute14 || l.reference_ line_attribute15 is not null) and t.type = 'CM') and exists ( select 'x' from ra_interface_lines l2, hz_cust_site_uses u, hz_customer_profiles p_cust, hz_customer_profiles p_site, ra_batch_sources bs, ar_system_parameters p where l2.orig_system_bill_customer_id = p_cust.cust_account_id and p_cust.site_use_id is null and l2.orig_system_bill_address_id = u.cust_acct_site_id(+) and u.site_use_code(+) = 'BILL_TO' and u.status(+) = 'A' an d u.site_use_id = p_site.site_use_id (+) and nvl(bs.grouping_rule_id, nvl(p_site.grouping_rule_id, nvl(p_cust.grouping_rule_id, p.default_grouping_rule_id))) = :grule_id and l2.set_of_books_id = p.set_of_books_id and l.rowid = l2.rowid and bs.batch_source_id = :bs_id and bs.name = l2.batch_source_name ) and nvl(l.interface_status, '~') != 'P' and l.link_to_line_id is null and (exists ( select /*+ index(e) */ 'x' from ra_interface_errors e where e.interface_line_id = l.interface_line_id ) or exists ( select 'x' from ra_interface_lines lk where exists (select /*+ index(e) */ 'x' from ra_interface_errors e where e.interface_line_id = lk.interface_line_id) and lk.link_to_line_id = l.interface_line_id )) order by 1 asc, 8 asc, 2 desc
fc74w8q18dtdu SELECT /*+ ORDERED USE_NL(QPQ QPLAT_Q QPLAT_PROD QPA QPL QPH) INDEX(QPQ QP_QUALIFIERS_N1) INDEX(QPLAT_Q qp_preq_line_attrs_tmp_N2) l_list_qual_cur */ QPLAT_PROD.LINE_INDEX, QPL.LIST_LINE_ID, QPL.ARITHMETIC_OPERATOR, QPL.OPERAND, QPL.PRICING_GROUP_SEQUENCE, QPL.LIST_LINE_TYPE_CODE, QPL.PRICING_PHASE_ID, QPL.AUTOMATIC_FLAG, QPL.INCOMPATIBILITY_GRP_CODE, QPL.PRICE_BY_FORMULA_ID, QPL.PRODUCT_PRECEDENCE, QPL.PRIMARY_UOM_FLAG, QPL.MODIFIER_LEVEL_CODE, QPL.LIST_LINE_NO, QPA.PRODUCT_UOM_CO DE, QPA.EXCLUDER_FLAG, QPH.LIST_TYPE_CODE, QCDT.ROUNDING_FACTOR, QPH.LIST_HEADER_ID LIST_HEADER_ID, QPLAT_PROD.CONTEXT PRODUCT_ATTRIBUTE_CONTEXT, QPLAT_PROD.ATTRIBUTE PRODUCT_ATTRIBUTE, QPLAT_PROD.VALUE_FROM PRODUCT_ATTR_VALUE_FROM, QPLAT_PROD.ATTRIBUTE_LEVEL PRODUCT_ATTRIBUTE_LEVEL, QPLAT_PROD.ATTRIBUTE_TYPE PRODUCT_ATTRIBUTE_TYPE, QPLAT_PROD.APPLIED_FLAG, NULL PRICING_ATTRIBUTE_CONTEXT, NULL PRICING_ATTRIBUTE, NULL PRICING_ATTR_VALUE_FROM, NULL PRICING_SETUP_VALUE_FROM, NULL PRI CING_SETUP_VALUE_TO, NULL PRICING_ATTRIBUTE_LEVEL, NULL PRICING_ATTRIBUTE_TYPE, NULL PRICING_OPERATOR_TYPE, QPLAT_Q.CONTEXT QUALIFIER_ATTRIBUTE_CONTEXT, QPLAT_Q.ATTRIBUTE QUALIFIER_ATTRIBUTE, QPLAT_Q.VALUE_FROM QUALIFIER_ATTR_VALUE_FROM, QPLAT_Q.PRICING_ATTR_FLAG QUALIFIER_PRICING_ATTR_FLAG, QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO, QPQ.QUALIFIER_PRECEDENCE QUALIFIER_PRECEDENCE, QPQ.QUALIFIER_DATATYPE QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE SETUP_VALUE_FROM, QPQ.QUALIFIER _ATTR_VALUE_TO SETUP_VALUE_TO, QPQ.COMPARISON_OPERATOR_CODE QUALIFIER_OPERATOR_TYPE, NULL PRICING_ATTRIBUTE_DATATYPE, DECODE(QPQ.LIST_LINE_ID, -1, 'HQ', 'LQ') QUALIFIER_TYPE, QCDT.CURRENCY_DETAIL_ID, QCDT.CURRENCY_HEADER_ID, QCDT.SELLING_ROUNDING_FACTOR, QPLINES.CURRENCY_CODE ORDER_CURRENCY, QPLINES.PRICING_EFFECTIVE_DATE, QPH.CURRENCY_CODE BASE_CURRENCY_CODE , QPL.BREAK_UOM_CODE , QPL.BREAK_UOM_CONTEXT , QPL.BREAK_UOM_ATTRIBUTE FROM QP_NPREQ_LINES_TMP QPLINES, QP_QUALIFIERS QPQ, Q P_NPREQ_LINE_ATTRS_TMP QPLAT_Q, QP_NPREQ_LINE_ATTRS_TMP QPLAT_PROD, QP_PRICING_ATTRIBUTES QPA, QP_LIST_LINES QPL, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS, QP_CURRENCY_DETAILS QCDT WHERE QPA.PRICING_PHASE_ID = :B15 AND QPA.QUALIFICATION_IND = :B14 AND QPLAT_PROD.CONTEXT = QPA.PRODUCT_ATTRIBUTE_CONTEXT AND (QPLINES.PRICE_FLAG = :B3 OR (QPLINES.PRICE_FLAG = :B13 AND :B12 = :B3 )) AND QPLINES.LIST_PRICE_OVERRIDE_FLAG IN ('N', 'O') AND QPLINES.LINE_TYPE_CODE <> :B11 AND QPLINE S.VALIDATED_FLAG = :B10 AND QPLINES.QUALIFIERS_EXIST_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE = QPA.PRODUCT_ATTRIBUTE AND QPLAT_PROD.VALUE_FROM = QPA.PRODUCT_ATTR_VALUE AND QPA.EXCLUDER_FLAG = :B10 AND QPL.LIST_HEADER_ID = QPH.LIST_HEADER_ID AND QPA.LIST_LINE_ID = QPL.LIST_LINE_ID AND QPA.LIST_HEADER_ID = QPLINES.PRICE_LIST_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPH.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPH.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIV E_DATE) AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPL.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPL.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPH.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND QPLINES.CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT .START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND ( (QCDT.CURR_ATTRIBUTE_CONTEXT IS NULL AND NOT EXISTS (SELECT /*+ ORDERED use_nl(qcdt1) */ 'x' FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP, QP_CURRENCY_DETAILS QCDT1 WHERE QCDT1.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT1.CURR_ATTRIBUTE_CONTEXT = PA_TMP.CONTEXT AND QCDT1.CURR_ATTRIBUTE = PA_TMP.ATTRIBUTE AND QCDT1.CURR_ATTRIBUTE_VALUE = PA_TMP.VALUE_FROM AND QCDT1.CURR_ATTRIBUT E_TYPE = PA_TMP.ATTRIBUTE_TYPE AND QCDT1.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT1.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP.PRICING_STATUS_CODE = :B1 AND PA_TMP.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT1.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT1.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) ) ) OR (QCDT.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT.CURRENCY_DETAIL_ID = (SELECT QCDT3.CURRENCY_D ETAIL_ID FROM QP_CURRENCY_DETAILS QCDT3 WHERE QCDT3.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT3.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT3.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT3.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QCDT3.PRECEDENCE = (SELECT /*+ ORDERED use_nl(qcdt2) */ MIN(QCDT2.PRECEDENCE) FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP1, QP_CURRENCY_DETAILS QCDT2 WHERE QCDT2.CURR_ATTRIBU TE_CONTEXT IS NOT NULL AND QCDT2.CURR_ATTRIBUTE_CONTEXT = PA_TMP1.CONTEXT AND QCDT2.CURR_ATTRIBUTE = PA_TMP1.ATTRIBUTE AND QCDT2.CURR_ATTRIBUTE_VALUE = PA_TMP1.VALUE_FROM AND QCDT2.CURR_ATTRIBUTE_TYPE = PA_TMP1.ATTRIBUTE_TYPE AND QCDT2.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT2.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP1.PRICING_STATUS_CODE = :B1 AND PA_TMP1.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT2.START_DATE_ACTIVE), QPLINES .PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT2.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) )) ) ) AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE AND QPLINES.REQUEST_TYPE_CODE = QPRS.REQUEST_TYPE_CODE AND QPH.ACTIVE_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE_TYPE = :B7 AND QPLAT_Q.ATTRIBUTE_TYPE = :B6 AND (QPQ.QUALIFIER_CONTEXT <> :B5 OR QPQ.QUALIFIER_ATTRIBUTE <> :B4 ) AND QPLAT_Q.CONTEXT = QPQ.QUALIFIER_CONTEXT AND QPLAT_Q.ATTRIBUTE = QPQ.QUALIFIER_ATTRIBUTE AND QPQ.LIST_HEADER_I D = QPLINES.PRICE_LIST_HEADER_ID AND QPQ.ACTIVE_FLAG = :B3 AND ((QPLAT_Q.VALUE_FROM = QPQ.QUALIFIER_ATTR_VALUE AND QPQ.COMPARISON_OPERATOR_CODE = '=') OR (QPLAT_Q.VALUE_FROM <> QPQ.QUALIFIER_ATTR_VALUE AND QPQ.COMPARISON_OPERATOR_CODE = 'NOT =') OR QPQ.COMPARISON_OPERATOR_CODE = :B2 ) AND QPLAT_Q.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(QPQ.START_DATE_ACTIVE, QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(QPQ.END_DATE_ACTIVE, QPLINES.PRICING_EFFECTIVE_DATE) AND QPLAT_PROD.LINE_INDEX = QPLAT_Q.LINE_INDEX AND QPLAT_PROD.PRICING_STATUS_CODE = :B1 AND QPLAT_Q. PRICING_STATUS_CODE = :B1 AND (INSTR(QPLINES.PROCESS_STATUS, 'FREEGOOD')=0) UNION ALL SELECT /*+ ORDERED USE_NL(QPLINES QPQ QPLAT_Q QPLAT_PROD QPA QPLAT_PRIC QPL QPH) INDEX(QPQ QP_QUALIFIERS_N1) INDEX(QPLAT_Q qp_preq_line_attrs_tmp_N2) INDEX(QPA QP_PRICING_ATTRIBUTES_N5) INDEX(QPLAT_PRIC qp_preq_line_attrs_tmp_N2) l_list_qual_cur */ QPLAT_PROD.LINE_INDEX, QPL.LIST_LINE_ID, QPL.ARITHMETIC_OPERAT OR, QPL.OPERAND, QPL.PRICING_GROUP_SEQUENCE, QPL.LIST_LINE_TYPE_CODE, QPL.PRICING_PHASE_ID, QPL.AUTOMATIC_FLAG, QPL.INCOMPATIBILITY_GRP_CODE, QPL.PRICE_BY_FORMULA_ID, QPL.PRODUCT_PRECEDENCE, QPL.PRIMARY_UOM_FLAG, QPL.MODIFIER_LEVEL_CODE, QPL.LIST_LINE_NO, QPA.PRODUCT_UOM_CODE, QPA.EXCLUDER_FLAG, QPH.LIST_TYPE_CODE, QCDT.ROUNDING_FACTOR, QPH.LIST_HEADER_ID LIST_HEADER_ID, QPLAT_PROD.CONTEXT PRODUCT_ATTRIBUTE_CONTEXT, QPLAT_PROD.ATTRIBUTE PRODUCT_ATTRIBUTE, QPLAT_PROD.VALUE_FROM PRODUCT_ATTR_VALUE_FROM, QPLAT_PROD.ATTRIBUTE_LEVEL PRODUCT_ATTRIBUTE_LEVEL, QPLAT_PROD.ATTRIBUTE_TYPE PRODUCT_ATTRIBUTE_TYPE, QPLAT_PROD.APPLIED_FLAG, QPLAT_PRIC.CONTEXT PRICING_ATTRIBUTE_CONTEXT, QPLAT_PRIC.ATTRIBUTE PRICING_ATTRIBUTE, QPLAT_PRIC.VALUE_FROM PRICING_ATTR_VALUE_FROM, QPA.PRICING_ATTR_VALUE_FROM PRICING_SETUP_VALUE_FROM, QPA.PRICING_ATTR_VALUE_TO PRICING_SETUP_VALUE_TO, QPLAT_PRIC.ATTRIBUTE_LEVEL PRICING_ATTRIBUTE_LEVEL, QPLAT_PRIC.ATTRIBUTE_TYPE PRICING_ATTRIBUTE_TYPE , QPA.COMPARISON_OPERATOR_CODE PRICING_OPERATOR_TYPE, QPLAT_Q.CONTEXT QUALIFIER_ATTRIBUTE_CONTEXT, QPLAT_Q.ATTRIBUTE QUALIFIER_ATTRIBUTE, QPLAT_Q.VALUE_FROM QUALIFIER_ATTR_VALUE_FROM, QPLAT_Q.PRICING_ATTR_FLAG QUALIFIER_PRICING_ATTR_FLAG, QPQ.QUALIFIER_GROUPING_NO QUALIFIER_GROUPING_NO, QPQ.QUALIFIER_PRECEDENCE QUALIFIER_PRECEDENCE, QPQ.QUALIFIER_DATATYPE QUALIFIER_DATATYPE, QPQ.QUALIFIER_ATTR_VALUE SETUP_VALUE_FROM, QPQ.QUALIFIER_ATTR_VALUE_TO SETUP_VALUE_TO, QPQ.COMPARISON_OPERATOR_ CODE QUALIFIER_OPERATOR_TYPE, QPA.PRICING_ATTRIBUTE_DATATYPE PRICING_ATTRIBUTE_DATATYPE, DECODE(QPQ.LIST_LINE_ID, -1, 'HQ', 'LQ') QUALIFIER_TYPE, QCDT.CURRENCY_DETAIL_ID, QCDT.CURRENCY_HEADER_ID, QCDT.SELLING_ROUNDING_FACTOR, QPLINES.CURRENCY_CODE ORDER_CURRENCY, QPLINES.PRICING_EFFECTIVE_DATE, QPH.CURRENCY_CODE BASE_CURRENCY_CODE , QPL.BREAK_UOM_CODE , QPL.BREAK_UOM_CONTEXT , QPL.BREAK_UOM_ATTRIBUTE FROM QP_NPREQ_LINES_TMP QPLINES, QP_QUALIFIERS QPQ, QP_NPREQ_LINE_ATTRS_TMP QPLAT_Q , QP_NPREQ_LINE_ATTRS_TMP QPLAT_PROD, QP_PRICING_ATTRIBUTES QPA, QP_NPREQ_LINE_ATTRS_TMP QPLAT_PRIC, QP_LIST_LINES QPL, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS, QP_CURRENCY_DETAILS QCDT WHERE QPA.PRICING_PHASE_ID = :B15 AND QPA.QUALIFICATION_IND = :B17 AND QPLAT_PROD.CONTEXT = QPA.PRODUCT_ATTRIBUTE_CONTEXT AND (QPLINES.PRICE_FLAG = :B3 OR (QPLINES.PRICE_FLAG = :B13 AND :B12 = :B3 )) AND QPLINES.LIST_PRICE_OVERRIDE_FLAG IN ('N', 'O') AND QPLINES.LINE_TYPE_CODE <> :B11 AND QPLINES.VALIDATED_FLAG = :B10 AND QPLINES.QUALIFIERS_EXIST_FLAG = :B3 AND QPLINES.PRICING_ATTRS_EXIST_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE = QPA.PRODUCT_ATTRIBUTE AND QPLAT_PROD.VALUE_FROM = QPA.PRODUCT_ATTR_VALUE AND QPA.EXCLUDER_FLAG = :B10 AND QPLAT_PRIC.CONTEXT = QPA.PRICING_ATTRIBUTE_CONTEXT AND QPLAT_PRIC.ATTRIBUTE = QPA.PRICING_ATTRIBUTE AND (QPLAT_PRIC.VALUE_FROM = QPA.PRICING_ATTR_VALUE_FROM OR QPA.COMPARISON_OPERATOR_CODE IN ('NOT =', :B2 )) AND QPLAT_PRIC.ATTRIBUTE_TYPE = :B16 AND QP LAT_PRIC. PRICING_STATUS_CODE = :B1 AND QPLAT_PRIC.LINE_INDEX = QPLAT_PROD.LINE_INDEX AND QPH.LIST_HEADER_ID = QPL.LIST_HEADER_ID AND QPA.LIST_LINE_ID = QPL.LIST_LINE_ID AND QPA.LIST_HEADER_ID = QPLINES.PRICE_LIST_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPH.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPH.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPL.START_DATE_ACTIVE), QPLINES.PRICING_EFFECT IVE_DATE) AND NVL(TRUNC(QPL.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPH.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND ( (QCDT.CURR_ATTRIBUTE_CONTEXT IS NULL AND NOT EXISTS (SELECT /*+ ORDERED use_nl(qcdt1) */ 'x' FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP, QP_ CURRENCY_DETAILS QCDT1 WHERE QCDT1.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT1.CURR_ATTRIBUTE_CONTEXT = PA_TMP.CONTEXT AND QCDT1.CURR_ATTRIBUTE = PA_TMP.ATTRIBUTE AND QCDT1.CURR_ATTRIBUTE_VALUE = PA_TMP.VALUE_FROM AND QCDT1.CURR_ATTRIBUTE_TYPE = PA_TMP.ATTRIBUTE_TYPE AND QCDT1.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT1.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP.PRICING_STATUS_CODE = :B1 AND PA_TMP.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NV L(TRUNC(QCDT1.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT1.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) ) ) OR (QCDT.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT.CURRENCY_DETAIL_ID = (SELECT QCDT3.CURRENCY_DETAIL_ID FROM QP_CURRENCY_DETAILS QCDT3 WHERE QCDT3.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT3.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT3.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT3.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QCDT3.PRECEDENCE = (SELECT /*+ ORDERED use_nl(qcdt2) */ MIN(QCDT2.PRECEDENCE) FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP1, QP_CURRENCY_DETAILS QCDT2 WHERE QCDT2.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT2.CURR_ATTRIBUTE_CONTEXT = PA_TMP1.CONTEXT AND QCDT2.CURR_ATTRIBUTE = PA_TMP1.ATTRIBUTE AND QCDT2.CURR_ATTRIBUTE_VALUE = PA_TMP1.VALUE_FROM AND QCDT2.CURR_ATTRIBUTE_TYPE = PA_TMP1.ATTRIBUTE_TYPE AND QCDT2.TO_CURRENCY_CODE = QCDT.TO _CURRENCY_CODE AND QCDT2.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP1.PRICING_STATUS_CODE = :B1 AND PA_TMP1.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT2.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT2.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) )) ) ) AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE AND QPLINES.REQUEST_TYPE_CODE = QPRS.REQUEST_TYPE_CODE AND QPH.ACTIVE_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE_T YPE = :B7 AND QPLAT_Q.ATTRIBUTE_TYPE = :B6 AND (QPQ.QUALIFIER_CONTEXT <> :B5 OR QPQ.QUALIFIER_ATTRIBUTE <> :B4 ) AND QPLAT_Q.CONTEXT = QPQ.QUALIFIER_CONTEXT AND QPLAT_Q.ATTRIBUTE = QPQ.QUALIFIER_ATTRIBUTE AND QPQ.LIST_HEADER_ID = QPLINES.PRICE_LIST_HEADER_ID AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND QPQ.ACTIVE_FLAG = :B3 AND ((QPLAT_Q.VALUE_FROM = QPQ.QUALIFIER_ATTR_VA LUE AND QPQ.COMPARISON_OPERATOR_CODE = '=') OR (QPLAT_Q.VALUE_FROM <> QPQ.QUALIFIER_ATTR_VALUE AND QPQ.COMPARISON_OPERATOR_CODE = 'NOT =') OR QPQ.COMPARISON_OPERATOR_CODE = :B2 ) AND QPLAT_Q.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(QPQ.START_DATE_ACTIVE, QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(QPQ.END_DATE_ACTIVE, QPLINES.PRICING_EFFECTIVE_DATE) AND QPLAT_PROD.LINE_INDEX = QPLINES.LINE_INDEX AND QPLAT_PROD.PRICING_STATUS_CODE = :B1 AND QPLAT_Q. PRICIN G_STATUS_CODE = :B1 AND (INSTR(QPLINES.PROCESS_STATUS, 'FREEGOOD')=0) UNION ALL SELECT /*+ ORDERED USE_NL(QPLINES QPLAT_PROD QPA QPL QPH) index(QPA QP_PRICING_ATTRIBUTES_N5) l_list_cur */ QPLAT_PROD.LINE_INDEX, QPL.LIST_LINE_ID, QPL.ARITHMETIC_OPERATOR, QPL.OPERAND, QPL.PRICING_GROUP_SEQUENCE, QPL.LIST_LINE_TYPE_CODE, QPL.PRICING_PHASE_ID, QPL.AUTOMATIC_FLAG, QPL.INCOMPATIBILITY_GRP_CODE, QPL.PRICE_BY_FORMULA_ID, QPL.PRODUCT_PRECEDENCE, QPL.PRIMARY_UOM_FLAG, QPL.MODIFIER_LEVEL_CODE, QPL.LIST_LINE_NO, QPA.PRODUCT_UOM_CODE, QPA.EXCLUDER_FLAG, QPH.LIST_TYPE_CODE, QCDT.ROUNDING_FACTOR, QPH.LIST_HEADER_ID LIST_HEADER_ID, QPLAT_PROD.CONTEXT PRODUCT_ATTRIBUTE_CONTEXT, QPLAT_PROD.ATTRIBUTE PRODUCT_ATTRIBUTE, QPLAT_PROD.VALUE_FROM PRODUCT_ATTR_VALUE_FROM, QPLAT_PROD.ATTRIBUTE_LEVEL PRODUCT_ATTRIBUTE_LEVEL, QPLAT_PROD.ATTRIBUTE_TYPE PRODUCT_ATTRIBUTE_TYPE, QPLAT_PROD.APPLIED_FLAG, NULL PRICING_ATTRIBUTE_CONTEXT, NULL PRICING_ATTRIBUTE, NULL PRICING_ATTR_VALUE_FROM, NU LL PRICING_SETUP_VALUE_FROM, NULL PRICING_SETUP_VALUE_TO, NULL PRICING_ATTRIBUTE_LEVEL, NULL PRICING_ATTRIBUTE_TYPE, NULL PRICING_OPERATOR_TYPE, NULL QUALIFIER_ATTRIBUTE_CONTEXT, NULL QUALIFIER_ATTRIBUTE, NULL QUALIFIER_ATTR_VALUE_FROM, NULL QUALIFIER_PRICING_ATTR_FLAG, -9999 QUALIFIER_GROUPING_NO, 5000 QUALIFIER_PRECEDENCE, NULL QUALIFIER_DATATYPE, NULL SETUP_VALUE_FROM, NULL SETUP_VALUE_TO, NULL QUALIFIER_OPERATOR_TYPE, NULL PRICING_ATTRIBUTE_DATATYPE, NULL QUALIFIER_TYPE, QCD T.CURRENCY_DETAIL_ID, QCDT.CURRENCY_HEADER_ID, QCDT.SELLING_ROUNDING_FACTOR, QPLINES.CURRENCY_CODE ORDER_CURRENCY, QPLINES.PRICING_EFFECTIVE_DATE, QPH.CURRENCY_CODE BASE_CURRENCY_CODE , QPL.BREAK_UOM_CODE , QPL.BREAK_UOM_CONTEXT , QPL.BREAK_UOM_ATTRIBUTE FROM QP_NPREQ_LINES_TMP QPLINES, QP_NPREQ_LINE_ATTRS_TMP QPLAT_PROD, QP_PRICING_ATTRIBUTES QPA, QP_LIST_LINES QPL, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS, QP_CURRENCY_DETAILS QCDT WHERE QPA.PRICING_PHASE_ID = :B15 AND QPA. QUALIFICATION_IND = :B18 AND QPLAT_PROD.CONTEXT = QPA.PRODUCT_ATTRIBUTE_CONTEXT AND (QPLINES.PRICE_FLAG = :B3 OR (QPLINES.PRICE_FLAG = :B13 AND :B12 = :B3 )) AND QPLINES.LIST_PRICE_OVERRIDE_FLAG IN ('N', 'O') AND QPLINES.LINE_TYPE_CODE <> :B11 AND QPLINES.VALIDATED_FLAG = :B10 AND QPLINES.QUALIFIERS_EXIST_FLAG = :B10 AND QPLAT_PROD.ATTRIBUTE = QPA.PRODUCT_ATTRIBUTE AND QPLAT_PROD.VALUE_FROM = QPA.PRODUCT_ATTR_VALUE AND QPA.EXCLUDER_FLAG = :B10 AND QPLAT_PROD.PRICING_STATUS_CODE = :B1 AND QPH.LIST_HEADER_ID = QPL.LIST_HEADER_ID AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND QPA.LIST_LINE_ID = QPL.LIST_LINE_ID AND QPA.LIST_HEADER_ID = QPLINES.PRICE_LIST_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPH.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPH.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPL.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPL.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPH.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND ( (QCDT.CURR_ATTRIBUTE_CONTEXT IS NULL AND NOT EXISTS (SELECT /*+ ORDER ED use_nl(qcdt1) */ 'x' FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP, QP_CURRENCY_DETAILS QCDT1 WHERE QCDT1.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT1.CURR_ATTRIBUTE_CONTEXT = PA_TMP.CONTEXT AND QCDT1.CURR_ATTRIBUTE = PA_TMP.ATTRIBUTE AND QCDT1.CURR_ATTRIBUTE_VALUE = PA_TMP.VALUE_FROM AND QCDT1.CURR_ATTRIBUTE_TYPE = PA_TMP.ATTRIBUTE_TYPE AND QCDT1.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT1.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP.PRICING_STATUS_CODE = :B1 AND PA_TMP.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT1.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT1.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) ) ) OR (QCDT.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT.CURRENCY_DETAIL_ID = (SELECT QCDT3.CURRENCY_DETAIL_ID FROM QP_CURRENCY_DETAILS QCDT3 WHERE QCDT3.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT3.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TR UNC(QCDT3.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT3.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QCDT3.PRECEDENCE = (SELECT /*+ ORDERED use_nl(qcdt2) */ MIN(QCDT2.PRECEDENCE) FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP1, QP_CURRENCY_DETAILS QCDT2 WHERE QCDT2.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT2.CURR_ATTRIBUTE_CONTEXT = PA_TMP1.CONTEXT AND QCDT2.CURR_ATTRIBUTE = PA_TMP1.ATTRIBUTE AND QCDT2.CURR_ATTRIBUTE_VALUE = PA_TMP1.VALUE_FROM AND QCDT2.CURR_ATTRIBUTE_T YPE = PA_TMP1.ATTRIBUTE_TYPE AND QCDT2.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT2.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP1.PRICING_STATUS_CODE = :B1 AND PA_TMP1.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT2.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT2.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) )) ) ) AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE AND QPLINES.REQUEST_TYPE_CODE = QPRS.REQUE ST_TYPE_CODE AND QPH.ACTIVE_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE_TYPE = :B7 AND QPLAT_PROD.LINE_INDEX = QPLINES.LINE_INDEX AND (INSTR(QPLINES.PROCESS_STATUS, 'FREEGOOD')=0) UNION ALL SELECT /*+ ORDERED USE_NL(QPLINES QPLAT_PROD QPA QPLAT_PRIC QPL QPH) index(QPA QP_PRICING_ATTRIBUTES_N5) INDEX(QPLAT_PRIC qp_preq_line_attrs_tmp_N2) l_list_cur */ QPLAT_PROD.LINE_INDEX, QPL.LIST_LINE_ID, QPL.ARITHMETIC_OPERATOR, QPL.OPERAND, QPL.PRICING_GROUP_SEQUENCE, QPL.LIST_LINE_TYPE_CODE, QPL.PRICING_PHASE _ID, QPL.AUTOMATIC_FLAG, QPL.INCOMPATIBILITY_GRP_CODE, QPL.PRICE_BY_FORMULA_ID, QPL.PRODUCT_PRECEDENCE, QPL.PRIMARY_UOM_FLAG, QPL.MODIFIER_LEVEL_CODE, QPL.LIST_LINE_NO, QPA.PRODUCT_UOM_CODE, QPA.EXCLUDER_FLAG, QPH.LIST_TYPE_CODE, QCDT.ROUNDING_FACTOR, QPH.LIST_HEADER_ID LIST_HEADER_ID, QPLAT_PROD.CONTEXT PRODUCT_ATTRIBUTE_CONTEXT, QPLAT_PROD.ATTRIBUTE PRODUCT_ATTRIBUTE, QPLAT_PROD.VALUE_FROM PRODUCT_ATTR_VALUE_FROM, QPLAT_PROD.ATTRIBUTE_LEVEL PRODUCT_ATTRIBUTE_LEVEL, QPLAT_PROD. ATTRIBUTE_TYPE PRODUCT_ATTRIBUTE_TYPE, QPLAT_PROD.APPLIED_FLAG, QPLAT_PRIC.CONTEXT PRICING_ATTRIBUTE_CONTEXT, QPLAT_PRIC.ATTRIBUTE PRICING_ATTRIBUTE, QPLAT_PRIC.VALUE_FROM PRICING_ATTR_VALUE_FROM, QPA.PRICING_ATTR_VALUE_FROM PRICING_SETUP_VALUE_FROM, QPA.PRICING_ATTR_VALUE_TO PRICING_SETUP_VALUE_TO, QPLAT_PRIC.ATTRIBUTE_LEVEL PRICING_ATTRIBUTE_LEVEL, QPLAT_PRIC.ATTRIBUTE_TYPE PRICING_ATTRIBUTE_TYPE, QPA.COMPARISON_OPERATOR_CODE PRICING_OPERATOR_TYPE, NULL QUALIFIER_ATTRIBUTE_CONTEXT, NULL QUALIFIER_ATTRIBUTE, NULL QUALIFIER_ATTR_VALUE_FROM, NULL QUALIFIER_PRICING_ATTR_FLAG, -9999 QUALIFIER_GROUPING_NO, 5000 QUALIFIER_PRECEDENCE, NULL QUALIFIER_DATATYPE, NULL SETUP_VALUE_FROM, NULL SETUP_VALUE_TO, NULL QUALIFIER_OPERATOR_TYPE, QPA.PRICING_ATTRIBUTE_DATATYPE PRICING_ATTRIBUTE_DATATYPE, NULL QUALIFIER_TYPE, QCDT.CURRENCY_DETAIL_ID, QCDT.CURRENCY_HEADER_ID, QCDT.SELLING_ROUNDING_FACTOR, QPLINES.CURRENCY_CODE ORDER_CURRENCY, QPLINES.PRICING_EFFECTIVE_DATE, QPH.CUR RENCY_CODE BASE_CURRENCY_CODE , QPL.BREAK_UOM_CODE , QPL.BREAK_UOM_CONTEXT , QPL.BREAK_UOM_ATTRIBUTE FROM QP_NPREQ_LINES_TMP QPLINES, QP_NPREQ_LINE_ATTRS_TMP QPLAT_PROD, QP_PRICING_ATTRIBUTES QPA, QP_NPREQ_LINE_ATTRS_TMP QPLAT_PRIC, QP_LIST_LINES QPL, QP_LIST_HEADERS_B QPH, QP_PRICE_REQ_SOURCES_V QPRS, QP_CURRENCY_DETAILS QCDT WHERE QPA.PRICING_PHASE_ID = :B15 AND QPA.QUALIFICATION_IND = :B19 AND QPLAT_PROD.CONTEXT = QPA.PRODUCT_ATTRIBUTE_CONTEXT AND (QPLINES.PRICE_FLAG = :B3 OR (QPLINES. PRICE_FLAG = :B13 AND :B12 = :B3 )) AND QPLINES.LIST_PRICE_OVERRIDE_FLAG IN ('N', 'O') AND QPLINES.LINE_TYPE_CODE <> :B11 AND QPLINES.VALIDATED_FLAG = :B10 AND QPLINES.QUALIFIERS_EXIST_FLAG = :B10 AND QPLINES.PRICING_ATTRS_EXIST_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE = QPA.PRODUCT_ATTRIBUTE AND QPLAT_PROD.VALUE_FROM = QPA.PRODUCT_ATTR_VALUE AND QPA.EXCLUDER_FLAG = :B10 AND QPLAT_PROD.PRICING_STATUS_CODE = :B1 AND QPLAT_PRIC.CONTEXT = QPA.PRICING_ATTRIBUTE_CONTEXT AND QPLAT_PRIC.ATTRIBUTE = Q PA.PRICING_ATTRIBUTE AND (QPLAT_PRIC.VALUE_FROM = QPA.PRICING_ATTR_VALUE_FROM OR QPA.COMPARISON_OPERATOR_CODE IN ('NOT =', :B2 )) AND QPLAT_PRIC.ATTRIBUTE_TYPE = :B16 AND QPLAT_PRIC. PRICING_STATUS_CODE = :B1 AND QPLAT_PRIC.LINE_INDEX = QPLAT_PROD.LINE_INDEX AND QPH.LIST_HEADER_ID = QPLINES.PRICE_LIST_HEADER_ID AND ((NVL(:B8 , 'OFF') = 'ON' AND :B9 = QPH.ORIG_ORG_ID) OR (NVL(:B8 , 'OFF') = 'ON' AND NVL(QPH.GLOBAL_FLAG, 'Y') = 'Y') OR NVL(:B8 , 'OFF') = 'OFF' ) AND QPA.LIST_LINE_ID = QPL.LIST _LINE_ID AND QPA.LIST_HEADER_ID = QPLINES.PRICE_LIST_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPH.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPH.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QPL.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QPL.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QPH.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.CURRENCY_CODE = QC DT.TO_CURRENCY_CODE AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND ( (QCDT.CURR_ATTRIBUTE_CONTEXT IS NULL AND NOT EXISTS (SELECT /*+ ORDERED use_nl(qcdt1) */ 'x' FROM QP_NPREQ_LINE_ATTRS_TMP PA_TMP, QP_CURRENCY_DETAILS QCDT1 WHERE QCDT1.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT1.CURR_ATTRIBUTE_CONTEXT = PA_TMP.CONTEXT AND QCDT1.CURR_ATTRIBUTE = PA_TMP.ATTRIBU TE AND QCDT1.CURR_ATTRIBUTE_VALUE = PA_TMP.VALUE_FROM AND QCDT1.CURR_ATTRIBUTE_TYPE = PA_TMP.ATTRIBUTE_TYPE AND QCDT1.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT1.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP.PRICING_STATUS_CODE = :B1 AND PA_TMP.LINE_INDEX = QPLINES.LINE_INDEX AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT1.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT1.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) ) ) OR (QCDT.CURR_ATTRIBU TE_CONTEXT IS NOT NULL AND QCDT.CURRENCY_DETAIL_ID = (SELECT QCDT3.CURRENCY_DETAIL_ID FROM QP_CURRENCY_DETAILS QCDT3 WHERE QCDT3.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT3.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND QPLINES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT3.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT3.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND QCDT3.PRECEDENCE = (SELECT /*+ ORDERED use_nl(qcdt2) */ MIN(QCDT2.PRECEDENCE) FROM QP_NPRE Q_LINE_ATTRS_TMP PA_TMP1, QP_CURRENCY_DETAILS QCDT2 WHERE QCDT2.CURR_ATTRIBUTE_CONTEXT IS NOT NULL AND QCDT2.CURR_ATTRIBUTE_CONTEXT = PA_TMP1.CONTEXT AND QCDT2.CURR_ATTRIBUTE = PA_TMP1.ATTRIBUTE AND QCDT2.CURR_ATTRIBUTE_VALUE = PA_TMP1.VALUE_FROM AND QCDT2.CURR_ATTRIBUTE_TYPE = PA_TMP1.ATTRIBUTE_TYPE AND QCDT2.TO_CURRENCY_CODE = QCDT.TO_CURRENCY_CODE AND QCDT2.CURRENCY_HEADER_ID = QCDT.CURRENCY_HEADER_ID AND PA_TMP1.PRICING_STATUS_CODE = :B1 AND PA_TMP1.LINE_INDEX = QPLINES.LINE_INDEX AND QPLIN ES.PRICING_EFFECTIVE_DATE BETWEEN NVL(TRUNC(QCDT2.START_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) AND NVL(TRUNC(QCDT2.END_DATE_ACTIVE), QPLINES.PRICING_EFFECTIVE_DATE) )) ) ) AND QPH.SOURCE_SYSTEM_CODE = QPRS.SOURCE_SYSTEM_CODE AND QPLINES.REQUEST_TYPE_CODE = QPRS.REQUEST_TYPE_CODE AND QPH.ACTIVE_FLAG = :B3 AND QPLAT_PROD.ATTRIBUTE_TYPE = :B7 AND QPLAT_PROD.LINE_INDEX = QPLINES.LINE_INDEX AND (INSTR(QPLINES.PROCESS_STATUS, 'FREEGOOD')=0) ORDER BY 1, 2
fhqzxap2n0ybj select NAME from HR_OPERATING_UNITS where ORGANIZATION_ID = :zorg_id
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;
ghw9svn8x4vzu BEGIN WSH_PICK_LIST.RELEASE_BATCH_SRS( :errbuf, :rc, :A0, :A1, :A2); END;
gmrwcu0hdcp8b begin :v1 := CS_SR_CHILD_AUDIT_PKG.CS_SR_Audit_ChildEntities(:v2, :v3); end;

Back to SQL Statistics
Back to Top

 

Instance Activity Statistics

Back to Top

Instance Activity Stats

Statistic Total per Second per Trans
CPU used by this session 674,971 187.42 1.77
CPU used when call started 677,727 188.18 1.78
CR blocks created 2,493,578 692.39 6.54
Cached Commit SCN referenced 43,285 12.02 0.11
Commit SCN cached 191 0.05 0.00
DB time 3,790,667 1,052.55 9.94
DBWR checkpoint buffers written 751,592 208.69 1.97
DBWR checkpoints 186 0.05 0.00
DBWR object drop buffers written 4,834 1.34 0.01
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR revisited being-written buffer 154 0.04 0.00
DBWR thread checkpoint buffers written 143,133 39.74 0.38
DBWR transaction table writes 5,548 1.54 0.01
DBWR undo block writes 467,693 129.86 1.23
DDL statements parallelized 1 0.00 0.00
DFO trees parallelized 42 0.01 0.00
DML statements parallelized 1 0.00 0.00
IMU CR rollbacks 7,424,628 2,061.58 19.46
IMU Flushes 102,613 28.49 0.27
IMU Redo allocation size 848,307,032 235,547.47 2,223.82
IMU bind flushes 603 0.17 0.00
IMU commits 202,976 56.36 0.53
IMU contention 9,355 2.60 0.02
IMU ktichg flush 5,827 1.62 0.02
IMU pool not allocated 0 0.00 0.00
IMU recursive-transaction flush 648 0.18 0.00
IMU undo allocation size 2,049,340,616 569,035.72 5,372.30
IMU- failed to get a private strand 0 0.00 0.00
PX local messages recv'd 19,461 5.40 0.05
PX local messages sent 19,461 5.40 0.05
Parallel operations downgraded 25 to 50 pct 38 0.01 0.00
Parallel operations not downgraded 4 0.00 0.00
SQL*Net roundtrips to/from client 17,313,834 4,807.49 45.39
active txn count during cleanout 14,028,718 3,895.32 36.78
application wait time 11,853 3.29 0.03
background checkpoints completed 2 0.00 0.00
background checkpoints started 2 0.00 0.00
background timeouts 10,310 2.86 0.03
branch node splits 273 0.08 0.00
buffer is not pinned count 187,275,221 52,000.28 490.94
buffer is pinned count 422,345,302 117,271.65 1,107.17
bytes received via SQL*Net from client 3,763,057,714 1,044,879.63 9,864.78
bytes sent via SQL*Net to client 3,341,773,661 927,902.65 8,760.39
calls to get snapshot scn: kcmgss 45,230,526 12,559.06 118.57
calls to kcmgas 3,773,053 1,047.65 9.89
calls to kcmgcs 1,521,202 422.39 3.99
change write time 13,554 3.76 0.04
cleanout - number of ktugct calls 3,952,238 1,097.41 10.36
cleanouts and rollbacks - consistent read gets 2,369,055 657.81 6.21
cleanouts only - consistent read gets 41,363 11.49 0.11
cluster key scan block gets 213,803 59.37 0.56
cluster key scans 49,321 13.69 0.13
commit cleanout failures: block lost 74,674 20.73 0.20
commit cleanout failures: buffer being written 59 0.02 0.00
commit cleanout failures: callback failure 2,932 0.81 0.01
commit cleanout failures: cannot pin 3,298 0.92 0.01
commit cleanouts 2,590,127 719.19 6.79
commit cleanouts successfully completed 2,509,164 696.71 6.58
commit txn count during cleanout 304,892 84.66 0.80
concurrency wait time 5,511 1.53 0.01
consistent changes 54,228,048 15,057.38 142.16
consistent gets 356,457,786 98,976.82 934.45
consistent gets - examination 194,049,454 53,881.27 508.70
consistent gets direct 10 0.00 0.00
consistent gets from cache 356,195,991 98,904.13 933.76
cursor authentications 1,065 0.30 0.00
data blocks consistent reads - undo records applied 52,706,158 14,634.80 138.17
db block changes 52,255,115 14,509.56 136.99
db block gets 67,201,941 18,659.81 176.17
db block gets direct 3,283 0.91 0.01
db block gets from cache 67,197,009 18,658.44 176.16
deferred (CURRENT) block cleanout applications 522,007 144.94 1.37
dirty buffers inspected 5,626 1.56 0.01
enqueue conversions 5,653 1.57 0.01
enqueue releases 17,699,901 4,914.69 46.40
enqueue requests 17,710,126 4,917.53 46.43
enqueue timeouts 10,181 2.83 0.03
enqueue waits 6,368 1.77 0.02
exchange deadlocks 666 0.18 0.00
execute count 36,872,500 10,238.30 96.66
free buffer inspected 980,340 272.21 2.57
free buffer requested 3,896,288 1,081.87 10.21
heap block compress 1,408,955 391.22 3.69
hot buffers moved to head of LRU 477,494 132.58 1.25
immediate (CR) block cleanout applications 2,410,418 669.30 6.32
immediate (CURRENT) block cleanout applications 402,053 111.64 1.05
index fast full scans (full) 0 0.00 0.00
index fast full scans (rowid ranges) 822 0.23 0.00
index fetch by key 57,742,660 16,033.27 151.37
index scans kdiixs1 48,171,251 13,375.60 126.28
java call heap collected bytes 212,305,696 58,950.44 556.55
java call heap collected count 2,659,101 738.35 6.97
java call heap gc count 235 0.07 0.00
java call heap live object count 113,251 31.45 0.30
java call heap live object count max 114,524 31.80 0.30
java call heap live size 25,216,856 7,001.91 66.11
java call heap live size max 25,582,216 7,103.36 67.06
java call heap object count 1,183,429 328.60 3.10
java call heap object count max 1,185,687 329.23 3.11
java call heap total size 67,633,152 18,779.54 177.30
java call heap total size max 67,633,152 18,779.54 177.30
java call heap used size 108,191,984 30,041.42 283.62
java call heap used size max 108,569,192 30,146.16 284.61
leaf node 90-10 splits 8,224 2.28 0.02
leaf node splits 68,227 18.94 0.18
logons cumulative 3,611 1.00 0.01
messages received 412,443 114.52 1.08
messages sent 412,443 114.52 1.08
no buffer to keep pinned count 122 0.03 0.00
no work - consistent read gets 109,463,696 30,394.53 286.96
opened cursors cumulative 8,715,445 2,420.00 22.85
parse count (failures) 1,201 0.33 0.00
parse count (hard) 7,189 2.00 0.02
parse count (total) 9,517,845 2,642.80 24.95
parse time cpu 36,034 10.01 0.09
parse time elapsed 37,031 10.28 0.10
physical read IO requests 169,224 46.99 0.44
physical reads 281,115 78.06 0.74
physical reads cache 244,508 67.89 0.64
physical reads cache prefetch 76,927 21.36 0.20
physical reads direct 19,109 5.31 0.05
physical reads direct temporary tablespace 18,909 5.25 0.05
physical reads prefetch warmup 39,961 11.10 0.10
physical write IO requests 255,763 71.02 0.67
physical writes 792,926 220.17 2.08
physical writes direct 22,342 6.20 0.06
physical writes direct (lob) 1,610 0.45 0.00
physical writes direct temporary tablespace 20,565 5.71 0.05
physical writes from cache 769,060 213.54 2.02
physical writes non checkpoint 674,552 187.30 1.77
pinned buffers inspected 976 0.27 0.00
prefetch warmup blocks aged out before use 117,027 32.49 0.31
prefetch warmup blocks flushed out before use 0 0.00 0.00
prefetched blocks aged out before use 43 0.01 0.00
process last non-idle time 3,601 1.00 0.01
queries parallelized 40 0.01 0.00
recursive calls 70,664,498 19,621.25 185.25
recursive cpu usage 362,855 100.75 0.95
redo blocks written 17,169,013 4,767.28 45.01
redo buffer allocation retries 0 0.00 0.00
redo entries 25,750,767 7,150.16 67.51
redo log space requests 0 0.00 0.00
redo log space wait time 0 0.00 0.00
redo ordering marks 425,995 118.29 1.12
redo size 8,406,834,724 2,334,306.57 22,038.34
redo synch time 8,493 2.36 0.02
redo synch writes 189,848 52.71 0.50
redo wastage 96,293,308 26,737.54 252.43
redo write time 13,163 3.65 0.03
redo writer latching time 20 0.01 0.00
redo writes 302,753 84.06 0.79
rollback changes - undo records applied 89,034 24.72 0.23
rollbacks only - consistent read gets 121,503 33.74 0.32
rows fetched via callback 44,827,156 12,447.05 117.51
session connect time 0 0.00 0.00
session cursor cache hits 3,933,663 1,092.25 10.31
session logical reads 423,659,797 117,636.65 1,110.62
session pga memory 3,173,145,832 881,080.15 8,318.34
session pga memory max 5,466,310,632 1,517,817.97 14,329.82
session uga memory 6,637,610,176 1,843,050.04 17,400.36
session uga memory max 23,192,932,144 6,439,928.44 60,799.79
shared hash latch upgrades - no wait 50,979,314 14,155.31 133.64
sorts (disk) 1 0.00 0.00
sorts (memory) 4,696,586 1,304.09 12.31
sorts (rows) 64,070,179 17,790.22 167.96
summed dirty queue length 61,203 16.99 0.16
switch current to new buffer 388,504 107.88 1.02
table fetch by rowid 264,370,365 73,407.11 693.04
table fetch continued row 2,421,872 672.48 6.35
table scan blocks gotten 25,864,462 7,181.73 67.80
table scan rows gotten 891,130,267 247,438.10 2,336.08
table scans (cache partitions) 104 0.03 0.00
table scans (direct read) 0 0.00 0.00
table scans (long tables) 3,816 1.06 0.01
table scans (rowid ranges) 3,918 1.09 0.01
table scans (short tables) 2,764,883 767.72 7.25
transaction rollbacks 3,081 0.86 0.01
transaction tables consistent read rollbacks 1 0.00 0.00
transaction tables consistent reads - undo records applied 157 0.04 0.00
undo change vector size 3,173,364,924 881,140.98 8,318.91
user I/O wait time 72,409 20.11 0.19
user calls 16,539,291 4,592.43 43.36
user commits 291,437 80.92 0.76
user rollbacks 90,027 25.00 0.24
workarea executions - onepass 2 0.00 0.00
workarea executions - optimal 2,622,130 728.08 6.87
write clones created in background 1,180 0.33 0.00
write clones created in foreground 286 0.08 0.00

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

Statistic Begin Value End Value
session cursor cache count 125,065 197,513
opened cursors current 301,430 330,185
logons current 2,011 2,019

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

Statistic Total per Hour
log switches (derived) 0 0.00

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_IDX 63,015 17 4.53 1.37 65,789 18 11,613 1.44
APPS_UNDOTS1 23 0 29.57 1.00 127,201 35 18,367 0.17
APPS_TS_TX_DATA 89,041 25 4.08 1.33 35,786 10 8,057 1.35
SYSTEM 6,222 2 3.05 3.53 2,927 1 415 0.48
TEMP 1,688 0 9.69 12.38 6,436 2 7 1.43
APPS_TS_TX_INTERFACE 726 0 4.41 3.01 6,311 2 40 25.00
APPS_TS_PAY_IDX 2,189 1 2.02 1.00 2,363 1 6,633 0.55
APPS_TS_QUEUES 136 0 7.13 1.17 3,816 1 9 1.11
APPS_TS_PAY_DATA 2,149 1 3.54 1.00 994 0 2,974 0.06
SYSAUX 2,470 1 1.83 2.80 526 0 0 0.00
APPS_TS_SEED 1,191 0 6.78 1.51 1,192 0 564 2.34
CTXSYS 182 0 5.71 1.74 1,158 0 0 0.00
APPS_TS_SUMMARY 22 0 27.27 1.00 709 0 48 21.04
APPS_TS_ARCHIVE 47 0 7.66 1.00 540 0 1 0.00
APPS_TS_NOLOGGING 19 0 19.47 1.74 32 0 0 0.00
APPS_TS_MEDIA 6 0 38.33 1.00 6 0 0 0.00
ODM 4 0 47.50 1.00 2 0 0 0.00
OLAP 4 0 45.00 1.00 2 0 0 0.00
OWAPUB 4 0 47.50 1.00 2 0 0 0.00
PORTAL 4 0 40.00 1.00 2 0 0 0.00
SYNCSERVER 4 0 42.50 1.00 2 0 0 0.00

Back to IO Stats
Back to Top

File IO Stats

Tablespace Filename Reads Av Reads/s Av Rd(ms) Av Blks/Rd Writes Av Writes/s Buffer Waits Av Buf Wt(ms)
APPS_TS_ARCHIVE /raw_links/archive1 15 0 9.33 1.00 263 0 0 0.00
APPS_TS_ARCHIVE /raw_links/archive2 32 0 6.88 1.00 277 0 1 0.00
APPS_TS_MEDIA /raw_links/media1 2 0 35.00 1.00 2 0 0 0.00
APPS_TS_MEDIA /raw_links/media2 2 0 45.00 1.00 2 0 0 0.00
APPS_TS_MEDIA /raw_links/media3 2 0 35.00 1.00 2 0 0 0.00
APPS_TS_NOLOGGING /raw_links/nologging1 15 0 13.33 1.93 30 0 0 0.00
APPS_TS_NOLOGGING /raw_links/nologging2 4 0 42.50 1.00 2 0 0 0.00
APPS_TS_PAY_DATA /raw_links/francis1 2,149 1 3.54 1.00 994 0 2,974 0.06
APPS_TS_PAY_IDX /raw_links/francis2 2,189 1 2.02 1.00 2,363 1 6,633 0.55
APPS_TS_QUEUES /raw_links/queues1 21 0 7.62 1.00 932 0 1 0.00
APPS_TS_QUEUES /raw_links/queues2 51 0 6.08 1.45 1,223 0 7 1.43
APPS_TS_QUEUES /raw_links/queues3 64 0 7.81 1.00 1,661 0 1 0.00
APPS_TS_SEED /raw_links/apps_ts_seed01 591 0 7.12 1.16 516 0 1 0.00
APPS_TS_SEED /raw_links/reference1 315 0 6.54 1.66 370 0 379 2.53
APPS_TS_SEED /raw_links/reference2 285 0 6.32 2.09 306 0 184 1.96
APPS_TS_SUMMARY /raw_links/summary1 2 0 35.00 1.00 137 0 10 101.00
APPS_TS_SUMMARY /raw_links/summary2 2 0 35.00 1.00 128 0 7 0.00
APPS_TS_SUMMARY /raw_links/summary3 2 0 35.00 1.00 154 0 4 0.00
APPS_TS_SUMMARY /raw_links/summary4 2 0 35.00 1.00 73 0 7 0.00
APPS_TS_SUMMARY /raw_links/summary5 2 0 35.00 1.00 64 0 5 0.00
APPS_TS_SUMMARY /raw_links/summary6 12 0 20.83 1.00 153 0 15 0.00
APPS_TS_TX_DATA /raw_links/tx_data1 4,660 1 3.33 1.37 2,121 1 498 3.82
APPS_TS_TX_DATA /raw_links/tx_data10 4,674 1 3.89 1.38 1,825 1 534 1.05
APPS_TS_TX_DATA /raw_links/tx_data11 5,091 1 4.11 1.35 2,122 1 498 1.04
APPS_TS_TX_DATA /raw_links/tx_data12 8,820 2 4.76 1.25 3,426 1 633 0.32
APPS_TS_TX_DATA /raw_links/tx_data13 8,855 2 4.78 1.27 3,068 1 268 0.49
APPS_TS_TX_DATA /raw_links/tx_data14 8,731 2 4.79 1.27 2,980 1 231 0.13
APPS_TS_TX_DATA /raw_links/tx_data15 8,793 2 4.92 1.24 3,042 1 334 0.21
APPS_TS_TX_DATA /raw_links/tx_data2 4,824 1 3.52 1.40 1,913 1 405 2.25
APPS_TS_TX_DATA /raw_links/tx_data3 4,851 1 3.44 1.39 2,212 1 570 1.11
APPS_TS_TX_DATA /raw_links/tx_data4 4,876 1 3.24 1.39 2,228 1 787 1.49
APPS_TS_TX_DATA /raw_links/tx_data5 4,449 1 3.19 1.39 2,191 1 795 1.13
APPS_TS_TX_DATA /raw_links/tx_data6 4,843 1 3.36 1.41 2,082 1 700 1.31
APPS_TS_TX_DATA /raw_links/tx_data7 5,971 2 3.51 1.37 2,660 1 595 1.58
APPS_TS_TX_DATA /raw_links/tx_data8 4,817 1 4.01 1.37 1,968 1 442 2.06
APPS_TS_TX_DATA /raw_links/tx_data9 4,786 1 4.01 1.40 1,948 1 767 1.42
APPS_TS_TX_IDX /raw_links/tx_idx1 3,352 1 4.45 1.35 3,524 1 551 1.56
APPS_TS_TX_IDX /raw_links/tx_idx10 3,426 1 3.89 1.37 2,827 1 831 0.84
APPS_TS_TX_IDX /raw_links/tx_idx11 3,421 1 4.16 1.37 2,825 1 913 1.33
APPS_TS_TX_IDX /raw_links/tx_idx12 6,394 2 5.11 1.36 6,851 2 836 1.48
APPS_TS_TX_IDX /raw_links/tx_idx13 6,334 2 5.07 1.35 6,358 2 766 0.38
APPS_TS_TX_IDX /raw_links/tx_idx14 6,156 2 4.98 1.36 6,067 2 634 0.16
APPS_TS_TX_IDX /raw_links/tx_idx15 6,325 2 5.18 1.39 6,372 2 613 3.52
APPS_TS_TX_IDX /raw_links/tx_idx2 3,343 1 3.84 1.35 3,791 1 568 0.95
APPS_TS_TX_IDX /raw_links/tx_idx3 3,325 1 4.13 1.36 3,702 1 777 0.41
APPS_TS_TX_IDX /raw_links/tx_idx4 3,656 1 4.20 1.34 3,934 1 1,228 2.25
APPS_TS_TX_IDX /raw_links/tx_idx5 3,376 1 4.08 1.32 4,115 1 842 1.41
APPS_TS_TX_IDX /raw_links/tx_idx6 3,410 1 4.03 1.38 4,690 1 938 0.54
APPS_TS_TX_IDX /raw_links/tx_idx7 3,634 1 4.34 1.38 4,407 1 808 4.63
APPS_TS_TX_IDX /raw_links/tx_idx8 3,440 1 4.31 1.41 3,348 1 551 0.85
APPS_TS_TX_IDX /raw_links/tx_idx9 3,423 1 4.31 1.41 2,978 1 757 0.89
APPS_TS_TX_INTERFACE /raw_links/apps_ts_tx_interface 510 0 3.10 3.75 1,190 0 24 41.67
APPS_TS_TX_INTERFACE /raw_links/apps_ts_tx_interface2 137 0 6.72 1.22 2,675 1 9 0.00
APPS_TS_TX_INTERFACE /raw_links/apps_ts_tx_interface3 79 0 8.86 1.33 2,446 1 7 0.00
APPS_UNDOTS1 /raw_links/undo01 2 0 35.00 1.00 4,067 1 1,128 0.21
APPS_UNDOTS1 /raw_links/undo02 2 0 45.00 1.00 3,882 1 1,046 0.13
APPS_UNDOTS1 /raw_links/undo03 3 0 26.67 1.00 3,349 1 1,239 0.07
APPS_UNDOTS1 /raw_links/undo04 2 0 35.00 1.00 3,530 1 1,059 1.06
APPS_UNDOTS1 /raw_links/undo05 7 0 27.14 1.00 56,791 16 6,997 0.04
APPS_UNDOTS1 /raw_links/undo06 7 0 25.71 1.00 55,582 15 6,898 0.18
CTXSYS /raw_links/ctx1 96 0 6.15 1.88 724 0 0 0.00
CTXSYS /raw_links/ctx2 86 0 5.23 1.58 434 0 0 0.00
ODM /raw_links/odm 4 0 47.50 1.00 2 0 0 0.00
OLAP /raw_links/olap 4 0 45.00 1.00 2 0 0 0.00
OWAPUB /raw_links/owa1 4 0 47.50 1.00 2 0 0 0.00
PORTAL /raw_links/portal 4 0 40.00 1.00 2 0 0 0.00
SYNCSERVER /raw_links/mobile01 4 0 42.50 1.00 2 0 0 0.00
SYSAUX /raw_links/sysaux01 2,470 1 1.83 2.80 526 0 0 0.00
SYSTEM /raw_links/sys1 929 0 3.23 3.42 293 0 16 0.00
SYSTEM /raw_links/sys2 982 0 3.08 3.33 461 0 20 7.50
SYSTEM /raw_links/sys3 920 0 3.05 3.51 377 0 17 1.18
SYSTEM /raw_links/sys4 928 0 3.06 3.49 592 0 13 0.00
SYSTEM /raw_links/sys5 887 0 3.17 3.64 532 0 8 1.25
SYSTEM /raw_links/sys6 881 0 3.02 3.61 393 0 111 0.18
SYSTEM /raw_links/sys7 695 0 2.60 3.83 279 0 230 0.00
TEMP /raw_links/tmp1 452 0 15.64 13.26 2,049 1 5 2.00
TEMP /raw_links/tmp2 494 0 11.98 9.48 2,164 1 2 0.00
TEMP /raw_links/tmp3 742 0 4.54 13.78 2,223 1 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 624,232 100 422,830,341 244,516 769,060 0 0 48,713


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 48 19,031 400,113 17,510,400 17,510,400    
E 0 49 19,308 398,633 17,510,400 17,510,400    

Back to Advisory Statistics
Back to Top

Buffer Pool Advisory

P Size for Estimate (M) Size Factr Buffers for Estimate Est Physical Read Factor Estimated Physical Reads
D 496 0.10 61,628 3.04 2,023,443
D 992 0.20 123,256 1.50 999,740
D 1,488 0.30 184,884 1.32 880,291
D 1,984 0.39 246,512 1.22 812,037
D 2,480 0.49 308,140 1.14 761,238
D 2,976 0.59 369,768 1.09 726,060
D 3,472 0.69 431,396 1.06 702,770
D 3,968 0.79 493,024 1.03 687,638
D 4,464 0.89 554,652 1.01 674,022
D 4,960 0.99 616,280 1.00 665,914
D 5,024 1.00 624,232 1.00 665,191
D 5,456 1.09 677,908 0.99 660,113
D 5,952 1.18 739,536 0.98 652,848
D 6,448 1.28 801,164 0.97 644,551
D 6,944 1.38 862,792 0.96 641,358
D 7,440 1.48 924,420 0.96 636,443
D 7,936 1.58 986,048 0.95 632,897
D 8,432 1.68 1,047,676 0.95 631,245
D 8,928 1.78 1,109,304 0.95 630,022
D 9,424 1.88 1,170,932 0.95 629,713
D 9,920 1.97 1,232,560 0.95 629,713

Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
99.76 140,527 332

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 30,720 18,560 14,653.90 0.00 0.00 0.00 0.00 102,400
E 30,720 16,494 17,511.82 0.00 0.00 0.00 0.00 102,400

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 2,483,615 2,483,615 0 0
64K 128K 5,510 5,510 0 0
128K 256K 349 349 0 0
256K 512K 304 304 0 0
512K 1024K 29,101 29,101 0 0
1M 2M 103,030 103,030 0 0
2M 4M 13 13 0 0
4M 8M 15 15 0 0
128M 256M 2 0 2 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
3,840 0.13 182,104.04 1,775.68 99.00 328
7,680 0.25 182,104.04 1,715.50 99.00 307
15,360 0.50 182,104.04 166.19 100.00 0
23,040 0.75 182,104.04 166.19 100.00 0
30,720 1.00 182,104.04 166.19 100.00 0
36,864 1.20 182,104.04 166.19 100.00 0
43,008 1.40 182,104.04 166.19 100.00 0
49,152 1.60 182,104.04 166.19 100.00 0
55,296 1.80 182,104.04 166.19 100.00 0
61,440 2.00 182,104.04 166.19 100.00 0
92,160 3.00 182,104.04 166.19 100.00 0
122,880 4.00 182,104.04 166.19 100.00 0
184,320 6.00 182,104.04 166.19 100.00 0
245,760 8.00 182,104.04 166.19 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
1,504 0.48 323 15,750 32,288 1.00 538 1.00 71,145,721
1,824 0.59 605 32,600 32,288 1.00 538 1.00 71,146,128
2,144 0.69 648 35,420 32,288 1.00 538 1.00 71,146,128
2,464 0.79 648 35,420 32,288 1.00 538 1.00 71,146,128
2,784 0.90 648 35,420 32,288 1.00 538 1.00 71,146,128
3,104 1.00 648 35,420 32,288 1.00 538 1.00 71,146,128
3,424 1.10 648 35,420 32,288 1.00 538 1.00 71,146,128
3,744 1.21 648 35,420 32,288 1.00 538 1.00 71,146,128
4,064 1.31 648 35,420 32,288 1.00 538 1.00 71,146,128
4,384 1.41 648 35,420 32,288 1.00 538 1.00 71,146,128
4,704 1.52 648 35,420 32,288 1.00 538 1.00 71,146,128
5,024 1.62 648 35,420 32,288 1.00 538 1.00 71,146,128
5,344 1.72 648 35,420 32,288 1.00 538 1.00 71,146,128
5,664 1.82 648 35,420 32,288 1.00 538 1.00 71,146,128
5,984 1.93 648 35,420 32,288 1.00 538 1.00 71,146,128
6,304 2.03 648 35,420 32,288 1.00 538 1.00 71,146,128

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.50 9 283 302 1.00 275 1.00 6,390
32 1.00 9 283 302 1.00 275 1.00 6,390
48 1.50 9 283 302 1.00 275 1.00 6,390
64 2.00 9 283 302 1.00 275 1.00 6,390

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 30,139 33 1
undo block 16,227 2 0
segment header 80 2 28
undo header 2,138 1 0
1st level bmb 80 0 1
2nd level bmb 43 0 1
file header block 5 0 2

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) 7,338 215 7,123 215 72 336.19
TM-DML 6,716,694 6,716,582 0 14 34 2,401.43
TX-Transaction (index contention) 4,090 4,090 0 4,022 19 4.81
UL-User-defined 26,321 23,567 2,754 354 10 28.02
DV-Diana Versioning 9,432 9,432 0 85 1 14.35
HW-Segment High Water Mark 105,571 105,571 0 45 1 24.89
RO-Multiple Object Reuse (fast object reuse) 1,288 1,288 0 183 0 2.51
SQ-Sequence Cache 15,308 15,308 0 1,363 0 0.18
CU-Cursor 6,427 6,427 0 10 0 4.00
TX-Transaction 412,188 412,188 0 33 0 0.61
TX-Transaction (allocate ITL entry) 11 11 0 10 0 1.00
PS-PX Process Reservation 1,664 1,360 304 24 0 0.00
FB-Format Block 7,336 7,336 0 10 0 0.00

Back to Wait Statistics
Back to Top

 

Undo Statistics

Back to Top

Undo Segment Summary

Undo TS# Undo Blocks Num Trans Max Qry Len (s) Max Tx Concurcy Snap TooOld OutOf Space uS/uR/uU/ eS/eR/eU
1 463,847 414,216 2,615 144 0 0 0/0/0/0/0/0

Back to Undo Statistics
Back to Top

Undo Segment Stats

End Time Undo Blocks Num Trans Max Qry Len (s) Max Tx Concy Snap TooOld OutOf Space uS/uR/uU/ eS/eR/eU
16-Jan 10:28 20,248 43,779 559 135 0 0 0/0/0/0/0/0
16-Jan 10:18 35,757 56,086 405 138 0 0 0/0/0/0/0/0
16-Jan 10:08 89,201 65,306 2,615 137 0 0 0/0/0/0/0/0
16-Jan 09:58 138,096 83,012 2,263 135 0 0 0/0/0/0/0/0
16-Jan 09:48 113,015 87,060 995 138 0 0 0/0/0/0/0/0
16-Jan 09:38 67,530 78,973 1,208 144 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
Consistent RBA 302,818 0.00 0.00 0 0  
FOB s.o list latch 20,423 0.02 0.00 0 0  
In memory undo latch 56,426,761 0.14 0.02 0 3,392,590 0.00
JOX SGA heap latch 121,435 0.01 0.00 0 0  
JS queue state obj latch 21,600 0.00   0 0  
JS slv state obj latch 3 0.00   0 0  
KMG resize request state object freelist 2 0.00   0 0  
KTF sga enqueue 0     0 1,213 0.00
KWQMN job cache list latch 2,995,241 0.01 0.25 0 0  
MQL Tracking Latch 0     0 72 0.00
Memory Management Latch 18,005 0.00   0 1,200 0.00
PL/SQL warning settings 1,170,406 0.02 0.00 0 0  
SQL memory manager latch 1 0.00   0 1,199 0.00
SQL memory manager workarea list latch 953,895 0.00 0.00 0 0  
SWRF Alerted Metric Element list 132,690 0.00   0 0  
Shared B-Tree 2 0.00   0 0  
active checkpoint queue latch 103,872 0.00   0 0  
active service list 12,770 0.12 0.00 0 0  
begin backup scn array 410 0.00   0 0  
buffer pool 1 0.00   0 0  
cache buffer handles 8,174,632 0.53 0.00 0 0  
cache buffers chains 879,690,622 0.12 0.00 0 3,004,516 0.44
cache buffers lru chain 2,759,054 0.11 0.02 0 6,450,110 0.20
cas latch 29,285,297 0.04 0.00 0 0  
channel handle pool latch 139,867 0.01 0.00 0 0  
channel operations parent latch 485,902 0.01 0.00 0 0  
checkpoint queue latch 2,482,381 0.00 0.01 0 750,640 0.00
child cursor hash table 75,888 0.00 0.00 0 0  
client/application info 862,388 0.00 0.00 0 0  
commit callback allocation 51,675 0.00   0 0  
compile environment latch 2,632,757 0.00 0.09 0 0  
cursor bind value capture 1,244 0.00   0 15,984 0.00
dictionary lookup 293 0.00   0 0  
dml lock allocation 13,428,032 0.07 0.00 0 0  
dummy allocation 7,246 1.10 0.00 0 0  
enqueue hash chains 35,424,752 0.03 0.00 0 2 0.00
enqueues 23,772,521 0.11 0.00 0 0  
error message lists 714 5.74 0.00 0 0  
event group latch 1,692 0.00   0 0  
file cache latch 15,554 0.01 0.00 0 0  
global KZLD latch for mem in SGA 3,269 0.00   0 0  
global ctx hash table latch 7,584 0.00   0 0  
hash table column usage latch 2,506 0.00   0 5,761,911 0.01
hash table modification latch 139 0.00   0 0  
job workq parent latch 0     0 2 0.00
job_queue_processes free list latch 1 0.00   0 0  
job_queue_processes parameter latch 62 0.00   0 0  
ksuosstats global area 242 0.00   0 0  
ktm global data 12,981 0.00   0 0  
lgwr LWN SCN 302,818 0.01 0.00 0 0  
library cache 239,260,659 0.64 0.01 5 1,229 244.91
library cache load lock 3,806 0.16 0.00 0 0  
library cache lock 54,441,190 0.05 0.00 0 0  
library cache lock allocation 1,687,348 0.01 0.01 0 0  
library cache pin 185,488,053 0.10 0.01 1 0  
library cache pin allocation 1,735,754 0.01 0.00 0 0  
list of block allocation 102,813 0.00 0.00 0 0  
loader state object freelist 110,680 0.00   0 0  
longop free list parent 66 0.00   0 66 0.00
message pool operations parent latch 142,068 0.00   0 0  
messages 1,274,923 0.01 0.02 0 0  
mostly latch-free SCN 4,077,727 0.05 0.00 0 0  
multiblock read objects 25,228 0.04 0.00 0 0  
ncodef allocation latch 58 0.00   0 0  
object queue header heap 137,029 0.00   0 140,797 0.00
object queue header operation 14,580,663 0.01 0.02 0 0  
object stats modification 24,336 0.01 0.00 0 0  
parallel query alloc buffer 7,468 1.16 0.01 0 0  
parallel query stats 462 20.78 0.00 0 0  
parameter list 9,765 0.00   0 0  
parameter table allocation management 7,247 2.64 0.18 0 0  
post/wait queue 250,460 0.01 0.00 0 163,934 0.00
process allocation 3,416 0.00   0 1,692 0.00
process group creation 3,374 0.00   0 0  
process queue 4,548 1.01 0.00 0 0  
process queue reference 406,747 0.05 0.01 0 24,749 11.86
query server freelists 3,976 6.89 0.00 0 0  
query server process 16 0.00   0 16 0.00
redo allocation 7,752,282 0.05 0.02 0 25,738,300 0.22
redo copy 0     0 25,755,821 0.03
redo on-disk SCN 982,913 0.00   0 0  
redo writing 1,048,331 0.00 0.00 0 0  
row cache objects 83,356,978 0.01 0.00 0 0  
rules engine statistics 14,144 0.00   0 0  
sequence cache 5,246,039 0.23 0.00 0 0  
session allocation 7,698,112 0.11 0.08 0 0  
session idle bit 35,708,841 0.02 0.01 0 0  
session switching 5,133 0.00   0 0  
session timer 1,215 0.00   0 0  
shared pool 80,977,997 0.74 0.00 0 0  
simulator hash latch 29,427,159 0.00 0.01 0 0  
simulator lru latch 10,963 0.03 0.67 0 291,599 0.37
slave class 1 0.00   0 0  
slave class create 4 0.00   0 0  
sort extent pool 441,251 0.01 0.02 0 0  
state object free list 2 0.00   0 0  
statistics aggregation 84 0.00   0 0  
temp lob duration state obj allocation 146 0.00   0 0  
temporary table state object allocation 4,349 0.00   0 0  
threshold alerts latch 312 0.00   0 0  
trace latch 22 0.00   0 0  
transaction allocation 44,304 0.00   0 0  
transaction branch allocation 58 0.00   0 0  
undo global data 87,950,094 0.12 0.01 0 0  
user lock 13,062 0.02 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
library cache 239,260,659 1,541,332 13,224 1,528,175 13,094 62 1
cache buffers chains 879,690,622 1,051,394 1,055 1,050,362 1,009 23 0
shared pool 80,977,997 598,860 2,123 596,752 2,093 15 0
library cache pin 185,488,053 183,566 1,375 182,204 1,349 13 0
undo global data 87,950,094 108,177 1,191 106,990 1,183 4 0
In memory undo latch 56,426,761 78,919 1,223 77,739 1,137 43 0
cache buffer handles 8,174,632 43,074 13 43,061 13 0 0
library cache lock 54,441,190 26,187 112 26,075 112 0 0
enqueues 23,772,521 25,653 25 25,628 25 0 0
sequence cache 5,246,039 12,028 28 12,001 26 1 0
row cache objects 83,356,978 11,776 20 11,756 20 0 0
cas latch 29,285,297 11,257 18 11,239 18 0 0
enqueue hash chains 35,424,752 9,906 21 9,885 21 0 0
dml lock allocation 13,428,032 9,110 31 9,079 31 0 0
session allocation 7,698,112 8,622 651 8,028 538 55 1
session idle bit 35,708,841 5,677 76 5,601 76 0 0
redo allocation 7,752,282 3,807 58 3,756 44 7 0
cache buffers lru chain 2,759,054 2,919 53 2,866 53 0 0
mostly latch-free SCN 4,077,727 2,002 5 1,997 5 0 0
object queue header operation 14,580,663 1,331 30 1,301 30 0 0
simulator hash latch 29,427,159 332 2 330 2 0 0
KWQMN job cache list latch 2,995,241 216 54 163 52 1 0
process queue reference 406,747 198 2 197 0 1 0
parameter table allocation management 7,247 191 34 159 30 2 0
library cache lock allocation 1,687,348 140 1 139 1 0 0
messages 1,274,923 138 3 135 3 0 0
parallel query alloc buffer 7,468 87 1 86 1 0 0
checkpoint queue latch 2,482,381 82 1 81 1 0 0
sort extent pool 441,251 51 1 50 1 0 0
compile environment latch 2,632,757 47 4 43 4 0 0
simulator lru latch 10,963 3 2 1 2 0 0

Back to Latch Statistics
Back to Top

Latch Miss Sources

Latch Name Where NoWait Misses Sleeps Waiter Sleeps
In memory undo latch ktiFlush: child 0 876 263
In memory undo latch ktichg: child 0 133 728
In memory undo latch kticmt: child 0 116 24
In memory undo latch kturbk 0 82 198
In memory undo latch ktiTxnPoolFree 0 15 1
In memory undo latch ktbgfc 0 1 11
KWQMN job cache list latch kwqmnuji: update job item 0 47 13
KWQMN job cache list latch kwqmndej: dequeue 0 7 51
cache buffer handles kcbzgs 0 10 10
cache buffer handles kcbzfs 0 3 3
cache buffers chains kcbgtcr: fast path 0 367 419
cache buffers chains kcbzgb: scan from tail. nowait 0 298 0
cache buffers chains kcbrls: kslbegin 0 139 117
cache buffers chains kcbgtcr: kslbegin excl 0 69 123
cache buffers chains kcbchg: kslbegin: call CR func 0 62 109
cache buffers chains kcbchg: kslbegin: bufs not pinned 0 56 198
cache buffers chains kcbget: exchange rls 0 20 1
cache buffers chains kcbgcur: kslbegin 0 13 46
cache buffers chains kcbget: pin buffer 0 8 21
cache buffers chains kcbget: exchange 0 8 4
cache buffers chains kcbcge 0 5 1
cache buffers chains kcbzwb 0 4 1
cache buffers chains kcbnlc 0 2 0
cache buffers chains kcb_post_apply: kcbhq62 0 1 0
cache buffers chains kcbbxsv 0 1 2
cache buffers chains kcbnew_1 0 1 0
cache buffers chains kcbesc: escalate 0 1 0
cache buffers lru chain kcbzgws 0 35 0
cache buffers lru chain kcbo_link_q 0 13 1
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 2 0
cache buffers lru chain kcbo_ivd_proc 0 2 4
cache buffers lru chain kcbbxsv: move to being written 0 1 5
cas latch kgsloupd1 0 18 18
checkpoint queue latch kcbbwthc: thread checkpoint buffers 0 1 0
compile environment latch qksceCopyEnv 0 4 4
dml lock allocation ktaiam 0 18 25
dml lock allocation ktaidm 0 13 6
enqueue hash chains ksqgtl3 0 12 16
enqueue hash chains ksqrcl 0 9 5
enqueues ksqgel: create enqueue 0 15 6
enqueues ksqdel 0 6 7
enqueues ksqies 0 4 12
library cache kglupc: child 0 2,720 1,713
library cache kglpnc: child 0 2,406 2,954
library cache kglpndl: child: before processing 0 1,921 1,397
library cache kglpnp: child 0 1,533 3,043
library cache kglpndl: child: after processing 0 937 18
library cache kglpin: child: heap processing 0 851 480
library cache kglobpn: child: 0 529 1,700
library cache kglpin 0 247 155
library cache kglhdgn: child: 0 137 556
library cache kgldte: child 0 0 133 295
library cache kglhdiv: child 0 118 0
library cache kglic 0 86 1
library cache kglhdgc: child: 0 60 92
library cache kglidp: child 0 47 0
library cache kglupd: child 0 28 0
library cache kglget: set reserved lock 0 22 83
library cache kglpur: child 0 8 0
library cache kglini: child 0 6 0
library cache kglhdiv0: child 0 6 0
library cache kgldti: 2child 0 5 2
library cache kglhdiv0: parent: invalidate 0 4 0
library cache kglhfr: child 0 1 0
library cache kglpin: child: KGLMX 0 1 0
library cache kglobld 0 1 9
library cache lock kgllkdl: child: no lock handle 0 1,417 730
library cache lock kgllkal: child: multiinstance 0 59 72
library cache lock kgllkdl: child: cleanup 0 53 39
library cache lock allocation kgllkget 0 1 1
library cache pin kglpndl 0 423 115
library cache pin kglupc 0 278 213
library cache pin kglpnc: child 0 260 312
library cache pin kglpnp: child 0 229 380
library cache pin kglpnal: child: alloc space 0 185 355
messages ksaamb: after wakeup 0 2 0
messages ksarcv 0 1 3
mostly latch-free SCN kcs02 0 4 3
mostly latch-free SCN kcs01 0 1 2
object queue header operation kcbo_ivbo 0 22 5
object queue header operation kcbw_link_q 0 6 3
object queue header operation kcbo_link_q:reget 0 2 0
parallel query alloc buffer kxfpbalo 0 1 1
parameter table allocation management ksp_param_table_alloc 0 34 34
process queue reference kxfpqrsnd 0 2 0
redo allocation kcrfw_redo_gen: redo allocation 1 0 57 0
redo allocation kcrfw_redo_gen: redo allocation 3 0 1 6
row cache objects kqreqd: reget 0 14 1
row cache objects kqrpre: find obj 0 4 20
row cache objects kqreqd 0 2 0
sequence cache kdnssd 0 22 0
sequence cache kdnnxt: cached seq 0 6 0
session allocation ksuxds: KSUSFCLC not set 0 463 193
session allocation ksursi 0 63 145
session allocation kxfpqidqr 0 61 66
session allocation ksuxds: not user session 0 21 106
session allocation ksucri 0 20 99
session allocation kxfprdp 0 10 6
session allocation ksudlp 0 6 2
session allocation ksuprc 0 4 13
session allocation ksudlc 0 3 21
session idle bit ksupuc: clear busy 0 50 17
session idle bit ksupuc: set busy 0 25 56
session idle bit ksuxds 0 1 3
shared pool kghupr1 0 1,967 2,068
shared pool kghalo 0 97 40
shared pool kghfre 0 56 15
shared pool kghalp 0 2 0
shared pool kghfen: not perm alloc class 0 1 0
simulator hash latch kcbsacc: lookup dba 0 2 2
simulator lru latch kcbs_simulate: simulate set 0 2 2
sort extent pool ktstdt: dealloc sort extent 0 1 0
undo global data ktucof: at start 0 1,079 0
undo global data ktudba: KSLBEGIN 0 56 552
undo global data kturimugur: child 0 54 542
undo global data ktusmasp: ktugd_tuux 0 1 3
undo global data ktudnx:child 0 1 38

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
APPLSYS APPS_TS_TX_IDX FND_PROFILE_OPTION_VALUES_U1   INDEX 10,951,392 4.49
QP APPS_TS_TX_IDX QP_LIST_LINES_N5   INDEX 9,584,832 3.93
GL APPS_TS_TX_DATA GL_CODE_COMBINATIONS   TABLE 9,169,520 3.76
SYSTEM SYSTEM AQ$_QUEUES   TABLE 8,767,792 3.59
GL APPS_TS_TX_IDX GL_CODE_COMBINATIONS_U1   INDEX 6,710,096 2.75

Back to Segment Statistics
Back to Top

Segments by Physical Reads

Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Reads %Total
APPLSYS APPS_TS_TX_IDX WF_ITEM_ATTRIBUTE_VALUES_PK   INDEX 10,750 14.27
WSH APPS_TS_TX_DATA WSH_DELIVERY_DETAILS   TABLE 9,619 12.77
HR APPS_TS_TX_IDX PAY_BALANCE_CONTEXT_VALUES_PK   INDEX 8,212 10.90
APPLSYS APPS_TS_TX_DATA WF_ITEM_ATTRIBUTE_VALUES   TABLE 7,168 9.52
HR APPS_TS_TX_DATA PAY_BALANCE_CONTEXT_VALUES   TABLE 5,192 6.89

Back to Segment Statistics
Back to Top

Segments by Buffer Busy Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type Buffer Busy Waits %Total
AR APPS_TS_PAY_DATA RA_CUST_TRX_LINE_GL_DIST_ALL   TABLE 2,753 13.65
AR APPS_TS_PAY_IDX RA_CUST_TRX_LINE_GL_DIST_U1   INDEX 1,662 8.24
HR APPS_TS_TX_IDX PAY_ACTION_INTERLOCKS_FK1   INDEX 1,454 7.21
HR APPS_TS_TX_IDX PAY_ACTION_INTERLOCKS_PK   INDEX 948 4.70
HR APPS_TS_PAY_IDX PAY_RUN_RESULT_VALUES_N50   INDEX 846 4.19

Back to Segment Statistics
Back to Top

Segments by Row Lock Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type Row Lock Waits %Total
APPLSYS APPS_TS_TX_DATA FND_CONCURRENT_REQUESTS   TABLE 13,858 69.01
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 1,003 4.99
HR APPS_TS_PAY_IDX PAY_RUN_RESULT_VALUES_PK   INDEX 788 3.92
WSH APPS_TS_TX_DATA WSH_TRIP_STOPS   TABLE 546 2.72
HR APPS_TS_TX_IDX PAY_COSTS_FK2   INDEX 541 2.69

Back to Segment Statistics
Back to Top

Segments by ITL Waits

Owner Tablespace Name Object Name Subobject Name Obj. Type ITL Waits %Total
HR APPS_TS_TX_IDX PAY_COSTS_FK2   INDEX 4 40.00
AR APPS_TS_PAY_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 3 30.00
HR APPS_TS_PAY_IDX PAY_RUN_RESULTS_N51   INDEX 3 30.00

Back to Segment Statistics
Back to Top

 

Dictionary Cache Stats

Cache Get Requests Pct Miss Scan Reqs Pct Miss Mod Reqs Final Usage
dc_awr_control 73 0.00 0   3 1
dc_constraints 2,943 49.92 0   2,943 985
dc_free_extents 16 56.25 6 0.00 14 6
dc_global_oids 1,811,373 0.00 0   0 80
dc_histogram_data 10,039 1.89 0   16 1,281
dc_histogram_defs 172,583 3.22 0   2,571 30,465
dc_object_ids 2,702,693 0.03 0   245 6,506
dc_objects 85,361 1.57 0   2,041 10,098
dc_profiles 3,270 0.00 0   0 1
dc_rollback_segments 17,215,211 0.00 0   78 693
dc_segments 1,612,766 0.05 0   5,825 8,375
dc_sequences 17,068 0.13 0   17,068 159
dc_table_scns 24,844 0.00 0   0 14
dc_tablespace_quotas 5,368 0.35 0   5,368 52
dc_tablespaces 1,229,648 0.00 0   0 25
dc_used_extents 6 100.00 0   6 17
dc_usernames 124,729 0.00 0   0 85
dc_users 2,952,337 0.00 0   0 118
outstanding_alerts 126 0.00 0   0 20


Back to Top

 

Library Cache Activity

Namespace Get Requests Pct Miss Pin Requests Pct Miss Reloads Invali- dations
BODY 2,189,730 0.00 14,331,890 -0.00 0 0
CLUSTER 19 0.00 59 0.00 0 0
INDEX 530 51.89 1,926 22.17 0 0
JAVA DATA 65 0.00 0   0 0
PIPE 21,150 2.09 27,442 1.57 0 0
SQL AREA 4,889,064 0.09 49,511,488 0.00 2,158 1,101
TABLE/PROCEDURE 658,660 0.10 21,765,178 0.00 61 0
TRIGGER 10,453 0.06 371,188 0.00 0 0


Back to Top

 

SGA Statistics

Back to Top

SGA Memory Summary

SGA regions Size in Bytes
Database Buffers 5,268,045,824
Fixed Size 1,332,208
Redo Buffers 2,097,152
Variable Size 3,318,459,408

Back to SGA Statistics
Back to Top

SGA breakdown difference

Pool Name Begin value End value % Diff
java free memory 17,894,144 17,894,144 0.00
java joxlod exec hp 14,982,912 14,982,912 0.00
java joxs heap 677,376 677,376 0.00
large PX msg pool 64,672 64,672 0.00
large free memory 16,712,544 16,712,544 0.00
shared ASH buffers 16,777,216 16,777,216 0.00
shared FileOpenBlock 10,144,744 10,144,744 0.00
shared KGLF Frame Hea 15,112 15,112 0.00
shared KGLS heap 42,588,648 46,600,096 9.42
shared KQR L PO 15,180,808 17,004,800 12.02
shared KQR L SO 116,760 128,024 9.65
shared KQR M PO 17,518,624 21,041,664 20.11
shared KQR M SO 500,344 592,032 18.32
shared KQR S SO 7,712 8,480 9.96
shared KTI-UNDO 30,986,560 30,986,560 0.00
shared PL/SQL DIANA 37,480,912 41,058,656 9.55
shared PL/SQL MPCODE 73,549,808 76,494,288 4.00
shared PLS non-lib hp 16,512 16,512 0.00
shared PX subheap 70,792 70,792 0.00
shared QSMQUTL summar 34,416 30,560 -11.20
shared enqueue resources 4,418,528 4,418,528 0.00
shared evaluation con 17,760 17,760 0.00
shared event statistics per sess 103,936,000 103,936,000 0.00
shared fixed allocation callback 1,248 1,248 0.00
shared free memory 1,733,308,440 1,328,632,096 -23.35
shared joxlod exec hp 933,040 933,040 0.00
shared joxlod pcod hp 177,000 177,000 0.00
shared joxlod rsrc hp 7,392 7,392 0.00
shared joxs heap 4,240 4,240 0.00
shared library cache 499,021,384 605,489,088 21.34
shared miscellaneous 219,289,632 230,207,768 4.98
shared parameters 1,544,000 1,677,096 8.62
shared partitioning d 651,936 667,744 2.42
shared pl/sql source 15,720 15,720 0.00
shared private strands 58,122,240 58,122,240 0.00
shared repository 3,069,600 3,237,240 5.46
shared row cache 7,414,544 7,414,544 0.00
shared rule set evalu 71,136 71,136 0.00
shared sessions 19,904,008 19,904,008 0.00
shared sql area 347,095,888 617,225,984 77.83
shared synonym source 30,256 52,120 72.26
shared table definiti 73,808 87,856 19.03
shared temporary tabl 4,523,704 5,099,872 12.74
shared transaction 5,226,624 5,226,624 0.00
shared trigger defini 131,760 141,184 7.15
shared type object de 801,048 1,042,840 30.18
  buffer_cache 5,268,045,824 5,268,045,824 0.00
  fixed_sga 1,332,208 1,332,208 0.00
  log_buffer 2,097,152 2,097,152 0.00

Back to SGA 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  
_like_with_bind_as_equality TRUE  
_sort_elimination_cost_ratio 5  
_sqlexec_progression_cost 2147483647  
_system_trig_enabled FALSE  
_trace_files_public TRUE  
aq_tm_processes 1  
background_dump_dest /oracle/dump/bdump  
compatible 10.1.0  
control_files /raw_links/cntrl01, /raw_links/cn  
core_dump_dest /oracle/dump/cdump  
cursor_sharing EXACT  
db_block_checking FALSE  
db_block_checksum TRUE  
db_block_size 8192  
db_file_multiblock_read_count 8  
db_files 130  
db_name VIS  
disk_asynch_io TRUE  
dml_locks 10000  
enqueue_resources 32000  
ifile /oracle/OraHome_10g/dbs/VIS_oasb-  
job_queue_processes 10  
log_checkpoint_timeout 0  
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 600  
optimizer_dynamic_sampling 0  
parallel_max_servers 8  
parallel_min_servers 0  
pga_aggregate_target 32212254720  
plsql_code_type native  
plsql_native_library_dir /oracle/OraHome_10g/plsql_nativel  
plsql_native_library_subdir_count 1000  
plsql_optimize_level 2  
processes 2000  
session_cached_cursors 500  
sessions 4000  
sga_target 8589934592  
shared_pool_reserved_size 314572800  
shared_pool_size 3254779904  
sql_trace FALSE  
timed_statistics TRUE  
undo_management AUTO  
undo_tablespace APPS_UNDOTS1  
user_dump_dest /oracle/dump/udump  
utl_file_dir /usr/tmp, /oracle/OraHome_10g/app  
workarea_size_policy AUTO  


Back to Top

End of Report