FCLT#56530 -- Omzetten WOWW van PLAT naar CND

svn path=/Customer/trunk/; revision=44410
This commit is contained in:
Arthur Egberink
2019-10-01 10:37:34 +00:00
parent 7982c19394
commit a40337d38c
2 changed files with 7 additions and 44 deletions

View File

@@ -400,19 +400,8 @@ SELECT 'Export Tobias-AX', 'plat_v_rap_mjob_tobiasax', 0, 'Draai dit rapport uit
FROM fac_functie f WHERE f.fac_functie_code = 'WEB_CTRUSE';
-- PLAT#53170: Koppelen van soort gebrek (mld_stdmelding) aan elementen obv importsheet
CREATE TABLE plat_imp_srtdeel_mlddiscipline
(
fac_import_key NUMBER(10),
ins_srtdeel_code VARCHAR2(10),
ins_srtgroep_omschrijving VARCHAR2(60),
ins_discipline_omschrijving VARCHAR2(60),
mld_discipline_omschrijving VARCHAR2(60)
);
INSERT INTO fac_import_app (fac_import_app_code, fac_import_app_oms, fac_functie_key, fac_import_app_charset, fac_import_app_prefix)
SELECT 'SRTDEEL_MLDDISC', 'Aanvullen van combinaties objectsoorten x standaard melding', fac_functie_key, 'UTF-8', 'PLAT'
FROM fac_functie
WHERE fac_functie_code = 'WEB_PRSSYS';
-- CREATE TABLE plat_imp_srtdeel_mlddiscipline
-- Is nu opgenomen in de CND_INI.sql
-- PLAT#52406: MJOB: Import van operationele resultaten (door MJOB-er zelf te doen?)
CREATE TABLE plat_imp_mjob_results
@@ -428,35 +417,9 @@ SELECT 'MJOB_RESULTS', 'Verwerken van de operationele resultaten in Plato', fac_
FROM fac_functie
WHERE fac_functie_code = 'WEB_CTRUSE';
--PLAT#53608: NEN2767 inspectie/gebreken import
CREATE TABLE plat_imp_nen2767_results
(
fac_import_key NUMBER(10),
alg_gebouw_code VARCHAR2(12),
ins_deel_omschrijving VARCHAR2(60),
mld_melding_datum VARCHAR2(20),
mld_melding_omschrijving VARCHAR2(2000),
prs_perslid_email VARCHAR2(200),
gebrekode VARCHAR2(20),
ernst VARCHAR2(50),
omvang VARCHAR2(50),
intensiteit VARCHAR2(50),
vg VARCHAR2(20),
ch VARCHAR2(20),
gb VARCHAR2(20),
tv VARCHAR2(20),
tk VARCHAR2(20),
be VARCHAR2(20),
foto VARCHAR2(50),
condscore NUMBER(6,2),
prioscore NUMBER(6,2)
);
INSERT INTO fac_import_app (fac_import_app_code, fac_import_app_oms, fac_functie_key, fac_import_app_charset, fac_import_app_prefix)
SELECT 'NEN2767_RESULTS', 'Verwerken van NEN2767 gebreken/resultaten in Plato', fac_functie_key, 'UTF-8', 'PLAT'
FROM fac_functie
WHERE fac_functie_code = 'WEB_PRSSYS';
-- PLAT#53608: NEN2767 inspectie/gebreken import
-- CREATE TABLE plat_imp_nen2767_results
-- Is nu opgenomen in de CND_INI.sql
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,

View File

@@ -132,13 +132,13 @@ INSERT INTO fac_usrrap (fac_usrrap_omschrijving,
-- Export functie waarmee elke xx minuten de nen-2767 conditiescore wordt berekend...
INSERT INTO fac_export_app (fac_export_app_code, fac_export_app_oms, fac_export_app_folder, fac_functie_key, fac_export_app_prefix, fac_export_app_flags)
SELECT 'NEN2767_COND_SCORE', 'Berekening van de NEN2767 Conditiescore', './NEN2767', fac_functie_key, 'PLAT', 2
SELECT 'NEN2767_COND_SCORE', 'Berekening van de NEN2767 Conditiescore', './NEN2767', fac_functie_key, 'CND', 2
FROM fac_functie
WHERE fac_functie_code = 'WEB_PRSSYS';
-- Export functie waarmee elke xx minuten de nen-2767 GEAGGREGEERDE conditiescore wordt berekend OP complex / clusternivo
INSERT INTO fac_export_app (fac_export_app_code, fac_export_app_oms, fac_export_app_folder, fac_functie_key, fac_export_app_prefix, fac_export_app_flags)
SELECT 'NEN2767_AGGR_SCORE', 'Berekening van de geaggregeerde NEN2767 Conditiescore', './NEN2767', fac_functie_key, 'PLAT', 2
SELECT 'NEN2767_AGGR_SCORE', 'Berekening van de geaggregeerde NEN2767 Conditiescore', './NEN2767', fac_functie_key, 'CND', 2
FROM fac_functie
WHERE fac_functie_code = 'WEB_PRSSYS';