Oracle 9i ( ORA-00904: "CONNECT_BY_ISLEAF": invalid identifier)- Other alternatives

CONNECT_BY_ISLEAF cannot be used in 9i. Can someone help me to modify the code to be used in 9i?


with

header1 as

(select rpad(',',mod(to_date(:ym,'yyyymm') - trunc(to_date(:ym,'yyyymm'),'iw') + 1,7),',') ||

        substr(sys_connect_by_path(case to_char(to_date(:ym,'yyyymm') + level - 1,'dd') when '01' then to_char(to_date(:ym,'yyyymm') + level - 1,'yyyymm') end,','),2) || ',' heading

   from dual

  where connect_by_isleaf = 1

connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

),

header2 as

(select substr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',1,instr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',to_char(to_date(:ym,'yyyymm'),'DY')) - 1) ||

        substr(sys_connect_by_path(to_char(to_date(:ym,'yyyymm') + level - 1,'DY') || '_' || to_char(level,'fm09'),','),2) || ',' dw

   from dual

  where connect_by_isleaf = 1

connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

),

data as

(select inv_product_type,ym,customer_id,patient_name,

        case when ym = :ym

             then rtrim(to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                        to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                        to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                        to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                        to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                        to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6),

                        ','

                       )

             else trim(both ',' from to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                                     to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                                     to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                                     to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                                     to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                                     to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6)

                      )

        end || ',' days

   from temp_tab1

),

months as

(select d.inv_product_type,d.customer_id,d.patient_name,

        y.ym,

        case when instr(h.heading,y.ym) > 0

                then case when y.lvl = 1

                          then substr(h.heading,1,instr(h.heading,substr(:ym,1,4),1,2) - 1)

                          when y.lvl = 3

                          then substr(h.heading,instr(h.heading,substr(:ym,1,4),1,3))

                          else substr(h.heading,instr(h.heading,substr(:ym,1,4),1,2),instr(h.heading,substr(:ym,1,4),1,3) - instr(h.heading,substr(:ym,1,4),1,2))

                     end

        end days

   from (select level lvl,to_char(add_months(to_date(:ym,'yyyymm'),level - 1),'yyyymm') ym

           from dual

         connect by level <= 3

        ) y,

        header1 h,

        (select distinct inv_product_type,customer_id,patient_name

           from data

        ) d

),

final as

(select -1 ord,null inv_product_type,null customer_id,null patient_name,heading h from header1

union all

select 0 ord,'INV_PRODUCT_TYPE','CUSTOMER_ID','PATIENT_NAME',dw from header2

union all

select row_number() over (order by customer_id,patient_name,inv_product_type) ord,

        inv_product_type,customer_id,patient_name,

        replace(sys_connect_by_path(string,'~'),'~') string

   from (select m.inv_product_type,m.ym,m.customer_id,m.patient_name,nvl(d.days,translate(m.days,'~0123456789','~')) string

           from months m,

                data d

          where m.inv_product_type = d.inv_product_type(+)

            and m.customer_id = d.customer_id(+)

            and m.patient_name = d.patient_name(+)

            and m.ym = d.ym(+)

        )

  where connect_by_isleaf = 1

  start with ym = :ym

connect by prior to_char(add_months(to_date(ym,'yyyymm'),1),'yyyymm') = ym

        and prior inv_product_type = inv_product_type

        and prior customer_id = customer_id

        and prior patient_name = patient_name

        and prior dbms_random.random is not null

)

select inv_product_type,customer_id,patient_name,substr(h,1,instr(h,',') - 1) c,

       substr(h,instr(h,',',1,1) + 1,instr(h,',',1,2) - instr(h,',',1,1) - 1) c,substr(h,instr(h,',',1,2) + 1,instr(h,',',1,3) - instr(h,',',1,2) - 1) c,

       substr(h,instr(h,',',1,3) + 1,instr(h,',',1,4) - instr(h,',',1,3) - 1) c,substr(h,instr(h,',',1,4) + 1,instr(h,',',1,5) - instr(h,',',1,4) - 1) c,

       substr(h,instr(h,',',1,5) + 1,instr(h,',',1,6) - instr(h,',',1,5) - 1) c,substr(h,instr(h,',',1,6) + 1,instr(h,',',1,7) - instr(h,',',1,6) - 1) c,

       substr(h,instr(h,',',1,7) + 1,instr(h,',',1,8) - instr(h,',',1,7) - 1) c,substr(h,instr(h,',',1,8) + 1,instr(h,',',1,9) - instr(h,',',1,8) - 1) c,

       substr(h,instr(h,',',1,9) + 1,instr(h,',',1,10) - instr(h,',',1,9) - 1) c,substr(h,instr(h,',',1,10) + 1,instr(h,',',1,11) - instr(h,',',1,10) - 1) c,

       substr(h,instr(h,',',1,11) + 1,instr(h,',',1,12) - instr(h,',',1,11) - 1) c,substr(h,instr(h,',',1,12) + 1,instr(h,',',1,13) - instr(h,',',1,12) - 1) c,

       substr(h,instr(h,',',1,13) + 1,instr(h,',',1,14) - instr(h,',',1,13) - 1) c,substr(h,instr(h,',',1,14) + 1,instr(h,',',1,15) - instr(h,',',1,14) - 1) c,

       substr(h,instr(h,',',1,15) + 1,instr(h,',',1,16) - instr(h,',',1,15) - 1) c,substr(h,instr(h,',',1,16) + 1,instr(h,',',1,17) - instr(h,',',1,16) - 1) c,

       substr(h,instr(h,',',1,17) + 1,instr(h,',',1,18) - instr(h,',',1,17) - 1) c,substr(h,instr(h,',',1,18) + 1,instr(h,',',1,19) - instr(h,',',1,18) - 1) c,

       substr(h,instr(h,',',1,19) + 1,instr(h,',',1,20) - instr(h,',',1,19) - 1) c,substr(h,instr(h,',',1,20) + 1,instr(h,',',1,21) - instr(h,',',1,20) - 1) c,

       substr(h,instr(h,',',1,21) + 1,instr(h,',',1,22) - instr(h,',',1,21) - 1) c,substr(h,instr(h,',',1,22) + 1,instr(h,',',1,23) - instr(h,',',1,22) - 1) c,

       substr(h,instr(h,',',1,23) + 1,instr(h,',',1,24) - instr(h,',',1,23) - 1) c,substr(h,instr(h,',',1,24) + 1,instr(h,',',1,25) - instr(h,',',1,24) - 1) c,

       substr(h,instr(h,',',1,25) + 1,instr(h,',',1,26) - instr(h,',',1,25) - 1) c,substr(h,instr(h,',',1,26) + 1,instr(h,',',1,27) - instr(h,',',1,26) - 1) c,

       substr(h,instr(h,',',1,27) + 1,instr(h,',',1,28) - instr(h,',',1,27) - 1) c,substr(h,instr(h,',',1,28) + 1,instr(h,',',1,29) - instr(h,',',1,28) - 1) c,

       substr(h,instr(h,',',1,29) + 1,instr(h,',',1,30) - instr(h,',',1,29) - 1) c,substr(h,instr(h,',',1,30) + 1,instr(h,',',1,31) - instr(h,',',1,30) - 1) c,

       substr(h,instr(h,',',1,31) + 1,instr(h,',',1,32) - instr(h,',',1,31) - 1) c,substr(h,instr(h,',',1,32) + 1,instr(h,',',1,33) - instr(h,',',1,32) - 1) c,

       substr(h,instr(h,',',1,33) + 1,instr(h,',',1,34) - instr(h,',',1,33) - 1) c,substr(h,instr(h,',',1,34) + 1,instr(h,',',1,35) - instr(h,',',1,34) - 1) c,

       substr(h,instr(h,',',1,35) + 1,instr(h,',',1,36) - instr(h,',',1,35) - 1) c,substr(h,instr(h,',',1,36) + 1,instr(h,',',1,37) - instr(h,',',1,36) - 1) c,

       substr(h,instr(h,',',1,37) + 1,instr(h,',',1,38) - instr(h,',',1,37) - 1) c,substr(h,instr(h,',',1,38) + 1,instr(h,',',1,39) - instr(h,',',1,38) - 1) c,

       substr(h,instr(h,',',1,39) + 1,instr(h,',',1,40) - instr(h,',',1,39) - 1) c,substr(h,instr(h,',',1,40) + 1,instr(h,',',1,41) - instr(h,',',1,40) - 1) c,

       substr(h,instr(h,',',1,41) + 1,instr(h,',',1,42) - instr(h,',',1,41) - 1) c,substr(h,instr(h,',',1,42) + 1,instr(h,',',1,43) - instr(h,',',1,42) - 1) c,

       substr(h,instr(h,',',1,43) + 1,instr(h,',',1,44) - instr(h,',',1,43) - 1) c,substr(h,instr(h,',',1,44) + 1,instr(h,',',1,45) - instr(h,',',1,44) - 1) c,

       substr(h,instr(h,',',1,45) + 1,instr(h,',',1,46) - instr(h,',',1,45) - 1) c,substr(h,instr(h,',',1,46) + 1,instr(h,',',1,47) - instr(h,',',1,46) - 1) c,

       substr(h,instr(h,',',1,47) + 1,instr(h,',',1,48) - instr(h,',',1,47) - 1) c,substr(h,instr(h,',',1,48) + 1,instr(h,',',1,49) - instr(h,',',1,48) - 1) c,

       substr(h,instr(h,',',1,49) + 1,instr(h,',',1,50) - instr(h,',',1,49) - 1) c,substr(h,instr(h,',',1,50) + 1,instr(h,',',1,51) - instr(h,',',1,50) - 1) c,

       substr(h,instr(h,',',1,51) + 1,instr(h,',',1,52) - instr(h,',',1,51) - 1) c,substr(h,instr(h,',',1,52) + 1,instr(h,',',1,53) - instr(h,',',1,52) - 1) c,

       substr(h,instr(h,',',1,53) + 1,instr(h,',',1,54) - instr(h,',',1,53) - 1) c,substr(h,instr(h,',',1,54) + 1,instr(h,',',1,55) - instr(h,',',1,54) - 1) c,

       substr(h,instr(h,',',1,55) + 1,instr(h,',',1,56) - instr(h,',',1,55) - 1) c,substr(h,instr(h,',',1,56) + 1,instr(h,',',1,57) - instr(h,',',1,56) - 1) c,

       substr(h,instr(h,',',1,57) + 1,instr(h,',',1,58) - instr(h,',',1,57) - 1) c,substr(h,instr(h,',',1,58) + 1,instr(h,',',1,59) - instr(h,',',1,58) - 1) c,

       substr(h,instr(h,',',1,59) + 1,instr(h,',',1,60) - instr(h,',',1,59) - 1) c,substr(h,instr(h,',',1,60) + 1,instr(h,',',1,61) - instr(h,',',1,60) - 1) c,

       substr(h,instr(h,',',1,61) + 1,instr(h,',',1,62) - instr(h,',',1,61) - 1) c,substr(h,instr(h,',',1,62) + 1,instr(h,',',1,63) - instr(h,',',1,62) - 1) c,

       substr(h,instr(h,',',1,63) + 1,instr(h,',',1,64) - instr(h,',',1,63) - 1) c,substr(h,instr(h,',',1,64) + 1,instr(h,',',1,65) - instr(h,',',1,64) - 1) c,

       substr(h,instr(h,',',1,65) + 1,instr(h,',',1,66) - instr(h,',',1,65) - 1) c,substr(h,instr(h,',',1,66) + 1,instr(h,',',1,67) - instr(h,',',1,66) - 1) c,

       substr(h,instr(h,',',1,67) + 1,instr(h,',',1,68) - instr(h,',',1,67) - 1) c,substr(h,instr(h,',',1,68) + 1,instr(h,',',1,69) - instr(h,',',1,68) - 1) c,

       substr(h,instr(h,',',1,69) + 1,instr(h,',',1,70) - instr(h,',',1,69) - 1) c,substr(h,instr(h,',',1,70) + 1,instr(h,',',1,71) - instr(h,',',1,70) - 1) c,

       substr(h,instr(h,',',1,71) + 1,instr(h,',',1,72) - instr(h,',',1,71) - 1) c,substr(h,instr(h,',',1,72) + 1,instr(h,',',1,73) - instr(h,',',1,72) - 1) c,

       substr(h,instr(h,',',1,73) + 1,instr(h,',',1,74) - instr(h,',',1,73) - 1) c,substr(h,instr(h,',',1,74) + 1,instr(h,',',1,75) - instr(h,',',1,74) - 1) c,

       substr(h,instr(h,',',1,75) + 1,instr(h,',',1,76) - instr(h,',',1,75) - 1) c,substr(h,instr(h,',',1,76) + 1,instr(h,',',1,77) - instr(h,',',1,76) - 1) c,

       substr(h,instr(h,',',1,77) + 1,instr(h,',',1,78) - instr(h,',',1,77) - 1) c,substr(h,instr(h,',',1,78) + 1,instr(h,',',1,79) - instr(h,',',1,78) - 1) c,

       substr(h,instr(h,',',1,79) + 1,instr(h,',',1,80) - instr(h,',',1,79) - 1) c,substr(h,instr(h,',',1,80) + 1,instr(h,',',1,81) - instr(h,',',1,80) - 1) c,

       substr(h,instr(h,',',1,81) + 1,instr(h,',',1,82) - instr(h,',',1,81) - 1) c,substr(h,instr(h,',',1,82) + 1,instr(h,',',1,83) - instr(h,',',1,82) - 1) c,

       substr(h,instr(h,',',1,83) + 1,instr(h,',',1,84) - instr(h,',',1,83) - 1) c,substr(h,instr(h,',',1,84) + 1,instr(h,',',1,85) - instr(h,',',1,84) - 1) c,

       substr(h,instr(h,',',1,85) + 1,instr(h,',',1,86) - instr(h,',',1,85) - 1) c,substr(h,instr(h,',',1,86) + 1,instr(h,',',1,87) - instr(h,',',1,86) - 1) c,

       substr(h,instr(h,',',1,87) + 1,instr(h,',',1,88) - instr(h,',',1,87) - 1) c,substr(h,instr(h,',',1,88) + 1,instr(h,',',1,89) - instr(h,',',1,88) - 1) c,

       substr(h,instr(h,',',1,89) + 1,instr(h,',',1,90) - instr(h,',',1,89) - 1) c,substr(h,instr(h,',',1,90) + 1,instr(h,',',1,91) - instr(h,',',1,90) - 1) c,

       substr(h,instr(h,',',1,91) + 1,instr(h,',',1,92) - instr(h,',',1,91) - 1) c,substr(h,instr(h,',',1,92) + 1,instr(h,',',1,93) - instr(h,',',1,92) - 1) c,

       substr(h,instr(h,',',1,93) + 1,instr(h,',',1,94) - instr(h,',',1,93) - 1) c,substr(h,instr(h,',',1,94) + 1,instr(h,',',1,95) - instr(h,',',1,94) - 1) c,

       substr(h,instr(h,',',1,95) + 1,instr(h,',',1,96) - instr(h,',',1,95) - 1) c,substr(h,instr(h,',',1,96) + 1,instr(h,',',1,97) - instr(h,',',1,96) - 1) c,

       substr(h,instr(h,',',1,97) + 1,instr(h,',',1,98) - instr(h,',',1,97) - 1) c,substr(h,instr(h,',',1,98) + 1,instr(h,',',1,99) - instr(h,',',1,98) - 1) c

  from final

order by ord

Open in new window


