FLEX#65401: Implementatie Facilitor Flex bij ROGPlus --> klaarzetten voor productie

svn path=/Customer/; revision=51931
This commit is contained in:
Suzan Wiegerinck
2021-06-15 08:31:26 +00:00
parent 79ff9e20f8
commit 96bfc53ebc

View File

@@ -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;