-- Customer specific once-script AAGN1

SET ECHO ON
SPOOL xAAGN2
SET DEFINE OFF

-- AAXX EXACT
-- AAXX VERWERK_EXACT
-- AAAH EXACT_VERKOOP
-- AAAH EXACT_VERKOOP_VJ
-- AAAH EXACT_UREN
-- AAAH VERWERK_EXACT_UREN
-- AAAH 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\AAGN\inkoop',
            'exact_aagn_',
            '.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_aagn_',
            '.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\AAGN\verkoop',
            'exact_vk_aagn_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAGN');

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\AAGN\verkoop',
            'exact_vk_aagn_vj_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAGN');

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\AAGN\uren',
            'aagn_exact_uren_',
            '.xml',
            '.log',
            2,
            'yyyymmdd',
            'AAGN');

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',
            'aagn_vw_exact_uren_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAGN');

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_aagn_',
            '.csv',
            '.log',
            2,
            'yyyymmdd',
            'AAGN');

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

@aagn.sql

SET ECHO OFF