CREATE TABLE TEMP_TAB1
(
  INV_PRODUCT_TYPE  VARCHAR2(50 BYTE),
  YM                VARCHAR2(6 BYTE),
  CUSTOMER_ID       VARCHAR2(20 BYTE),
  PATIENT_NAME      VARCHAR2(80 BYTE),
  SUN_1             NUMBER,
  MON_1             NUMBER,
  TUE_1             NUMBER,
  WED_1             NUMBER,
  THU_1             NUMBER,
  FRI_1             NUMBER,
  SAT_1             NUMBER,
  SUN_2             NUMBER,
  MON_2             NUMBER,
  TUE_2             NUMBER,
  WED_2             NUMBER,
  THU_2             NUMBER,
  FRI_2             NUMBER,
  SAT_2             NUMBER,
  SUN_3             NUMBER,
  MON_3             NUMBER,
  TUE_3             NUMBER,
  WED_3             NUMBER,
  THU_3             NUMBER,
  FRI_3             NUMBER,
  SAT_3             NUMBER,
  SUN_4             NUMBER,
  MON_4             NUMBER,
  TUE_4             NUMBER,
  WED_4             NUMBER,
  THU_4             NUMBER,
  FRI_4             NUMBER,
  SAT_4             NUMBER,
  SUN_5             NUMBER,
  MON_5             NUMBER,
  TUE_5             NUMBER,
  WED_5             NUMBER,
  THU_5             NUMBER,
  FRI_5             NUMBER,
  SAT_5             NUMBER,
  SUN_6             NUMBER,
  MON_6             NUMBER,
  TUE_6             NUMBER
)



Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Cryoprecipitate', '201503', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    0, 0, 0, 0, 0, 
    0, 0, 0, 0, 0, 
    0, 0, 0, 0, 0, 
    0, 16, 0, 0, 0, 
    8, 0, 0, 0, 0, 
    0, 0, 6, 0, 0, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Cryoprecipitate', '201502', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 8, 
    0, 20, 0, 0, 0, 
    0, 0, 0, 0, 0, 
    0, 0, 0, 10, 0, 
    0, 0, 0, 0, 0, 
    0, 0, 0, 15, 0, 
    0, 0, NULL, NULL, NULL, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Leukoreduced Red Blood Cells', '201503', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    0, 1, 10, 0, 0, 
    7, 0, 0, 0, 0, 
    2, 5, 4, 4, 0, 
    8, 0, 0, 7, 0, 
    4, 5, 0, 0, 5, 
    0, 7, 4, 5, 0, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Leukoreduced Red Blood Cells', '201502', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    0, 0, 5, 2, 0, 
    5, 0, 10, 1, 1, 
    3, 7, 0, 3, 0, 
    2, 1, 4, 0, 0, 
    0, 3, 2, 0, 2, 
    0, 3, NULL, NULL, NULL, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Leukoreduced Red Blood Cells', '201501', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', NULL, 
    NULL, NULL, NULL, 5, 2, 
    1, 0, 2, 5, 3, 
    3, 4, 8, 1, 0, 
    0, 0, 0, 9, 0, 
    2, 3, 4, 4, 13, 
    1, 0, 18, 9, 3, 
    1, 0, 1, 7, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Plasma Frozen withing 24hrs', '201503', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    0, 0, 2, 0, 0, 
    10, 0, 0, 0, 0, 
    0, 0, 10, 0, 0, 
    0, 0, 0, 0, 46, 
    22, 0, 26, 0, 0, 
    0, 0, 16, 0, 0, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Plasma Frozen withing 24hrs', '201502', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 10, 
    0, 0, 0, 0, 0, 
    0, 22, 0, 0, 0, 
    0, 16, 0, 24, 0, 
    0, 0, 0, 1, 12, 
    0, 0, 0, 0, 0, 
    18, 0, NULL, NULL, NULL, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Plasma Frozen withing 24hrs', '201501', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', NULL, 
    NULL, NULL, NULL, 0, 0, 
    0, 11, 0, 1, 0, 
    15, 1, 0, 0, 0, 
    6, 13, 0, 0, 0, 
    0, 0, 0, 0, 1, 
    15, 31, 0, 0, 0, 
    0, 0, 0, 0, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Red Blood Cells', '201503', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    3, 5, 6, 0, 0, 
    18, 0, 0, 20, 0, 
    4, 9, 1, 11, 0, 
    6, 0, 13, 23, 0, 
    5, 15, 0, 0, 31, 
    0, 15, 9, 5, 0, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Red Blood Cells', '201502', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    2, 6, 1, 4, 0, 
    6, 0, 18, 3, 6, 
    12, 7, 0, 10, 0, 
    16, 16, 4, 5, 0, 
    0, 33, 7, 0, 4, 
    0, 14, NULL, NULL, NULL, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('Red Blood Cells', '201501', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', NULL, 
    NULL, NULL, NULL, 3, 4, 
    6, 0, 0, 13, 8, 
    7, 6, 10, 10, 6, 
    5, 0, 0, 27, 0, 
    12, 7, 2, 8, 9, 
    4, 2, 26, 11, 5, 
    0, 4, 0, 27, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('SDP', '201503', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 0, 
    2, 0, 10, 0, 0, 
    4, 0, 0, 7, 0, 
    5, 1, 3, 2, 0, 
    5, 0, 2, 6, 1, 
    1, 1, 0, 2, 6, 
    0, 23, 0, 0, 0, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('SDP', '201502', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 1, 
    1, 1, 5, 3, 0, 
    4, 0, 4, 0, 1, 
    1, 3, 0, 7, 0, 
    3, 9, 3, 2, 1, 
    0, 5, 2, 0, 3, 
    0, 3, NULL, NULL, NULL, 
    NULL, NULL, NULL, NULL, NULL, 
    NULL, NULL);
Insert into TEMP_TAB1
   (INV_PRODUCT_TYPE, YM, CUSTOMER_ID, PATIENT_NAME, SUN_1, 
    MON_1, TUE_1, WED_1, THU_1, FRI_1, 
    SAT_1, SUN_2, MON_2, TUE_2, WED_2, 
    THU_2, FRI_2, SAT_2, SUN_3, MON_3, 
    TUE_3, WED_3, THU_3, FRI_3, SAT_3, 
    SUN_4, MON_4, TUE_4, WED_4, THU_4, 
    FRI_4, SAT_4, SUN_5, MON_5, TUE_5, 
    WED_5, THU_5, FRI_5, SAT_5, SUN_6, 
    MON_6, TUE_6)
 Values
   ('SDP', '201501', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', NULL, 
    NULL, NULL, NULL, 1, 1, 
    4, 0, 0, 7, 3, 
    2, 6, 3, 5, 4, 
    3, 1, 4, 14, 0, 
    7, 3, 6, 5, 3, 
    0, 1, 7, 2, 0, 
    0, 1, 0, 7, NULL, 
    NULL, NULL);
COMMIT;

Open in new window

LVL 6
anumosesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sdstuberCommented:
rather than using CONNECT BY aggregation,  9i supports the creation of your own aggregate functions


http://www.experts-exchange.com/articles/9391/How-to-Create-User-Defined-Aggregates-in-Oracle.html


try concatagg from that article
sdstuberCommented:
or, if you really want to use the connect by method then try this for your two header lines


WITH header1
     AS (select heading from (select * from (    SELECT    RPAD(
                           ',',
                           MOD(TO_DATE( :ym, 'yyyymm') - TRUNC(TO_DATE( :ym, 'yyyymm'), 'iw') + 1, 7),
                           ','
                       )
                    || SUBSTR(
                           SYS_CONNECT_BY_PATH(
                               CASE TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'dd')
                                   WHEN '01'
                                   THEN
                                       TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'yyyymm')
                               END,
                               ','
                           ),
                           2
                       )
                    || ','
                        heading, level lvl
               FROM DUAL
              --WHERE CONNECT_BY_ISLEAF = 1
         CONNECT BY LEVEL <= (ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3) - TO_DATE( :ym, 'yyyymm')))
         order by lvl) where rownum = 1),
     header2
     AS (SELECT dw
           FROM (  SELECT *
                     FROM (    SELECT    SUBSTR(
                                             'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                             1,
                                               INSTR(
                                                   'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                                   TO_CHAR(TO_DATE( :ym, 'yyyymm'), 'DY')
                                               )
                                             - 1
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                    TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'DY')
                                                 || '_'
                                                 || TO_CHAR(LEVEL, 'fm09'),
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          dw,
                                      LEVEL lvl
                                 FROM DUAL
                           --where connect_by_isleaf = 1

                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl DESC)
          WHERE rownum = 1),
anumosesAuthor Commented:
There is one more place where connect_by_isleaf is being used

where connect_by_isleaf = 1
 
  start with ym = :ym

Can this be replaced with

CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl DESC)
          WHERE rownum = 1)
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

sdstuberCommented:
yes, you need to include level aliased to lvl in the inner query where you have the connect by path function too
anumosesAuthor Commented:
header 1 and header 2 have two versions of connect by path. Can you please help to get the last replacement for

where connect_by_isleaf = 1
 
  start with ym = :ym
sdstuberCommented:
final
     AS (SELECT -1 ord,
                NULL inv_product_type,
                NULL customer_id,
                NULL patient_name,
                heading h
           FROM header1
         UNION ALL
         SELECT 0 ord, 'INV_PRODUCT_TYPE', 'CUSTOMER_ID', 'PATIENT_NAME', dw FROM header2
         UNION ALL
         SELECT ord,
                inv_product_type,
                customer_id,
                patient_name,
                string
           FROM (  SELECT *
                     FROM (    SELECT ROW_NUMBER()
                                          OVER (ORDER BY customer_id, patient_name, inv_product_type)
                                          ord,
                                      inv_product_type,
                                      customer_id,
                                      patient_name,
                                      REPLACE(SYS_CONNECT_BY_PATH(string, '~'), '~') string,
                                      LEVEL lvl
                                 FROM (SELECT m.inv_product_type,
                                              m.ym,
                                              m.customer_id,
                                              m.patient_name,
                                              NVL(d.days, TRANSLATE(m.days, '~0123456789', '~')) string
                                         FROM months m, data d
                                        WHERE m.inv_product_type = d.inv_product_type(+)
                                          AND m.customer_id = d.customer_id(+)
                                          AND m.patient_name = d.patient_name(+)
                                          AND m.ym = d.ym(+))
                           --WHERE CONNECT_BY_ISLEAF = 1
                           START WITH ym = :ym
                           CONNECT BY PRIOR TO_CHAR(ADD_MONTHS(TO_DATE(ym, 'yyyymm'), 1), 'yyyymm') =
                                          ym
                                  AND PRIOR inv_product_type = inv_product_type
                                  AND PRIOR customer_id = customer_id
                                  AND PRIOR patient_name = patient_name
                                  AND PRIOR DBMS_RANDOM.random IS NOT NULL)
                 ORDER BY lvl DESC)
          WHERE ROWNUM = 1)
anumosesAuthor Commented:
No Errors  with the modified code. The purpose CONNECT_BY_ISLEAF  was used was to get all the data in one line for each product type. But when I run the query I get only one line data for 1 product type. If you have 10G oracle installed on your side can you try the original query for me that has connect by isleaf and see what data gets displayed? I cant even test that code of the error I get because of 9i. Thanks.
sdstuberCommented:
oops, sorry  I see the problem
anumosesAuthor Commented:
Tried modifying for 9i. But my problem is with values for the days. Only product types display.

with

header1 as

(select heading

   from (select level lvl,max(level) over (order by level rows between unbounded preceding and unbounded following) mx,

                rpad(',',mod(to_date(:ym,'yyyymm') - trunc(to_date(:ym,'yyyymm'),'iw') + 1,7),',') ||

                substr(sys_connect_by_path(case to_char(to_date(:ym,'yyyymm') + level - 1,'dd') when '01' then to_char(to_date(:ym,'yyyymm') + level - 1,'yyyymm') end,','),2) || ',' heading

           from dual

         connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

        )

  where lvl = mx

),

header2 as

(select max(dw) dw

   from (select level lvl,

                substr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',1,instr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',to_char(to_date(:ym,'yyyymm'),'DY')) - 1) ||

                substr(sys_connect_by_path(to_char(to_date(:ym,'yyyymm') + level - 1,'DY') || '_' || to_char(level,'fm09'),','),2) || ',' dw

           from dual

         connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

        )

),

data as

(select inv_product_type,ym,customer_id,patient_name,

        case when ym = :ym

             then rtrim(to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                        to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                        to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                        to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                        to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                        to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6),

                        ','

                       )

             else trim(both ',' from to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                                     to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                                     to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                                     to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                                     to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                                     to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6)

                      )

        end || ',' days

   from temp_tab1

),

months as

(select d.inv_product_type,d.customer_id,d.patient_name,

        y.ym,

        case when instr(h.heading,y.ym) > 0

                then case when y.lvl = 1

                          then substr(h.heading,1,instr(h.heading,substr(:ym,1,4),1,2) - 1)

                          when y.lvl = 3

                          then substr(h.heading,instr(h.heading,substr(:ym,1,4),1,3))

                          else substr(h.heading,instr(h.heading,substr(:ym,1,4),1,2),instr(h.heading,substr(:ym,1,4),1,3) - instr(h.heading,substr(:ym,1,4),1,2))

                     end

        end days

   from (select level lvl,to_char(add_months(to_date(:ym,'yyyymm'),level - 1),'yyyymm') ym

           from dual

         connect by level <= 3

        ) y,

        header1 h,

        (select distinct inv_product_type,customer_id,patient_name

           from data

        ) d

),

final as

(select -1 ord,null inv_product_type,null customer_id,null patient_name,heading h from header1

union all

select 0 ord,'INV_PRODUCT_TYPE','CUSTOMER_ID','PATIENT_NAME',dw from header2

union all

select row_number() over (order by customer_id,patient_name,inv_product_type) ord,inv_product_type,customer_id,patient_name,string

  from (select level lvl,max(level) over (order by level rows between unbounded preceding and unbounded following) mx,    

               inv_product_type,customer_id,patient_name,

               replace(sys_connect_by_path(string,'~'),'~') string

          from (select m.inv_product_type,m.ym,m.customer_id,m.patient_name,nvl(d.days,translate(m.days,'~0123456789','~')) string

                  from months m,

                       data d

                 where m.inv_product_type = d.inv_product_type(+)

                   and m.customer_id = d.customer_id(+)

                   and m.patient_name = d.patient_name(+)

                   and m.ym = d.ym(+)

               )

         start with ym = :ym

        connect by prior to_char(add_months(to_date(ym,'yyyymm'),1),'yyyymm') = ym

               and prior inv_product_type = inv_product_type

               and prior customer_id = customer_id

               and prior patient_name = patient_name

               and prior dbms_random.random is not null

       )

where lvl = mx

)

