STPH#30489: Implementatie STPH Initieel
svn path=/Customer/; revision=23406
This commit is contained in:
75
onces/STPH/stph01.sql
Normal file
75
onces/STPH/stph01.sql
Normal file
@@ -0,0 +1,75 @@
|
||||
-- Customer specific once-script STPH.
|
||||
--
|
||||
-- (c) 2011 SG|facilitor bv
|
||||
-- $Revision$
|
||||
-- $Id$
|
||||
--
|
||||
-- Support: +31 53 4800700
|
||||
|
||||
SET ECHO ON
|
||||
SPOOL stph01.lst
|
||||
SET DEFINE OFF
|
||||
|
||||
|
||||
INSERT INTO fac_import_app
|
||||
(fac_import_app_code, fac_import_app_oms,
|
||||
fac_functie_key, fac_import_app_prefix,
|
||||
fac_import_app_folder, fac_import_app_files)
|
||||
SELECT 'PERSLID', 'AFAS - Import persoonsgegevens',
|
||||
fac_functie_key, 'STPH',
|
||||
'd:\Apps\Facilitor\ftp_sites\LocalUser\STPHftp\AFAS', '*.csv'
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_PRSSYS';
|
||||
|
||||
INSERT INTO fac_export_app
|
||||
(fac_export_app_code, fac_export_app_flags, fac_export_app_oms, fac_export_app_timestamp,
|
||||
fac_functie_key, fac_export_app_prefix,
|
||||
fac_export_app_folder, fac_export_app_file_prefix, fac_export_app_postfix, fac_export_app_log_postfix)
|
||||
SELECT 'DBS', 2, 'Export van goedgekeurde facturen naar DBS', 'yyyymmdd_HHMM',
|
||||
fac_functie_key, 'STPH',
|
||||
'd:\Apps\Facilitor\ftp_sites\LocalUser\STPHftp\DBS', 'dbs_', '.txt', '.log'
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_PRSSYS';
|
||||
|
||||
INSERT INTO fac_export_app
|
||||
(fac_export_app_code, fac_export_app_flags, fac_export_app_oms, fac_export_app_timestamp,
|
||||
fac_functie_key, fac_export_app_prefix,
|
||||
fac_export_app_folder, fac_export_app_file_prefix, fac_export_app_postfix, fac_export_app_log_postfix)
|
||||
SELECT 'UNDO_DBS', 2, 'Ongedaan maken laatste DBS export','yyyymmdd_HHMM',
|
||||
fac_functie_key, 'STPH',
|
||||
'd:\Apps\Facilitor\ftp_sites\LocalUser\STPHftp\DBS', 'undo_dbs_', '.txt', '.log'
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_PRSSYS';
|
||||
|
||||
INSERT INTO fac_export_app
|
||||
(fac_export_app_code, fac_export_app_oms, fac_export_app_timestamp,
|
||||
fac_functie_key, fac_export_app_prefix,
|
||||
fac_export_app_folder, fac_export_app_file_prefix, fac_export_app_postfix, fac_export_app_log_postfix)
|
||||
SELECT 'CATERING_DBS', 'Export van res-catering van vorige maand naar DBS', 'yyyymmdd_HHMM',
|
||||
fac_functie_key, 'STPH',
|
||||
'd:\Apps\Facilitor\ftp_sites\LocalUser\STPHftp\DBS', 'dbs_catering_', '.txt', '.log'
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_PRSSYS';
|
||||
|
||||
|
||||
INSERT INTO fac_export_app
|
||||
(fac_export_app_code, fac_export_app_flags, fac_export_app_oms, fac_export_app_timestamp,
|
||||
fac_functie_key, fac_export_app_prefix,
|
||||
fac_export_app_folder, fac_export_app_file_prefix, fac_export_app_postfix, fac_export_app_log_postfix)
|
||||
SELECT 'INTERN_BES_DBS', 2, 'Export doorbelasten magazijnbestellingen naar DBS', 'yyyymmdd_HHMM',
|
||||
fac_functie_key, 'STPH',
|
||||
'd:\Apps\Facilitor\ftp_sites\LocalUser\STPHftp\DBS', 'dbs_magazijnbestel_', '.txt', '.log'
|
||||
FROM fac_functie
|
||||
WHERE fac_functie_code = 'WEB_PRSSYS';
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
BEGIN adm.systrackscript('$Workfile: stph01.sql $', '$Revision$', 1); END;
|
||||
/
|
||||
|
||||
SPOOL OFF
|
||||
|
||||
@stph.sql
|
||||
Reference in New Issue
Block a user