VLKC#36864 Strukton-koppeling
svn path=/Customer/; revision=32033
This commit is contained in:
73
onces/VLKC/vlkc6.sql
Normal file
73
onces/VLKC/vlkc6.sql
Normal file
@@ -0,0 +1,73 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Customer specific once-script VLKC6.
|
||||
|
||||
DEFINE thisfile = 'VLKC6.SQL'
|
||||
DEFINE dbuser = '^VLKC'
|
||||
DEFINE custid = 'VLKC'
|
||||
|
||||
-- Import vanuit Strukton
|
||||
CREATE TABLE vlkc_imp_opdrstat_strukton
|
||||
(
|
||||
mld_opdr_key NUMBER (10),
|
||||
extern_nummer VARCHAR2 (100),
|
||||
status NUMBER (10),
|
||||
datumtijd DATE,
|
||||
opmerking VARCHAR2 (1000),
|
||||
totaal NUMBER (8, 2)
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
|
||||
INSERT INTO prs_perslid (prs_perslid_key,
|
||||
prs_perslid_module,
|
||||
prs_srtperslid_key,
|
||||
prs_afdeling_key,
|
||||
prs_perslid_naam,
|
||||
prs_perslid_voornaam,
|
||||
prs_perslid_nr,
|
||||
prs_perslid_oslogin,
|
||||
prs_perslid_dienstverband)
|
||||
SELECT 5,
|
||||
prs_perslid_module,
|
||||
prs_srtperslid_key,
|
||||
prs_afdeling_key,
|
||||
'Pseudo-user tbv. Strukton-koppeling',
|
||||
'-',
|
||||
'NIET VERWIJDEREN',
|
||||
'_STRUKTON',
|
||||
prs_perslid_dienstverband
|
||||
FROM prs_perslid
|
||||
WHERE prs_perslid_oslogin = '_FACILITOR';
|
||||
|
||||
COMMIT;
|
||||
|
||||
INSERT INTO fac_import_app (fac_import_app_code,
|
||||
fac_import_app_oms,
|
||||
fac_import_app_xsl,
|
||||
fac_functie_key,
|
||||
fac_import_app_folder,
|
||||
fac_import_app_files,
|
||||
fac_import_app_prefix)
|
||||
VALUES ('OPDRSTAT_STRUKTON',
|
||||
'Importeren opdrachtstatus vanuit Strukton',
|
||||
'import/strukton.xsl',
|
||||
92, -- PRSSYS
|
||||
'D:\Apps\Facilitor\Fplace5i\CUST\VLKC\import',
|
||||
'strukton*.xml',
|
||||
'VLKC');
|
||||
|
||||
------ payload end ------
|
||||
|
||||
SET DEFINE OFF
|
||||
BEGIN adm.systrackscriptId ('$Id$'); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
SET ECHO OFF
|
||||
SPOOL OFF
|
||||
SET DEFINE ON
|
||||
PROMPT Logfile of this upgrade is: &fcltlogfile
|
||||
|
||||
@@&custid
|
||||
Reference in New Issue
Block a user