select inv_product_type,customer_id,patient_name,substr(h,1,instr(h,',') - 1) c,

       substr(h,instr(h,',',1,1) + 1,instr(h,',',1,2) - instr(h,',',1,1) - 1) c,substr(h,instr(h,',',1,2) + 1,instr(h,',',1,3) - instr(h,',',1,2) - 1) c,

       substr(h,instr(h,',',1,3) + 1,instr(h,',',1,4) - instr(h,',',1,3) - 1) c,substr(h,instr(h,',',1,4) + 1,instr(h,',',1,5) - instr(h,',',1,4) - 1) c,

       substr(h,instr(h,',',1,5) + 1,instr(h,',',1,6) - instr(h,',',1,5) - 1) c,substr(h,instr(h,',',1,6) + 1,instr(h,',',1,7) - instr(h,',',1,6) - 1) c,

       substr(h,instr(h,',',1,7) + 1,instr(h,',',1,8) - instr(h,',',1,7) - 1) c,substr(h,instr(h,',',1,8) + 1,instr(h,',',1,9) - instr(h,',',1,8) - 1) c,

       substr(h,instr(h,',',1,9) + 1,instr(h,',',1,10) - instr(h,',',1,9) - 1) c,substr(h,instr(h,',',1,10) + 1,instr(h,',',1,11) - instr(h,',',1,10) - 1) c,

       substr(h,instr(h,',',1,11) + 1,instr(h,',',1,12) - instr(h,',',1,11) - 1) c,substr(h,instr(h,',',1,12) + 1,instr(h,',',1,13) - instr(h,',',1,12) - 1) c,

       substr(h,instr(h,',',1,13) + 1,instr(h,',',1,14) - instr(h,',',1,13) - 1) c,substr(h,instr(h,',',1,14) + 1,instr(h,',',1,15) - instr(h,',',1,14) - 1) c,

       substr(h,instr(h,',',1,15) + 1,instr(h,',',1,16) - instr(h,',',1,15) - 1) c,substr(h,instr(h,',',1,16) + 1,instr(h,',',1,17) - instr(h,',',1,16) - 1) c,

       substr(h,instr(h,',',1,17) + 1,instr(h,',',1,18) - instr(h,',',1,17) - 1) c,substr(h,instr(h,',',1,18) + 1,instr(h,',',1,19) - instr(h,',',1,18) - 1) c,

       substr(h,instr(h,',',1,19) + 1,instr(h,',',1,20) - instr(h,',',1,19) - 1) c,substr(h,instr(h,',',1,20) + 1,instr(h,',',1,21) - instr(h,',',1,20) - 1) c,

       substr(h,instr(h,',',1,21) + 1,instr(h,',',1,22) - instr(h,',',1,21) - 1) c,substr(h,instr(h,',',1,22) + 1,instr(h,',',1,23) - instr(h,',',1,22) - 1) c,

       substr(h,instr(h,',',1,23) + 1,instr(h,',',1,24) - instr(h,',',1,23) - 1) c,substr(h,instr(h,',',1,24) + 1,instr(h,',',1,25) - instr(h,',',1,24) - 1) c,

       substr(h,instr(h,',',1,25) + 1,instr(h,',',1,26) - instr(h,',',1,25) - 1) c,substr(h,instr(h,',',1,26) + 1,instr(h,',',1,27) - instr(h,',',1,26) - 1) c,

       substr(h,instr(h,',',1,27) + 1,instr(h,',',1,28) - instr(h,',',1,27) - 1) c,substr(h,instr(h,',',1,28) + 1,instr(h,',',1,29) - instr(h,',',1,28) - 1) c,

       substr(h,instr(h,',',1,29) + 1,instr(h,',',1,30) - instr(h,',',1,29) - 1) c,substr(h,instr(h,',',1,30) + 1,instr(h,',',1,31) - instr(h,',',1,30) - 1) c,

       substr(h,instr(h,',',1,31) + 1,instr(h,',',1,32) - instr(h,',',1,31) - 1) c,substr(h,instr(h,',',1,32) + 1,instr(h,',',1,33) - instr(h,',',1,32) - 1) c,

       substr(h,instr(h,',',1,33) + 1,instr(h,',',1,34) - instr(h,',',1,33) - 1) c,substr(h,instr(h,',',1,34) + 1,instr(h,',',1,35) - instr(h,',',1,34) - 1) c,

       substr(h,instr(h,',',1,35) + 1,instr(h,',',1,36) - instr(h,',',1,35) - 1) c,substr(h,instr(h,',',1,36) + 1,instr(h,',',1,37) - instr(h,',',1,36) - 1) c,

       substr(h,instr(h,',',1,37) + 1,instr(h,',',1,38) - instr(h,',',1,37) - 1) c,substr(h,instr(h,',',1,38) + 1,instr(h,',',1,39) - instr(h,',',1,38) - 1) c,

       substr(h,instr(h,',',1,39) + 1,instr(h,',',1,40) - instr(h,',',1,39) - 1) c,substr(h,instr(h,',',1,40) + 1,instr(h,',',1,41) - instr(h,',',1,40) - 1) c,

       substr(h,instr(h,',',1,41) + 1,instr(h,',',1,42) - instr(h,',',1,41) - 1) c,substr(h,instr(h,',',1,42) + 1,instr(h,',',1,43) - instr(h,',',1,42) - 1) c,

       substr(h,instr(h,',',1,43) + 1,instr(h,',',1,44) - instr(h,',',1,43) - 1) c,substr(h,instr(h,',',1,44) + 1,instr(h,',',1,45) - instr(h,',',1,44) - 1) c,

       substr(h,instr(h,',',1,45) + 1,instr(h,',',1,46) - instr(h,',',1,45) - 1) c,substr(h,instr(h,',',1,46) + 1,instr(h,',',1,47) - instr(h,',',1,46) - 1) c,

       substr(h,instr(h,',',1,47) + 1,instr(h,',',1,48) - instr(h,',',1,47) - 1) c,substr(h,instr(h,',',1,48) + 1,instr(h,',',1,49) - instr(h,',',1,48) - 1) c,

       substr(h,instr(h,',',1,49) + 1,instr(h,',',1,50) - instr(h,',',1,49) - 1) c,substr(h,instr(h,',',1,50) + 1,instr(h,',',1,51) - instr(h,',',1,50) - 1) c,

       substr(h,instr(h,',',1,51) + 1,instr(h,',',1,52) - instr(h,',',1,51) - 1) c,substr(h,instr(h,',',1,52) + 1,instr(h,',',1,53) - instr(h,',',1,52) - 1) c,

       substr(h,instr(h,',',1,53) + 1,instr(h,',',1,54) - instr(h,',',1,53) - 1) c,substr(h,instr(h,',',1,54) + 1,instr(h,',',1,55) - instr(h,',',1,54) - 1) c,

       substr(h,instr(h,',',1,55) + 1,instr(h,',',1,56) - instr(h,',',1,55) - 1) c,substr(h,instr(h,',',1,56) + 1,instr(h,',',1,57) - instr(h,',',1,56) - 1) c,

       substr(h,instr(h,',',1,57) + 1,instr(h,',',1,58) - instr(h,',',1,57) - 1) c,substr(h,instr(h,',',1,58) + 1,instr(h,',',1,59) - instr(h,',',1,58) - 1) c,

       substr(h,instr(h,',',1,59) + 1,instr(h,',',1,60) - instr(h,',',1,59) - 1) c,substr(h,instr(h,',',1,60) + 1,instr(h,',',1,61) - instr(h,',',1,60) - 1) c,

       substr(h,instr(h,',',1,61) + 1,instr(h,',',1,62) - instr(h,',',1,61) - 1) c,substr(h,instr(h,',',1,62) + 1,instr(h,',',1,63) - instr(h,',',1,62) - 1) c,

       substr(h,instr(h,',',1,63) + 1,instr(h,',',1,64) - instr(h,',',1,63) - 1) c,substr(h,instr(h,',',1,64) + 1,instr(h,',',1,65) - instr(h,',',1,64) - 1) c,

       substr(h,instr(h,',',1,65) + 1,instr(h,',',1,66) - instr(h,',',1,65) - 1) c,substr(h,instr(h,',',1,66) + 1,instr(h,',',1,67) - instr(h,',',1,66) - 1) c,

       substr(h,instr(h,',',1,67) + 1,instr(h,',',1,68) - instr(h,',',1,67) - 1) c,substr(h,instr(h,',',1,68) + 1,instr(h,',',1,69) - instr(h,',',1,68) - 1) c,

       substr(h,instr(h,',',1,69) + 1,instr(h,',',1,70) - instr(h,',',1,69) - 1) c,substr(h,instr(h,',',1,70) + 1,instr(h,',',1,71) - instr(h,',',1,70) - 1) c,

       substr(h,instr(h,',',1,71) + 1,instr(h,',',1,72) - instr(h,',',1,71) - 1) c,substr(h,instr(h,',',1,72) + 1,instr(h,',',1,73) - instr(h,',',1,72) - 1) c,

       substr(h,instr(h,',',1,73) + 1,instr(h,',',1,74) - instr(h,',',1,73) - 1) c,substr(h,instr(h,',',1,74) + 1,instr(h,',',1,75) - instr(h,',',1,74) - 1) c,

       substr(h,instr(h,',',1,75) + 1,instr(h,',',1,76) - instr(h,',',1,75) - 1) c,substr(h,instr(h,',',1,76) + 1,instr(h,',',1,77) - instr(h,',',1,76) - 1) c,

       substr(h,instr(h,',',1,77) + 1,instr(h,',',1,78) - instr(h,',',1,77) - 1) c,substr(h,instr(h,',',1,78) + 1,instr(h,',',1,79) - instr(h,',',1,78) - 1) c,

       substr(h,instr(h,',',1,79) + 1,instr(h,',',1,80) - instr(h,',',1,79) - 1) c,substr(h,instr(h,',',1,80) + 1,instr(h,',',1,81) - instr(h,',',1,80) - 1) c,

       substr(h,instr(h,',',1,81) + 1,instr(h,',',1,82) - instr(h,',',1,81) - 1) c,substr(h,instr(h,',',1,82) + 1,instr(h,',',1,83) - instr(h,',',1,82) - 1) c,

       substr(h,instr(h,',',1,83) + 1,instr(h,',',1,84) - instr(h,',',1,83) - 1) c,substr(h,instr(h,',',1,84) + 1,instr(h,',',1,85) - instr(h,',',1,84) - 1) c,

       substr(h,instr(h,',',1,85) + 1,instr(h,',',1,86) - instr(h,',',1,85) - 1) c,substr(h,instr(h,',',1,86) + 1,instr(h,',',1,87) - instr(h,',',1,86) - 1) c,

       substr(h,instr(h,',',1,87) + 1,instr(h,',',1,88) - instr(h,',',1,87) - 1) c,substr(h,instr(h,',',1,88) + 1,instr(h,',',1,89) - instr(h,',',1,88) - 1) c,

       substr(h,instr(h,',',1,89) + 1,instr(h,',',1,90) - instr(h,',',1,89) - 1) c,substr(h,instr(h,',',1,90) + 1,instr(h,',',1,91) - instr(h,',',1,90) - 1) c,

       substr(h,instr(h,',',1,91) + 1,instr(h,',',1,92) - instr(h,',',1,91) - 1) c,substr(h,instr(h,',',1,92) + 1,instr(h,',',1,93) - instr(h,',',1,92) - 1) c,

       substr(h,instr(h,',',1,93) + 1,instr(h,',',1,94) - instr(h,',',1,93) - 1) c,substr(h,instr(h,',',1,94) + 1,instr(h,',',1,95) - instr(h,',',1,94) - 1) c,

       substr(h,instr(h,',',1,95) + 1,instr(h,',',1,96) - instr(h,',',1,95) - 1) c,substr(h,instr(h,',',1,96) + 1,instr(h,',',1,97) - instr(h,',',1,96) - 1) c,

       substr(h,instr(h,',',1,97) + 1,instr(h,',',1,98) - instr(h,',',1,97) - 1) c,substr(h,instr(h,',',1,98) + 1,instr(h,',',1,99) - instr(h,',',1,98) - 1) c

  from final

order by ord

Open in new window

anumosesAuthor Commented:
The above query works on 10G and 11G or Oracle. But unfortunately does not work in 9i. Any suggestions experts?
anumosesAuthor Commented:
I've requested that this question be deleted for the following reason:

The answers have not helped me. Can this be deleted or do I have to still accept answer though not helpful. I got the help from oracle reports forum.
sdstuberCommented:
what was the answer your found?

it's probably an extension of the same technique shown above
anumosesAuthor Commented:
I am going to post the code here soon.
sdstuberCommented:
this is what I came up with - sorry for the delay, but I have my own work to do too


WITH header1
     AS (SELECT heading
           FROM (  SELECT *
                     FROM (    SELECT    RPAD(
                                             ',',
                                             MOD(
                                                   TO_DATE( :ym, 'yyyymm')
                                                 - TRUNC(TO_DATE( :ym, 'yyyymm'), 'iw')
                                                 + 1,
                                                 7
                                             ),
                                             ','
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                 CASE TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'dd')
                                                     WHEN '01'
                                                     THEN
                                                         TO_CHAR(
                                                             TO_DATE( :ym, 'yyyymm') + LEVEL - 1,
                                                             'yyyymm'
                                                         )
                                                 END,
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          heading,
                                      LEVEL lvl
                                 FROM DUAL
                           --WHERE CONNECT_BY_ISLEAF = 1
                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl)
          WHERE ROWNUM = 1),
     header2
     AS (SELECT dw
           FROM (  SELECT *
                     FROM (    SELECT    SUBSTR(
                                             'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                             1,
                                               INSTR(
                                                   'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                                   TO_CHAR(TO_DATE( :ym, 'yyyymm'), 'DY')
                                               )
                                             - 1
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                    TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'DY')
                                                 || '_'
                                                 || TO_CHAR(LEVEL, 'fm09'),
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          dw,
                                      LEVEL lvl
                                 FROM DUAL
                           --where connect_by_isleaf = 1

                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl DESC)
          WHERE ROWNUM = 1),
     data
     AS (SELECT inv_product_type,
                ym,
                customer_id,
                patient_name,
                   CASE
                       WHEN ym = :ym
                       THEN
                           RTRIM(
                                  TO_CHAR(sun_1)
                               || ','
                               || TO_CHAR(mon_1)
                               || ','
                               || TO_CHAR(tue_1)
                               || ','
                               || TO_CHAR(wed_1)
                               || ','
                               || TO_CHAR(thu_1)
                               || ','
                               || TO_CHAR(fri_1)
                               || ','
                               || TO_CHAR(sat_1)
                               || ','
                               || TO_CHAR(sun_2)
                               || ','
                               || TO_CHAR(mon_2)
                               || ','
                               || TO_CHAR(tue_2)
                               || ','
                               || TO_CHAR(wed_2)
                               || ','
                               || TO_CHAR(thu_2)
                               || ','
                               || TO_CHAR(fri_2)
                               || ','
                               || TO_CHAR(sat_2)
                               || ','
                               || TO_CHAR(sun_3)
                               || ','
                               || TO_CHAR(mon_3)
                               || ','
                               || TO_CHAR(tue_3)
                               || ','
                               || TO_CHAR(wed_3)
                               || ','
                               || TO_CHAR(thu_3)
                               || ','
                               || TO_CHAR(fri_3)
                               || ','
                               || TO_CHAR(sat_3)
                               || ','
                               || TO_CHAR(sun_4)
                               || ','
                               || TO_CHAR(mon_4)
                               || ','
                               || TO_CHAR(tue_4)
                               || ','
                               || TO_CHAR(wed_4)
                               || ','
                               || TO_CHAR(thu_4)
                               || ','
                               || TO_CHAR(fri_4)
                               || ','
                               || TO_CHAR(sat_4)
                               || ','
                               || TO_CHAR(sun_5)
                               || ','
                               || TO_CHAR(mon_5)
                               || ','
                               || TO_CHAR(tue_5)
                               || ','
                               || TO_CHAR(wed_5)
                               || ','
                               || TO_CHAR(thu_5)
                               || ','
                               || TO_CHAR(fri_5)
                               || ','
                               || TO_CHAR(sat_5)
                               || ','
                               || TO_CHAR(sun_6)
                               || ','
                               || TO_CHAR(mon_6)
                               || ','
                               || TO_CHAR(tue_6),
                               ','
                           )
                       ELSE
                           TRIM(
                               BOTH ',' FROM    TO_CHAR(sun_1)
                                             || ','
                                             || TO_CHAR(mon_1)
                                             || ','
                                             || TO_CHAR(tue_1)
                                             || ','
                                             || TO_CHAR(wed_1)
                                             || ','
                                             || TO_CHAR(thu_1)
                                             || ','
                                             || TO_CHAR(fri_1)
                                             || ','
                                             || TO_CHAR(sat_1)
                                             || ','
                                             || TO_CHAR(sun_2)
                                             || ','
                                             || TO_CHAR(mon_2)
                                             || ','
                                             || TO_CHAR(tue_2)
                                             || ','
                                             || TO_CHAR(wed_2)
                                             || ','
                                             || TO_CHAR(thu_2)
                                             || ','
                                             || TO_CHAR(fri_2)
                                             || ','
                                             || TO_CHAR(sat_2)
                                             || ','
                                             || TO_CHAR(sun_3)
                                             || ','
                                             || TO_CHAR(mon_3)
                                             || ','
                                             || TO_CHAR(tue_3)
                                             || ','
                                             || TO_CHAR(wed_3)
                                             || ','
                                             || TO_CHAR(thu_3)
                                             || ','
                                             || TO_CHAR(fri_3)
                                             || ','
                                             || TO_CHAR(sat_3)
                                             || ','
                                             || TO_CHAR(sun_4)
                                             || ','
                                             || TO_CHAR(mon_4)
                                             || ','
                                             || TO_CHAR(tue_4)
                                             || ','
                                             || TO_CHAR(wed_4)
                                             || ','
                                             || TO_CHAR(thu_4)
                                             || ','
                                             || TO_CHAR(fri_4)
                                             || ','
                                             || TO_CHAR(sat_4)
                                             || ','
                                             || TO_CHAR(sun_5)
                                             || ','
                                             || TO_CHAR(mon_5)
                                             || ','
                                             || TO_CHAR(tue_5)
                                             || ','
                                             || TO_CHAR(wed_5)
                                             || ','
                                             || TO_CHAR(thu_5)
                                             || ','
                                             || TO_CHAR(fri_5)
                                             || ','
                                             || TO_CHAR(sat_5)
                                             || ','
                                             || TO_CHAR(sun_6)
                                             || ','
                                             || TO_CHAR(mon_6)
                                             || ','
                                             || TO_CHAR(tue_6)
                           )
                   END
                || ','
                    days
           FROM temp_tab1),
     months
     AS (SELECT d.inv_product_type,
                d.customer_id,
                d.patient_name,
                y.ym,
                CASE
                    WHEN INSTR(h.heading, y.ym) > 0
                    THEN
                        CASE
                            WHEN y.lvl = 1
                            THEN
                                SUBSTR(
                                    h.heading,
                                    1,
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                    - 1
                                )
                            WHEN y.lvl = 3
                            THEN
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        3
                                    )
                                )
                            ELSE
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        2
                                    ),
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          3
                                      )
                                    - INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                )
                        END
                END
                    days
           FROM (    SELECT LEVEL lvl,
                            TO_CHAR(ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), LEVEL - 1), 'yyyymm') ym
                       FROM DUAL
                 CONNECT BY LEVEL <= 3) y,
                header1 h,
                (SELECT DISTINCT inv_product_type, customer_id, patient_name
                   FROM data) d),
     final
     AS (SELECT -1 ord,
                NULL inv_product_type,
                NULL customer_id,
                NULL patient_name,
                heading h
           FROM header1
         UNION ALL
         SELECT 0 ord, 'INV_PRODUCT_TYPE', 'CUSTOMER_ID', 'PATIENT_NAME', dw FROM header2
         UNION ALL
         SELECT ord,
                inv_product_type,
                customer_id,
                patient_name,
                string
           FROM (  SELECT x.*, row_number() over(partition by ord order by lvl desc) rn
                     FROM (    SELECT ROW_NUMBER()
                                          OVER (ORDER BY customer_id, patient_name, inv_product_type)
                                          ord,
                                      inv_product_type,
                                      customer_id,
                                      patient_name,
                                      REPLACE(SYS_CONNECT_BY_PATH(string, '~'), '~') string,
                                      LEVEL lvl
                                 FROM (SELECT m.inv_product_type,
                                              m.ym,
                                              m.customer_id,
                                              m.patient_name,
                                              NVL(d.days, TRANSLATE(m.days, '~0123456789', '~')) string
                                         FROM months m, data d
                                        WHERE m.inv_product_type = d.inv_product_type(+)
                                          AND m.customer_id = d.customer_id(+)
                                          AND m.patient_name = d.patient_name(+)
                                          AND m.ym = d.ym(+))
                           WHERE CONNECT_BY_ISLEAF = 1
                           START WITH ym = :ym
                           CONNECT BY PRIOR TO_CHAR(ADD_MONTHS(TO_DATE(ym, 'yyyymm'), 1), 'yyyymm') =
                                          ym
                                  AND PRIOR inv_product_type = inv_product_type
                                  AND PRIOR customer_id = customer_id
                                  AND PRIOR patient_name = patient_name
                                  --AND PRIOR DBMS_RANDOM.random IS NOT NULL
                                  ) x
               
                 )
          WHERE rn = 1
          )
  SELECT inv_product_type,
         customer_id,
         patient_name,
         SUBSTR(h, 1, INSTR(h, ',') - 1) c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   1
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   1
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   99
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             - 1
         )
             c
    FROM final
ORDER BY ord

Open in new window




