From 41a79656cd5fcb094fc39336c83606be9c87739f Mon Sep 17 00:00:00 2001 From: Erik Groener Date: Fri, 10 May 2024 09:07:36 +0000 Subject: [PATCH] FCLT#83649 bes_srtprod, bes_srtprod_prijs, bes_bedrijf_srtprod en bes_bedrijf_b uitfaseren svn path=/Database/trunk/; revision=64597 --- BES/BES_SEQ.SRC | 1 - BES/BES_TAB.SRC | 14 -------------- BES/BES_TRI.SRC | 8 -------- _UP/DB47to48.src | 5 +++++ 4 files changed, 5 insertions(+), 23 deletions(-) diff --git a/BES/BES_SEQ.SRC b/BES/BES_SEQ.SRC index ce603eab..19318ee4 100644 --- a/BES/BES_SEQ.SRC +++ b/BES/BES_SEQ.SRC @@ -25,7 +25,6 @@ CREATE SEQUENCE bes_s_bes_favoriet_key MINVALUE 1; CREATE SEQUENCE bes_s_bes_staffeltabel_key MINVALUE 1; CREATE SEQUENCE bes_s_bes_staffel_key MINVALUE 1; -CREATE SEQUENCE bes_s_bes_grootheid_key MINVALUE 1; CREATE SEQUENCE bes_s_bes_srtdeel_prijs_key MINVALUE 1; REGISTERONCE('$Id$') diff --git a/BES/BES_TAB.SRC b/BES/BES_TAB.SRC index 62987d43..c5d4968d 100644 --- a/BES/BES_TAB.SRC +++ b/BES/BES_TAB.SRC @@ -43,20 +43,6 @@ CREATE_TABLE(bes_srtgroep,0) CONSTRAINT bes_u_bes_srtgroep_oms UNIQUE(ins_discipline_key, bes_srtgroep_omschrijving, bes_srtgroep_verwijder) ); --- Gewicht/volume/aantal van een artikel -CREATE_TABLE(bes_grootheid,0) -( - bes_grootheid_key - NUMBER(10) - CONSTRAINT bes_k_bes_grootheid_key PRIMARY KEY, - /* Naam is b.v. kilogram, liter, aantal (of gram, milliliter, aantal, ...)*/ - bes_grootheid_naam - VARCHAR2(25), - bes_grootheid_verwijder - DATE - DEFAULT NULLDATUM -); - -- Assortiment van producent/fabrikant (genormaliseerde producten) CREATE_TABLE(bes_srtdeel,0) diff --git a/BES/BES_TRI.SRC b/BES/BES_TRI.SRC index 568384bf..9ceb955b 100644 --- a/BES/BES_TRI.SRC +++ b/BES/BES_TRI.SRC @@ -600,14 +600,6 @@ BEGIN END; / -CREATE_TRIGGER(bes_t_bes_grootheid_B_IU) -BEFORE INSERT OR UPDATE ON bes_grootheid -FOR EACH ROW -BEGIN - UPDATE_PRIMARY_KEY(bes_grootheid_key, bes_s_bes_grootheid_key); - END; -/ - CREATE_TRIGGER(bes_t_bes_srtdeel_prijs_B_IU) BEFORE INSERT OR UPDATE ON bes_srtdeel_prijs FOR EACH ROW diff --git a/_UP/DB47to48.src b/_UP/DB47to48.src index e51625d2..cf5d1273 100644 --- a/_UP/DB47to48.src +++ b/_UP/DB47to48.src @@ -186,6 +186,11 @@ UPDATE fac_groep SET fac_groep_opmerking = 'Systeemautorisatiegroep voor ALLE ge UPDATE fac_groep SET fac_groep_opmerking = 'Systeemautorisatiegroep voor Facilitor-ondersteuning' WHERE fac_groep_upper = '_FACILITOR' AND fac_groep_opmerking IS NULL; UPDATE fac_groep SET fac_groep_opmerking = 'Systeemautorisatiegroep voor de Facilitor-mailserver' WHERE fac_groep_upper = '_HMAIL' AND fac_groep_opmerking IS NULL; +/////////////////////////////////////////////////////////////////////////////////////////// FCLT#83649 +DROP SEQUENCE bes_s_bes_grootheid_key; +DROP TRIGGER bes_t_bes_grootheid_B_IU; +DROP TABLE bes_grootheid; + /////////////////////////////////////////////////////////////////////////////////////////// FCLT#00000