FCLT#83649 bes_srtprod, bes_srtprod_prijs, bes_bedrijf_srtprod en bes_bedrijf_b uitfaseren

svn path=/Database/trunk/; revision=64597
This commit is contained in:
Erik Groener
2024-05-10 09:07:36 +00:00
parent cb68098d52
commit 41a79656cd
4 changed files with 5 additions and 23 deletions

View File

@@ -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$')

View File

@@ -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)

View File

@@ -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

View File

@@ -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