Note -  the first post contained the BEST answer.  Using CONNECT BY is one of the worst techniques to do string aggregation.  Not only is it cumbersome and complicated code, but also very expensive to execute.

Creating a string aggregation function makes it much, much simpler.  Also, the function is reusable, so you'd have it for future queries, not just this one.
sdstuberCommented:
since the conversation is continuing, I'm objecting to the delete
anumosesAuthor Commented:
WHERE CONNECT_BY_ISLEAF = 1

this is the problem with my version
anumosesAuthor Commented:
with

header1 as

(select heading

   from (select level lvl,max(level) over (order by level rows between unbounded preceding and unbounded following) mx,

                rpad(',',mod(to_date(:ym,'yyyymm') - trunc(to_date(:ym,'yyyymm'),'iw') + 1,7),',') ||

                substr(sys_connect_by_path(case to_char(to_date(:ym,'yyyymm') + level - 1,'dd') when '01' then to_char(to_date(:ym,'yyyymm') + level - 1,'yyyymm') end,','),2) || ',' heading

           from dual

         connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

        )

  where lvl = mx

),

header2 as

(select max(dw) dw

   from (select level lvl,

                substr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',1,instr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',to_char(to_date(:ym,'yyyymm'),'DY')) - 1) ||

                substr(sys_connect_by_path(to_char(to_date(:ym,'yyyymm') + level - 1,'DY') || '_' || to_char(level,'fm09'),','),2) || ',' dw

           from dual

         connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

        )

),

data as

(select inv_product_type,ym,customer_id,patient_name,

        case when ym = :ym

             then rtrim(to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                        to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                        to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                        to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                        to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                        to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6),

                        ','

                       )

             else trim(both ',' from to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                                     to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                                     to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                                     to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                                     to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                                     to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6)

                      )

        end || ',' days

   from temp_tab1

),

product_months as

(select d.inv_product_type,d.customer_id,d.patient_name,y.ym,y.lvl

   from (select distinct inv_product_type,customer_id,patient_name

           from data

        ) d,

        (select level lvl,to_char(add_months(to_date(:ym,'yyyymm'),level - 1),'yyyymm') ym

           from dual

         connect by level <= 3

        ) y

),

months as

(select p.inv_product_type,p.customer_id,p.patient_name,p.ym,

        case when instr(h.heading,p.ym) > 0

             then case when p.lvl = 1

                       then substr(h.heading,1,instr(h.heading,substr(p.ym,1,4),1,2) - 1)

                       when p.lvl = 3

                       then substr(h.heading,instr(h.heading,substr(p.ym,1,4),1,3))

                       else substr(h.heading,instr(h.heading,substr(p.ym,1,4),1,2),instr(h.heading,substr(p.ym,1,4),1,3) - instr(h.heading,substr(p.ym,1,4),1,2))

                  end

        end days

   from product_months p,

        header1 h

),

got_data_with_lvl as

(select level lvl,    

        inv_product_type,customer_id,patient_name,

        replace(sys_connect_by_path(string,'~'),'~') string

   from (select m.inv_product_type,m.ym,m.customer_id,m.patient_name,nvl(d.days,translate(m.days,'~0123456789','~')) string

           from months m,

                data d

          where m.inv_product_type = d.inv_product_type(+)

            and m.customer_id = d.customer_id(+)

            and m.patient_name = d.patient_name(+)

            and m.ym = d.ym(+)

        )

  start with ym = :ym

connect by prior to_char(add_months(to_date(ym,'yyyymm'),1),'yyyymm') = ym

        and prior inv_product_type = inv_product_type

        and prior customer_id = customer_id

        and prior patient_name = patient_name

        and prior dbms_random.random is not null

),

final as

(select -1 ord,null inv_product_type,null customer_id,null patient_name,heading h from header1

union all

select 0 ord,'INV_PRODUCT_TYPE','CUSTOMER_ID','PATIENT_NAME',dw from header2

union all

select row_number() over (order by customer_id,patient_name,inv_product_type) ord,inv_product_type,customer_id,patient_name,string

   from (select lvl, max(lvl) over (order by lvl rows between unbounded preceding and unbounded following) mx,

                inv_product_type,customer_id,patient_name,

                string

           from got_data_with_lvl

        )

  where lvl = mx

)

select inv_product_type,customer_id,patient_name,substr(h,1,instr(h,',') - 1) c1,

       substr(h,instr(h,',',1,1) + 1,instr(h,',',1,2) - instr(h,',',1,1) - 1) c2,substr(h,instr(h,',',1,2) + 1,instr(h,',',1,3) - instr(h,',',1,2) - 1) c3,

       substr(h,instr(h,',',1,3) + 1,instr(h,',',1,4) - instr(h,',',1,3) - 1) c4,substr(h,instr(h,',',1,4) + 1,instr(h,',',1,5) - instr(h,',',1,4) - 1) c5,

       substr(h,instr(h,',',1,5) + 1,instr(h,',',1,6) - instr(h,',',1,5) - 1) c6,substr(h,instr(h,',',1,6) + 1,instr(h,',',1,7) - instr(h,',',1,6) - 1) c7,

       substr(h,instr(h,',',1,7) + 1,instr(h,',',1,8) - instr(h,',',1,7) - 1) c8,substr(h,instr(h,',',1,8) + 1,instr(h,',',1,9) - instr(h,',',1,8) - 1) c9,

       substr(h,instr(h,',',1,9) + 1,instr(h,',',1,10) - instr(h,',',1,9) - 1) c10,substr(h,instr(h,',',1,10) + 1,instr(h,',',1,11) - instr(h,',',1,10) - 1) c11,

       substr(h,instr(h,',',1,11) + 1,instr(h,',',1,12) - instr(h,',',1,11) - 1) c12,substr(h,instr(h,',',1,12) + 1,instr(h,',',1,13) - instr(h,',',1,12) - 1) c13,

       substr(h,instr(h,',',1,13) + 1,instr(h,',',1,14) - instr(h,',',1,13) - 1) c14,substr(h,instr(h,',',1,14) + 1,instr(h,',',1,15) - instr(h,',',1,14) - 1) c15,

       substr(h,instr(h,',',1,15) + 1,instr(h,',',1,16) - instr(h,',',1,15) - 1) c16,substr(h,instr(h,',',1,16) + 1,instr(h,',',1,17) - instr(h,',',1,16) - 1) c17,

       substr(h,instr(h,',',1,17) + 1,instr(h,',',1,18) - instr(h,',',1,17) - 1) c18,substr(h,instr(h,',',1,18) + 1,instr(h,',',1,19) - instr(h,',',1,18) - 1) c19,

       substr(h,instr(h,',',1,19) + 1,instr(h,',',1,20) - instr(h,',',1,19) - 1) c20,substr(h,instr(h,',',1,20) + 1,instr(h,',',1,21) - instr(h,',',1,20) - 1) c21,

       substr(h,instr(h,',',1,21) + 1,instr(h,',',1,22) - instr(h,',',1,21) - 1) c22,substr(h,instr(h,',',1,22) + 1,instr(h,',',1,23) - instr(h,',',1,22) - 1) c23,

       substr(h,instr(h,',',1,23) + 1,instr(h,',',1,24) - instr(h,',',1,23) - 1) c24,substr(h,instr(h,',',1,24) + 1,instr(h,',',1,25) - instr(h,',',1,24) - 1) c25,

       substr(h,instr(h,',',1,25) + 1,instr(h,',',1,26) - instr(h,',',1,25) - 1) c26,substr(h,instr(h,',',1,26) + 1,instr(h,',',1,27) - instr(h,',',1,26) - 1) c27,

       substr(h,instr(h,',',1,27) + 1,instr(h,',',1,28) - instr(h,',',1,27) - 1) c28,substr(h,instr(h,',',1,28) + 1,instr(h,',',1,29) - instr(h,',',1,28) - 1) c29,

       substr(h,instr(h,',',1,29) + 1,instr(h,',',1,30) - instr(h,',',1,29) - 1) c30,substr(h,instr(h,',',1,30) + 1,instr(h,',',1,31) - instr(h,',',1,30) - 1) c31,

       substr(h,instr(h,',',1,31) + 1,instr(h,',',1,32) - instr(h,',',1,31) - 1) c32,substr(h,instr(h,',',1,32) + 1,instr(h,',',1,33) - instr(h,',',1,32) - 1) c33,

       substr(h,instr(h,',',1,33) + 1,instr(h,',',1,34) - instr(h,',',1,33) - 1) c34,substr(h,instr(h,',',1,34) + 1,instr(h,',',1,35) - instr(h,',',1,34) - 1) c35,

       substr(h,instr(h,',',1,35) + 1,instr(h,',',1,36) - instr(h,',',1,35) - 1) c36,substr(h,instr(h,',',1,36) + 1,instr(h,',',1,37) - instr(h,',',1,36) - 1) c37,

       substr(h,instr(h,',',1,37) + 1,instr(h,',',1,38) - instr(h,',',1,37) - 1) c38,substr(h,instr(h,',',1,38) + 1,instr(h,',',1,39) - instr(h,',',1,38) - 1) c39,

       substr(h,instr(h,',',1,39) + 1,instr(h,',',1,40) - instr(h,',',1,39) - 1) c40,substr(h,instr(h,',',1,40) + 1,instr(h,',',1,41) - instr(h,',',1,40) - 1) c41,

       substr(h,instr(h,',',1,41) + 1,instr(h,',',1,42) - instr(h,',',1,41) - 1) c42,substr(h,instr(h,',',1,42) + 1,instr(h,',',1,43) - instr(h,',',1,42) - 1) c43,

       substr(h,instr(h,',',1,43) + 1,instr(h,',',1,44) - instr(h,',',1,43) - 1) c44,substr(h,instr(h,',',1,44) + 1,instr(h,',',1,45) - instr(h,',',1,44) - 1) c45,

       substr(h,instr(h,',',1,45) + 1,instr(h,',',1,46) - instr(h,',',1,45) - 1) c46,substr(h,instr(h,',',1,46) + 1,instr(h,',',1,47) - instr(h,',',1,46) - 1) c47,

       substr(h,instr(h,',',1,47) + 1,instr(h,',',1,48) - instr(h,',',1,47) - 1) c48,substr(h,instr(h,',',1,48) + 1,instr(h,',',1,49) - instr(h,',',1,48) - 1) c49,

       substr(h,instr(h,',',1,49) + 1,instr(h,',',1,50) - instr(h,',',1,49) - 1) c50,substr(h,instr(h,',',1,50) + 1,instr(h,',',1,51) - instr(h,',',1,50) - 1) c51,

       substr(h,instr(h,',',1,51) + 1,instr(h,',',1,52) - instr(h,',',1,51) - 1) c52,substr(h,instr(h,',',1,52) + 1,instr(h,',',1,53) - instr(h,',',1,52) - 1) c53,

       substr(h,instr(h,',',1,53) + 1,instr(h,',',1,54) - instr(h,',',1,53) - 1) c54,substr(h,instr(h,',',1,54) + 1,instr(h,',',1,55) - instr(h,',',1,54) - 1) c55,

       substr(h,instr(h,',',1,55) + 1,instr(h,',',1,56) - instr(h,',',1,55) - 1) c56,substr(h,instr(h,',',1,56) + 1,instr(h,',',1,57) - instr(h,',',1,56) - 1) c57,

       substr(h,instr(h,',',1,57) + 1,instr(h,',',1,58) - instr(h,',',1,57) - 1) c58,substr(h,instr(h,',',1,58) + 1,instr(h,',',1,59) - instr(h,',',1,58) - 1) c59,

       substr(h,instr(h,',',1,59) + 1,instr(h,',',1,60) - instr(h,',',1,59) - 1) c60,substr(h,instr(h,',',1,60) + 1,instr(h,',',1,61) - instr(h,',',1,60) - 1) c61,

       substr(h,instr(h,',',1,61) + 1,instr(h,',',1,62) - instr(h,',',1,61) - 1) c62,substr(h,instr(h,',',1,62) + 1,instr(h,',',1,63) - instr(h,',',1,62) - 1) c63,

       substr(h,instr(h,',',1,63) + 1,instr(h,',',1,64) - instr(h,',',1,63) - 1) c64,substr(h,instr(h,',',1,64) + 1,instr(h,',',1,65) - instr(h,',',1,64) - 1) c65,

       substr(h,instr(h,',',1,65) + 1,instr(h,',',1,66) - instr(h,',',1,65) - 1) c66,substr(h,instr(h,',',1,66) + 1,instr(h,',',1,67) - instr(h,',',1,66) - 1) c67,

       substr(h,instr(h,',',1,67) + 1,instr(h,',',1,68) - instr(h,',',1,67) - 1) c68,substr(h,instr(h,',',1,68) + 1,instr(h,',',1,69) - instr(h,',',1,68) - 1) c69,

       substr(h,instr(h,',',1,69) + 1,instr(h,',',1,70) - instr(h,',',1,69) - 1) c70,substr(h,instr(h,',',1,70) + 1,instr(h,',',1,71) - instr(h,',',1,70) - 1) c71,

       substr(h,instr(h,',',1,71) + 1,instr(h,',',1,72) - instr(h,',',1,71) - 1) c72,substr(h,instr(h,',',1,72) + 1,instr(h,',',1,73) - instr(h,',',1,72) - 1) c73,

       substr(h,instr(h,',',1,73) + 1,instr(h,',',1,74) - instr(h,',',1,73) - 1) c74,substr(h,instr(h,',',1,74) + 1,instr(h,',',1,75) - instr(h,',',1,74) - 1) c75,

       substr(h,instr(h,',',1,75) + 1,instr(h,',',1,76) - instr(h,',',1,75) - 1) c76,substr(h,instr(h,',',1,76) + 1,instr(h,',',1,77) - instr(h,',',1,76) - 1) c77,

       substr(h,instr(h,',',1,77) + 1,instr(h,',',1,78) - instr(h,',',1,77) - 1) c78,substr(h,instr(h,',',1,78) + 1,instr(h,',',1,79) - instr(h,',',1,78) - 1) c79,

       substr(h,instr(h,',',1,79) + 1,instr(h,',',1,80) - instr(h,',',1,79) - 1) c80,substr(h,instr(h,',',1,80) + 1,instr(h,',',1,81) - instr(h,',',1,80) - 1) c81,

       substr(h,instr(h,',',1,81) + 1,instr(h,',',1,82) - instr(h,',',1,81) - 1) c82,substr(h,instr(h,',',1,82) + 1,instr(h,',',1,83) - instr(h,',',1,82) - 1) c83,

       substr(h,instr(h,',',1,83) + 1,instr(h,',',1,84) - instr(h,',',1,83) - 1) c84,substr(h,instr(h,',',1,84) + 1,instr(h,',',1,85) - instr(h,',',1,84) - 1) c85,

       substr(h,instr(h,',',1,85) + 1,instr(h,',',1,86) - instr(h,',',1,85) - 1) c86,substr(h,instr(h,',',1,86) + 1,instr(h,',',1,87) - instr(h,',',1,86) - 1) c87,

       substr(h,instr(h,',',1,87) + 1,instr(h,',',1,88) - instr(h,',',1,87) - 1) c88,substr(h,instr(h,',',1,88) + 1,instr(h,',',1,89) - instr(h,',',1,88) - 1) c89,

       substr(h,instr(h,',',1,89) + 1,instr(h,',',1,90) - instr(h,',',1,89) - 1) c90,substr(h,instr(h,',',1,90) + 1,instr(h,',',1,91) - instr(h,',',1,90) - 1) c91,

       substr(h,instr(h,',',1,91) + 1,instr(h,',',1,92) - instr(h,',',1,91) - 1) c92,substr(h,instr(h,',',1,92) + 1,instr(h,',',1,93) - instr(h,',',1,92) - 1) c93,

       substr(h,instr(h,',',1,93) + 1,instr(h,',',1,94) - instr(h,',',1,93) - 1) c94

  from final

order by ord

Open in new window

anumosesAuthor Commented:
@sdstuber

this is what I came up with - sorry for the delay, but I have my own work to do too

I always appreciate the expert help that you offer. I do understand that you all are busy. But this was a challenge for me and I still post many of my questions here. Appreciate all the help.
MikeOM_DBACommented:
Creating a string aggregation function makes it much, much simpler.  Also, the function is reusable, so you'd have it for future queries, not just this one.
Kudos to sdstuber for making an expert analysis, I concur this works best.
anumosesAuthor Commented:
http://www.experts-exchange.com/Database/Oracle/Q_28663209.html#a40750412

