

SET ECHO ON
SPOOL HSLE_USRRAP_DEFS.lst
SET DEFINE OFF


--SQL Statement which produced this data:
--
--  select fac_usrrap_omschrijving, fac_usrrap_view_name, fac_usrrap_vraagbegindatum, fac_usrrap_vraageinddatum, fac_usrrap_functie, fac_functie_key, fac_usrrap_urllink, fac_usrrap_count, fac_usrrap_pivot, fac_usrrap_graph 
--  from fac_usrrap
--  where fac_usrrap_key IN (161,181)
--
CREATE OR REPLACE VIEW hsle_v_rap_ict_rfc
AS
SELECT * FROM DUAL;


Insert into FAC_USRRAP
   (fac_usrrap_omschrijving, fac_usrrap_view_name, fac_usrrap_vraagbegindatum, fac_usrrap_vraageinddatum, fac_usrrap_functie, fac_functie_key, fac_usrrap_urllink, fac_usrrap_count, fac_usrrap_pivot, fac_usrrap_graph)
 Values
   ('ICT Change Management - Calls', 'hsle_v_rap_ict_rfc', 0, 0, 0, 
    100, 'appl/mld/mld_melding.asp?urole=bo' || '&' || 'mld_key={mld_melding_key}', 1, 0, 0);
    

--SQL Statement which produced this data:
--
--  SELECT 
--         F.FAC_USRRAP_KEY, F.FAC_USRRAP_COLS_VOLGNR, 
--         F.FAC_USRRAP_COLS_COLUMN_NAME, F.FAC_USRRAP_COLS_CAPTION, F.FAC_USRRAP_COLS_FILTER, 
--         F.FAC_USRRAP_COLS_FILTERDEFAULT, F.FAC_USRRAP_COLS_DATATYPE, F.FAC_USRRAP_COLS_VISIBLE, 
--         F.FAC_USRRAP_COLS_GROUP
--      FROM FAC_USRRAP_COLS F
--      Where
--      FAC_USRRAP_KEY = 161
--
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    190, 'mld_opdr_deelnemer', 'Deelnemer', 'L', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    250, 'mld_opdr_uren', '!Uren', 
    'float', 'V', 'S' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    10, 'mld_melding_key', 'Nr.', 'A', 
    'number', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    20, 'mld_datum_create', 'Ingediend', 
    'date', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    30, 'mld_datum_deadline_akkoord', 'CAB datum', 'A', 
    'date', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_melding_status', 'Status', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    50, 'mld_melding_impact', 'Impact', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    60, 'mld_melding_onderwerp', 'Onderwerp', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    76, 'mld_melding_aanvrager', 'Aanvrager', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    80, 'mld_melding_eigenaar', 'Eigenaar', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    90, 'mld_melding_startdatum', 'Uitvoer Start', 
    'date', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    100, 'mld_melding_einddatum', 'Uitvoer Eind', 
    'date', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    115, 'mld_melding_akkoord_i', 'S', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    108, 'mld_melding_akkoord_a', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    112, 'mld_melding_akkoord_t', 'T', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    125, 'mld_melding_akkoord_s', 'SD', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    110, 'mld_melding_akkoord_c', 'C', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    74, 'ins_deel_ci', 'CI''s', 'L', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    70, 'fclt_mld_melding_parentkey', 'Referentie', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    200, 'mld_opdr_omschrijving', 'Opdracht', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    210, 'mld_opdr_startdatum', 'Startdatum', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_opdr_einddatum', 'Einddatum', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_opdr_plandatum', 'Plandatum', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    180, 'mld_opdr_deelnemer_key', 'Mld Opdr Deelnemer Key', 
    'number', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_melding_prioriteit', 'Mld Melding Prioriteit', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_stdmelding_omschrijving', 'RFC/Change', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    105, 'mld_melding_akkoord_v', 'V', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    117, 'mld_melding_akkoord_n', 'N', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    120, 'mld_melding_akkoord_w', 'W', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    122, 'mld_melding_akkoord_f', 'F', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    150, 'mld_melding_aanwezig_cab_i', 'Mld Melding Aanwezig Cab I', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    160, 'mld_melding_aanwezig_cab_a', 'Mld Melding Aanwezig Cab A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    170, 'mld_melding_aanwezig_cab_t', 'Mld Melding Aanwezig Cab T', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    180, 'mld_melding_aanwezig_cab_s', 'Mld Melding Aanwezig Cab S', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    190, 'mld_melding_aanwezig_cab_c', 'Mld Melding Aanwezig Cab C', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    200, 'mld_melding_aanwezig_cab_v', 'Mld Melding Aanwezig Cab V', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    210, 'mld_melding_aanwezig_cab_n', 'Mld Melding Aanwezig Cab N', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_melding_aanwezig_cab_w', 'Mld Melding Aanwezig Cab W', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    230, 'mld_melding_aanwezig_cab_f', 'Mld Melding Aanwezig Cab F', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    20, 'mld_stdmelding_key', 'Mld Stdmelding Key', 
    'number', 'H', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    30, 'mld_discipline_key', 'Mld Discipline Key', 
    'number', 'H', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    20, 'mld_stdmelding_omschrijving', 'Mld Stdmelding Omschrijving', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
