-- Customer specific once-script AAVG1

SET ECHO ON
SPOOL xAAVG1
SET DEFINE OFF

-- AAXX EXACT
-- AAXX VERWERK_EXACT
-- AAVG EXACT_VERKOOP
-- AAVG EXACT_VERKOOP_VJ
-- AAVG EXACT_UREN
-- AAVG VERWERK_EXACT_UREN
-- AAVG BUNDEL_CATERING
-- AAXX DAILY_TASK

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,
                            fac_export_app_prefix)
    VALUES ('EXACT',
            '',
            66,
            'd:\Apps\Facilitor\Webdav\aafm\Productie\AAVG\inkoop',
            'exact_aavg_',
            '.xml',
            '.log',
            2,
            'yyyymmdd',
            'AAXX');
    
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,
                            fac_export_app_prefix)
    VALUES ('VERWERK_EXACT',
            '',
            66,
            '.\LOG',
            'exact_aavg_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAXX');

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,
                            fac_export_app_prefix)
    VALUES ('EXACT_VERKOOP',
            '',
            66,
            'd:\Apps\Facilitor\Webdav\aafm\Productie\AAVG\verkoop',
            'exact_vk_aavg_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAVG');

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,
                            fac_export_app_prefix)
    VALUES ('EXACT_VERKOOP_VJ',
            '',
            66,
            'd:\Apps\Facilitor\Webdav\aafm\Productie\AAVG\verkoop',
            'exact_vk_aavg_vj_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAVG');

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,
                            fac_export_app_prefix)
    VALUES ('EXACT_UREN',
            '',
            66,
            'd:\Apps\Facilitor\Webdav\aafm\Productie\AAVG\uren',
            'aavg_exact_uren_',
            '.xml',
            '.log',
            2,
            'yyyymmdd',
            'AAVG');

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,
                            fac_export_app_prefix)
    VALUES ('VERWERK_EXACT_UREN',
            '',
            66,
            '.\LOG',
            'aavg_vw_exact_uren_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAVG');

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,
                            fac_export_app_prefix)
    VALUES ('BUNDEL_CATERING',
            '',
            66,
            '.\LOG',
            'catering_aavg_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAVG');

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,
                            fac_export_app_prefix)
    VALUES ('DAILY_TASK',
            '',
            66,
            '.\LOG',
            'daily_task_',
            '.csv',
            '.log',
            0,
            'yyyymmdd',
            'AAXX');

BEGIN adm.systrackscriptId('$Id$'); END;
/
COMMIT;

SPOOL OFF

@aavg.sql

SET ECHO OFF