FCLT#85890 RESLIK, BESLIK en MLDLIK notificaties vanuit trigger gaf mutating error.

Maar FAC_PAC.SRC onderdrukt te ze toch al dus mogen we ook wel een '#' er voor zetten en dus eerder onderdrukken

svn path=/Database/trunk/; revision=67698
This commit is contained in:
Jos Groot Lipman
2025-01-22 15:16:34 +00:00
parent 125256c2eb
commit 34ad1bf8aa
3 changed files with 7 additions and 7 deletions

View File

@@ -64,7 +64,7 @@ BEGIN
IF (:new.bes_bestelling_satisfaction IS NOT NULL IF (:new.bes_bestelling_satisfaction IS NOT NULL
AND (:old.bes_bestelling_satisfaction IS NULL OR :old.bes_bestelling_satisfaction <> :new.bes_bestelling_satisfaction)) AND (:old.bes_bestelling_satisfaction IS NULL OR :old.bes_bestelling_satisfaction <> :new.bes_bestelling_satisfaction))
THEN THEN
fac.trackaction('BESLIK', :old.bes_bestelling_key, NULL , SYSDATE, REPLACE(lcl.l('lcl_faclike_changed'), '{0}', :new.bes_bestelling_satisfaction)); fac.trackaction('#BESLIK', :old.bes_bestelling_key, NULL , SYSDATE, REPLACE(lcl.l('lcl_faclike_changed'), '{0}', :new.bes_bestelling_satisfaction));
END IF; END IF;
END; END;
/ /

View File

@@ -14,7 +14,7 @@ END;
CREATE_TRIGGER(mld_t_mld_melding_tag_B_I) CREATE_TRIGGER(mld_t_mld_melding_tag_B_I)
BEFORE INSERT ON mld_melding_tag BEFORE INSERT ON mld_melding_tag
FOR EACH ROW FOR EACH ROW
BEGIN BEGIN
UPDATE_PRIMARY_KEY(mld_melding_tag_key, mld_s_mld_melding_tag_key); UPDATE_PRIMARY_KEY(mld_melding_tag_key, mld_s_mld_melding_tag_key);
END; END;
/ /
@@ -348,7 +348,7 @@ BEGIN
IF (:new.mld_melding_satisfaction IS NOT NULL IF (:new.mld_melding_satisfaction IS NOT NULL
AND (:old.mld_melding_satisfaction IS NULL OR :old.mld_melding_satisfaction <> :new.mld_melding_satisfaction)) AND (:old.mld_melding_satisfaction IS NULL OR :old.mld_melding_satisfaction <> :new.mld_melding_satisfaction))
THEN THEN
fac.trackaction('MLDLIK', :old.mld_melding_key, NULL , SYSDATE, REPLACE(lcl.l('lcl_faclike_changed'), '{0}', :new.mld_melding_satisfaction)); fac.trackaction('#MLDLIK', :old.mld_melding_key, NULL , SYSDATE, REPLACE(lcl.l('lcl_faclike_changed'), '{0}', :new.mld_melding_satisfaction));
END IF; END IF;
END; END;
/ /
@@ -1008,13 +1008,13 @@ END;
/ /
CREATE_TRIGGER(mld_t_ins_discipline_b_u) CREATE_TRIGGER(mld_t_ins_discipline_b_u)
BEFORE UPDATE ON ins_tab_discipline BEFORE UPDATE ON ins_tab_discipline
FOR EACH ROW FOR EACH ROW
BEGIN BEGIN
UPDATE mld_typeopdr_srtdiscipline UPDATE mld_typeopdr_srtdiscipline
SET mld_typeopdr_srtdiscipline.ins_srtdiscipline_key = :new.ins_srtdiscipline_key SET mld_typeopdr_srtdiscipline.ins_srtdiscipline_key = :new.ins_srtdiscipline_key
WHERE mld_typeopdr_srtdiscipline.ins_discipline_key = :new.ins_discipline_key WHERE mld_typeopdr_srtdiscipline.ins_discipline_key = :new.ins_discipline_key
AND :new.ins_discipline_module = 'MLD'; AND :new.ins_discipline_module = 'MLD';
END; END;
/ /

View File

@@ -426,7 +426,7 @@ BEGIN
IF (:new.res_rsv_ruimte_satisfaction IS NOT NULL IF (:new.res_rsv_ruimte_satisfaction IS NOT NULL
AND (:old.res_rsv_ruimte_satisfaction IS NULL OR :old.res_rsv_ruimte_satisfaction <> :new.res_rsv_ruimte_satisfaction)) AND (:old.res_rsv_ruimte_satisfaction IS NULL OR :old.res_rsv_ruimte_satisfaction <> :new.res_rsv_ruimte_satisfaction))
THEN THEN
fac.trackaction('RESLIK', :old.res_rsv_ruimte_key, NULL , SYSDATE, REPLACE(lcl.l('lcl_faclike_changed'), '{0}', :new.res_rsv_ruimte_satisfaction)); fac.trackaction('#RESLIK', :old.res_rsv_ruimte_key, NULL , SYSDATE, REPLACE(lcl.l('lcl_faclike_changed'), '{0}', :new.res_rsv_ruimte_satisfaction));
END IF; END IF;
END; END;
/ /