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: 925 18-Jan-07 05:53:03 1844 176.3
End Snap: 926 18-Jan-07 06:53:05 1840 215.8
Elapsed:   60.03 (mins)    
DB Time:   180.50 (mins)    

 

Report Summary

Cache Sizes (end)

Buffer Cache: 4,992M Std Block Size: 8K
Shared Pool Size: 3,104M Log Buffer: 4,096K

Load Profile

  Per Second Per Transaction
Redo size: 2,277,104.90 23,551.05
Logical reads: 106,610.61 1,102.62
Block changes: 14,094.28 145.77
Physical reads: 72.57 0.75
Physical writes: 217.36 2.25
User calls: 4,109.86 42.51
Parses: 1,074.84 11.12
Hard parses: 1.77 0.02
Sorts: 1,130.18 11.69
Logons: 0.92 0.01
Executes: 7,914.04 81.85
Transactions: 96.69  

% Blocks changed per Read: 13.22 Recursive Call %: 76.29
Rollback per transaction %: 23.28 Rows per Sort: 14.77

Instance Efficiency Percentages (Target 100%)

Buffer Nowait %: 99.99 Redo NoWait %: 100.00
Buffer Hit %: 99.94 In-memory Sort %: 100.00
Library Hit %: 99.98 Soft Parse %: 99.84
Execute to Parse %: 86.42 Latch Hit %: 99.77
Parse CPU to Parse Elapsd %: 98.14 % Non-Parse CPU: 95.90

Shared Pool Statistics

  Begin End
Memory Usage %: 46.47 59.90
% SQL with executions>1: 86.18 84.48
% Memory for SQL w/exec>1: 84.96 66.80

Top 5 Timed Events

Event Waits Time(s) Percent Total DB Time Wait Class
CPU time   10,000 92.33  
db file sequential read 122,168 485 4.47 User I/O
log file parallel write 555,369 123 1.14 System I/O
db file parallel write 129,529 89 .82 System I/O
enq: TM - contention 38 88 .82 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 122,168 0 485 4 0.35
log file parallel write 555,369 0 123 0 1.59
db file parallel write 129,529 0 89 1 0.37
enq: TM - contention 38 19 88 2,324 0.00
enq: TX - row lock contention 138 2 70 511 0.00
log file sync 141,897 1 69 0 0.41
db file scattered read 13,432 0 65 5 0.04
SQL*Net more data from client 770,098 0 31 0 2.21
read by other session 8,952 0 24 3 0.03
SQL*Net message to client 15,445,935 0 19 0 44.35
library cache pin 1,548 0 18 11 0.00
buffer busy waits 41,471 3 16 0 0.12
SQL*Net more data to client 642,209 0 16 0 1.84
enq: TX - index contention 4,014 0 10 3 0.01
enq: UL - contention 272 0 9 35 0.00
PX Deq Credit: send blkd 2,121 0 5 2 0.01
direct path read temp 1,655 0 4 3 0.00
SQL*Net break/reset to client 24,070 0 4 0 0.07
PX Deq: Signal ACK 229 88 4 16 0.00
latch: library cache 6,897 0 3 0 0.02
library cache load lock 180 0 2 10 0.00
enq: DV - contention 90 0 2 18 0.00
control file parallel write 1,599 0 1 1 0.00
control file sequential read 1,104 0 1 1 0.00
local write wait 1,193 0 1 1 0.00
enq: RO - fast object reuse 171 0 1 3 0.00
direct path write temp 1,943 0 0 0 0.01
enq: SQ - contention 1,565 0 0 0 0.00
enq: CU - contention 17 0 0 22 0.00
process startup 18 0 0 19 0.00
rdbms ipc reply 3,473 0 0 0 0.01
LGWR wait for redo copy 7,064 0 0 0 0.02
direct path read 250 0 0 1 0.00
latch: shared pool 259 0 0 0 0.00
latch: session allocation 611 0 0 0 0.00
kksfbc child completion 2 2 0 50 0.00
latch: library cache pin 311 0 0 0 0.00
enq: HW - contention 52 0 0 2 0.00
enq: TX - contention 56 0 0 2 0.00
latch: In memory undo latch 763 0 0 0 0.00
latch: undo global data 1,464 0 0 0 0.00
switch logfile command 6 0 0 10 0.00
control file single write 132 0 0 0 0.00
latch: cache buffers chains 457 0 0 0 0.00
log file switch (checkpoint incomplete) 4 0 0 6 0.00
log file sequential read 4 0 0 5 0.00
latch free 210 0 0 0 0.00
enq: TX - allocate ITL entry 11 0 0 1 0.00
latch: cache buffers lru chain 27 0 0 0 0.00
latch: library cache lock 8 0 0 1 0.00
direct path write 1,271 0 0 0 0.00
row cache lock 7 0 0 0 0.00
enq: US - contention 3 0 0 1 0.00
enq: FB - contention 13 0 0 0 0.00
latch: enqueue hash chains 6 0 0 0 0.00
latch: row cache objects 6 0 0 0 0.00
latch: redo allocation 10 0 0 0 0.00
enq: PS - contention 50 0 0 0 0.00
undo segment extension 1,111 1,098 0 0 0.00
log file single write 4 0 0 0 0.00
buffer deadlock 578 576 0 0 0.00
latch: cache buffer handles 5 0 0 0 0.00
latch: redo writing 3 0 0 0 0.00
latch: object queue header operation 2 0 0 0 0.00
PX Deq: Table Q qref 7 0 0 0 0.00
SQL*Net message from client 15,445,936 0 3,725,136 241 44.35
pipe get 12,429 6,701 17,588 1,415 0.04
queue messages 1,218 961 10,145 8,329 0.00
PX Idle Wait 2,737 2,400 4,718 1,724 0.01
Queue Monitor Wait 120 120 3,516 29,297 0.00
wakeup time manager 1,445 703 3,189 2,207 0.00
PL/SQL lock timer 77 74 1,992 25,873 0.00
PX Deq: Execution Msg 6,987 30 135 19 0.02
jobq slave wait 20 20 59 2,930 0.00
PX Deq: Execute Reply 5,275 1 19 4 0.02
PX Deq: Table Q Normal 2,148 0 0 0 0.01
PX Deq: Msg Fragment 1,743 0 0 0 0.01
PX Deq: Parse Reply 200 0 0 0 0.00
PX Deq Credit: need buffer 358 0 0 0 0.00
PX Deq: Join ACK 222 0 0 0 0.00
PX Deq: Table Q Sample 66 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 555,377 0 123 0 1.59
db file parallel write 129,529 0 89 1 0.37
db file scattered read 2,717 0 5 2 0.01
control file parallel write 1,599 0 1 1 0.00
db file sequential read 684 0 1 1 0.00
buffer busy waits 383 0 1 1 0.00
control file sequential read 686 0 0 1 0.00
rdbms ipc reply 3,111 0 0 0 0.01
LGWR wait for redo copy 7,064 0 0 0 0.02
direct path read 250 0 0 1 0.00
latch: library cache 505 0 0 0 0.00
control file single write 132 0 0 0 0.00
latch: shared pool 18 0 0 2 0.00
process startup 1 0 0 28 0.00
log file sequential read 4 0 0 5 0.00
latch: session allocation 89 0 0 0 0.00
direct path write 150 0 0 0 0.00
latch: cache buffers lru chain 8 0 0 0 0.00
latch: In memory undo latch 20 0 0 0 0.00
row cache lock 5 0 0 0 0.00
enq: US - contention 3 0 0 1 0.00
latch: redo allocation 7 0 0 0 0.00
latch free 7 0 0 0 0.00
latch: undo global data 11 0 0 0 0.00
latch: library cache pin 6 0 0 0 0.00
log file single write 4 0 0 0 0.00
log file sync 2 0 0 0 0.00
latch: redo writing 3 0 0 0 0.00
latch: cache buffers chains 2 0 0 0 0.00
latch: object queue header operation 1 0 0 0 0.00
rdbms ipc message 300,962 11,062 29,913 99 0.86
Queue Monitor Wait 120 120 3,516 29,297 0.00
smon timer 10,933 0 3,425 313 0.03
wakeup time manager 1,445 703 3,189 2,207 0.00

Back to Wait Events Statistics
Back to Top

Time Model Statistics

