UWVA#76551 Rap/Toevoegen kolommen (regiomanager en projectleider FB)
svn path=/Customer/trunk/; revision=59313
This commit is contained in:
@@ -872,14 +872,14 @@ AS
|
||||
WHERE ok.alg_kenmerk_key = 1625
|
||||
AND ok.alg_onrgoed_niveau = 'D'
|
||||
AND fac.safe_to_number (ok.alg_onrgoedkenmerk_waarde) = pf.prs_perslid_key) rm
|
||||
ON a.alg_locatie_key = tcs.alg_onrgoed_key
|
||||
ON a.alg_locatie_key = rm.alg_onrgoed_key
|
||||
LEFT JOIN -- 1645=Projectleider FB
|
||||
(SELECT ok.alg_onrgoed_key, pf.prs_perslid_naam_full naam
|
||||
FROM alg_v_aanwezigonrgoedkenmerk ok, prs_v_perslid_fullnames_all pf
|
||||
WHERE ok.alg_kenmerk_key = 1645
|
||||
AND ok.alg_onrgoed_niveau = 'D'
|
||||
AND fac.safe_to_number (ok.alg_onrgoedkenmerk_waarde) = pf.prs_perslid_key) pl
|
||||
ON a.alg_locatie_key = tcs.alg_onrgoed_key
|
||||
ON a.alg_locatie_key = pl.alg_onrgoed_key
|
||||
WHERE (a.alg_srtgebouw_key = 61 AND c.alg_regio_key NOT IN (21, 41)) -- Satelliet
|
||||
OR e.cnt_alg_plaats_key IS NOT NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user