VBGO#74320 -- Werkplekken en tekeningen 1 op 1 overzetten
svn path=/Customer/trunk/; revision=57330
This commit is contained in:
@@ -4205,6 +4205,50 @@ AS
|
|||||||
AND stdf.mld_stdmelding_key = std.mld_stdmelding_key(+)
|
AND stdf.mld_stdmelding_key = std.mld_stdmelding_key(+)
|
||||||
AND faq_ins_discipline_key = fd.ins_discipline_key(+);
|
AND faq_ins_discipline_key = fd.ins_discipline_key(+);
|
||||||
|
|
||||||
|
CREATE OR REPLACE VIEW venr_v_ins_transport
|
||||||
|
AS
|
||||||
|
SELECT dg.ins_discipline_omschrijving disciplineomschrijving,
|
||||||
|
NULL disciplinekostensoort,
|
||||||
|
dg.ins_srtgroep_omschrijving groepsoortomschrijving,
|
||||||
|
sd.ins_srtdeel_upper objectsoortcode,
|
||||||
|
sd.ins_srtdeel_omschrijving objectsoortomschrijving,
|
||||||
|
d.ins_deel_omschrijving objectindentificatie,
|
||||||
|
d.ins_deel_opmerking objectopmerking,
|
||||||
|
DECODE (rd.res_deel_key, NULL, NULL, 'J') reserveerbaar,
|
||||||
|
sd.ins_srtdeel_eenheid eenheid,
|
||||||
|
rd.res_deel_prijs prijs,
|
||||||
|
l.alg_locatie_code locatiecode,
|
||||||
|
dg.alg_gebouw_upper gebouwcode,
|
||||||
|
dg.alg_verdieping_code bouwlaagvolgnummer,
|
||||||
|
dg.alg_ruimte_nr ruimtenummer,
|
||||||
|
DECODE(rd.res_deel_alg_level,
|
||||||
|
1, 'D',
|
||||||
|
2, 'L',
|
||||||
|
3, 'G',
|
||||||
|
4, 'V',
|
||||||
|
5, 'R') reserveringscope,
|
||||||
|
rid.ins_discipline_omschrijving catalogusnaam,
|
||||||
|
NULL persoonmatchcode,
|
||||||
|
NULL persoonmatchwaarde,
|
||||||
|
d.ins_deel_aanmaak ingangsdatum,
|
||||||
|
NULL vervaldatum,
|
||||||
|
dg.ins_deel_aantal aantal,
|
||||||
|
ins_deel_dwgx x,
|
||||||
|
ins_deel_dwgy y,
|
||||||
|
ins_deel_dwgrotatie rot,
|
||||||
|
ins_deel_dwgschaal schaal
|
||||||
|
FROM ins_v_deel_gegevens dg,
|
||||||
|
ins_deel d,
|
||||||
|
ins_srtdeel sd,
|
||||||
|
res_deel rd,
|
||||||
|
ins_tab_discipline rid,
|
||||||
|
alg_locatie l
|
||||||
|
WHERE dg.ins_deel_key = d.ins_deel_key
|
||||||
|
AND dg.ins_srtdeel_key = sd.ins_srtdeel_key
|
||||||
|
AND dg.ins_deel_key = rd.res_ins_deel_key(+)
|
||||||
|
AND rd.res_discipline_key = rid.ins_discipline_key(+)
|
||||||
|
AND dg.alg_locatie_key = l.alg_locatie_key;
|
||||||
|
|
||||||
------ payload end ------
|
------ payload end ------
|
||||||
|
|
||||||
SET DEFINE OFF
|
SET DEFINE OFF
|
||||||
|
|||||||
Reference in New Issue
Block a user