WITH header1
     AS (SELECT heading
           FROM (  SELECT *
                     FROM (    SELECT    RPAD(
                                             ',',
                                             MOD(
                                                   TO_DATE( :ym, 'yyyymm')
                                                 - TRUNC(TO_DATE( :ym, 'yyyymm'), 'iw')
                                                 + 1,
                                                 7
                                             ),
                                             ','
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                 CASE TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'dd')
                                                     WHEN '01'
                                                     THEN
                                                         TO_CHAR(
                                                             TO_DATE( :ym, 'yyyymm') + LEVEL - 1,
                                                             'yyyymm'
                                                         )
                                                 END,
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          heading,
                                      LEVEL lvl
                                 FROM DUAL
                           --WHERE CONNECT_BY_ISLEAF = 1
                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl)
          WHERE ROWNUM = 1),
     header2
     AS (SELECT dw
           FROM (  SELECT *
                     FROM (    SELECT    SUBSTR(
                                             'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                             1,
                                               INSTR(
                                                   'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                                   TO_CHAR(TO_DATE( :ym, 'yyyymm'), 'DY')
                                               )
                                             - 1
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                    TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'DY')
                                                 || '_'
                                                 || TO_CHAR(LEVEL, 'fm09'),
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          dw,
                                      LEVEL lvl
                                 FROM DUAL
                           --where connect_by_isleaf = 1

                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl DESC)
          WHERE ROWNUM = 1),
     data
     AS (SELECT inv_product_type,
                ym,
                customer_id,
                patient_name,
                   CASE
                       WHEN ym = :ym
                       THEN
                           RTRIM(
                                  TO_CHAR(sun_1)
                               || ','
                               || TO_CHAR(mon_1)
                               || ','
                               || TO_CHAR(tue_1)
                               || ','
                               || TO_CHAR(wed_1)
                               || ','
                               || TO_CHAR(thu_1)
                               || ','
                               || TO_CHAR(fri_1)
                               || ','
                               || TO_CHAR(sat_1)
                               || ','
                               || TO_CHAR(sun_2)
                               || ','
                               || TO_CHAR(mon_2)
                               || ','
                               || TO_CHAR(tue_2)
                               || ','
                               || TO_CHAR(wed_2)
                               || ','
                               || TO_CHAR(thu_2)
                               || ','
                               || TO_CHAR(fri_2)
                               || ','
                               || TO_CHAR(sat_2)
                               || ','
                               || TO_CHAR(sun_3)
                               || ','
                               || TO_CHAR(mon_3)
                               || ','
                               || TO_CHAR(tue_3)
                               || ','
                               || TO_CHAR(wed_3)
                               || ','
                               || TO_CHAR(thu_3)
                               || ','
                               || TO_CHAR(fri_3)
                               || ','
                               || TO_CHAR(sat_3)
                               || ','
                               || TO_CHAR(sun_4)
                               || ','
                               || TO_CHAR(mon_4)
                               || ','
                               || TO_CHAR(tue_4)
                               || ','
                               || TO_CHAR(wed_4)
                               || ','
                               || TO_CHAR(thu_4)
                               || ','
                               || TO_CHAR(fri_4)
                               || ','
                               || TO_CHAR(sat_4)
                               || ','
                               || TO_CHAR(sun_5)
                               || ','
                               || TO_CHAR(mon_5)
                               || ','
                               || TO_CHAR(tue_5)
                               || ','
                               || TO_CHAR(wed_5)
                               || ','
                               || TO_CHAR(thu_5)
                               || ','
                               || TO_CHAR(fri_5)
                               || ','
                               || TO_CHAR(sat_5)
                               || ','
                               || TO_CHAR(sun_6)
                               || ','
                               || TO_CHAR(mon_6)
                               || ','
                               || TO_CHAR(tue_6),
                               ','
                           )
                       ELSE
                           TRIM(
                               BOTH ',' FROM    TO_CHAR(sun_1)
                                             || ','
                                             || TO_CHAR(mon_1)
                                             || ','
                                             || TO_CHAR(tue_1)
                                             || ','
                                             || TO_CHAR(wed_1)
                                             || ','
                                             || TO_CHAR(thu_1)
                                             || ','
                                             || TO_CHAR(fri_1)
                                             || ','
                                             || TO_CHAR(sat_1)
                                             || ','
                                             || TO_CHAR(sun_2)
                                             || ','
                                             || TO_CHAR(mon_2)
                                             || ','
                                             || TO_CHAR(tue_2)
                                             || ','
                                             || TO_CHAR(wed_2)
                                             || ','
                                             || TO_CHAR(thu_2)
                                             || ','
                                             || TO_CHAR(fri_2)
                                             || ','
                                             || TO_CHAR(sat_2)
                                             || ','
                                             || TO_CHAR(sun_3)
                                             || ','
                                             || TO_CHAR(mon_3)
                                             || ','
                                             || TO_CHAR(tue_3)
                                             || ','
                                             || TO_CHAR(wed_3)
                                             || ','
                                             || TO_CHAR(thu_3)
                                             || ','
                                             || TO_CHAR(fri_3)
                                             || ','
                                             || TO_CHAR(sat_3)
                                             || ','
                                             || TO_CHAR(sun_4)
                                             || ','
                                             || TO_CHAR(mon_4)
                                             || ','
                                             || TO_CHAR(tue_4)
                                             || ','
                                             || TO_CHAR(wed_4)
                                             || ','
                                             || TO_CHAR(thu_4)
                                             || ','
                                             || TO_CHAR(fri_4)
                                             || ','
                                             || TO_CHAR(sat_4)
                                             || ','
                                             || TO_CHAR(sun_5)
                                             || ','
                                             || TO_CHAR(mon_5)
                                             || ','
                                             || TO_CHAR(tue_5)
                                             || ','
                                             || TO_CHAR(wed_5)
                                             || ','
                                             || TO_CHAR(thu_5)
                                             || ','
                                             || TO_CHAR(fri_5)
                                             || ','
                                             || TO_CHAR(sat_5)
                                             || ','
                                             || TO_CHAR(sun_6)
                                             || ','
                                             || TO_CHAR(mon_6)
                                             || ','
                                             || TO_CHAR(tue_6)
                           )
                   END
                || ','
                    days
           FROM temp_tab1),
     months
     AS (SELECT d.inv_product_type,
                d.customer_id,
                d.patient_name,
                y.ym,
                CASE
                    WHEN INSTR(h.heading, y.ym) > 0
                    THEN
                        CASE
                            WHEN y.lvl = 1
                            THEN
                                SUBSTR(
                                    h.heading,
                                    1,
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                    - 1
                                )
                            WHEN y.lvl = 3
                            THEN
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        3
                                    )
                                )
                            ELSE
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        2
                                    ),
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          3
                                      )
                                    - INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                )
                        END
                END
                    days
           FROM (    SELECT LEVEL lvl,
                            TO_CHAR(ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), LEVEL - 1), 'yyyymm') ym
                       FROM DUAL
                 CONNECT BY LEVEL <= 3) y,
                header1 h,
                (SELECT DISTINCT inv_product_type, customer_id, patient_name
                   FROM data) d),
     final
     AS (SELECT -1 ord,
                NULL inv_product_type,
                NULL customer_id,
                NULL patient_name,
                heading h
           FROM header1
         UNION ALL
         SELECT 0 ord, 'INV_PRODUCT_TYPE', 'CUSTOMER_ID', 'PATIENT_NAME', dw FROM header2
         UNION ALL
         SELECT ord,
                inv_product_type,
                customer_id,
                patient_name,
                string
           FROM (  SELECT x.*, row_number() over(partition by ord order by lvl desc) rn
                     FROM (    SELECT ROW_NUMBER()
                                          OVER (ORDER BY customer_id, patient_name, inv_product_type)
                                          ord,
                                      inv_product_type,
                                      customer_id,
                                      patient_name,
                                      REPLACE(SYS_CONNECT_BY_PATH(string, '~'), '~') string,
                                      LEVEL lvl
                                 FROM (SELECT m.inv_product_type,
                                              m.ym,
                                              m.customer_id,
                                              m.patient_name,
                                              NVL(d.days, TRANSLATE(m.days, '~0123456789', '~')) string
                                         FROM months m, data d
                                        WHERE m.inv_product_type = d.inv_product_type(+)
                                          AND m.customer_id = d.customer_id(+)
                                          AND m.patient_name = d.patient_name(+)
                                          AND m.ym = d.ym(+))
                           WHERE CONNECT_BY_ISLEAF = 1
                           START WITH ym = :ym
                           CONNECT BY PRIOR TO_CHAR(ADD_MONTHS(TO_DATE(ym, 'yyyymm'), 1), 'yyyymm') =
                                          ym
                                  AND PRIOR inv_product_type = inv_product_type
                                  AND PRIOR customer_id = customer_id
                                  AND PRIOR patient_name = patient_name
                                  --AND PRIOR DBMS_RANDOM.random IS NOT NULL
                                  ) x
               
                 )
          WHERE rn = 1
          )
  SELECT inv_product_type,
         customer_id,
         patient_name,
         SUBSTR(h, 1, INSTR(h, ',') - 1) c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   1
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   1
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   99
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             - 1
         )
             c
    FROM final
ORDER BY ord

Open in new window

sdstuberCommented:
jeez, I posted the wrong version

I knew I took out the isleaf call

WITH header1
     AS (SELECT heading
           FROM (  SELECT *
                     FROM (    SELECT    RPAD(
                                             ',',
                                             MOD(
                                                   TO_DATE( :ym, 'yyyymm')
                                                 - TRUNC(TO_DATE( :ym, 'yyyymm'), 'iw')
                                                 + 1,
                                                 7
                                             ),
                                             ','
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                 CASE TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'dd')
                                                     WHEN '01'
                                                     THEN
                                                         TO_CHAR(
                                                             TO_DATE( :ym, 'yyyymm') + LEVEL - 1,
                                                             'yyyymm'
                                                         )
                                                 END,
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          heading,
                                      LEVEL lvl
                                 FROM DUAL
                           --WHERE CONNECT_BY_ISLEAF = 1
                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl)
          WHERE ROWNUM = 1),
     header2
     AS (SELECT dw
           FROM (  SELECT *
                     FROM (    SELECT    SUBSTR(
                                             'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                             1,
                                               INSTR(
                                                   'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                                   TO_CHAR(TO_DATE( :ym, 'yyyymm'), 'DY')
                                               )
                                             - 1
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                    TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'DY')
                                                 || '_'
                                                 || TO_CHAR(LEVEL, 'fm09'),
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          dw,
                                      LEVEL lvl
                                 FROM DUAL
                           --where connect_by_isleaf = 1

                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl DESC)
          WHERE ROWNUM = 1),
     data
     AS (SELECT inv_product_type,
                ym,
                customer_id,
                patient_name,
                   CASE
                       WHEN ym = :ym
                       THEN
                           RTRIM(
                                  TO_CHAR(sun_1)
                               || ','
                               || TO_CHAR(mon_1)
                               || ','
                               || TO_CHAR(tue_1)
                               || ','
                               || TO_CHAR(wed_1)
                               || ','
                               || TO_CHAR(thu_1)
                               || ','
                               || TO_CHAR(fri_1)
                               || ','
                               || TO_CHAR(sat_1)
                               || ','
                               || TO_CHAR(sun_2)
                               || ','
                               || TO_CHAR(mon_2)
                               || ','
                               || TO_CHAR(tue_2)
                               || ','
                               || TO_CHAR(wed_2)
                               || ','
                               || TO_CHAR(thu_2)
                               || ','
                               || TO_CHAR(fri_2)
                               || ','
                               || TO_CHAR(sat_2)
                               || ','
                               || TO_CHAR(sun_3)
                               || ','
                               || TO_CHAR(mon_3)
                               || ','
                               || TO_CHAR(tue_3)
                               || ','
                               || TO_CHAR(wed_3)
                               || ','
                               || TO_CHAR(thu_3)
                               || ','
                               || TO_CHAR(fri_3)
                               || ','
                               || TO_CHAR(sat_3)
                               || ','
                               || TO_CHAR(sun_4)
                               || ','
                               || TO_CHAR(mon_4)
                               || ','
                               || TO_CHAR(tue_4)
                               || ','
                               || TO_CHAR(wed_4)
                               || ','
                               || TO_CHAR(thu_4)
                               || ','
                               || TO_CHAR(fri_4)
                               || ','
                               || TO_CHAR(sat_4)
                               || ','
                               || TO_CHAR(sun_5)
                               || ','
                               || TO_CHAR(mon_5)
                               || ','
                               || TO_CHAR(tue_5)
                               || ','
                               || TO_CHAR(wed_5)
                               || ','
                               || TO_CHAR(thu_5)
                               || ','
                               || TO_CHAR(fri_5)
                               || ','
                               || TO_CHAR(sat_5)
                               || ','
                               || TO_CHAR(sun_6)
                               || ','
                               || TO_CHAR(mon_6)
                               || ','
                               || TO_CHAR(tue_6),
                               ','
                           )
                       ELSE
                           TRIM(
                               BOTH ',' FROM    TO_CHAR(sun_1)
                                             || ','
                                             || TO_CHAR(mon_1)
                                             || ','
                                             || TO_CHAR(tue_1)
                                             || ','
                                             || TO_CHAR(wed_1)
                                             || ','
                                             || TO_CHAR(thu_1)
                                             || ','
                                             || TO_CHAR(fri_1)
                                             || ','
                                             || TO_CHAR(sat_1)
                                             || ','
                                             || TO_CHAR(sun_2)
                                             || ','
                                             || TO_CHAR(mon_2)
                                             || ','
                                             || TO_CHAR(tue_2)
                                             || ','
                                             || TO_CHAR(wed_2)
                                             || ','
                                             || TO_CHAR(thu_2)
                                             || ','
                                             || TO_CHAR(fri_2)
                                             || ','
                                             || TO_CHAR(sat_2)
                                             || ','
                                             || TO_CHAR(sun_3)
                                             || ','
                                             || TO_CHAR(mon_3)
                                             || ','
                                             || TO_CHAR(tue_3)
                                             || ','
                                             || TO_CHAR(wed_3)
                                             || ','
                                             || TO_CHAR(thu_3)
                                             || ','
                                             || TO_CHAR(fri_3)
                                             || ','
                                             || TO_CHAR(sat_3)
                                             || ','
                                             || TO_CHAR(sun_4)
                                             || ','
                                             || TO_CHAR(mon_4)
                                             || ','
                                             || TO_CHAR(tue_4)
                                             || ','
                                             || TO_CHAR(wed_4)
                                             || ','
                                             || TO_CHAR(thu_4)
                                             || ','
                                             || TO_CHAR(fri_4)
                                             || ','
                                             || TO_CHAR(sat_4)
                                             || ','
                                             || TO_CHAR(sun_5)
                                             || ','
                                             || TO_CHAR(mon_5)
                                             || ','
                                             || TO_CHAR(tue_5)
                                             || ','
                                             || TO_CHAR(wed_5)
                                             || ','
                                             || TO_CHAR(thu_5)
                                             || ','
                                             || TO_CHAR(fri_5)
                                             || ','
                                             || TO_CHAR(sat_5)
                                             || ','
                                             || TO_CHAR(sun_6)
                                             || ','
                                             || TO_CHAR(mon_6)
                                             || ','
                                             || TO_CHAR(tue_6)
                           )
                   END
                || ','
                    days
           FROM temp_tab1),
     months
     AS (SELECT d.inv_product_type,
                d.customer_id,
                d.patient_name,
                y.ym,
                CASE
                    WHEN INSTR(h.heading, y.ym) > 0
                    THEN
                        CASE
                            WHEN y.lvl = 1
                            THEN
                                SUBSTR(
                                    h.heading,
                                    1,
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                    - 1
                                )
                            WHEN y.lvl = 3
                            THEN
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        3
                                    )
                                )
                            ELSE
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        2
                                    ),
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          3
                                      )
                                    - INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                )
                        END
                END
                    days
           FROM (    SELECT LEVEL lvl,
                            TO_CHAR(ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), LEVEL - 1), 'yyyymm') ym
                       FROM DUAL
                 CONNECT BY LEVEL <= 3) y,
                header1 h,
                (SELECT DISTINCT inv_product_type, customer_id, patient_name
                   FROM data) d),
     final
     AS (SELECT -1 ord,
                NULL inv_product_type,
                NULL customer_id,
                NULL patient_name,
                heading h
           FROM header1
         UNION ALL
         SELECT 0 ord, 'INV_PRODUCT_TYPE', 'CUSTOMER_ID', 'PATIENT_NAME', dw FROM header2
         UNION ALL
         SELECT  ord,
                inv_product_type,
                customer_id,
                patient_name,
                string
           FROM (SELECT x.*, ROW_NUMBER() OVER(PARTITION BY  inv_product_type,
                customer_id,
                patient_name ORDER BY lvl DESC) rn
                   FROM (    SELECT ROW_NUMBER()
                                        OVER (ORDER BY customer_id, patient_name, inv_product_type)
                                        ord,
                                    inv_product_type,
                                    customer_id,
                                    patient_name,
                                    REPLACE(SYS_CONNECT_BY_PATH(string, '~'), '~') string,
                                    LEVEL lvl
                               FROM (SELECT m.inv_product_type,
                                            m.ym,
                                            m.customer_id,
                                            m.patient_name,
                                            NVL(d.days, TRANSLATE(m.days, '~0123456789', '~')) string
                                       FROM months m, data d
                                      WHERE m.inv_product_type = d.inv_product_type(+)
                                        AND m.customer_id = d.customer_id(+)
                                        AND m.patient_name = d.patient_name(+)
                                        AND m.ym = d.ym(+))
                             -- WHERE CONNECT_BY_ISLEAF = 1
                         START WITH ym = :ym
                         CONNECT BY PRIOR TO_CHAR(ADD_MONTHS(TO_DATE(ym, 'yyyymm'), 1), 'yyyymm') =
                                        ym
                                AND PRIOR inv_product_type = inv_product_type
                                AND PRIOR customer_id = customer_id
                                AND PRIOR patient_name = patient_name--AND PRIOR DBMS_RANDOM.random IS NOT NULL
                        ) x)
          WHERE rn = 1)
  SELECT inv_product_type,
         customer_id,
         patient_name,
         SUBSTR(h, 1, INSTR(h, ',') - 1) c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   1
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   1
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   2
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   3
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   4
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   5
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   6
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   7
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   8
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   9
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   10
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   11
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   12
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   13
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   14
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   15
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   16
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   17
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   18
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   19
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   20
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   21
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   22
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   23
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   24
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   25
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   26
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   27
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   28
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   29
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   30
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   31
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   32
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   33
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   34
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   35
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   36
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   37
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   38
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   39
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   40
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   41
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   42
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   43
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   44
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   45
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   46
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   47
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   48
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   49
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   50
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   51
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   52
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   53
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   54
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   55
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   56
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   57
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   58
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   59
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   60
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   61
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   62
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   63
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   64
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   65
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   66
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   67
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   68
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   69
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   70
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   71
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   72
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   73
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   74
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   75
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   76
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   77
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   78
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   79
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   80
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   81
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   82
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   83
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   84
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   85
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   86
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   87
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   88
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   89
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   90
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   91
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   92
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   93
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   94
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   95
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   96
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   97
               )
             - 1
         )
             c,
         SUBSTR(
             h,
               INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             + 1,
               INSTR(
                   h,
                   ',',
                   1,
                   99
               )
             - INSTR(
                   h,
                   ',',
                   1,
                   98
               )
             - 1
         )
             c
    FROM final