Statistic Name Time (seconds) % Total DB Time
DB time 10,830.20 100.00
DB CPU 9,999.52 92.33
sql execute elapsed time 8,904.60 82.22
PL/SQL execution elapsed time 2,664.55 24.60
inbound PL/SQL rpc elapsed time 2,570.06 23.73
background elapsed time 691.21 6.38
background cpu time 493.74 4.56
parse time elapsed 392.40 3.62
Java execution elapsed time 263.45 2.43
hard parse elapsed time 254.91 2.35
connection management call elapsed time 9.44 0.09
sequence load elapsed time 8.02 0.07
PL/SQL compilation elapsed time 3.60 0.03
failed parse elapsed time 1.76 0.02
hard parse (sharing criteria) elapsed time 1.04 0.01
hard parse (bind mismatch) elapsed time 0.99 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 9,102.50 8,421.80 163,933 333,355,853
SYS$USERS 1,728.10 1,578.10 62,160 34,717,634
SYS$BACKGROUND 0.00 0.00 17,750 15,695,945

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 115,783 43,261 53,167 4,712 0 0 12,087,879 5,972
SYS$USERS 31,342 14,080 1,568 60 6 6 4,766,051 708
SYS$BACKGROUND 3,801 607 921 63 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
526 526 2 263.08 4.86 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
422 422 4 105.57 3.90 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
307 307 4 76.77 2.84 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
290 290 61 4.75 2.68 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
278 276 33,519 0.01 2.56 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
202 201 431 0.47 1.86 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
199 123 5,000 0.04 1.84 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
173 166 3 57.62 1.60 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
167 166 23,452 0.01 1.55 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
167 164 1,000 0.17 1.54 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
155 131 6,485 0.02 1.43 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
137 67 217 0.63 1.26 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...
112 111 12,165 0.01 1.04 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...

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
526 526 2 263.08 4.86 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
422 422 4 105.56 3.90 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
307 307 4 76.77 2.84 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
290 290 61 4.75 2.68 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
276 278 33,519 0.01 2.56 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
201 202 431 0.47 1.86 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
166 167 23,452 0.01 1.55 3prk3vg9u0abb JDBC Thin Client BEGIN FND_GLOBAL.APPS_INITIA...
166 173 3 55.23 1.60 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
164 167 1,000 0.16 1.54 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
131 155 6,485 0.02 1.43 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
123 199 5,000 0.02 1.84 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
111 112 12,165 0.01 1.04 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
67 137 217 0.31 1.26 g0g2sj2by3p75 JDBC Thin Client BEGIN WF_EVENT.LISTEN ( p_ag...

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
24,815,476 4 6,203,869.00 6.46 307.09 307.09 7g05xfvc5vp74 ARTERRPW BEGIN arp_run.revenue_recognit...
24,055,905 4 6,013,976.25 6.26 422.25 422.28 bkxrrs52m7d8p WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
20,887,510 2 10,443,755.00 5.44 526.16 526.16 ghw9svn8x4vzu WSHPSRS BEGIN WSH_PICK_LIST.RELEASE_BA...
11,858,508 5,000 2,371.70 3.09 122.74 198.81 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
9,991,693 431 23,182.58 2.60 201.13 201.56 bt0w082dfrm8v WSHINTERFACE BEGIN WSH_SHIP_CONFIRM_ACTIONS...
9,242,960 1,000 9,242.96 2.41 164.44 166.75 2fjd6cndjby9p ARTERRPW INSERT INTO RA_CUST_TRX_LINE_G...
8,707,681 61 142,748.87 2.27 289.73 289.76 0z318y6g3uagc INCTCW declare l_retstat varchar2 ( 3...
8,275,547 3 2,758,515.67 2.16 165.69 172.87 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
6,728,593 12,165 553.11 1.75 111.01 112.30 4yak7x2zqz0dh WSHFRREL BEGIN inv_transfer_order_pvt.f...
6,375,819 11 579,619.91 1.66 60.40 60.56 1du9v021t8m46 ARGLTP insert into gl_interface(creat...
4,656,361 1,396,159 3.34 1.21 61.08 61.09 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
4,495,425 33,519 134.12 1.17 276.21 277.68 6h2tpcxpymqu7 JDBC Thin Client BEGIN :1 := FND_AOLJ_UTIL.is_V...
3,983,652 5,000 796.73 1.04 62.18 65.82 4ds53shhfcynn PYUSLV declare begin hr_pre_pay....
3,930,230 16,360 240.23 1.02 43.51 78.49 3vy5h9xkfv1s5 OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...

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
27,614 5,000 5.52 10.56 122.74 198.81 64qc329wgjv39 PYUSLV select /*+ ORDERED INDEX(ASS...
16,956 16,360 1.04 6.49 43.51 78.49 3vy5h9xkfv1s5 OEXOETEL INSERT INTO WF_ITEM_ATTRIBUTE_...
9,599 720 13.33 3.67 55.54 68.39 8c8cf4vtv4tx2 asn.lead.server.LeadUwqAM SELECT * FROM ( SELECT LeadEO....
9,505 1 9,505.00 3.64 25.58 27.92 bb995vqx5y1zd SQL*Plus select /*+ cursor_sharing_exa...
9,180 6,485 1.42 3.51 131.44 155.40 1q78dwnrrkf6c asn.lead.server.LeadUwqAM BEGIN ASN_SALES_PVT.Lead_Proce...
7,941 3 2,647.00 3.04 165.69 172.87 8c30hkqv9n7cr OEHVIMP BEGIN OE_BULK_ORDER_IMPORT_PVT...
2,103 361 5.83 0.80 54.60 61.43 1kjhvys1sd1sg ap.oie.server.WebExpensesAM BEGIN fnd_msg_pub.initialize;A...
1,290 360 3.58 0.49 91.72 95.17 3cb7xm8ykx1qh icx.por.req.server.RequisitionAM begin :1 := POR_UTIL_PKG.subm...
861 109 7.90 0.33 81.14 82.97 fumydqvpk1g21 qotSCopOverview.jsp BEGIN ASO_QUOTE_PUB_W.SUBMIT_Q...
564 16,360 0.03 0.22 4.32 5.11 6kd3qt5f36fdr OEXOETEL INSERT INTO WF_ITEMS ( ITEM_TY...

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
1,396,159 462,747 0.33 0.00 0.00 c4y7jp0q2awbf   SELECT PROFILE_OPTION_VALUE FR...
1,263,346 1,127,887 0.89 0.00 0.00 6cjfxb1c4kx16   SELECT PROFILE_OPTION_ID, APP...
818,013 818,003 1.00 0.00 0.00 9dvfguzd15kpv JDBC Thin Client SELECT VALUE FROM V$NLS_PARAME...
470,008 470,008 1.00 0.00 0.00 cgb6kp2umq52a   select t.schema, t.name, t.f...
469,808 469,808 1.00 0.00 0.00 8bsm049u7thjd   select min(next_date) from "AP...
181,931 181,930 1.00 0.00 0.00 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
100,877 76,128 0.75 0.00 0.00 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
96,952 95,870 0.99 0.00 0.00 91hakq9n36htp ap.oie.server.WebExpensesAM SELECT TEXT_VALUE FROM WF_ITEM...
87,423 1,486,191 17.00 0.00 0.00 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
69,084 67,963 0.98 0.00 0.00 0b85w9vv0hbt1 hxc.selfservice.timecard.server.TimecardAM UPDATE WF_ITEM_ATTRIBUTE_VALUE...

Back to SQL Statistics
Back to Top

SQL ordered by Parse Calls

Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
470,008 470,008 12.14 cgb6kp2umq52a   select t.schema, t.name, t.f...
469,808 630 12.13 20rc3cmapyvnz   select q_name, state, delay,...
469,808 469,808 12.13 8bsm049u7thjd   select min(next_date) from "AP...
181,931 181,931 4.70 avc1jqzz04wpr JDBC Thin Client SELECT 'x' FROM DUAL
100,877 100,877 2.61 fmfdkztk8vx23   SELECT CATEGORY, SEVERITY, F...
87,423 87,423 2.26 cwyx16zn1hpfb JDBC Thin Client select parameter, value from ...
37,050 37,050 0.96 6gnth2mfbs2nq INVTTMTX declare v_ret number := 0...
36,095 36,095 0.93 162ttnv4ubqun OEXOETEL begin OE_DS_PVT.Check_PO_Appr...
35,000 35,000 0.90 97mt0g20bcfc3 PYUSLV begin ...
33,390 33,390 0.86 8camsgjsr9zya OEXOETEL begin OE_TRANSACTION_TYPES_PK...

Back to SQL Statistics
Back to Top

SQL ordered by Sharable Memory

Sharable Mem (b) Executions % Total SQL Id SQL Module SQL Text
2,269,587 2,160 0.07 8ay7m8qubw98j POXBWVRP select * from PO_TAX_LINES_SUM...
2,055,473 125 0.06 azfadzhfxbxj3 ARXTWMAI SELECT ROW_ID, APBA_INACTIVE_D...
1,998,224 73 0.06 2fr5f5xzmffd8 POXPRPOP SELECT decode ( : P_sortby , ...
1,851,724 12 0.06 9trqpr8qyg7xm POXPRPOP SELECT distinct pol . line_num...
1,752,350 6,265 0.05 8q8zmrwmrccz4 OEXOETEL SELECT /*+ ORDERED USE_NL(adj ...
1,665,185 2,163 0.05 bf4kcv5v66czb ibuSRDetails.jsp SELECT 'NOTE', '2', b.creat...
1,563,453 2,161 0.05 bk9zgysk994av OEXOETEL SELECT /*+ ORDERED USE_NL(qpq ...
1,400,117 1 0.04 0tdy0gjxn6wrb RAXMTR select /*+ cursor_sharing_exa...
1,369,633 1 0.04 bb995vqx5y1zd SQL*Plus select /*+ cursor_sharing_exa...
1,363,906 1 0.04 dkvvgc7c1wksu RAXTRX select CONTRACT_ID||'~'||L.AGR...
1,306,885 4,321 0.04 fc74w8q18dtdu OEXOETEL SELECT /*+ ORDERED USE_NL(QPQ ...
1,272,144 360 0.04 2nfc4vng01c8t POXPOVPO SELECT END_DATE, START_DATE, R...
1,240,038 72 0.04 3c086a4sm741b ARXAGE select decode ( UPPER ( : p_or...
1,233,969 1 0.04 496za9aq6dd71 RAXMTR select /*+ cursor_sharing_exa...
1,218,887 360 0.04 0nr5vc1336tr9 APXINWKB SELECT DESTINATION_TYPE_CODE, ...
1,166,146 359 0.04 c1j60ttadh9jj ap.oie.history.server.ExpenseReportsPageAM SELECT * FROM (SELECT TO_CHAR(...
1,127,721 1 0.03 879tscdjdfycd RAXMTR select /*+ cursor_sharing_exa...
1,057,980 37,050 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
0b85w9vv0hbt1 UPDATE WF_ITEM_ATTRIBUTE_VALUES SET TEXT_VALUE = :B4 WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
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
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 ;
162ttnv4ubqun begin OE_DS_PVT.Check_PO_Approved( :t_application_id, :t_entity_short_name, :t_validation_entity_short_name, :t_validation_tmplt_short_name, :t_record_set_short_name, :t_scope, :t_result ); end;
1du9v021t8m46 insert into gl_interface(created_by, date_created, status, actual_flag, group_id, set_of_books_id, user_je_source_name, user_je_category_name, accounting_date, subledger_doc_sequence_id, subledger_doc_sequence_value, ussgl_transaction_code, currency_code, code_combination_id, entered_dr, entered_cr, accounted_dr, accounted_cr, reference1, reference10, reference21, reference22, reference23, reference24, reference25, reference26, reference27, reference28, reference29, reference30, request_id)selec t /*+ ORDERED USE_NL (l ctlgd ct ctt cust) INDEX (ctlgd, RA_CUST_TRX_LINE_GL_DIST_N5) +*/ :b0 created_by , trunc(sysdate ) date_created , :b1 status , :b2 actual_flag , :b3 group_id , :b4 sob_id , :b5 source_name , decode(ctt.type, 'CM', :b6, 'DM', :b7, 'CB', :b8, :b9) category , ctlgd.gl_date gl_date , ct.doc_sequence_id doc_seqid , ct.doc_sequence_value doc_num , ctlgd.ussgl_transaction_code ussgl , ct.invoice_currency_code currency , ctlgd.code_combination_id ccid , decod e(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), null , nvl(ctlgd.amount, 0)), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), (-nvl(ctlgd.amount, 0)), null ), decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.amount, 0)), null )) entered_dr , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.amount, 0)), null ), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), null , nvl(ctlgd.amount, 0)), decode(sign(nvl(ctlgd.amount , 0)), (-1), null , nvl(ctlgd.amount, 0))) entered_cr , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), null , nvl(ctlgd.acctd_amount, 0)), 'ROUND', decode(sign(nvl(ctlgd.acctd_amount, 0)), (-1), (-nvl(ctlgd.acctd_amount, 0)), null ), decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.acctd_amount, 0)), null )) acctd_dr , decode(ctlgd.account_class, 'REC', decode(sign(nvl(ctlgd.amount, 0)), (-1), (-nvl(ctlgd.acctd_amount, 0)), null ), 'ROUND', decode(sign(nvl(ctlgd. acctd_amount, 0)), (-1), null , nvl(ctlgd.acctd_amount, 0)), decode(sign(nvl(ctlgd.amount, 0)), (-1), null , nvl(ctlgd.acctd_amount, 0))) acctd_cr , (:b10||to_char(:b3)) ref1 , decode(:b12, 'Y', null , ((((((l.meaning||' ')||:b13)||decode(ctt.type, 'CB', :b14, 'CM', :b15, 'DEP', :b16, 'DM', :b17, 'GUAR', :b18, 'INV', :b19, null ))||' ')||ct.trx_number)||:b20)) ref10 , to_char(:b3) ref21 , to_char(ct.customer_trx_id) ref22 , to_char(ctlgd.cust_trx_line_gl_dist_id) ref23 , ct.trx_number ref24 , cu st.account_number ref25 , 'CUSTOMER' ref26 , to_char(ct.bill_to_customer_id) ref27 , decode(ctt.type, 'CM', 'CM', 'DM', 'DM', 'CB', 'CB', 'INV') ref28 , (decode(ctt.type, 'CM', 'CM_', 'DM', 'DM_', 'CB', 'CB_', 'INV_')||ctlgd.account_class) ref29 , 'RA_CUST_TRX_LINE_GL_DIST' ref30 , :b22 from ra_cust_trx_line_gl_dist ctlgd , ra_cust_trx_line_gl_dist rec , ar_lookups l , ra_customer_trx ct , ra_cust_trx_types ctt , hz_cust_accounts cust where ((((((((((((((((ctlgd.cust_trx_line_gl_dist_id+0)<: b23 and ctlgd.gl_date between to_date((:b24||' 00:00:00'), 'DD-MON-RR HH24:MI:SS') and to_date((:b25||' 23:59:59'), 'DD-MON-RR HH24:MI:SS')) and ctlgd.posting_control_id=(-3)) and ctlgd.set_of_books_id=:b4) and ctlgd.account_set_flag='N') and ctlgd.customer_trx_id=ct.customer_trx_id) and l.lookup_type='AUTOGL_TYPE') and l.lookup_code=nvl(ctlgd.account_class, 'REV')) and ct.complete_flag='Y') and ct.bill_to_customer_id=cust.cust_account_id) and ct.cust_trx_type_id=ctt.cust_trx_type_id) and ctlgd. customer_trx_id=rec.customer_trx_id) and rec.account_class='REC') and rec.latest_rec_flag='Y') and rec.account_set_flag='N') and 'NOT_MFAR_TYPE'=AR_MFAR_PKG.ar_mfar_trx_post(ctlgd.customer_trx_id, :b0, :b1, :b2, :b3, :b4, :b5, :b6, :b7, :b8, :b9, :b10, :b12, :b13, :b20, :b14, :b15, :b17, :b16, :b18, :b19, :b24, :b25, :b23))
1kjhvys1sd1sg BEGIN fnd_msg_pub.initialize;AP_WEB_OA_MAINFLOW_PKG.OASubmitWorkflow(p_report_header_id => :1, p_preparer_id => :2, p_employee_id => :3, p_invoice_number => :4, p_reimb_curr => :5, p_cost_center => :6, p_purpose => :7, p_approver_id => :8, p_week_end_date => :9, p_workflow_appr_flag => :10, p_msg_count => :11);END;
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)
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;
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
4ds53shhfcynn declare begin hr_pre_pay.do_prepayment(:p1, :p2, :p3, :p4, :5, :p6:p6ind, :p7); end;
4yak7x2zqz0dh BEGIN inv_transfer_order_pvt.finalize_pick_confirm(:1, :2, :3, :4, :5, :6, :7); END;
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
6gnth2mfbs2nq declare v_ret number := 0; begin if (INV_TABLE_LOCK_PVT.lock_onhand_records(:1, :2, :3, :4, :5, :6, :7) ) then v_ret := 1; end if; :8 := v_ret; end;
6h2tpcxpymqu7 BEGIN :1 := FND_AOLJ_UTIL.is_Valid_ICX(:2, NULL, 'Y', TRUE, TRUE, NULL, NULL, NULL, NULL, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, TRUE);:19 := fnd_session_management.g_enc_key;:20 := fnd_session_management.g_mac_key;END;
6kd3qt5f36fdr INSERT INTO WF_ITEMS ( ITEM_TYPE, ITEM_KEY, ROOT_ACTIVITY, ROOT_ACTIVITY_VERSION, OWNER_ROLE, PARENT_ITEM_TYPE, PARENT_ITEM_KEY, BEGIN_DATE, END_DATE, USER_KEY ) VALUES ( :B7 , :B6 , :B5 , :B4 , :B3 , '', '', :B2 , TO_DATE(NULL), :B1 )
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 )
8camsgjsr9zya begin OE_TRANSACTION_TYPES_PKG.Val_Ord_Change( :t_application_id, :t_entity_short_name, :t_validation_entity_short_name, :t_validation_tmplt_short_name, :t_record_set_short_name, :t_scope, :t_result ); end;
8q8zmrwmrccz4 SELECT /*+ ORDERED USE_NL(adj qplh) */ ADJ.LIST_LINE_ID CREATED_FROM_LIST_LINE_ID , LINE.LINE_INDEX LINE_IND , LINE.LINE_INDEX CURR_LINE_INDEX , LINE.LINE_ID LINE_ID , ADJ.PRICE_ADJUSTMENT_ID LINE_DETAIL_INDEX , ADJ.LIST_LINE_TYPE_CODE CREATED_FROM_LIST_LINE_TYPE , ADJ.LIST_HEADER_ID CREATED_FROM_LIST_HEADER_ID , ADJ.APPLIED_FLAG , (LINE.UPDATED_ADJUSTED_UNIT_PRICE - LINE.ADJUSTED_UNIT_PRICE) AMOUNT_CHANGED , LINE.ADJUSTED_UNIT_PRICE , ADJ.RANGE_BREAK_QUANTITY PRICED_QUANTITY , LINE.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
91hakq9n36htp SELECT TEXT_VALUE FROM WF_ITEM_ATTRIBUTE_VALUES WHERE ITEM_TYPE = :B3 AND ITEM_KEY = :B2 AND NAME = :B1
97mt0g20bcfc3 begin pay_US_rules.get_default_jurisdiction (:asgact, :eeid, :defval:defvalind); end;
9dvfguzd15kpv SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER = :B1
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
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;
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
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;

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 1,021,503 283.60 2.93
CPU used when call started 1,026,188 284.90 2.95
CR blocks created 2,317,051 643.27 6.65
Cached Commit SCN referenced 40,144 11.15 0.12
Commit SCN cached 178 0.05 0.00
DB time 4,194,760 1,164.58 12.04
DBWR checkpoint buffers written 743,559 206.43 2.14
DBWR checkpoints 174 0.05 0.00
DBWR object drop buffers written 4,099 1.14 0.01
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR revisited being-written buffer 1 0.00 0.00
DBWR transaction table writes 5,213 1.45 0.01
DBWR undo block writes 456,608 126.77 1.31
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 6,507,227 1,806.58 18.68
IMU Flushes 93,237 25.89 0.27
IMU Redo allocation size 783,184,364 217,432.53 2,248.80
IMU bind flushes 528 0.15 0.00
IMU commits 182,179 50.58 0.52
IMU contention 10,046 2.79 0.03
IMU ktichg flush 5,179 1.44 0.01
IMU pool not allocated 4 0.00 0.00
IMU recursive-transaction flush 607 0.17 0.00
IMU undo allocation size 1,705,944,648 473,615.00 4,898.38
IMU- failed to get a private strand 4 0.00 0.00
PX local messages recv'd 19,483 5.41 0.06
PX local messages sent 19,483 5.41 0.06
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 15,441,131 4,286.86 44.34
active txn count during cleanout 12,300,394 3,414.91 35.32
application wait time 17,274 4.80 0.05
background checkpoints completed 2 0.00 0.00
background checkpoints started 2 0.00 0.00
background timeouts 11,512 3.20 0.03
branch node splits 267 0.07 0.00
buffer is not pinned count 169,327,752 47,009.83 486.20
buffer is pinned count 407,647,543 113,173.65 1,170.50
bytes received via SQL*Net from client 3,406,578,619 945,755.61 9,781.51
bytes sent via SQL*Net to client 3,058,852,718 849,217.78 8,783.07
calls to get snapshot scn: kcmgss 32,367,383 8,986.03 92.94
calls to kcmgas 3,531,823 980.53 10.14
calls to kcmgcs 1,631,727 453.01 4.69
change write time 23,499 6.52 0.07
cleanout - number of ktugct calls 3,878,069 1,076.65 11.14
cleanouts and rollbacks - consistent read gets 2,191,797 608.50 6.29
cleanouts only - consistent read gets 38,153 10.59 0.11
cluster key scan block gets 204,271 56.71 0.59
cluster key scans 46,564 12.93 0.13
commit cleanout failures: block lost 67,413 18.72 0.19
commit cleanout failures: buffer being written 6 0.00 0.00
commit cleanout failures: callback failure 2,690 0.75 0.01
commit cleanout failures: cannot pin 3,167 0.88 0.01
commit cleanouts 2,417,019 671.03 6.94
commit cleanouts successfully completed 2,343,743 650.68 6.73
commit txn count during cleanout 288,899 80.21 0.83
concurrency wait time 4,767 1.32 0.01
consistent changes 62,788,351 17,431.69 180.29
consistent gets 319,475,112 88,694.67 917.33
consistent gets - examination 181,630,949 50,425.52 521.53
consistent gets direct 11 0.00 0.00
consistent gets from cache 319,212,270 88,621.70 916.57
cursor authentications 1,174 0.33 0.00
data blocks consistent reads - undo records applied 61,409,721 17,048.95 176.33
db block changes 50,767,099 14,094.28 145.77
db block gets 64,532,328 17,915.87 185.30
db block gets direct 3,134 0.87 0.01
db block gets from cache 64,527,541 17,914.54 185.28
deferred (CURRENT) block cleanout applications 477,850 132.66 1.37
dirty buffers inspected 4,190 1.16 0.01
enqueue conversions 5,276 1.46 0.02
enqueue releases 11,159,804 3,098.25 32.04
enqueue requests 11,163,447 3,099.27 32.05
enqueue timeouts 3,587 1.00 0.01
enqueue waits 5,794 1.61 0.02
exchange deadlocks 578 0.16 0.00
execute count 28,506,110 7,914.04 81.85
free buffer inspected 814,396 226.10 2.34
free buffer requested 3,657,534 1,015.43 10.50
heap block compress 1,391,132 386.21 3.99
hot buffers moved to head of LRU 420,557 116.76 1.21
immediate (CR) block cleanout applications 2,229,951 619.09 6.40
immediate (CURRENT) block cleanout applications 383,901 106.58 1.10
index fast full scans (full) 0 0.00 0.00
index fast full scans (rowid ranges) 823 0.23 0.00
index fetch by key 51,217,141 14,219.22 147.06
index scans kdiixs1 40,727,890 11,307.13 116.94
java call heap collected bytes 203,412,840 56,472.74 584.07
java call heap collected count 2,566,962 712.66 7.37
java call heap gc count 227 0.06 0.00
java call heap live object count 103,173 28.64 0.30
java call heap live object count max 104,173 28.92 0.30
java call heap live size 22,965,008 6,375.69 65.94
java call heap live size max 23,307,480 6,470.77 66.92
java call heap object count 1,139,203 316.27 3.27
java call heap object count max 1,141,609 316.94 3.28
java call heap total size 62,652,416 17,393.95 179.90
java call heap total size max 62,652,416 17,393.95 179.90
java call heap used size 103,175,872 28,644.33 296.26
java call heap used size max 103,545,072 28,746.83 297.32
leaf node 90-10 splits 7,853 2.18 0.02
leaf node splits 66,748 18.53 0.19
logons cumulative 3,308 0.92 0.01
messages received 414,446 115.06 1.19
messages sent 414,446 115.06 1.19
no buffer to keep pinned count 114 0.03 0.00
no work - consistent read gets 95,535,064 26,523.04 274.32
opened cursors cumulative 3,136,734 870.84 9.01
parse count (failures) 1,080 0.30 0.00
parse count (hard) 6,376 1.77 0.02
parse count (total) 3,871,542 1,074.84 11.12
parse time cpu 41,034 11.39 0.12
parse time elapsed 41,812 11.61 0.12
physical read IO requests 136,938 38.02 0.39
physical reads 261,379 72.57 0.75
physical reads cache 224,679 62.38 0.65
physical reads cache prefetch 89,434 24.83 0.26
physical reads direct 19,187 5.33 0.06
physical reads direct temporary tablespace 18,937 5.26 0.05
physical reads prefetch warmup 54,907 15.24 0.16
physical write IO requests 132,406 36.76 0.38
physical writes 782,907 217.36 2.25
physical writes direct 22,221 6.17 0.06
physical writes direct (lob) 1,455 0.40 0.00
physical writes direct temporary tablespace 20,593 5.72 0.06
physical writes from cache 759,162 210.76 2.18
physical writes non checkpoint 661,402 183.62 1.90
pinned buffers inspected 514 0.14 0.00
prefetch warmup blocks aged out before use 113,824 31.60 0.33
prefetch warmup blocks flushed out before use 0 0.00 0.00
prefetched blocks aged out before use 37 0.01 0.00
process last non-idle time 3,600 1.00 0.01
queries parallelized 40 0.01 0.00
recursive calls 47,627,100 13,222.53 136.75
recursive cpu usage 529,606 147.03 1.52
redo blocks written 16,751,998 4,650.79 48.10
redo buffer allocation retries 4 0.00 0.00
redo entries 25,116,785 6,973.08 72.12
redo log space requests 4 0.00 0.00
redo log space wait time 3 0.00 0.00
redo ordering marks 413,589 114.82 1.19
redo size 8,202,052,144 2,277,104.90 23,551.05
redo synch time 7,098 1.97 0.02
redo synch writes 171,040 47.49 0.49
redo wastage 94,819,932 26,324.50 272.26
redo write time 12,963 3.60 0.04
redo writer latching time 37 0.01 0.00
redo writes 277,706 77.10 0.80
rollback changes - undo records applied 117,230 32.55 0.34
rollbacks only - consistent read gets 122,524 34.02 0.35
rows fetched via callback 39,666,702 11,012.52 113.90
session connect time 0 0.00 0.00
session cursor cache hits 1,498,046 415.90 4.30
session logical reads 384,007,698 106,610.61 1,102.62
session pga memory 4,625,791,208 1,284,241.02 13,282.31
session pga memory max 6,775,993,256 1,881,193.53 19,456.32
session uga memory 8,110,504,056 2,251,688.75 23,288.18
session uga memory max 22,639,275,568 6,285,256.96 65,005.51
shared hash latch upgrades - no wait 43,903,084 12,188.65 126.06
sorts (disk) 1 0.00 0.00
sorts (memory) 4,070,858 1,130.18 11.69
sorts (rows) 60,146,718 16,698.31 172.70
summed dirty queue length 29,129 8.09 0.08
switch current to new buffer 369,877 102.69 1.06
table fetch by rowid 250,672,311 69,593.21 719.77
table fetch continued row 2,326,834 645.99 6.68
table scan blocks gotten 18,009,007 4,999.77 51.71
table scan rows gotten 523,229,016 145,262.10 1,502.38
table scans (cache partitions) 104 0.03 0.00
table scans (direct read) 0 0.00 0.00
table scans (long tables) 3,829 1.06 0.01
table scans (rowid ranges) 3,932 1.09 0.01
table scans (short tables) 1,443,279 400.69 4.14
transaction rollbacks 4,124 1.14 0.01
transaction tables consistent read rollbacks 1 0.00 0.00
transaction tables consistent reads - undo records applied 162 0.04 0.00
undo change vector size 3,094,006,044 858,977.26 8,884.01
user I/O wait time 58,223 16.16 0.17
user calls 14,803,567 4,109.86 42.51
user commits 267,198 74.18 0.77
user rollbacks 81,069 22.51 0.23
workarea executions - onepass 2 0.00 0.00
workarea executions - optimal 2,179,147 604.99 6.26
write clones created in background 1,188 0.33 0.00
write clones created in foreground 49 0.01 0.00

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Absolute Values

