FCLT#64834 note_parent keys erbij om op een notitie te kunnen antwoorden

svn path=/Database/trunk/; revision=53375
This commit is contained in:
2021-10-13 15:38:26 +00:00
parent 4be0d6eb4a
commit b0e752865d
2 changed files with 18 additions and 2 deletions

View File

@@ -1326,7 +1326,8 @@ CREATE_TABLE(mld_melding_note, 0)
prs_perslid_key NUMBER (10) REFERENCES prs_perslid (prs_perslid_key) ON DELETE SET NULL,
fac_note_group_key NUMBER (10) REFERENCES fac_note_group(fac_note_group_key) ON DELETE SET NULL,
mld_melding_note_omschrijving VARCHAR2 (4000 CHAR),
mld_melding_note_flag NUMBER (2) DEFAULT 0 // &1=FE, &2= unused (Altijd zichtbaar voor FOBO), +4=UITV (redefined DB41)
mld_melding_note_flag NUMBER (2) DEFAULT 0, // &1=FE, &2= unused (Altijd zichtbaar voor FOBO), +4=UITV (redefined DB41)
mld_melding_note_parent_key NUMBER (10) DEFAULT NULL REFERENCES mld_melding_note (mld_melding_note_key) ON DELETE CASCADE
);
CREATE_TABLE(mld_opdr_note, 0)
@@ -1338,7 +1339,8 @@ CREATE_TABLE(mld_opdr_note, 0)
prs_perslid_key NUMBER (10) REFERENCES prs_perslid (prs_perslid_key) ON DELETE SET NULL,
fac_note_group_key NUMBER (10) REFERENCES fac_note_group(fac_note_group_key) ON DELETE SET NULL,
mld_opdr_note_omschrijving VARCHAR2 (4000 CHAR),
mld_opdr_note_flag NUMBER (2) DEFAULT 4 // &1=FE, &2= unused (Altijd zichtbaar voor FOBO), +4=UITV
mld_opdr_note_flag NUMBER (2) DEFAULT 4, // &1=FE, &2= unused (Altijd zichtbaar voor FOBO), +4=UITV
mld_opdr_note_parent_key NUMBER (10) DEFAULT NULL REFERENCES mld_opdr_note (mld_opdr_note_key) ON DELETE CASCADE
);
-- Improductieve opdrachten, alternatief van mld_opdr om uren op te registreren

View File

@@ -35,6 +35,20 @@ DEF_FAC_SRTNOT('ORDNOT', 1, 'lcl_noti_ORDNOT', 'mld/mld_melding.asp?mld_key=', '
--FAC_LCL('lcl_noti_ORDNOT', 'Er is een opmerking bij ##OPDRKEY## geplaatst door uitvoerende', 'New note from handler for ##OPDRKEY##')
--FAC_LCL('lcl_noti_ORDNOL', 'Er is een opmerking bij ##OPDRKEY## geplaatst door aanvrager', 'New note from requestor for ##OPDRKEY## ')
ALTER TABLE mld_melding_note ADD
mld_melding_note_parent_key
NUMBER (10)
DEFAULT NULL
REFERENCES mld_melding_note (mld_melding_note_key)
ON DELETE CASCADE;
ALTER TABLE mld_opdr_note ADD
mld_opdr_note_parent_key
NUMBER (10)
DEFAULT NULL
REFERENCES mld_opdr_note (mld_opdr_note_key)
ON DELETE CASCADE;
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#64017
_FAC_MODULE('WGT', 'lcl_module_WGT')