FSN#41836 ook collega's wissen bij verwijderen van persoon
svn path=/Database/trunk/; revision=35187
This commit is contained in:
@@ -208,7 +208,11 @@ BEGIN
|
|||||||
UPDATE prs_contactpersoon
|
UPDATE prs_contactpersoon
|
||||||
SET prs_perslid_key = NULL
|
SET prs_perslid_key = NULL
|
||||||
WHERE prs_perslid_key = :old.prs_perslid_key;
|
WHERE prs_perslid_key = :old.prs_perslid_key;
|
||||||
|
|
||||||
|
-- Verwijder vervangingsregistraties heen en terug
|
||||||
|
DELETE FROM prs_collega
|
||||||
|
WHERE prs_perslid_key = :old.prs_perslid_key OR prs_perslid_key_alt = :old.prs_perslid_key;
|
||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
-- Pak mijn autorisaties af
|
-- Pak mijn autorisaties af
|
||||||
DELETE FROM FAC_GEBRUIKERSGROEP WHERE PRS_PERSLID_KEY = :old.prs_perslid_key;
|
DELETE FROM FAC_GEBRUIKERSGROEP WHERE PRS_PERSLID_KEY = :old.prs_perslid_key;
|
||||||
|
|||||||
Reference in New Issue
Block a user