Statistic Begin Value End Value
session cursor cache count 62,335 137,427
opened cursors current 325,010 397,040
workarea memory allocated 0 1,181
logons current 1,844 1,840

Back to Instance Activity Statistics
Back to Top

Instance Activity Stats - Thread Activity

Statistic Total per Hour
log switches (derived) 2 2.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 56,886 16 4.43 1.57 51,848 14 9,737 0.96
APPS_TS_TX_DATA 65,743 18 3.90 1.59 18,106 5 7,595 1.68
APPS_UNDOTS1 24 0 2.50 1.00 39,343 11 17,124 0.41
SYSTEM 5,984 2 2.93 3.36 2,352 1 410 1.20
TEMP 1,588 0 12.17 13.12 5,349 1 7 0.00
APPS_TS_PAY_IDX 2,163 1 2.41 1.00 3,206 1 10,027 0.75
APPS_TS_TX_INTERFACE 629 0 4.26 2.61 4,500 1 30 0.33
APPS_TS_PAY_DATA 2,140 1 4.01 1.00 1,393 0 4,905 0.13
APPS_TS_QUEUES 125 0 5.28 1.24 3,072 1 6 0.00
APPS_TS_SEED 959 0 5.74 1.70 920 0 498 3.05
CTXSYS 164 0 4.02 1.79 861 0 1 0.00
SYSAUX 336 0 5.36 1.61 517 0 0 0.00
APPS_TS_SUMMARY 26 0 8.46 1.00 524 0 73 27.26
APPS_TS_ARCHIVE 49 0 3.88 1.00 365 0 3 10.00
APPS_TS_NOLOGGING 21 0 6.19 1.67 34 0 0 0.00
APPS_TS_MEDIA 6 0 5.00 1.00 6 0 0 0.00
ODM 4 0 15.00 1.00 2 0 0 0.00
OLAP 4 0 5.00 1.00 2 0 0 0.00
OWAPUB 4 0 5.00 1.00 2 0 0 0.00
PORTAL 4 0 7.50 1.00 2 0 0 0.00
SYNCSERVER 4 0 5.00 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 16 0 5.00 1.00 167 0 1 30.00
APPS_TS_ARCHIVE /raw_links/archive2 33 0 3.33 1.00 198 0 2 0.00
APPS_TS_MEDIA /raw_links/media1 2 0 5.00 1.00 2 0 0 0.00
APPS_TS_MEDIA /raw_links/media2 2 0 5.00 1.00 2 0 0 0.00
APPS_TS_MEDIA /raw_links/media3 2 0 5.00 1.00 2 0 0 0.00
APPS_TS_NOLOGGING /raw_links/nologging1 17 0 5.88 1.82 32 0 0 0.00
APPS_TS_NOLOGGING /raw_links/nologging2 4 0 7.50 1.00 2 0 0 0.00
APPS_TS_PAY_DATA /raw_links/francis1 2,140 1 4.01 1.00 1,393 0 4,905 0.13
APPS_TS_PAY_IDX /raw_links/francis2 2,163 1 2.41 1.00 3,206 1 10,027 0.75
APPS_TS_QUEUES /raw_links/queues1 18 0 8.33 1.39 686 0 3 0.00
APPS_TS_QUEUES /raw_links/queues2 52 0 4.62 1.44 959 0 2 0.00
APPS_TS_QUEUES /raw_links/queues3 55 0 4.91 1.00 1,427 0 1 0.00
APPS_TS_SEED /raw_links/apps_ts_seed01 460 0 6.35 1.49 383 0 0 0.00
APPS_TS_SEED /raw_links/reference1 264 0 5.04 1.81 301 0 350 3.37
APPS_TS_SEED /raw_links/reference2 235 0 5.32 1.97 236 0 148 2.30
APPS_TS_SUMMARY /raw_links/summary1 3 0 10.00 1.00 109 0 28 35.36
APPS_TS_SUMMARY /raw_links/summary2 3 0 6.67 1.00 95 0 16 0.00
APPS_TS_SUMMARY /raw_links/summary3 2 0 5.00 1.00 94 0 3 0.00
APPS_TS_SUMMARY /raw_links/summary4 2 0 5.00 1.00 59 0 6 0.00
APPS_TS_SUMMARY /raw_links/summary5 2 0 10.00 1.00 60 0 3 0.00
APPS_TS_SUMMARY /raw_links/summary6 14 0 9.29 1.00 107 0 17 58.82
APPS_TS_TX_DATA /raw_links/tx_data1 3,439 1 3.63 1.63 858 0 405 2.89
APPS_TS_TX_DATA /raw_links/tx_data10 3,522 1 3.59 1.64 391 0 435 1.56
APPS_TS_TX_DATA /raw_links/tx_data11 3,787 1 3.83 1.62 600 0 440 1.52
APPS_TS_TX_DATA /raw_links/tx_data12 6,503 2 4.45 1.55 3,365 1 732 2.84
APPS_TS_TX_DATA /raw_links/tx_data13 6,342 2 4.47 1.54 2,506 1 710 0.23
APPS_TS_TX_DATA /raw_links/tx_data14 6,313 2 4.50 1.50 2,436 1 633 0.11
APPS_TS_TX_DATA /raw_links/tx_data15 6,481 2 4.42 1.53 2,328 1 461 0.28
APPS_TS_TX_DATA /raw_links/tx_data2 3,522 1 3.64 1.66 613 0 309 2.27
APPS_TS_TX_DATA /raw_links/tx_data3 3,579 1 3.41 1.62 764 0 391 1.59
APPS_TS_TX_DATA /raw_links/tx_data4 3,593 1 3.40 1.68 830 0 646 2.26
APPS_TS_TX_DATA /raw_links/tx_data5 3,359 1 3.32 1.64 817 0 596 2.00
APPS_TS_TX_DATA /raw_links/tx_data6 3,569 1 3.47 1.61 586 0 457 2.54
APPS_TS_TX_DATA /raw_links/tx_data7 4,581 1 3.78 1.62 838 0 571 1.54
APPS_TS_TX_DATA /raw_links/tx_data8 3,564 1 3.32 1.60 637 0 342 2.28
APPS_TS_TX_DATA /raw_links/tx_data9 3,589 1 3.51 1.65 537 0 467 2.18
APPS_TS_TX_IDX /raw_links/tx_idx1 2,920 1 4.51 1.48 2,706 1 627 1.75
APPS_TS_TX_IDX /raw_links/tx_idx10 2,989 1 3.90 1.47 2,058 1 766 0.40
APPS_TS_TX_IDX /raw_links/tx_idx11 3,072 1 3.78 1.44 2,099 1 725 0.70
APPS_TS_TX_IDX /raw_links/tx_idx12 6,062 2 4.98 1.74 5,718 2 614 0.20
APPS_TS_TX_IDX /raw_links/tx_idx13 5,995 2 4.94 1.76 5,296 1 749 0.16
APPS_TS_TX_IDX /raw_links/tx_idx14 5,824 2 4.80 1.71 5,183 1 415 0.27
APPS_TS_TX_IDX /raw_links/tx_idx15 5,923 2 5.01 1.76 5,401 1 443 0.18
APPS_TS_TX_IDX /raw_links/tx_idx2 2,940 1 4.23 1.43 2,847 1 434 1.15
APPS_TS_TX_IDX /raw_links/tx_idx3 2,922 1 4.11 1.44 2,893 1 443 0.65
APPS_TS_TX_IDX /raw_links/tx_idx4 3,218 1 3.92 1.40 2,941 1 1,133 2.69
APPS_TS_TX_IDX /raw_links/tx_idx5 2,998 1 4.14 1.38 3,232 1 653 1.47
APPS_TS_TX_IDX /raw_links/tx_idx6 2,986 1 4.02 1.43 3,527 1 982 0.75
APPS_TS_TX_IDX /raw_links/tx_idx7 3,112 1 4.18 1.46 3,362 1 632 1.06
APPS_TS_TX_IDX /raw_links/tx_idx8 2,974 1 3.95 1.51 2,465 1 554 0.61
APPS_TS_TX_IDX /raw_links/tx_idx9 2,951 1 3.97 1.51 2,120 1 567 0.83
APPS_TS_TX_INTERFACE /raw_links/apps_ts_tx_interface 395 0 3.65 3.28 1,035 0 17 0.59
APPS_TS_TX_INTERFACE /raw_links/apps_ts_tx_interface2 133 0 5.56 1.50 1,808 1 8 0.00
APPS_TS_TX_INTERFACE /raw_links/apps_ts_tx_interface3 101 0 4.95 1.50 1,657 0 5 0.00
APPS_UNDOTS1 /raw_links/undo01 5 0 2.00 1.00 6,496 2 2,824 0.44
APPS_UNDOTS1 /raw_links/undo02 3 0 10.00 1.00 6,882 2 2,949 0.39
APPS_UNDOTS1 /raw_links/undo03 2 0 0.00 1.00 6,534 2 2,793 1.21
APPS_UNDOTS1 /raw_links/undo04 2 0 0.00 1.00 6,398 2 2,327 0.06
APPS_UNDOTS1 /raw_links/undo05 6 0 1.67 1.00 6,704 2 2,695 0.18
APPS_UNDOTS1 /raw_links/undo06 6 0 1.67 1.00 6,329 2 3,536 0.19
CTXSYS /raw_links/ctx1 78 0 4.36 1.99 532 0 1 0.00
CTXSYS /raw_links/ctx2 86 0 3.72 1.62 329 0 0 0.00
ODM /raw_links/odm 4 0 15.00 1.00 2 0 0 0.00
OLAP /raw_links/olap 4 0 5.00 1.00 2 0 0 0.00
OWAPUB /raw_links/owa1 4 0 5.00 1.00 2 0 0 0.00
PORTAL /raw_links/portal 4 0 7.50 1.00 2 0 0 0.00
SYNCSERVER /raw_links/mobile01 4 0 5.00 1.00 2 0 0 0.00
SYSAUX /raw_links/sysaux01 336 0 5.36 1.61 517 0 0 0.00
SYSTEM /raw_links/sys1 888 0 3.16 3.30 238 0 25 2.00
SYSTEM /raw_links/sys2 923 0 2.82 3.21 352 0 18 7.78
SYSTEM /raw_links/sys3 876 0 3.15 3.39 325 0 8 2.50
SYSTEM /raw_links/sys4 877 0 3.22 3.41 498 0 23 8.26
SYSTEM /raw_links/sys5 891 0 2.73 3.31 445 0 7 4.29
SYSTEM /raw_links/sys6 846 0 2.87 3.39 300 0 126 0.08
SYSTEM /raw_links/sys7 683 0 2.50 3.53 194 0 203 0.25
TEMP /raw_links/tmp1 829 0 4.50 12.59 2,110 1 7 0.00
TEMP /raw_links/tmp2 690 0 22.06 14.96 1,956 1 0  
TEMP /raw_links/tmp3 69 0 5.51 1.00 1,283 0 0  

