IMPU#89882 -- Inpassen INSTEMMING VOORAF in de meldingsstructuur van Impuls - INPASSEN OP TEAMACCOUNTS VIA AFAS_KOPPELING - zat nog foutje in..
svn path=/Customer/trunk/; revision=70149
This commit is contained in:
@@ -938,7 +938,7 @@ IS
|
||||
p.prs_perslid_key_verantw, -- huidige verantwoordelijke
|
||||
l.alg_locatie_key,
|
||||
-- eerste locatiemanager van die locatie
|
||||
(SELECT p.prs_perslid_key -- p.* -- min(p.alg_kenmerk_key)
|
||||
(SELECT p.prs_perslid_key
|
||||
FROM ( SELECT ROWNUM volgnr, v.*, ok.alg_kenmerk_key
|
||||
FROM impu_v_locatiemanagers v, alg_onrgoedkenmerk ok
|
||||
WHERE ok.alg_onrgoed_niveau = 'L'
|
||||
@@ -1230,7 +1230,7 @@ BEGIN
|
||||
v_errorhint:='Fout bijwerken verantwoordelijke in teamaccount';
|
||||
|
||||
-- als de huidge gekoppelde verantwoordelijke in de teamaccount-personenkaart anders is dan de waarde/locatiemanager uit de gekoppelde locatiekaart dan zaken updaten in teamaccount
|
||||
IF COALESCE(rec.prs_perslid_key_verantw, '<leeg>') <> COALESCE(rec.locatiemanager_key, '<leeg>')
|
||||
IF COALESCE(rec.prs_perslid_key_verantw, -1) <> COALESCE(rec.locatiemanager_key, -1)
|
||||
THEN
|
||||
|
||||
-- geen gevonden locatiemanager in locatiekaart dan verantwoordelijke in teamaccount verwijderen
|
||||
|
||||
Reference in New Issue
Block a user