-- Customer specific once-script VENR1.
--
-- (c) 2014 SG|facilitor bv
--
-- Support: +31 53 4800700
SET ECHO ON
SPOOL xVENR1.lst
SET DEFINE OFF

-- 87=PRSSYS
INSERT INTO fac_export_app (fac_export_app_code,
                            fac_export_app_oms,
                            fac_functie_key,
                            fac_export_app_folder,
                            fac_export_app_file_prefix,
                            fac_export_app_postfix,
                            fac_export_app_log_postfix,
                            fac_export_app_flags,
                            fac_export_app_timestamp)
    VALUES ('U4',
            'Stam/inkoop/verkoop',
            87,
            '.\U4',
            'U4_',
            '.txt', -- csv?
            '.log',
            0,
            'yymmdd');
COMMIT;

-- WEB_USER02=96
CREATE OR REPLACE VIEW venr_v_rap_finish_ssdinvoices AS SELECT NULL x FROM DUAL;
INSERT INTO FAC_USRRAP (fac_usrrap_omschrijving,
                        fac_usrrap_view_name,
                        fac_usrrap_in_huidige_locatie,
                        fac_usrrap_template,
                        fac_usrrap_macro,
                        fac_usrrap_vraagbegindatum,
                        fac_usrrap_vraageinddatum,
                        fac_usrrap_functie,
                        fac_usrrap_info,
                        fac_functie_key,
                        fac_usrrap_autorefresh)
    VALUES ('Vrijgeven SSD-facturen',
            'venr_v_rap_finish_ssdinvoices',
            NULL,
            NULL,
            NULL,
            0,
            0,
            1,
            'Overzicht van nog niet ter U4-export vrijgegeven borderels',
            96,
            0);
COMMIT;

-- WEB_USER30=124
CREATE OR REPLACE VIEW venr_v_rap_order2invoice_xref AS SELECT NULL x FROM DUAL;
INSERT INTO FAC_USRRAP (fac_usrrap_omschrijving,
                        fac_usrrap_view_name,
                        fac_usrrap_in_huidige_locatie,
                        fac_usrrap_template,
                        fac_usrrap_macro,
                        fac_usrrap_vraagbegindatum,
                        fac_usrrap_vraageinddatum,
                        fac_usrrap_functie,
                        fac_usrrap_info,
                        fac_functie_key,
                        fac_usrrap_autorefresh)
    VALUES ('Inkoopfacturen per borderel',
            'venr_v_rap_order2invoice_xref',
            NULL,
            NULL,
            NULL,
            0,
            0,
            0,
            'Overzicht van de verzameling inkoopfacturen per borderel',
            124,
            0);
COMMIT;

BEGIN adm.systrackscriptId('$Id$'); END;
/
SPOOL OFF
@venr.sql