ORDER BY ord

Open in new window

anumosesAuthor Commented:
No data in the C cells for any product type.
sdstuberCommented:
I got data

same results with your query and mine,
anumosesAuthor Commented:
no data
sdstuberCommented:
I believed you,  I just can't do anything about it.

The query returns data for me, small excerpt...


							201501																		
INV_PRODUCT_TYPE	CUSTOMER_ID	PATIENT_NAME	SUN_1	MON_1	TUE_1	WED_1	THU_01	FRI_02	SAT_03	SUN_04	MON_05	TUE_06	WED_07	THU_08	FRI_09	SAT_10	SUN_11	MON_12	TUE_13	WED_14	THU_15	FRI_16	SAT_17	SUN_18	MON_19
Cryoprecipitate	WAD-EX0128	ALEXIAN BROTHERS MEDICAL CENTER	8	0	20	0	0	0	0	0	0	0	0	0	0	0	10	0	0	0	0	0	0	0	0
Leukoreduced Red Blood Cells	WAD-EX0128	ALEXIAN BROTHERS MEDICAL CENTER					5	2	1	0	2	5	3	3	4	8	1	0	0	0	0	9	0	2	3
Plasma Frozen withing 24hrs	WAD-EX0128	ALEXIAN BROTHERS MEDICAL CENTER					0	0	0	11	0	1	0	15	1	0	0	0	6	13	0	0	0	0	0
Red Blood Cells	WAD-EX0128	ALEXIAN BROTHERS MEDICAL CENTER					3	4	6	0	0	13	8	7	6	10	10	6	5	0	0	27	0	12	7
SDP	WAD-EX0128	ALEXIAN BROTHERS MEDICAL CENTER					1	1	4	0	0	7	3	2	6	3	5	4	3	1	4	14	0	7	3

Open in new window

anumosesAuthor Commented:
is your query run on 9i or 11 G
sdstuberCommented:
I don't have a 9i db anymore.

but the version shouldn't make data disappear or reappear
sdstuberCommented:
also,  if you go back through your recent questions,  you'll find one where I took apart your aggregation and showed how to get the results directly.  Do that instead of anything posted above (by you, me or anyone else.)

So, I retract my previous statement where I suggested building your own aggregate function as "best".
While it WOULD be better than doing aggregations via CONNECT BY,  it's also completely unnecessary.

If you want to pivot results, then just pivot.  Don't build a string and then rip it apart.  That's just extra work for no reason.
anumosesAuthor Commented:
That is correct. I am in the process. r aggregation is the way,
sdstuberCommented:
"r aggregation"   ?

I don't know what you mean by that.
anumosesAuthor Commented:
oops sorry aggregation. r was an extra letter by mistake.
sdstuberCommented:
I'm still not sure what you're trying to say "aggregation is the way"

There are 2 forms of aggregation described above - using a function and using connect by

my last recommendation was to look back at previous questions about this same data where I showed you how to NOT use aggregation.
anumosesAuthor Commented:
I think I am close. I will post my query here.
with

header1 as

(/*select heading

   from (select level lvl,max(level) over (order by level rows between unbounded preceding and unbounded following) mx,

                rpad(',',mod(to_date(:ym,'yyyymm') - trunc(to_date(:ym,'yyyymm'),'iw') + 1,7),',') ||

                substr(sys_connect_by_path(case to_char(to_date(:ym,'yyyymm') + level - 1,'dd') when '01' then to_char(to_date(:ym,'yyyymm') + level - 1,'yyyymm') end,','),2) || ',' heading

           from dual

         connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

        )

  where lvl = mx*/
 select heading  
           from (select lvl,  
                        max(lvl) over (order by level rows between unbounded preceding and unbounded following) mx,  
                        heading  
                   from (select level lvl,  
                                rpad(',',mod(to_date(:ym,'yyyymm') - trunc(to_date(:ym,'yyyymm'),'iw') + 1,7),',') ||  
                                substr(sys_connect_by_path(case to_char(to_date(:ym,'yyyymm') + level - 1,'dd') when '01' then to_char(to_date(:ym,'yyyymm') + level - 1,'yyyymm') end,','),2) || ',' heading  
                           from dual  
                        connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))  
                        )  
                )  
          where lvl = mx  

),

header2 as

(select max(dw) dw

   from (select level lvl,

                substr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',1,instr('SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',to_char(to_date(:ym,'yyyymm'),'DY')) - 1) ||

                substr(sys_connect_by_path(to_char(to_date(:ym,'yyyymm') + level - 1,'DY') || '_' || to_char(level,'fm09'),','),2) || ',' dw

           from dual

         connect by level <= (add_months(to_date(:ym,'yyyymm'),3) - to_date(:ym,'yyyymm'))

        )

),

data as

(select inv_product_type,ym,customer_id,patient_name,

        case when ym = :ym

             then rtrim(to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                        to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                        to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                        to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                        to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                        to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6),

                        ','

                       )

             else trim(both ',' from to_char(sun_1) ||','|| to_char(mon_1) ||','|| to_char(tue_1) ||','|| to_char(wed_1) ||','|| to_char(thu_1) ||','|| to_char(fri_1) ||','|| to_char(sat_1) ||','||

                                     to_char(sun_2) ||','|| to_char(mon_2) ||','|| to_char(tue_2) ||','|| to_char(wed_2) ||','|| to_char(thu_2) ||','|| to_char(fri_2) ||','|| to_char(sat_2) ||','||

                                     to_char(sun_3) ||','|| to_char(mon_3) ||','|| to_char(tue_3) ||','|| to_char(wed_3) ||','|| to_char(thu_3) ||','|| to_char(fri_3) ||','|| to_char(sat_3) ||','||

                                     to_char(sun_4) ||','|| to_char(mon_4) ||','|| to_char(tue_4) ||','|| to_char(wed_4) ||','|| to_char(thu_4) ||','|| to_char(fri_4) ||','|| to_char(sat_4) ||','||

                                     to_char(sun_5) ||','|| to_char(mon_5) ||','|| to_char(tue_5) ||','|| to_char(wed_5) ||','|| to_char(thu_5) ||','|| to_char(fri_5) ||','|| to_char(sat_5) ||','||

                                     to_char(sun_6) ||','|| to_char(mon_6) ||','|| to_char(tue_6)

                      )

        end || ',' days

   from temp_tab1

),

product_months as

(select d.inv_product_type,d.customer_id,d.patient_name,y.ym,y.lvl

   from (select distinct inv_product_type,customer_id,patient_name

           from data

        ) d,

        (select level lvl,to_char(add_months(to_date(:ym,'yyyymm'),level - 1),'yyyymm') ym

           from dual

         connect by level <= 3

        ) y

),

months as

(select p.inv_product_type,p.customer_id,p.patient_name,p.ym,

        case when instr(h.heading,p.ym) > 0

             then case when p.lvl = 1

                       then substr(h.heading,1,instr(h.heading,substr(p.ym,1,4),1,2) - 1)

                       when p.lvl = 3

                       then substr(h.heading,instr(h.heading,substr(p.ym,1,4),1,3))

                       else substr(h.heading,instr(h.heading,substr(p.ym,1,4),1,2),instr(h.heading,substr(p.ym,1,4),1,3) - instr(h.heading,substr(p.ym,1,4),1,2))

                  end

        end days

   from product_months p,

        header1 h

),

got_data_with_lvl as

(select level lvl,    

        inv_product_type,customer_id,patient_name,

        replace(sys_connect_by_path(string,'~'),'~') string

   from (select m.inv_product_type,m.ym,m.customer_id,m.patient_name,nvl(d.days,translate(m.days,'~0123456789','~')) string

           from months m,

                data d

          where m.inv_product_type = d.inv_product_type(+)

            and m.customer_id = d.customer_id(+)

            and m.patient_name = d.patient_name(+)

            and m.ym = d.ym(+)

        )

  start with ym = :ym

connect by prior to_char(add_months(to_date(ym,'yyyymm'),1),'yyyymm') = ym

        and prior inv_product_type = inv_product_type

        and prior customer_id = customer_id

        and prior patient_name = patient_name

        and prior dbms_random.random is not null

),

final as

(select -1 ord,null inv_product_type,null customer_id,null patient_name,heading h from header1

union all

select 0 ord,'INV_PRODUCT_TYPE','CUSTOMER_ID','PATIENT_NAME',dw from header2

union all

select row_number() over (order by customer_id,patient_name,inv_product_type) ord,inv_product_type,customer_id,patient_name,string

   from (select lvl, max(lvl) over (order by lvl rows between unbounded preceding and unbounded following) mx,

                inv_product_type,customer_id,patient_name,

                string

           from got_data_with_lvl

        )

  where lvl = mx

)

select inv_product_type,customer_id,patient_name,substr(h,1,instr(h,',') - 1) c1,

       substr(h,instr(h,',',1,1) + 1,instr(h,',',1,2) - instr(h,',',1,1) - 1) c2,substr(h,instr(h,',',1,2) + 1,instr(h,',',1,3) - instr(h,',',1,2) - 1) c3,

       substr(h,instr(h,',',1,3) + 1,instr(h,',',1,4) - instr(h,',',1,3) - 1) c4,substr(h,instr(h,',',1,4) + 1,instr(h,',',1,5) - instr(h,',',1,4) - 1) c5,

       substr(h,instr(h,',',1,5) + 1,instr(h,',',1,6) - instr(h,',',1,5) - 1) c6,substr(h,instr(h,',',1,6) + 1,instr(h,',',1,7) - instr(h,',',1,6) - 1) c7,

       substr(h,instr(h,',',1,7) + 1,instr(h,',',1,8) - instr(h,',',1,7) - 1) c8,substr(h,instr(h,',',1,8) + 1,instr(h,',',1,9) - instr(h,',',1,8) - 1) c9,

       substr(h,instr(h,',',1,9) + 1,instr(h,',',1,10) - instr(h,',',1,9) - 1) c10,substr(h,instr(h,',',1,10) + 1,instr(h,',',1,11) - instr(h,',',1,10) - 1) c11,

       substr(h,instr(h,',',1,11) + 1,instr(h,',',1,12) - instr(h,',',1,11) - 1) c12,substr(h,instr(h,',',1,12) + 1,instr(h,',',1,13) - instr(h,',',1,12) - 1) c13,

       substr(h,instr(h,',',1,13) + 1,instr(h,',',1,14) - instr(h,',',1,13) - 1) c14,substr(h,instr(h,',',1,14) + 1,instr(h,',',1,15) - instr(h,',',1,14) - 1) c15,

       substr(h,instr(h,',',1,15) + 1,instr(h,',',1,16) - instr(h,',',1,15) - 1) c16,substr(h,instr(h,',',1,16) + 1,instr(h,',',1,17) - instr(h,',',1,16) - 1) c17,

       substr(h,instr(h,',',1,17) + 1,instr(h,',',1,18) - instr(h,',',1,17) - 1) c18,substr(h,instr(h,',',1,18) + 1,instr(h,',',1,19) - instr(h,',',1,18) - 1) c19,

       substr(h,instr(h,',',1,19) + 1,instr(h,',',1,20) - instr(h,',',1,19) - 1) c20,substr(h,instr(h,',',1,20) + 1,instr(h,',',1,21) - instr(h,',',1,20) - 1) c21,

       substr(h,instr(h,',',1,21) + 1,instr(h,',',1,22) - instr(h,',',1,21) - 1) c22,substr(h,instr(h,',',1,22) + 1,instr(h,',',1,23) - instr(h,',',1,22) - 1) c23,

       substr(h,instr(h,',',1,23) + 1,instr(h,',',1,24) - instr(h,',',1,23) - 1) c24,substr(h,instr(h,',',1,24) + 1,instr(h,',',1,25) - instr(h,',',1,24) - 1) c25,

       substr(h,instr(h,',',1,25) + 1,instr(h,',',1,26) - instr(h,',',1,25) - 1) c26,substr(h,instr(h,',',1,26) + 1,instr(h,',',1,27) - instr(h,',',1,26) - 1) c27,

       substr(h,instr(h,',',1,27) + 1,instr(h,',',1,28) - instr(h,',',1,27) - 1) c28,substr(h,instr(h,',',1,28) + 1,instr(h,',',1,29) - instr(h,',',1,28) - 1) c29,

       substr(h,instr(h,',',1,29) + 1,instr(h,',',1,30) - instr(h,',',1,29) - 1) c30,substr(h,instr(h,',',1,30) + 1,instr(h,',',1,31) - instr(h,',',1,30) - 1) c31,

       substr(h,instr(h,',',1,31) + 1,instr(h,',',1,32) - instr(h,',',1,31) - 1) c32,substr(h,instr(h,',',1,32) + 1,instr(h,',',1,33) - instr(h,',',1,32) - 1) c33,

       substr(h,instr(h,',',1,33) + 1,instr(h,',',1,34) - instr(h,',',1,33) - 1) c34,substr(h,instr(h,',',1,34) + 1,instr(h,',',1,35) - instr(h,',',1,34) - 1) c35,

       substr(h,instr(h,',',1,35) + 1,instr(h,',',1,36) - instr(h,',',1,35) - 1) c36,substr(h,instr(h,',',1,36) + 1,instr(h,',',1,37) - instr(h,',',1,36) - 1) c37,

       substr(h,instr(h,',',1,37) + 1,instr(h,',',1,38) - instr(h,',',1,37) - 1) c38,substr(h,instr(h,',',1,38) + 1,instr(h,',',1,39) - instr(h,',',1,38) - 1) c39,

       substr(h,instr(h,',',1,39) + 1,instr(h,',',1,40) - instr(h,',',1,39) - 1) c40,substr(h,instr(h,',',1,40) + 1,instr(h,',',1,41) - instr(h,',',1,40) - 1) c41,

       substr(h,instr(h,',',1,41) + 1,instr(h,',',1,42) - instr(h,',',1,41) - 1) c42,substr(h,instr(h,',',1,42) + 1,instr(h,',',1,43) - instr(h,',',1,42) - 1) c43,

       substr(h,instr(h,',',1,43) + 1,instr(h,',',1,44) - instr(h,',',1,43) - 1) c44,substr(h,instr(h,',',1,44) + 1,instr(h,',',1,45) - instr(h,',',1,44) - 1) c45,

       substr(h,instr(h,',',1,45) + 1,instr(h,',',1,46) - instr(h,',',1,45) - 1) c46,substr(h,instr(h,',',1,46) + 1,instr(h,',',1,47) - instr(h,',',1,46) - 1) c47,

       substr(h,instr(h,',',1,47) + 1,instr(h,',',1,48) - instr(h,',',1,47) - 1) c48,substr(h,instr(h,',',1,48) + 1,instr(h,',',1,49) - instr(h,',',1,48) - 1) c49,

       substr(h,instr(h,',',1,49) + 1,instr(h,',',1,50) - instr(h,',',1,49) - 1) c50,substr(h,instr(h,',',1,50) + 1,instr(h,',',1,51) - instr(h,',',1,50) - 1) c51,

       substr(h,instr(h,',',1,51) + 1,instr(h,',',1,52) - instr(h,',',1,51) - 1) c52,substr(h,instr(h,',',1,52) + 1,instr(h,',',1,53) - instr(h,',',1,52) - 1) c53,

       substr(h,instr(h,',',1,53) + 1,instr(h,',',1,54) - instr(h,',',1,53) - 1) c54,substr(h,instr(h,',',1,54) + 1,instr(h,',',1,55) - instr(h,',',1,54) - 1) c55,

       substr(h,instr(h,',',1,55) + 1,instr(h,',',1,56) - instr(h,',',1,55) - 1) c56,substr(h,instr(h,',',1,56) + 1,instr(h,',',1,57) - instr(h,',',1,56) - 1) c57,

       substr(h,instr(h,',',1,57) + 1,instr(h,',',1,58) - instr(h,',',1,57) - 1) c58,substr(h,instr(h,',',1,58) + 1,instr(h,',',1,59) - instr(h,',',1,58) - 1) c59,

       substr(h,instr(h,',',1,59) + 1,instr(h,',',1,60) - instr(h,',',1,59) - 1) c60,substr(h,instr(h,',',1,60) + 1,instr(h,',',1,61) - instr(h,',',1,60) - 1) c61,

       substr(h,instr(h,',',1,61) + 1,instr(h,',',1,62) - instr(h,',',1,61) - 1) c62,substr(h,instr(h,',',1,62) + 1,instr(h,',',1,63) - instr(h,',',1,62) - 1) c63,

       substr(h,instr(h,',',1,63) + 1,instr(h,',',1,64) - instr(h,',',1,63) - 1) c64,substr(h,instr(h,',',1,64) + 1,instr(h,',',1,65) - instr(h,',',1,64) - 1) c65,

       substr(h,instr(h,',',1,65) + 1,instr(h,',',1,66) - instr(h,',',1,65) - 1) c66,substr(h,instr(h,',',1,66) + 1,instr(h,',',1,67) - instr(h,',',1,66) - 1) c67,

       substr(h,instr(h,',',1,67) + 1,instr(h,',',1,68) - instr(h,',',1,67) - 1) c68,substr(h,instr(h,',',1,68) + 1,instr(h,',',1,69) - instr(h,',',1,68) - 1) c69,

       substr(h,instr(h,',',1,69) + 1,instr(h,',',1,70) - instr(h,',',1,69) - 1) c70,substr(h,instr(h,',',1,70) + 1,instr(h,',',1,71) - instr(h,',',1,70) - 1) c71,

       substr(h,instr(h,',',1,71) + 1,instr(h,',',1,72) - instr(h,',',1,71) - 1) c72,substr(h,instr(h,',',1,72) + 1,instr(h,',',1,73) - instr(h,',',1,72) - 1) c73,

       substr(h,instr(h,',',1,73) + 1,instr(h,',',1,74) - instr(h,',',1,73) - 1) c74,substr(h,instr(h,',',1,74) + 1,instr(h,',',1,75) - instr(h,',',1,74) - 1) c75,

       substr(h,instr(h,',',1,75) + 1,instr(h,',',1,76) - instr(h,',',1,75) - 1) c76,substr(h,instr(h,',',1,76) + 1,instr(h,',',1,77) - instr(h,',',1,76) - 1) c77,

       substr(h,instr(h,',',1,77) + 1,instr(h,',',1,78) - instr(h,',',1,77) - 1) c78,substr(h,instr(h,',',1,78) + 1,instr(h,',',1,79) - instr(h,',',1,78) - 1) c79,

       substr(h,instr(h,',',1,79) + 1,instr(h,',',1,80) - instr(h,',',1,79) - 1) c80,substr(h,instr(h,',',1,80) + 1,instr(h,',',1,81) - instr(h,',',1,80) - 1) c81,

       substr(h,instr(h,',',1,81) + 1,instr(h,',',1,82) - instr(h,',',1,81) - 1) c82,substr(h,instr(h,',',1,82) + 1,instr(h,',',1,83) - instr(h,',',1,82) - 1) c83,

       substr(h,instr(h,',',1,83) + 1,instr(h,',',1,84) - instr(h,',',1,83) - 1) c84,substr(h,instr(h,',',1,84) + 1,instr(h,',',1,85) - instr(h,',',1,84) - 1) c85,

       substr(h,instr(h,',',1,85) + 1,instr(h,',',1,86) - instr(h,',',1,85) - 1) c86,substr(h,instr(h,',',1,86) + 1,instr(h,',',1,87) - instr(h,',',1,86) - 1) c87,

       substr(h,instr(h,',',1,87) + 1,instr(h,',',1,88) - instr(h,',',1,87) - 1) c88,substr(h,instr(h,',',1,88) + 1,instr(h,',',1,89) - instr(h,',',1,88) - 1) c89,

       substr(h,instr(h,',',1,89) + 1,instr(h,',',1,90) - instr(h,',',1,89) - 1) c90,substr(h,instr(h,',',1,90) + 1,instr(h,',',1,91) - instr(h,',',1,90) - 1) c91,

       substr(h,instr(h,',',1,91) + 1,instr(h,',',1,92) - instr(h,',',1,91) - 1) c92,substr(h,instr(h,',',1,92) + 1,instr(h,',',1,93) - instr(h,',',1,92) - 1) c93,

       substr(h,instr(h,',',1,93) + 1,instr(h,',',1,94) - instr(h,',',1,93) - 1) c94

  from final