COMMIT;


 



-------------------------------------------------------------------------------------------------------------------------------------------------------



Insert into FAC_USRRAP
   (fac_usrrap_omschrijving, fac_usrrap_view_name, fac_usrrap_vraagbegindatum, fac_usrrap_vraageinddatum, fac_usrrap_functie, fac_functie_key, fac_usrrap_count, fac_usrrap_pivot, fac_usrrap_graph)
 Values
   ('ICT Change Management - urenoverzicht', 'hsle_v_rap_ict_rfc', 0, 0, 0, 
    100, 1, 3, 3);
COMMIT;

--SQL Statement which produced this data:
--
--  SELECT 
--         F.FAC_USRRAP_KEY, F.FAC_USRRAP_COLS_VOLGNR, 
--         F.FAC_USRRAP_COLS_COLUMN_NAME, F.FAC_USRRAP_COLS_CAPTION, F.FAC_USRRAP_COLS_FILTER, 
--         F.FAC_USRRAP_COLS_FILTERDEFAULT, F.FAC_USRRAP_COLS_DATATYPE, F.FAC_USRRAP_COLS_VISIBLE, 
--         F.FAC_USRRAP_COLS_GROUP
--      FROM FAC_USRRAP_COLS F
--      Where
--      FAC_USRRAP_KEY = 181
--
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    10, 'mld_melding_key', 'Nr.', 'A', 
    'number', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    20, 'mld_datum_create', 'Ingediend', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    30, 'mld_datum_deadline_akkoord', 'Akkoord voor', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_melding_status', 'Status', 'A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    50, 'mld_melding_impact', 'Impact', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    60, 'mld_melding_onderwerp', 'Onderwerp', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    70, 'fclt_mld_melding_parentkey', 'Referentie', 'A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    74, 'ins_deel_ci', 'CI''s', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    76, 'mld_melding_aanvrager', 'Aanvrager', 'A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    80, 'mld_melding_eigenaar', 'Eigenaar', 'A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    90, 'mld_melding_startdatum', 'Uitvoer Start', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    100, 'mld_melding_einddatum', 'Uitvoer Eind', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    110, 'mld_melding_akkoord_i', 'I', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    120, 'mld_melding_akkoord_a', 'A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    130, 'mld_melding_akkoord_t', 'T', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    140, 'mld_melding_akkoord_s', 'S', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    150, 'mld_melding_akkoord_c', 'C', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    190, 'mld_opdr_deelnemer', 'Deelnemer', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_filterdefault, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    250, 'mld_opdr_uren', '!Uren', 'R', 
    ':!0.01', 'float', 'V', 'S' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    200, 'mld_opdr_omschrijving', 'Opdracht', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_opdr_plandatum', '!Plandatum', 
    'date', 'V', 'M' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    200, 'mld_opdr_startdatum', 'Startdatum deelnemer', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    210, 'mld_opdr_einddatum', 'Einddatum deelnemer', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    180, 'mld_opdr_deelnemer_key', 'Mld Opdr Deelnemer Key', 
    'number', 'H', 'G' FROM FAC_USRRAP;
COMMIT;



-----------------------------

Insert into FAC_USRRAP
   (fac_usrrap_omschrijving, fac_usrrap_view_name, fac_usrrap_vraagbegindatum, fac_usrrap_vraageinddatum, fac_usrrap_functie, fac_functie_key, fac_usrrap_urllink, fac_usrrap_count, fac_usrrap_pivot, fac_usrrap_graph)
 Values
   ('ICT Change Management - CAB Presentie overzicht', 'hsle_v_rap_ict_rfc', 0, 0, 0, 
    100, 'appl/mld/mld_melding.asp?urole=bo' || '&' || 'mld_key={mld_melding_key}', 1, 0, 0);


--SQL Statement which produced this data:
--
--  SELECT 
--         F.FAC_USRRAP_KEY, F.FAC_USRRAP_COLS_VOLGNR, 
--         F.FAC_USRRAP_COLS_COLUMN_NAME, F.FAC_USRRAP_COLS_CAPTION, F.FAC_USRRAP_COLS_FILTER, 
--         F.FAC_USRRAP_COLS_FILTERDEFAULT, F.FAC_USRRAP_COLS_DATATYPE, F.FAC_USRRAP_COLS_VISIBLE, 
--         F.FAC_USRRAP_COLS_GROUP
--      FROM FAC_USRRAP_COLS F
--      Where
--      FAC_USRRAP_KEY = 461
--
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    10, 'mld_melding_key', 'Nr.', 'A', 
    'number', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    18, 'mld_datum_create', 'Ingediend', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    15, 'mld_stdmelding_omschrijving', 'Mld Stdmelding Omschrijving', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    20, 'mld_datum_deadline_akkoord', 'CAB datum', 'A', 
    'date', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_melding_prioriteit', 'Prioriteit', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_melding_status', 'Status', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    40, 'mld_stdmelding_omschrijving', 'RFC/Change', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    50, 'mld_melding_impact', 'Impact', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    15, 'mld_melding_onderwerp', 'Onderwerp', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    70, 'fclt_mld_melding_parentkey', 'Referentie', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    74, 'ins_deel_ci', 'CI''s', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    76, 'mld_melding_aanvrager', 'Aanvrager', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    80, 'mld_melding_eigenaar', 'Eigenaar', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    90, 'mld_melding_startdatum', 'Uitvoer Start', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    100, 'mld_melding_einddatum', 'Uitvoer Eind', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    110, 'mld_melding_akkoord_i', 'I', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    120, 'mld_melding_akkoord_a', 'A', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    130, 'mld_melding_akkoord_t', 'T', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    140, 'mld_melding_akkoord_s', 'S', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    150, 'mld_melding_akkoord_c', 'C', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    34, 'mld_melding_aanwezig_cab_i', 'Systeembeheer Aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    31, 'mld_melding_aanwezig_cab_a', 'Architect aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    33, 'mld_melding_aanwezig_cab_t', 'TAB aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    180, 'mld_opdr_deelnemer_key', 'Mld Opdr Deelnemer Key', 
    'number', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    38, 'mld_melding_aanwezig_cab_s', 'Servicedesk aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    32, 'mld_melding_aanwezig_cab_c', 'Coördinator aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    190, 'mld_opdr_deelnemer', 'Deelnemer', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    200, 'mld_opdr_omschrijving', 'Opdracht', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    200, 'mld_melding_akkoord_v', 'V', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    30, 'mld_melding_aanwezig_cab_v', 'Voorzitter aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    210, 'mld_melding_akkoord_n', 'N', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    210, 'mld_opdr_startdatum', 'Startdatum', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    35, 'mld_melding_aanwezig_cab_n', 'Netwerkbeheer aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_melding_akkoord_w', 'W', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    36, 'mld_melding_aanwezig_cab_w', 'Werkplekbeheer aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_opdr_einddatum', 'Einddatum', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    230, 'mld_melding_akkoord_f', 'F', 
    'varchar', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    37, 'mld_melding_aanwezig_cab_f', 'FAB aanwezig', 'A', 
    'varchar', 'V', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    250, 'mld_opdr_uren', '!Uren', 
    'float', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    20, 'mld_stdmelding_key', 'Mld Stdmelding Key', 
    'number', 'H', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    220, 'mld_opdr_plandatum', 'Plandatum', 
    'date', 'I', 'G' FROM FAC_USRRAP;
Insert into FAC_USRRAP_COLS
   (fac_usrrap_key, fac_usrrap_cols_volgnr, fac_usrrap_cols_column_name, fac_usrrap_cols_caption, fac_usrrap_cols_filter, fac_usrrap_cols_filterdefault, fac_usrrap_cols_datatype, fac_usrrap_cols_visible, fac_usrrap_cols_group)
 SELECT max(fac_usrrap_key),
    30, 'mld_discipline_key', 'Mld Discipline Key', 'A', 
    ':644', 'number', 'H', 'G' FROM FAC_USRRAP;
COMMIT;




--SQL Statement which produced this data:
--
--  select * from fac_menu
--  where fac_menu_volgnr >= 5700 and fac_menu_volgnr <5800
--  order by fac_menu_volgnr
--
Insert into FAC_MENU
   (fac_menu_volgnr, fac_menu_altlabel, fac_menu_altgroep, fac_menu_level)
 Values
   (5700, 'ICT Change Management', 1, 1);
Insert into FAC_MENU
   (fac_menu_volgnr, fac_menu_altlabel, fac_menu_alturl, fac_menu_altgroep, fac_functie_key)
 Values
   (5710, '> Toevoegen', 
    'appl/mld/mld_melding.asp?urole=fe&mld_key=-1&srtdisc=41', 1, 100);
Insert into FAC_MENU
   (fac_menu_volgnr, fac_menu_altlabel, fac_menu_alturl, fac_menu_altgroep, fac_functie_key)
 Values
   (5720, 'Overzicht', 
    'appl/fac/fac_report.asp?usrrap_key=161&autosearch=1', 1, 100);
 Insert into FAC_MENU
   (fac_menu_volgnr, fac_menu_altlabel, fac_menu_alturl, fac_menu_altgroep, fac_functie_key)
 Values
   (5725, 'CAB Presentie overzicht', 
    'appl/fac/fac_report.asp?usrrap_key=461&autosearch=1', 1, 100);
Insert into FAC_MENU
   (fac_menu_volgnr, fac_menu_altlabel, fac_menu_alturl, fac_menu_altgroep, fac_functie_key)
 Values
   (5730, 'Urenoverzicht', 
    'appl/fac/fac_report.asp?usrrap_key=181&autosearch=1', 1, 100);
COMMIT;


SPOOL OFF
