MNNL#56589 discipline toegevoegd aan lijst

svn path=/Customer/trunk/; revision=41072
This commit is contained in:
Daan Brandt
2019-02-20 13:43:36 +00:00
parent 2653192f6a
commit 859f1d5af5

View File

@@ -2473,7 +2473,7 @@ AS
WHERE d.ins_srtdeel_key = sd.ins_srtdeel_key
AND sd.ins_srtgroep_key = sg.ins_srtgroep_key
AND sg.ins_discipline_key = td.ins_discipline_key
AND td.ins_discipline_key = 1104 -- EndUser Asset
AND td.ins_discipline_key IN (1104, 1741) -- EndUser Asset, uitleen Assets
AND d.ins_alg_ruimte_type = 'A'
AND d.ins_alg_ruimte_key = a.prs_afdeling_key
UNION ALL
@@ -2499,7 +2499,7 @@ AS
WHERE d.ins_srtdeel_key = sd.ins_srtdeel_key
AND sd.ins_srtgroep_key = sg.ins_srtgroep_key
AND sg.ins_discipline_key = td.ins_discipline_key
AND td.ins_discipline_key = 1104 -- EndUser Asset
AND td.ins_discipline_key IN (1104, 1741) -- EndUser Asset, uitleen Assets
AND d.ins_alg_ruimte_type = 'P'
AND d.ins_alg_ruimte_key = p.prs_perslid_key
UNION ALL
@@ -2528,7 +2528,7 @@ AS
WHERE d.ins_srtdeel_key = sd.ins_srtdeel_key
AND sd.ins_srtgroep_key = sg.ins_srtgroep_key
AND sg.ins_discipline_key = td.ins_discipline_key
AND td.ins_discipline_key = 1104 -- EndUser Asset
AND td.ins_discipline_key IN (1104, 1741) -- EndUser Asset, uitleen Assets
AND d.ins_alg_ruimte_type = 'R'
AND d.ins_alg_ruimte_key = r.alg_ruimte_key
AND r.alg_verdieping_key = v.alg_verdieping_key