order by ord

Open in new window

sdstuberCommented:
This works for me  - but it's still doing string aggregation and then splitting it apart which is probably the wrong approach, and it's using connect by which is definitely the wrong approach.

Do you have a good reason for not using an aggregate function?


WITH header1
     AS (SELECT heading
           FROM (  SELECT *
                     FROM (    SELECT    RPAD(
                                             ',',
                                             MOD(
                                                   TO_DATE( :ym, 'yyyymm')
                                                 - TRUNC(TO_DATE( :ym, 'yyyymm'), 'iw')
                                                 + 1,
                                                 7
                                             ),
                                             ','
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                 CASE TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'dd')
                                                     WHEN '01'
                                                     THEN
                                                         TO_CHAR(
                                                             TO_DATE( :ym, 'yyyymm') + LEVEL - 1,
                                                             'yyyymm'
                                                         )
                                                 END,
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          heading,
                                      LEVEL lvl
                                 FROM DUAL
                           --WHERE CONNECT_BY_ISLEAF = 1
                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl)
          WHERE ROWNUM = 1),
     header2
     AS (SELECT dw
           FROM (  SELECT *
                     FROM (    SELECT    SUBSTR(
                                             'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                             1,
                                               INSTR(
                                                   'SUN_1,MON_1,TUE_1,WED_1,THU_1,FRI_1,SAT_1',
                                                   TO_CHAR(TO_DATE( :ym, 'yyyymm'), 'DY')
                                               )
                                             - 1
                                         )
                                      || SUBSTR(
                                             SYS_CONNECT_BY_PATH(
                                                    TO_CHAR(TO_DATE( :ym, 'yyyymm') + LEVEL - 1, 'DY')
                                                 || '_'
                                                 || TO_CHAR(LEVEL, 'fm09'),
                                                 ','
                                             ),
                                             2
                                         )
                                      || ','
                                          dw,
                                      LEVEL lvl
                                 FROM DUAL
                           --where connect_by_isleaf = 1

                           CONNECT BY LEVEL <=
                                          (  ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), 3)
                                           - TO_DATE( :ym, 'yyyymm')))
                 ORDER BY lvl DESC)
          WHERE ROWNUM = 1),
     data
     AS (SELECT inv_product_type,
                ym,
                customer_id,
                patient_name,
                   CASE
                       WHEN ym = :ym
                       THEN
                           RTRIM(
                                  TO_CHAR(sun_1)
                               || ','
                               || TO_CHAR(mon_1)
                               || ','
                               || TO_CHAR(tue_1)
                               || ','
                               || TO_CHAR(wed_1)
                               || ','
                               || TO_CHAR(thu_1)
                               || ','
                               || TO_CHAR(fri_1)
                               || ','
                               || TO_CHAR(sat_1)
                               || ','
                               || TO_CHAR(sun_2)
                               || ','
                               || TO_CHAR(mon_2)
                               || ','
                               || TO_CHAR(tue_2)
                               || ','
                               || TO_CHAR(wed_2)
                               || ','
                               || TO_CHAR(thu_2)
                               || ','
                               || TO_CHAR(fri_2)
                               || ','
                               || TO_CHAR(sat_2)
                               || ','
                               || TO_CHAR(sun_3)
                               || ','
                               || TO_CHAR(mon_3)
                               || ','
                               || TO_CHAR(tue_3)
                               || ','
                               || TO_CHAR(wed_3)
                               || ','
                               || TO_CHAR(thu_3)
                               || ','
                               || TO_CHAR(fri_3)
                               || ','
                               || TO_CHAR(sat_3)
                               || ','
                               || TO_CHAR(sun_4)
                               || ','
                               || TO_CHAR(mon_4)
                               || ','
                               || TO_CHAR(tue_4)
                               || ','
                               || TO_CHAR(wed_4)
                               || ','
                               || TO_CHAR(thu_4)
                               || ','
                               || TO_CHAR(fri_4)
                               || ','
                               || TO_CHAR(sat_4)
                               || ','
                               || TO_CHAR(sun_5)
                               || ','
                               || TO_CHAR(mon_5)
                               || ','
                               || TO_CHAR(tue_5)
                               || ','
                               || TO_CHAR(wed_5)
                               || ','
                               || TO_CHAR(thu_5)
                               || ','
                               || TO_CHAR(fri_5)
                               || ','
                               || TO_CHAR(sat_5)
                               || ','
                               || TO_CHAR(sun_6)
                               || ','
                               || TO_CHAR(mon_6)
                               || ','
                               || TO_CHAR(tue_6),
                               ','
                           )
                       ELSE
                           TRIM(
                               BOTH ',' FROM    TO_CHAR(sun_1)
                                             || ','
                                             || TO_CHAR(mon_1)
                                             || ','
                                             || TO_CHAR(tue_1)
                                             || ','
                                             || TO_CHAR(wed_1)
                                             || ','
                                             || TO_CHAR(thu_1)
                                             || ','
                                             || TO_CHAR(fri_1)
                                             || ','
                                             || TO_CHAR(sat_1)
                                             || ','
                                             || TO_CHAR(sun_2)
                                             || ','
                                             || TO_CHAR(mon_2)
                                             || ','
                                             || TO_CHAR(tue_2)
                                             || ','
                                             || TO_CHAR(wed_2)
                                             || ','
                                             || TO_CHAR(thu_2)
                                             || ','
                                             || TO_CHAR(fri_2)
                                             || ','
                                             || TO_CHAR(sat_2)
                                             || ','
                                             || TO_CHAR(sun_3)
                                             || ','
                                             || TO_CHAR(mon_3)
                                             || ','
                                             || TO_CHAR(tue_3)
                                             || ','
                                             || TO_CHAR(wed_3)
                                             || ','
                                             || TO_CHAR(thu_3)
                                             || ','
                                             || TO_CHAR(fri_3)
                                             || ','
                                             || TO_CHAR(sat_3)
                                             || ','
                                             || TO_CHAR(sun_4)
                                             || ','
                                             || TO_CHAR(mon_4)
                                             || ','
                                             || TO_CHAR(tue_4)
                                             || ','
                                             || TO_CHAR(wed_4)
                                             || ','
                                             || TO_CHAR(thu_4)
                                             || ','
                                             || TO_CHAR(fri_4)
                                             || ','
                                             || TO_CHAR(sat_4)
                                             || ','
                                             || TO_CHAR(sun_5)
                                             || ','
                                             || TO_CHAR(mon_5)
                                             || ','
                                             || TO_CHAR(tue_5)
                                             || ','
                                             || TO_CHAR(wed_5)
                                             || ','
                                             || TO_CHAR(thu_5)
                                             || ','
                                             || TO_CHAR(fri_5)
                                             || ','
                                             || TO_CHAR(sat_5)
                                             || ','
                                             || TO_CHAR(sun_6)
                                             || ','
                                             || TO_CHAR(mon_6)
                                             || ','
                                             || TO_CHAR(tue_6)
                           )
                   END
                || ','
                    days
           FROM temp_tab1),
     months
     AS (SELECT d.inv_product_type,
                d.customer_id,
                d.patient_name,
                y.ym,
                CASE
                    WHEN INSTR(h.heading, y.ym) > 0
                    THEN
                        CASE
                            WHEN y.lvl = 1
                            THEN
                                SUBSTR(
                                    h.heading,
                                    1,
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                    - 1
                                )
                            WHEN y.lvl = 3
                            THEN
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        3
                                    )
                                )
                            ELSE
                                SUBSTR(
                                    h.heading,
                                    INSTR(
                                        h.heading,
                                        SUBSTR( :ym, 1, 4),
                                        1,
                                        2
                                    ),
                                      INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          3
                                      )
                                    - INSTR(
                                          h.heading,
                                          SUBSTR( :ym, 1, 4),
                                          1,
                                          2
                                      )
                                )
                        END
                END
                    days
           FROM (    SELECT LEVEL lvl,
                            TO_CHAR(ADD_MONTHS(TO_DATE( :ym, 'yyyymm'), LEVEL - 1), 'yyyymm') ym
                       FROM DUAL
                 CONNECT BY LEVEL <= 3) y,
                header1 h,
                (SELECT DISTINCT inv_product_type, customer_id, patient_name
                   FROM data) d),
     final
     AS (SELECT -1 ord,
                NULL inv_product_type,
                NULL customer_id,
                NULL patient_name,
                heading h
           FROM header1
         UNION ALL
         SELECT 0 ord, 'INV_PRODUCT_TYPE', 'CUSTOMER_ID', 'PATIENT_NAME', dw FROM header2
         UNION ALL
         SELECT  ord,
                inv_product_type,
                customer_id,
                patient_name,
                string
           FROM (SELECT x.*, ROW_NUMBER() OVER(PARTITION BY  inv_product_type,
                customer_id,
                patient_name ORDER BY lvl DESC) rn
                   FROM (    SELECT ROW_NUMBER()
                                        OVER (ORDER BY customer_id, patient_name, inv_product_type)
                                        ord,
                                    inv_product_type,
                                    customer_id,
                                    patient_name,
                                    REPLACE(SYS_CONNECT_BY_PATH(string, '~'), '~') string,
                                    LEVEL lvl
                               FROM (SELECT m.inv_product_type,
                                            m.ym,
                                            m.customer_id,
                                            m.patient_name,
                                            NVL(d.days, TRANSLATE(m.days, '~0123456789', '~')) string
                                       FROM months m, data d
                                      WHERE m.inv_product_type = d.inv_product_type(+)
                                        AND m.customer_id = d.customer_id(+)
                                        AND m.patient_name = d.patient_name(+)
                                        AND m.ym = d.ym(+))
                             -- WHERE CONNECT_BY_ISLEAF = 1
                         START WITH ym = :ym
                         CONNECT BY PRIOR TO_CHAR(ADD_MONTHS(TO_DATE(ym, 'yyyymm'), 1), 'yyyymm') =
                                        ym
                                AND PRIOR inv_product_type = inv_product_type
                                AND PRIOR customer_id = customer_id
                                AND PRIOR patient_name = patient_name--AND PRIOR DBMS_RANDOM.random IS NOT NULL
                        ) x)
          WHERE rn = 1)
  select inv_product_type,customer_id,patient_name,substr(h,1,instr(h,',') - 1) c1,

       substr(h,instr(h,',',1,1) + 1,instr(h,',',1,2) - instr(h,',',1,1) - 1) c2,substr(h,instr(h,',',1,2) + 1,instr(h,',',1,3) - instr(h,',',1,2) - 1) c3,

       substr(h,instr(h,',',1,3) + 1,instr(h,',',1,4) - instr(h,',',1,3) - 1) c4,substr(h,instr(h,',',1,4) + 1,instr(h,',',1,5) - instr(h,',',1,4) - 1) c5,

       substr(h,instr(h,',',1,5) + 1,instr(h,',',1,6) - instr(h,',',1,5) - 1) c6,substr(h,instr(h,',',1,6) + 1,instr(h,',',1,7) - instr(h,',',1,6) - 1) c7,

       substr(h,instr(h,',',1,7) + 1,instr(h,',',1,8) - instr(h,',',1,7) - 1) c8,substr(h,instr(h,',',1,8) + 1,instr(h,',',1,9) - instr(h,',',1,8) - 1) c9,

       substr(h,instr(h,',',1,9) + 1,instr(h,',',1,10) - instr(h,',',1,9) - 1) c10,substr(h,instr(h,',',1,10) + 1,instr(h,',',1,11) - instr(h,',',1,10) - 1) c11,

       substr(h,instr(h,',',1,11) + 1,instr(h,',',1,12) - instr(h,',',1,11) - 1) c12,substr(h,instr(h,',',1,12) + 1,instr(h,',',1,13) - instr(h,',',1,12) - 1) c13,

       substr(h,instr(h,',',1,13) + 1,instr(h,',',1,14) - instr(h,',',1,13) - 1) c14,substr(h,instr(h,',',1,14) + 1,instr(h,',',1,15) - instr(h,',',1,14) - 1) c15,

       substr(h,instr(h,',',1,15) + 1,instr(h,',',1,16) - instr(h,',',1,15) - 1) c16,substr(h,instr(h,',',1,16) + 1,instr(h,',',1,17) - instr(h,',',1,16) - 1) c17,

       substr(h,instr(h,',',1,17) + 1,instr(h,',',1,18) - instr(h,',',1,17) - 1) c18,substr(h,instr(h,',',1,18) + 1,instr(h,',',1,19) - instr(h,',',1,18) - 1) c19,

       substr(h,instr(h,',',1,19) + 1,instr(h,',',1,20) - instr(h,',',1,19) - 1) c20,substr(h,instr(h,',',1,20) + 1,instr(h,',',1,21) - instr(h,',',1,20) - 1) c21,

       substr(h,instr(h,',',1,21) + 1,instr(h,',',1,22) - instr(h,',',1,21) - 1) c22,substr(h,instr(h,',',1,22) + 1,instr(h,',',1,23) - instr(h,',',1,22) - 1) c23,

       substr(h,instr(h,',',1,23) + 1,instr(h,',',1,24) - instr(h,',',1,23) - 1) c24,substr(h,instr(h,',',1,24) + 1,instr(h,',',1,25) - instr(h,',',1,24) - 1) c25,

       substr(h,instr(h,',',1,25) + 1,instr(h,',',1,26) - instr(h,',',1,25) - 1) c26,substr(h,instr(h,',',1,26) + 1,instr(h,',',1,27) - instr(h,',',1,26) - 1) c27,

       substr(h,instr(h,',',1,27) + 1,instr(h,',',1,28) - instr(h,',',1,27) - 1) c28,substr(h,instr(h,',',1,28) + 1,instr(h,',',1,29) - instr(h,',',1,28) - 1) c29,

       substr(h,instr(h,',',1,29) + 1,instr(h,',',1,30) - instr(h,',',1,29) - 1) c30,substr(h,instr(h,',',1,30) + 1,instr(h,',',1,31) - instr(h,',',1,30) - 1) c31,

       substr(h,instr(h,',',1,31) + 1,instr(h,',',1,32) - instr(h,',',1,31) - 1) c32,substr(h,instr(h,',',1,32) + 1,instr(h,',',1,33) - instr(h,',',1,32) - 1) c33,

       substr(h,instr(h,',',1,33) + 1,instr(h,',',1,34) - instr(h,',',1,33) - 1) c34,substr(h,instr(h,',',1,34) + 1,instr(h,',',1,35) - instr(h,',',1,34) - 1) c35,

       substr(h,instr(h,',',1,35) + 1,instr(h,',',1,36) - instr(h,',',1,35) - 1) c36,substr(h,instr(h,',',1,36) + 1,instr(h,',',1,37) - instr(h,',',1,36) - 1) c37,

       substr(h,instr(h,',',1,37) + 1,instr(h,',',1,38) - instr(h,',',1,37) - 1) c38,substr(h,instr(h,',',1,38) + 1,instr(h,',',1,39) - instr(h,',',1,38) - 1) c39,

       substr(h,instr(h,',',1,39) + 1,instr(h,',',1,40) - instr(h,',',1,39) - 1) c40,substr(h,instr(h,',',1,40) + 1,instr(h,',',1,41) - instr(h,',',1,40) - 1) c41,

       substr(h,instr(h,',',1,41) + 1,instr(h,',',1,42) - instr(h,',',1,41) - 1) c42,substr(h,instr(h,',',1,42) + 1,instr(h,',',1,43) - instr(h,',',1,42) - 1) c43,

       substr(h,instr(h,',',1,43) + 1,instr(h,',',1,44) - instr(h,',',1,43) - 1) c44,substr(h,instr(h,',',1,44) + 1,instr(h,',',1,45) - instr(h,',',1,44) - 1) c45,

       substr(h,instr(h,',',1,45) + 1,instr(h,',',1,46) - instr(h,',',1,45) - 1) c46,substr(h,instr(h,',',1,46) + 1,instr(h,',',1,47) - instr(h,',',1,46) - 1) c47,

       substr(h,instr(h,',',1,47) + 1,instr(h,',',1,48) - instr(h,',',1,47) - 1) c48,substr(h,instr(h,',',1,48) + 1,instr(h,',',1,49) - instr(h,',',1,48) - 1) c49,

       substr(h,instr(h,',',1,49) + 1,instr(h,',',1,50) - instr(h,',',1,49) - 1) c50,substr(h,instr(h,',',1,50) + 1,instr(h,',',1,51) - instr(h,',',1,50) - 1) c51,

       substr(h,instr(h,',',1,51) + 1,instr(h,',',1,52) - instr(h,',',1,51) - 1) c52,substr(h,instr(h,',',1,52) + 1,instr(h,',',1,53) - instr(h,',',1,52) - 1) c53,

       substr(h,instr(h,',',1,53) + 1,instr(h,',',1,54) - instr(h,',',1,53) - 1) c54,substr(h,instr(h,',',1,54) + 1,instr(h,',',1,55) - instr(h,',',1,54) - 1) c55,

       substr(h,instr(h,',',1,55) + 1,instr(h,',',1,56) - instr(h,',',1,55) - 1) c56,substr(h,instr(h,',',1,56) + 1,instr(h,',',1,57) - instr(h,',',1,56) - 1) c57,

       substr(h,instr(h,',',1,57) + 1,instr(h,',',1,58) - instr(h,',',1,57) - 1) c58,substr(h,instr(h,',',1,58) + 1,instr(h,',',1,59) - instr(h,',',1,58) - 1) c59,

       substr(h,instr(h,',',1,59) + 1,instr(h,',',1,60) - instr(h,',',1,59) - 1) c60,substr(h,instr(h,',',1,60) + 1,instr(h,',',1,61) - instr(h,',',1,60) - 1) c61,

       substr(h,instr(h,',',1,61) + 1,instr(h,',',1,62) - instr(h,',',1,61) - 1) c62,substr(h,instr(h,',',1,62) + 1,instr(h,',',1,63) - instr(h,',',1,62) - 1) c63,

       substr(h,instr(h,',',1,63) + 1,instr(h,',',1,64) - instr(h,',',1,63) - 1) c64,substr(h,instr(h,',',1,64) + 1,instr(h,',',1,65) - instr(h,',',1,64) - 1) c65,

       substr(h,instr(h,',',1,65) + 1,instr(h,',',1,66) - instr(h,',',1,65) - 1) c66,substr(h,instr(h,',',1,66) + 1,instr(h,',',1,67) - instr(h,',',1,66) - 1) c67,

       substr(h,instr(h,',',1,67) + 1,instr(h,',',1,68) - instr(h,',',1,67) - 1) c68,substr(h,instr(h,',',1,68) + 1,instr(h,',',1,69) - instr(h,',',1,68) - 1) c69,

       substr(h,instr(h,',',1,69) + 1,instr(h,',',1,70) - instr(h,',',1,69) - 1) c70,substr(h,instr(h,',',1,70) + 1,instr(h,',',1,71) - instr(h,',',1,70) - 1) c71,

       substr(h,instr(h,',',1,71) + 1,instr(h,',',1,72) - instr(h,',',1,71) - 1) c72,substr(h,instr(h,',',1,72) + 1,instr(h,',',1,73) - instr(h,',',1,72) - 1) c73,

       substr(h,instr(h,',',1,73) + 1,instr(h,',',1,74) - instr(h,',',1,73) - 1) c74,substr(h,instr(h,',',1,74) + 1,instr(h,',',1,75) - instr(h,',',1,74) - 1) c75,

       substr(h,instr(h,',',1,75) + 1,instr(h,',',1,76) - instr(h,',',1,75) - 1) c76,substr(h,instr(h,',',1,76) + 1,instr(h,',',1,77) - instr(h,',',1,76) - 1) c77,

       substr(h,instr(h,',',1,77) + 1,instr(h,',',1,78) - instr(h,',',1,77) - 1) c78,substr(h,instr(h,',',1,78) + 1,instr(h,',',1,79) - instr(h,',',1,78) - 1) c79,

       substr(h,instr(h,',',1,79) + 1,instr(h,',',1,80) - instr(h,',',1,79) - 1) c80,substr(h,instr(h,',',1,80) + 1,instr(h,',',1,81) - instr(h,',',1,80) - 1) c81,

       substr(h,instr(h,',',1,81) + 1,instr(h,',',1,82) - instr(h,',',1,81) - 1) c82,substr(h,instr(h,',',1,82) + 1,instr(h,',',1,83) - instr(h,',',1,82) - 1) c83,

       substr(h,instr(h,',',1,83) + 1,instr(h,',',1,84) - instr(h,',',1,83) - 1) c84,substr(h,instr(h,',',1,84) + 1,instr(h,',',1,85) - instr(h,',',1,84) - 1) c85,

       substr(h,instr(h,',',1,85) + 1,instr(h,',',1,86) - instr(h,',',1,85) - 1) c86,substr(h,instr(h,',',1,86) + 1,instr(h,',',1,87) - instr(h,',',1,86) - 1) c87,

       substr(h,instr(h,',',1,87) + 1,instr(h,',',1,88) - instr(h,',',1,87) - 1) c88,substr(h,instr(h,',',1,88) + 1,instr(h,',',1,89) - instr(h,',',1,88) - 1) c89,

       substr(h,instr(h,',',1,89) + 1,instr(h,',',1,90) - instr(h,',',1,89) - 1) c90,substr(h,instr(h,',',1,90) + 1,instr(h,',',1,91) - instr(h,',',1,90) - 1) c91,

       substr(h,instr(h,',',1,91) + 1,instr(h,',',1,92) - instr(h,',',1,91) - 1) c92,substr(h,instr(h,',',1,92) + 1,instr(h,',',1,93) - instr(h,',',1,92) - 1) c93,

       substr(h,instr(h,',',1,93) + 1,instr(h,',',1,94) - instr(h,',',1,93) - 1) c94

  from final

