FLEX#66530: Implementatie Facilitor Flex bij NIBC, gebruikers in juiste groep zetten
svn path=/Customer/; revision=50824
This commit is contained in:
@@ -26,7 +26,7 @@ SET DEFINE OFF
|
||||
|
||||
------ payload begin ------
|
||||
DECLARE
|
||||
-- Onderstaande cursor bevat alle mdw NIBC/ fac_groep_key = 18;
|
||||
-- Onderstaande cursor bevat alle mdw NIBC/ fac_groep_key = 201;
|
||||
CURSOR c_mdw IS
|
||||
SELECT p.prs_perslid_key
|
||||
FROM prs_perslid p
|
||||
@@ -36,16 +36,10 @@ BEGIN
|
||||
LOOP
|
||||
BEGIN
|
||||
INSERT INTO fac_gebruikersgroep (fac_groep_key, prs_perslid_key)
|
||||
VALUES (181, rec.prs_perslid_key);
|
||||
VALUES (201, rec.prs_perslid_key);
|
||||
|
||||
COMMIT;
|
||||
EXCEPTION
|
||||
WHEN OTHERS
|
||||
THEN
|
||||
fac.writelog ('Gebruiker in groep',
|
||||
'E',
|
||||
'Overwachte fout: ' || rec.prs_perslid_key,
|
||||
'');
|
||||
|
||||
END;
|
||||
END LOOP;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user