Back to IO Stats
Back to Top

 

Buffer Pool Statistics

P Number of Buffers Pool Hit% Buffer Gets Physical Reads Physical Writes Free Buff Wait Writ Comp Wait Buffer Busy Waits
D 620,256 100 383,492,268 224,673 759,162 0 0 50,423


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 47 18,368 372,912 2,027,199 17,510,400 2,027,199  
E 0 47 18,230 369,175 1,475,542 17,510,400 1,475,542  

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.72 2,257,935
D 992 0.20 123,256 1.48 896,830
D 1,488 0.30 184,884 1.26 768,446
D 1,984 0.40 246,512 1.15 699,244
D 2,480 0.50 308,140 1.10 667,002
D 2,976 0.60 369,768 1.07 649,653
D 3,472 0.70 431,396 1.05 637,024
D 3,968 0.79 493,024 1.03 625,128
D 4,464 0.89 554,652 1.01 616,108
D 4,960 0.99 616,280 1.00 607,989
D 4,992 1.00 620,256 1.00 607,585
D 5,456 1.09 677,908 0.99 603,723
D 5,952 1.19 739,536 0.99 601,435
D 6,448 1.29 801,164 0.99 598,523
D 6,944 1.39 862,792 0.98 595,267
D 7,440 1.49 924,420 0.97 591,406
D 7,936 1.59 986,048 0.97 588,991
D 8,432 1.69 1,047,676 0.96 584,843
D 8,928 1.79 1,109,304 0.96 584,229
D 9,424 1.89 1,170,932 0.96 584,229
D 9,920 1.99 1,232,560 0.96 584,229