order by ord

Open in new window

sdstuberCommented:
Can we assume your "temp_tab1"  is really the results of a query like your asked  here?

http://www.experts-exchange.com/Database/Oracle/Q_28660046.html

If so,  can you post a complete example representing the source tables?
You're probably jumping through a lot of extra hoops for no reason.
anumosesAuthor Commented:
correct. I am getting the real table and data and will send the query.
anumosesAuthor Commented:
This was the original query

Select distinct 
        ih.customer_id,patient_name,
		case 
             when vp.inv_product_type = 'RBC' then 'Red Blood Cells' 
		     when vp.inv_product_type = 'LRBC' then 'Leukoreduced Red Blood Cells'
			 when vp.inv_product_type = 'LPHER' then 'SDP'
			 when vp.inv_product_type = 'PHER' then 'SDP'
			 when vp.inv_product_type = 'FFP' then 'Fresh Frozen Plasma'
			 when vp.inv_product_type = 'FP24' then 'Plasma Frozen withing 24hrs'
			 when vp.inv_product_type = 'CRYO' then 'Cryoprecipitate' end inv_product_type,
		sum(case when to_char(ih.invoice_date,'Mon')=to_char(to_date(:end_date,'DD-MON-YYYY'),'Mon') then id.order_qty else 0 end) curr_month,
		sum(case when to_char(ih.invoice_date,'Mon')=to_char(add_months(to_date(:end_date,'DD-MON-YYYY'),-1),'Mon') then id.order_qty else 0 end) last_month,
		sum(case when to_char(ih.invoice_date,'Mon')=to_char(add_months(to_date(:end_date,'DD-MON-YYYY'),-2),'Mon') then id.order_qty else 0 end) prev_month
from       invoice_header ih,
           invoice_detail id,
           item_profile ip,
           valid_products_lab vp
where id.invoice_number = ih.invoice_number
and id.item_id = vp.product_code
and   id.item_id = ip.item_id
and   ip.item_type in ('P')
and   ih.customer_id = 'WAD-EX0128'
and   ih.invoice_date between  :start_date and :end_date 
and vp.inv_product_type in ('RBC','LRBC','LPHER','PHER','FFP','FP24','CRYO')
group by ih.customer_id,vp.inv_product_type,patient_name

Open in new window


The requirement changed. Now the user wants 12 weeks data ( 3 months)
So the required data display is basically on the query we worked earlier.

Customer    inv product type    all days ............... starting from day 1 based on date range parameters

CREATE TABLE TAB1
(
  CUSTOMER_ID     VARCHAR2(20 BYTE)             NOT NULL,
  INVOICE_NUMBER  NUMBER(8)                     NOT NULL,
  INVOICE_DATE    DATE                          NOT NULL
)


Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154850, TO_DATE('01/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155437, TO_DATE('01/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155946, TO_DATE('01/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156047, TO_DATE('01/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156384, TO_DATE('02/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156530, TO_DATE('02/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157465, TO_DATE('03/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157694, TO_DATE('03/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157765, TO_DATE('03/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157901, TO_DATE('03/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158040, TO_DATE('03/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158057, TO_DATE('03/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158170, TO_DATE('03/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158234, TO_DATE('03/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158265, TO_DATE('03/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158316, TO_DATE('03/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158385, TO_DATE('03/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158379, TO_DATE('03/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158432, TO_DATE('03/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158513, TO_DATE('03/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158564, TO_DATE('03/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158600, TO_DATE('03/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158659, TO_DATE('03/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158753, TO_DATE('03/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
Insert into TAB1
   (CUSTOMER_ID, INVOICE_NUMBER, INVOICE_DATE)
 Values
   ('WAD-EX0128', 158777, TO_DATE('03/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
COMMIT;

Open in new window


CREATE TABLE TAB2
(
  INVOICE_NUMBER  NUMBER(8)                     NOT NULL,
  INVOICE_DATE    DATE                          NOT NULL,
  ITEM_ID         VARCHAR2(12 BYTE),
  CUSTOMER_ID     VARCHAR2(20 BYTE)             NOT NULL,
  PATIENT_NAME    VARCHAR2(80 BYTE)             NOT NULL,
  ITEM_TYPE       VARCHAR2(5 BYTE),
  ORDER_QTY       NUMBER(4)
)



Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154664, TO_DATE('01/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154693, TO_DATE('01/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4545', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154750, TO_DATE('01/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154797, TO_DATE('01/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154850, TO_DATE('01/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154850, TO_DATE('01/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154850, TO_DATE('01/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154850, TO_DATE('01/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4536', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154892, TO_DATE('01/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3089', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154923, TO_DATE('01/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0167', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4536', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4543', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (154975, TO_DATE('01/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4544', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155025, TO_DATE('01/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'PXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 6);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155085, TO_DATE('01/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4647', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155128, TO_DATE('01/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'PXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 6);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'PXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 14);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155161, TO_DATE('01/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'WEHOL', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3089', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4536', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'PXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 14);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155214, TO_DATE('01/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155284, TO_DATE('01/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155332, TO_DATE('01/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155362, TO_DATE('01/16/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155437, TO_DATE('01/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155437, TO_DATE('01/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4536', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155453, TO_DATE('01/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4545', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155506, TO_DATE('01/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'AUTO', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0668', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155557, TO_DATE('01/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL3', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155586, TO_DATE('01/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155653, TO_DATE('01/22/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'PXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 14);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155693, TO_DATE('01/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0331', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4537', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'WEHOL', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155765, TO_DATE('01/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'WEHOL', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155786, TO_DATE('01/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4547', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'AGT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 9);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IDC', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'RHT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155844, TO_DATE('01/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155888, TO_DATE('01/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155946, TO_DATE('01/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155946, TO_DATE('01/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155946, TO_DATE('01/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155946, TO_DATE('01/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155946, TO_DATE('01/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (155980, TO_DATE('01/29/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156047, TO_DATE('01/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156047, TO_DATE('01/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4538', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156047, TO_DATE('01/30/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156074, TO_DATE('01/31/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4546', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL3', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156132, TO_DATE('02/01/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL3', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'AGT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 9);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'ALL', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 2);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CHEMT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'ELU', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IDC', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'RHT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156146, TO_DATE('02/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'WEHOL', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156201, TO_DATE('02/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156250, TO_DATE('02/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156308, TO_DATE('02/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156384, TO_DATE('02/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156413, TO_DATE('02/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156458, TO_DATE('02/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156481, TO_DATE('02/09/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156530, TO_DATE('02/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156530, TO_DATE('02/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156530, TO_DATE('02/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156530, TO_DATE('02/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156530, TO_DATE('02/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156594, TO_DATE('02/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4547', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156620, TO_DATE('02/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156695, TO_DATE('02/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 2);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4543', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IDC', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'RES', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156762, TO_DATE('02/15/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'WEHOL', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0605', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4547', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5160', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156861, TO_DATE('02/17/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SW', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156907, TO_DATE('02/18/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (156970, TO_DATE('02/19/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157016, TO_DATE('02/20/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3056', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157079, TO_DATE('02/21/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157152, TO_DATE('02/23/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3046', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3057', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4546', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157186, TO_DATE('02/24/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E5165', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157263, TO_DATE('02/25/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157293, TO_DATE('02/26/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157358, TO_DATE('02/27/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0332', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4546', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157391, TO_DATE('02/28/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157465, TO_DATE('03/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157465, TO_DATE('03/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157465, TO_DATE('03/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157465, TO_DATE('03/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157465, TO_DATE('03/02/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CXM', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IDC', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157499, TO_DATE('03/03/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'RES', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0678', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0686', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157559, TO_DATE('03/04/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL1', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157623, TO_DATE('03/05/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'STAT', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157694, TO_DATE('03/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157694, TO_DATE('03/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157694, TO_DATE('03/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157694, TO_DATE('03/06/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0181', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0694', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E1624', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E2555', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157710, TO_DATE('03/07/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157765, TO_DATE('03/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157765, TO_DATE('03/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157765, TO_DATE('03/08/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3087', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157841, TO_DATE('03/10/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E4536', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157901, TO_DATE('03/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157901, TO_DATE('03/11/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'LEVEL2', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CMV', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', -1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3077', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157926, TO_DATE('03/12/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'SCN', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0331', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0331', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0336', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0685', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0693', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E3088', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'P', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (157994, TO_DATE('03/13/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'IR', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'A', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (158040, TO_DATE('03/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (158040, TO_DATE('03/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (158040, TO_DATE('03/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'DB', 'WAD-EX0128', 'ALEXIAN BROTHERS MEDICAL CENTER', 
    'S', 1);
Insert into TAB2
   (INVOICE_NUMBER, INVOICE_DATE, ITEM_ID, CUSTOMER_ID, PATIENT_NAME, 
    ITEM_TYPE, ORDER_QTY)
 Values
   (158040, TO_DATE('03/14/2015 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'E0316', 'WAD-EX