VNOG#78645 VNOG0

svn path=/Customer/trunk/; revision=64443
This commit is contained in:
Maarten van der Heide
2024-04-29 20:40:16 +00:00
parent 257c0fd8d7
commit 6f7dad9711

View File

@@ -22,9 +22,9 @@ SET DEFINE OFF
------ payload begin ------
-- QRcode rapportage (objecten / meldingen)
-- QR-code rapportage (objecten / meldingen).
CREATE OR REPLACE VIEW vnog_v_rap_qrc
AS
AS
SELECT i.ins_deel_omschrijving hide_f_sort,
l.alg_locatie_code || ' ' || l.alg_locatie_omschrijving
fclt_f_locatie,
@@ -41,28 +41,27 @@ CREATE OR REPLACE VIEW vnog_v_rap_qrc
i.ins_discipline_key fclt_3d_discipline_key,
l.alg_locatie_key fclt_3d_locatie_key,
i.ins_alg_ruimte_type,
i.ins_alg_ruimte_key
i.ins_alg_ruimte_key,
b.fac_bookmark_id hide_f_bookmark_id
FROM ins_deel i,
ins_v_alg_overzicht o,
FROM fac_bookmark b,
ins_deel i,
ins_srtdeel s,
ins_srtgroep g,
ins_discipline d,
alg_locatie l,
fac_bookmark b
ins_v_alg_overzicht o,
alg_locatie l
WHERE b.fac_bookmark_naam = 'QRC_MELDING'
AND (b.fac_bookmark_expire IS NULL
OR b.fac_bookmark_expire > SYSDATE)
AND ins_deel_verwijder IS NULL
AND (b.fac_bookmark_expire IS NULL OR b.fac_bookmark_expire > SYSDATE)
AND i.ins_deel_verwijder IS NULL
AND i.ins_deel_module = 'INS'
AND i.ins_deel_parent_key IS NULL
AND s.ins_srtdeel_key = i.ins_srtdeel_key
AND g.ins_srtgroep_key = s.ins_srtgroep_key
AND d.ins_discipline_key = g.ins_discipline_key
AND o.alg_onroerendgoed_keys = i.ins_alg_ruimte_key
AND o.alg_onroerendgoed_type = i.ins_alg_ruimte_type
AND i.ins_srtdeel_key = s.ins_srtdeel_key
AND s.ins_srtgroep_key = g.ins_srtgroep_key
AND g.ins_discipline_key = d.ins_discipline_key
AND i.ins_alg_ruimte_type = o.alg_onroerendgoed_type
AND i.ins_alg_ruimte_key = o.alg_onroerendgoed_keys
AND i.ins_alg_ruimte_type IN ('T', 'R', 'W')
AND o.alg_locatie_key = i.ins_alg_locatie_key
AND i.ins_alg_locatie_key = o.alg_locatie_key
AND i.ins_alg_locatie_key = l.alg_locatie_key;
/*
-- Mail2Melding-stromen: