FCLT#57833: Normalisering van de opdrachttypes.

svn path=/Database/trunk/; revision=43252
This commit is contained in:
Maykel Geerdink
2019-07-08 10:04:15 +00:00
parent 9bc26357e0
commit c097425388
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ CREATE_TABLE(mld_typeopdr,0)
CONSTRAINT ins_c_mld_typeopdr_totaal CHECK(mld_typeopdr_totaal IN (0, 1)),
mld_typeopdr_factuur
NUMBER(1)
DEFAULT 0
DEFAULT 3
NOT NULL
CONSTRAINT ins_c_mld_typeopdr_factuur CHECK(mld_typeopdr_factuur IN (0, 1, 2, 3, 4)),
mld_typeopdr_afmeldmarge /* aantal dagen dat afmeldtijdstip vroeger mag zijn dan sysdate */

View File

@@ -316,7 +316,7 @@ UPDATE mld_typeopdr
UPDATE mld_typeopdr
SET mld_typeopdr_uren = 0,
mld_typeopdr_materiaal = 1,
mld_typeopdr_materiaal = 2,
mld_typeopdr_totaal = 0,
mld_typeopdr_factuur = 3
WHERE mld_typeopdr_matchtype = 5;