SGGR#83501 update perslid WD aangepast zodat de juiste verantwoordelijke wordt weggeschreven bij medewerkers
svn path=/Customer/trunk/; revision=70988
This commit is contained in:
@@ -3864,8 +3864,7 @@ IS
|
||||
CURSOR c_ver IS
|
||||
SELECT p.prs_perslid_key, mgr.prs_perslid_key prs_perslid_key_verantw
|
||||
FROM fac_imp_perslid i, prs_perslid mgr, prs_perslid p
|
||||
WHERE mgr.prs_perslid_nr = i.prs_kenmerk20
|
||||
AND p.prs_perslid_key = i.prs_perslid_key
|
||||
WHERE mgr.prs_perslid_nr = i.prs_kenmerk20
|
||||
AND p.prs_perslid_key = i.prs_perslid_key
|
||||
AND mgr.prs_perslid_verwijder IS NULL
|
||||
AND ( p.prs_perslid_key_verantw <> mgr.prs_perslid_key
|
||||
|
||||
Reference in New Issue
Block a user