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:
@@ -64,7 +64,7 @@ BEGIN
|
||||
IF (:new.bes_bestelling_satisfaction IS NOT NULL
|
||||
AND (:old.bes_bestelling_satisfaction IS NULL OR :old.bes_bestelling_satisfaction <> :new.bes_bestelling_satisfaction))
|
||||
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;
|
||||
/
|
||||
|
||||
@@ -14,7 +14,7 @@ END;
|
||||
CREATE_TRIGGER(mld_t_mld_melding_tag_B_I)
|
||||
BEFORE INSERT ON mld_melding_tag
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
BEGIN
|
||||
UPDATE_PRIMARY_KEY(mld_melding_tag_key, mld_s_mld_melding_tag_key);
|
||||
END;
|
||||
/
|
||||
@@ -348,7 +348,7 @@ BEGIN
|
||||
IF (:new.mld_melding_satisfaction IS NOT NULL
|
||||
AND (:old.mld_melding_satisfaction IS NULL OR :old.mld_melding_satisfaction <> :new.mld_melding_satisfaction))
|
||||
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;
|
||||
/
|
||||
@@ -1008,13 +1008,13 @@ END;
|
||||
/
|
||||
|
||||
CREATE_TRIGGER(mld_t_ins_discipline_b_u)
|
||||
BEFORE UPDATE ON ins_tab_discipline
|
||||
BEFORE UPDATE ON ins_tab_discipline
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
BEGIN
|
||||
UPDATE mld_typeopdr_srtdiscipline
|
||||
SET mld_typeopdr_srtdiscipline.ins_srtdiscipline_key = :new.ins_srtdiscipline_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;
|
||||
/
|
||||
|
||||
|
||||
@@ -426,7 +426,7 @@ BEGIN
|
||||
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))
|
||||
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;
|
||||
/
|
||||
|
||||
Reference in New Issue
Block a user