Back to Advisory Statistics
Back to Top

PGA Aggr Summary

PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
99.74 125,286 333

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,720 13,974.34 0.00 0.00 0.00 0.00 102,400
E 30,720 15,370 18,509.03 0.84 0.00 100.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,054,880 2,054,880 0 0
64K 128K 5,486 5,486 0 0
128K 256K 321 321 0 0
256K 512K 276 276 0 0
512K 1024K 26,158 26,158 0 0
1M 2M 91,880 91,880 0 0
2M 4M 15 15 0 0
4M 8M 16 16 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 160,321.47 2,115.25 99.00 404
7,680 0.25 160,321.47 2,028.58 99.00 370
15,360 0.50 160,321.47 166.44 100.00 0
23,040 0.75 160,321.47 166.44 100.00 0
30,720 1.00 160,321.47 166.44 100.00 0
36,864 1.20 160,321.47 166.44 100.00 0
43,008 1.40 160,321.47 166.44 100.00 0
49,152 1.60 160,321.47 166.44 100.00 0
55,296 1.80 160,321.47 166.44 100.00 0
61,440 2.00 160,321.47 166.44 100.00 0
92,160 3.00 160,321.47 166.44 100.00 0
122,880 4.00 160,321.47 166.44 100.00 0
184,320 6.00 160,321.47 166.44 100.00 0
245,760 8.00 160,321.47 166.44 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 324 16,075 28,895 1.00 614 1.00 48,143,805
1,824 0.59 570 32,885 28,895 1.00 614 1.00 48,144,153
2,144 0.69 595 34,676 28,895 1.00 614 1.00 48,144,158
2,464 0.79 595 34,676 28,895 1.00 614 1.00 48,144,158
2,784 0.90 595 34,676 28,895 1.00 614 1.00 48,144,158
3,104 1.00 595 34,676 28,895 1.00 614 1.00 48,144,158
3,424 1.10 595 34,676 28,895 1.00 614 1.00 48,144,158
3,744 1.21 595 34,676 28,895 1.00 614 1.00 48,144,158
4,064 1.31 595 34,676 28,895 1.00 614 1.00 48,144,158
4,384 1.41 595 34,676 28,895 1.00 614 1.00 48,144,158
4,704 1.52 595 34,676 28,895 1.00 614 1.00 48,144,158
5,024 1.62 595 34,676 28,895 1.00 614 1.00 48,144,158
5,344 1.72 595 34,676 28,895 1.00 614 1.00 48,144,158
5,664 1.82 595 34,676 28,895 1.00 614 1.00 48,144,158
5,984 1.93 595 34,676 28,895 1.00 614 1.00 48,144,158
6,304 2.03 595 34,676 28,895 1.00 614 1.00 48,144,158

