FLEX#65401: Implementatie Facilitor Flex bij ROGPlus --> klaarzetten voor productie
svn path=/Customer/; revision=51931
This commit is contained in:
@@ -27,7 +27,7 @@ SET DEFINE OFF
|
||||
------ payload begin ------
|
||||
|
||||
DECLARE
|
||||
-- Onderstaande cursor bevat alle mdw ROGPlus/ fac_groep_key = 221;
|
||||
-- Onderstaande cursor bevat alle mdw ROGPlus/ fac_groep_key = 261;
|
||||
CURSOR c_mdw IS
|
||||
SELECT p.prs_perslid_key
|
||||
FROM prs_perslid p
|
||||
@@ -35,13 +35,13 @@ DECLARE
|
||||
AND p.prs_perslid_verwijder IS NULL
|
||||
AND p.prs_perslid_key NOT IN (SELECT g.prs_perslid_key
|
||||
FROM fac_gebruikersgroep g
|
||||
WHERE g.fac_groep_key = 221);
|
||||
WHERE g.fac_groep_key = 261);
|
||||
BEGIN
|
||||
FOR rec IN c_mdw
|
||||
LOOP
|
||||
BEGIN
|
||||
INSERT INTO fac_gebruikersgroep (fac_groep_key, prs_perslid_key)
|
||||
VALUES (221, rec.prs_perslid_key);
|
||||
VALUES (261, rec.prs_perslid_key);
|
||||
|
||||
COMMIT;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user