FSN#27454 DELETE trigger moet niet aan :NEW refereren
svn path=/Database/trunk/; revision=19106
This commit is contained in:
@@ -61,7 +61,7 @@ CREATE_TRIGGER(bes_t_bes_bestelling_a_d)
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
-- Alle BES% weggooien. XML generatie zou er toch op falen
|
||||
fac.clrnotifications ('BES%', :new.bes_bestelling_key);
|
||||
fac.clrnotifications ('BES%', :old.bes_bestelling_key);
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
@@ -266,10 +266,9 @@ FOR EACH ROW
|
||||
BEGIN
|
||||
UPDATE ins_deel
|
||||
SET ins_alg_ruimte_type = 'R',
|
||||
ins_alg_ruimte_key = :new.prs_alg_ruimte_key
|
||||
WHERE ins_deel.ins_alg_ruimte_key = :NEW.prs_werkplek_key
|
||||
AND ins_deel.ins_alg_ruimte_type = 'W'
|
||||
AND ins_deel.ins_deel_verwijder IS NULL;
|
||||
ins_alg_ruimte_key = :old.prs_alg_ruimte_key
|
||||
WHERE ins_deel.ins_alg_ruimte_key = :old.prs_werkplek_key
|
||||
AND ins_deel.ins_alg_ruimte_type = 'W';
|
||||
END;
|
||||
/
|
||||
CREATE_TRIGGER(prs_t_prs_ruimteafdeling_B_IU)
|
||||
|
||||
Reference in New Issue
Block a user