Back to Advisory Statistics
Back to Top

Java Pool Advisory

Java Pool Size(M) JP Size Factr Est LC Size (M) Est LC Mem Obj Est LC Time Saved (s) Est LC Time Saved Factr Est LC Load Time (s) Est LC Load Time Factr Est LC Mem Obj Hits
16 0.25 10 265 336 1.00 252 1.00 6,913
32 0.50 10 265 336 1.00 252 1.00 6,913
48 0.75 10 265 336 1.00 252 1.00 6,913
64 1.00 10 265 336 1.00 252 1.00 6,913
80 1.25 10 265 336 1.00 252 1.00 6,913
96 1.50 10 265 336 1.00 252 1.00 6,913
112 1.75 10 265 336 1.00 252 1.00 6,913
128 2.00 10 265 336 1.00 252 1.00 6,913

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 33,061 32 1
undo block 15,038 4 0
undo header 2,082 3 2
segment header 82 1 15
1st level bmb 111 1 10
2nd level bmb 40 0 2
file header block 4 0 0

Back to Wait Statistics
Back to Top

Enqueue Activity

Enqueue Type (Request Reason) Requests Succ Gets Failed Gets Waits Wt Time (s) Av Wt Time(ms)
TM-DML 2,566,170 2,566,083 0 19 90 4,760.00
TX-Transaction (row lock contention) 1,601 93 1,508 93 72 776.67
TX-Transaction (index contention) 3,516 3,516 0 3,509 11 3.02
UL-User-defined 24,553 22,778 1,775 268 10 36.01
DV-Diana Versioning 8,502 8,502 0 87 2 19.54
RO-Multiple Object Reuse (fast object reuse) 1,204 1,204 0 171 1 3.45
CU-Cursor 5,549 5,549 0 16 0 25.00
SQ-Sequence Cache 14,243 14,243 0 1,488 0 0.26
HW-Segment High Water Mark 97,316 97,316 0 43 0 2.33
TX-Transaction 385,090 385,086 0 43 0 1.63
TX-Transaction (allocate ITL entry) 9 9 0 9 0 2.22
FB-Format Block 7,225 7,225 0 11 0 0.91
PS-PX Process Reservation 1,664 1,360 304 34 0 0.00
US-Undo Segment 7,343,052 7,343,052 0 3 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 453,647 389,155 2,471 132 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
18-Jan 06:45 17,969 39,110 643 122 0 0 0/0/0/0/0/0
18-Jan 06:35 65,994 60,845 395 124 0 0 0/0/0/0/0/0
18-Jan 06:25 179,937 86,816 2,471 126 0 0 0/0/0/0/0/0
18-Jan 06:15 80,163 61,734 2,049 125 0 0 0/0/0/0/0/0
18-Jan 06:05 58,466 83,027 1,602 127 0 0 0/0/0/0/0/0
18-Jan 05:55 51,118 57,623 1,000 132 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 277,845 0.01 0.00 0 0  
FOB s.o list latch 19,235 0.05 0.00 0 0  
In memory undo latch 59,937,552 0.59 0.00 0 1,295,732 0.00
JOX SGA heap latch 118,986 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 953,959 0.04 0.35 0 0  
MQL Tracking Latch 0     0 71 0.00
Memory Management Latch 18,005 0.00   0 1,201 0.00
PL/SQL warning settings 1,040,349 0.02 0.00 0 0  
SQL memory manager latch 1 0.00   0 1,199 0.00
SQL memory manager workarea list latch 866,941 0.00 0.00 0 0  
SWRF Alerted Metric Element list 122,200 0.00   0 0  
Shared B-Tree 2 0.00   0 0  
active checkpoint queue latch 136,638 0.12 0.01 0 0  
active service list 12,175 0.22 0.00 0 0  
begin backup scn array 376 0.00   0 0  
buffer pool 1 0.00   0 0  
cache buffer handles 7,844,733 0.61 0.00 0 0  
cache buffers chains 826,014,511 0.22 0.00 0 3,078,355 0.47
cache buffers lru chain 2,702,482 0.14 0.01 0 6,020,910 0.14
cas latch 28,065,324 0.03 0.00 0 0  
channel handle pool latch 126,051 0.01 0.00 0 0  
channel operations parent latch 439,558 0.00 0.00 0 0  
checkpoint queue latch 2,869,336 0.01 0.00 0 745,491 0.00
child cursor hash table 65,211 0.00   0 0  
client/application info 499,695 0.00 0.00 0 0  
commit callback allocation 46,766 0.00   0 0  
compile environment latch 1,318,171 0.00 0.00 0 0  
cursor bind value capture 976 0.10 0.00 0 16,024 0.00
dictionary lookup 275 0.00   0 0  
dml lock allocation 5,126,888 0.09 0.00 0 0  
dummy allocation 6,652 1.17 0.00 0 0  
enqueue hash chains 22,337,878 0.02 0.00 0 2 0.00
enqueues 17,722,787 0.10 0.00 0 0  
error message lists 714 2.66 0.00 0 0  
event group latch 1,548 0.00   0 0  
file cache latch 14,947 0.00   0 0  
global KZLD latch for mem in SGA 2,967 0.00   0 0  
global ctx hash table latch 6,832 0.00   0 0  
hash table column usage latch 2,391 0.00   0 5,184,345 0.02
hash table modification latch 125 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 11,480 0.00   0 0  
lgwr LWN SCN 277,802 0.00 0.00 0 0  
library cache 156,924,285 0.54 0.01 3 1,224 0.08
library cache load lock 3,385 0.30 0.00 0 0  
library cache lock 22,740,971 0.03 0.00 0 0  
library cache lock allocation 546,346 0.00 0.00 0 0  
library cache pin 134,509,035 0.10 0.00 0 0  
library cache pin allocation 552,381 0.00 0.00 0 0  
list of block allocation 97,110 0.00 0.00 0 0  
loader state object freelist 99,786 0.00 0.00 0 0  
longop free list parent 62 0.00   0 62 0.00
message pool operations parent latch 128,000 0.00 0.00 0 0  
messages 1,192,827 0.04 0.00 0 0  
mostly latch-free SCN 3,812,599 0.10 0.00 0 0  
multiblock read objects 29,096 0.04 0.00 0 0  
ncodef allocation latch 59 0.00   0 0  
object queue header heap 150,534 0.00   0 154,990 0.00
object queue header operation 17,864,913 0.01 0.00 0 0  
object stats modification 22,856 0.01 0.00 0 0  
parallel query alloc buffer 7,472 1.65 0.00 0 0  
parallel query stats 462 25.76 0.00 0 0  
parameter list 8,862 0.00   0 0  
parameter table allocation management 6,652 3.98 0.15 0 0  
post/wait queue 216,704 0.01 0.00 0 141,989 0.01
process allocation 3,140 0.00   0 1,548 0.00
process group creation 3,098 0.06 0.00 0 0  
process queue 4,548 1.19 0.00 0 0  
process queue reference 411,163 0.05 0.00 0 24,291 1.64
query server freelists 3,976 5.73 0.00 0 0  
query server process 16 0.00   0 16 0.00
redo allocation 3,518,972 0.16 0.00 0 25,101,774 0.32
redo copy 0     0 25,123,465 0.04
redo on-disk SCN 874,714 0.00   0 0  
redo writing 963,964 0.01 0.03 0 0  
row cache objects 70,291,046 0.04 0.00 0 0  
rules engine statistics 12,838 0.00   0 0  
sequence cache 5,123,216 0.26 0.00 0 0  
session allocation 4,898,688 0.15 0.08 0 0  
session idle bit 30,921,939 0.01 0.00 0 0  
session switching 4,628 0.00   0 0  
session timer 1,217 0.00   0 0  
shared pool 53,294,338 0.40 0.00 0 0  
simulator hash latch 28,218,307 0.00 0.00 0 0  
simulator lru latch 8,755 0.06 0.20 0 285,432 0.35
sort extent pool 397,571 0.01 0.00 0 0  
state object free list 2 0.00   0 0  
statistics aggregation 84 0.00   0 0  
temp lob duration state obj allocation 136 0.00   0 0  
temporary table state object allocation 3,968 0.23 0.00 0 0  
threshold alerts latch 312 0.00   0 0  
trace latch 19 0.00   0 0  
transaction allocation 40,376 0.00   0 0  
transaction branch allocation 59 0.00   0 0  
undo global data 92,191,369 0.21 0.01 0 0  
user lock 11,878 0.05 0.00 0 0  

