FSN#41836 ook collega's wissen bij verwijderen van persoon
svn path=/Database/trunk/; revision=35187
This commit is contained in:
@@ -209,6 +209,10 @@ BEGIN
|
||||
SET prs_perslid_key = NULL
|
||||
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
|
||||
-- Pak mijn autorisaties af
|
||||
DELETE FROM FAC_GEBRUIKERSGROEP WHERE PRS_PERSLID_KEY = :old.prs_perslid_key;
|
||||
|
||||
Reference in New Issue
Block a user