BLCC#73503 Alle Verbruiksartikelen-catalogi scopen op alle Locaties=Gebouwclusters
svn path=/Customer/; revision=56557
This commit is contained in:
@@ -21,12 +21,12 @@ SET DEFINE OFF
|
||||
------ payload begin ------
|
||||
|
||||
-- BLCC#73503: Alle Verbruiksartikelen-catalogi scopen op alle locaties!
|
||||
INSERT INTO alg_locatie (alg_onrgoed_key, alg_onrgoed_niveau, res_discipline_key)
|
||||
INSERT INTO res_srtartikel_onrgoed (alg_onrgoed_key, alg_onrgoed_niveau, res_discipline_key)
|
||||
SELECT l.alg_locatie_key alg_onrgoed_key,
|
||||
'L' alg_onrgoed_niveau,
|
||||
rd.ins_discipline_key res_discipline_key
|
||||
FROM alg_v_aanweziglocatie l, res_discipline rd
|
||||
WHERE l.alg_locatie_key > 1
|
||||
WHERE l.alg_locatie_key > 1
|
||||
AND rd.ins_discipline_verwijder IS NULL
|
||||
AND rd.ins_discipline_min_level = 2
|
||||
ORDER BY 1, 2, 3;
|
||||
|
||||
Reference in New Issue
Block a user