Back to Latch Statistics
Back to Top

Latch Sleep Breakdown

Latch Name Get Requests Misses Sleeps Spin Gets Sleep1 Sleep2 Sleep3
cache buffers chains 826,014,511 1,825,532 457 1,825,079 449 4 0
library cache 156,924,285 842,000 6,897 835,131 6,841 28 0
In memory undo latch 59,937,552 355,096 763 354,335 759 2 0
shared pool 53,294,338 211,180 259 210,921 259 0 0
undo global data 92,191,369 191,158 1,464 189,698 1,456 4 0
library cache pin 134,509,035 134,052 311 133,743 307 2 0
cache buffer handles 7,844,733 47,605 5 47,600 5 0 0
row cache objects 70,291,046 25,501 6 25,495 6 0 0
enqueues 17,722,787 17,945 5 17,941 3 1 0
sequence cache 5,123,216 13,501 5 13,496 5 0 0
cas latch 28,065,324 8,308 1 8,307 1 0 0
session allocation 4,898,688 7,575 611 7,036 487 32 20
library cache lock 22,740,971 5,840 8 5,833 6 1 0
redo allocation 3,518,972 5,628 10 5,618 10 0 0
cache buffers lru chain 2,702,482 3,767 27 3,740 27 0 0
session idle bit 30,921,939 3,691 9 3,682 9 0 0
mostly latch-free SCN 3,812,599 3,660 4 3,656 4 0 0
enqueue hash chains 22,337,878 3,407 6 3,401 6 0 0
object queue header operation 17,864,913 2,487 2 2,485 2 0 0
KWQMN job cache list latch 953,959 406 142 264 142 0 0
parameter table allocation management 6,652 265 41 228 33 4 0
PL/SQL warning settings 1,040,349 207 1 206 1 0 0
active checkpoint queue latch 136,638 161 1 160 1 0 0
redo writing 963,964 102 3 99 3 0 0
simulator lru latch 8,755 5 1 4 1 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 554 144
In memory undo latch ktichg: child 0 91 408
In memory undo latch kticmt: child 0 81 20
In memory undo latch kturbk 0 35 178
In memory undo latch ktiTxnPoolFree 0 2 0
KWQMN job cache list latch kwqmnuji: update job item 0 127 141
KWQMN job cache list latch kwqmndej: dequeue 0 15 1
PL/SQL warning settings kqlpPlsGetWarningHandle 0 1 1
active checkpoint queue latch kcbbacq: scan active checkpoints 0 1 1
cache buffer handles kcbzgs 0 3 2
cache buffer handles kcbzfs 0 2 3
cache buffers chains kcbzgb: scan from tail. nowait 0 132 0
cache buffers chains kcbgtcr: fast path 0 128 109
cache buffers chains kcbchg: kslbegin: call CR func 0 71 103
cache buffers chains kcbchg: kslbegin: bufs not pinned 0 70 165
cache buffers chains kcbgtcr: kslbegin excl 0 17 18
cache buffers chains kcbrls: kslbegin 0 13 33
cache buffers chains kcbgcur: kslbegin 0 7 9
cache buffers chains kcbget: pin buffer 0 7 10
cache buffers chains kcbzwb 0 5 0
cache buffers chains kcbcge 0 3 1
cache buffers chains kcbnew_1 0 2 0
cache buffers chains kcbget: exchange rls 0 1 0
cache buffers chains kcbesc: escalate 0 1 0
cache buffers lru chain kcbzgws 0 22 0
cache buffers lru chain kcbo_link_q 0 3 0
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 1 0
cache buffers lru chain kcbbic2 0 1 5
cas latch kgsloupd1 0 1 1
enqueue hash chains ksqgtl3 0 4 5
enqueue hash chains ksqrcl 0 2 1
enqueues ksqgel: create enqueue 0 3 3
enqueues ksqies 0 1 2
enqueues ksqdel 0 1 0
library cache kglpnc: child 0 1,843 1,758
library cache kglpndl: child: before processing 0 1,098 1,135
library cache kglpnp: child 0 782 1,412
library cache kglupc: child 0 694 1,241
library cache kglpin: child: heap processing 0 573 169
library cache kglobpn: child: 0 396 476
library cache kglpndl: child: after processing 0 305 26
library cache kglhdiv: child 0 133 0
library cache kglic 0 74 1
library cache kglidp: child 0 45 0
library cache kglhdgn: child: 0 41 209
library cache kglupd: child 0 38 0
library cache kgldte: child 0 0 37 132
library cache kglhdgc: child: 0 18 60
library cache kglpin 0 15 23
library cache kglget: set reserved lock 0 8 53
library cache kglini: child 0 8 2
library cache kglpur: child 0 1 0
library cache kglget: unpin heap 0 0 1 4
library cache kglprg: child 0 1 0
library cache lock kgllkdl: child: no lock handle 0 786 195
library cache lock kgllkal: child: multiinstance 0 5 9
library cache lock kgllkdl: child: cleanup 0 3 1
library cache pin kglpnp: child 0 92 81
library cache pin kglpndl 0 80 43
library cache pin kglpnc: child 0 58 96
library cache pin kglupc 0 47 42
library cache pin kglpnal: child: alloc space 0 34 49
mostly latch-free SCN kcs02 0 3 3
mostly latch-free SCN kcs01 0 1 1
object queue header operation kcbo_ivbo 0 2 1
parameter table allocation management ksp_param_table_alloc 0 41 41
redo allocation kcrfw_redo_gen: redo allocation 1 0 9 0
redo allocation kcrfw_redo_gen: redo allocation 2 0 1 0
redo writing kcrfw_post: rba scn pair 0 2 0
redo writing kcrfwcr 0 1 3
row cache objects kqreqd: reget 0 3 0
row cache objects kqrpre: find obj 0 2 8
row cache objects kqreqd 0 1 3
sequence cache kdnssd 0 4 0
sequence cache kdnnxt: cached seq 0 1 0
session allocation ksuxds: KSUSFCLC not set 0 486 243
session allocation kxfpqidqr 0 32 46
session allocation ksursi 0 30 47
session allocation ksucri 0 21 126
session allocation kxfprdp 0 17 12
session allocation ksuxds: not user session 0 12 83
session allocation ksuprc 0 6 21
session allocation ksudlp 0 4 2
session allocation ksudlc 0 3 31
session idle bit ksupuc: set busy 0 7 5
session idle bit ksupuc: clear busy 0 2 4
shared pool kghupr1 0 229 251
shared pool kghfre 0 15 4
shared pool kghalo 0 14 4
shared pool kghfen: not perm alloc class 0 1 0
simulator lru latch kcbs_simulate: simulate set 0 1 1
undo global data ktucof: at start 0 1,380 0
undo global data kturimugur: child 0 55 768
undo global data ktudba: KSLBEGIN 0 28 612
undo global data ktusmasp: ktugd_tuux 0 1 3

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
QP APPS_TS_TX_IDX QP_LIST_LINES_N5   INDEX 8,648,752 4.14
GL APPS_TS_TX_DATA GL_CODE_COMBINATIONS   TABLE 8,428,128 4.04
GL APPS_TS_TX_IDX GL_CODE_COMBINATIONS_U1   INDEX 6,000,224 2.87
APPLSYS APPS_TS_TX_IDX FND_PROFILE_OPTION_VALUES_U1   INDEX 5,354,384 2.56
GL APPS_TS_TX_INTERFACE GL_INTERFACE_N2   INDEX 5,069,696 2.43

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,375 13.79
WSH APPS_TS_TX_DATA WSH_DELIVERY_DETAILS   TABLE 9,507 12.64
HR APPS_TS_TX_IDX PAY_BALANCE_CONTEXT_VALUES_PK   INDEX 8,212 10.92
APPLSYS APPS_TS_TX_DATA WF_ITEM_ATTRIBUTE_VALUES   TABLE 7,029 9.34
HR APPS_TS_TX_DATA PAY_BALANCE_CONTEXT_VALUES   TABLE 5,192 6.90

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 4,723 19.67
AR APPS_TS_PAY_IDX RA_CUST_TRX_LINE_GL_DIST_U1   INDEX 2,553 10.63
HR APPS_TS_PAY_IDX PAY_RUN_RESULT_VALUES_PK   INDEX 1,644 6.85
HR APPS_TS_PAY_IDX PAY_RUN_RESULT_VALUES_N50   INDEX 1,176 4.90
AR APPS_TS_PAY_IDX RA_CUST_TRX_LINE_GL_DIST_N1   INDEX 822 3.42

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 2,820 31.53
APPLSYS APPS_TS_TX_IDX WF_ITEM_ACTIVITY_STATUSES_N1   INDEX 1,294 14.47
HR APPS_TS_TX_IDX PAY_COSTS_FK2   INDEX 1,015 11.35
HR APPS_TS_PAY_IDX PAY_RUN_RESULT_VALUES_PK   INDEX 785 8.78
AR APPS_TS_PAY_IDX RA_CUST_TRX_LINE_GL_DIST_N5   INDEX 355 3.97

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 44.44
AR APPS_TS_PAY_IDX RA_CUST_TRX_LINE_GL_DIST_N6   INDEX 3 33.33
HR APPS_TS_PAY_IDX PAY_RUN_RESULTS_N51   INDEX 1 11.11
HR APPS_TS_TX_IDX PAY_ACTION_INTERLOCKS_FK2   INDEX 1 11.11

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 66 0.00 0   2 1
dc_constraints 2,751 49.91 0   2,751 913
dc_free_extents 23 52.17 9 0.00 19 6
dc_global_oids 1,630,097 0.00 0   0 80
dc_histogram_data 9,453 1.59 0   17 1,235
dc_histogram_defs 154,485 3.15 0   2,447 30,116
dc_object_ids 2,438,717 0.03 0   229 6,402
dc_objects 77,511 1.59 0   1,908 10,023
dc_profiles 2,968 0.00 0   0 1
dc_rollback_segments 14,752,595 0.00 0   117 677
dc_segments 581,544 0.12 0   5,699 8,297
dc_sequences 15,766 0.11 0   15,766 158
dc_table_scns 22,941 0.00 0   0 14
dc_tablespace_quotas 5,224 0.36 0   5,224 52
dc_tablespaces 1,145,127 0.00 0   0 25
dc_used_extents 9 100.00 0   9 20
dc_usernames 113,182 0.00 0   0 85
dc_users 2,643,265 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 323,174 0.01 11,568,629 0.00 0 0
CLUSTER 18 0.00 58 0.00 0 0
INDEX 496 52.02 1,809 22.22 0 0
JAVA DATA 63 0.00 0   0 0
PIPE 19,479 2.09 24,979 1.63 0 0
SQL AREA 1,788,891 0.23 35,386,819 0.03 1,892 915
TABLE/PROCEDURE 187,369 0.32 16,653,919 0.01 57 0
TRIGGER 8,890 0.07 354,399 0.00 0 0


