FCLT#55831 Laatste notitie wijzigen onafhankelijk van tracking

svn path=/Database/trunk/; revision=40871
This commit is contained in:
Alex Tiehuis
2019-02-08 13:44:43 +00:00
parent 8760ed54c5
commit bbf754100b

View File

@@ -716,7 +716,7 @@ CREATE OR REPLACE TRIGGER mld_t_mld_melding_note_b_u
BEFORE INSERT OR UPDATE ON mld_melding_note
FOR EACH ROW
BEGIN
IF :new.mld_melding_note_omschrijving <> :old.mld_melding_note_omschrijving
IF :new.mld_melding_note_omschrijving <> :old.mld_melding_note_omschrijving OR :old.mld_melding_note_omschrijving IS NULL
THEN
:new.mld_melding_note_wijzigdatum := SYSDATE;
END IF;
@@ -727,7 +727,7 @@ CREATE OR REPLACE TRIGGER mld_t_mld_opdr_note_B_U
BEFORE INSERT OR UPDATE ON mld_opdr_note
FOR EACH ROW
BEGIN
IF :new.mld_opdr_note_omschrijving <> :old.mld_opdr_note_omschrijving
IF :new.mld_opdr_note_omschrijving <> :old.mld_opdr_note_omschrijving OR :old.mld_opdr_note_omschrijving IS NULL
THEN
:new.mld_opdr_note_wijzigdatum := SYSDATE;
END IF;