Back to Top

 

SGA Statistics

Back to Top

SGA Memory Summary

SGA regions Size in Bytes
Database Buffers 5,234,491,392
Fixed Size 1,332,208
Redo Buffers 4,194,304
Variable Size 3,349,916,688

Back to SGA Statistics
Back to Top

SGA breakdown difference

Pool Name Begin value End value % Diff
java free memory 51,448,576 51,448,576 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,792 64,792 0.00
large free memory 16,712,424 16,712,424 0.00
shared ASH buffers 33,554,432 33,554,432 0.00
shared Checkpoint queue 2,099,200 2,099,200 0.00
shared DML lock 2,100,960 2,100,960 0.00
shared FileOpenBlock 2,063,360 2,502,992 21.31
shared KGLF Frame Hea 14,240 14,240 0.00
shared KGLS heap 42,833,784 46,158,952 7.76
shared KQR L PO 15,219,656 16,821,496 10.52
shared KQR L SO 116,744 130,056 11.40
shared KQR M PO 17,675,224 20,779,584 17.56
shared KQR M SO 496,272 567,488 14.35
shared KQR S SO 7,680 8,448 10.00
shared KTI-UNDO 30,986,560 30,986,560 0.00
shared PL/SQL DIANA 37,579,656 41,029,840 9.18
shared PL/SQL MPCODE 73,781,816 76,384,352 3.53
shared PLS non-lib hp 15,704 15,704 0.00
shared PX subheap 36,840 36,840 0.00
shared QSMQUTL summar 20,560 20,408 -0.74
shared SGA struct - SWRF Metrics 2,048,000 2,048,000 0.00
shared Wait History 1,920,000 1,920,000 0.00
shared constraints 994,960 994,960 0.00
shared db_block_hash_buckets 34,832,384 34,832,384 0.00
shared dbwriter coalesce buffer 1,049,088 1,049,088 0.00
shared enqueue 7,222,144 7,222,144 0.00
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,472 1,472 0.00
shared free memory 1,742,410,224 1,305,035,912 -25.10
shared joxlod exec hp 928,512 928,512 0.00
shared joxlod pcod hp 171,528 171,528 0.00
shared joxlod rsrc hp 7,128 7,128 0.00
shared joxs heap 4,240 4,240 0.00
shared kglsim hash table bkts 1,048,576 1,048,576 0.00
shared library cache 489,152,776 652,902,880 33.48
shared miscellaneous 160,237,456 171,364,328 6.94
shared parameters 1,553,136 1,668,688 7.44
shared partitioning d 739,296 739,296 0.00
shared pl/sql source 15,888 15,888 0.00
shared private strands 58,122,240 58,122,240 0.00
shared procs: ksunfy 884,000 884,000 0.00
shared repository 3,080,488 3,245,960 5.37
shared row cache 7,404,304 7,404,304 0.00
shared rule set evalu 71,136 71,136 0.00
shared sessions 19,904,008 19,904,008 0.00
shared sim trace entries 786,432 786,432 0.00
shared simulator hash buckets 1,048,576 1,048,576 0.00
shared sql area 339,977,408 586,789,704 72.60
shared synonym source 32,328 54,752 69.36
shared table definiti 79,352 92,040 15.99
shared temporary tabl 4,072,936 4,583,792 12.54
shared transaction 7,073,224 7,073,224 0.00
shared trigger defini 132,672 141,160 6.40
shared type object de 803,112 1,043,808 29.97
  buffer_cache 5,234,491,392 5,234,491,392 0.00
  fixed_sga 1,332,208 1,332,208 0.00
  log_buffer 4,194,304 4,194,304 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 512  
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 1200  
log_checkpoints_to_alert TRUE  
max_dump_file_size unlimited  
nls_comp binary  
nls_date_format DD-MON-RR  
nls_language american  
nls_length_semantics BYTE  
nls_numeric_characters .,  
nls_sort binary  
nls_territory america  
olap_page_pool_size 4194304  
open_cursors 600  
optimizer_dynamic_sampling 0  
parallel_max_servers 8  
parallel_min_servers 0  
pga_aggregate_target 32212254720  
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