NYBU#81852 Rapportages dupliceren - Vermaat - Catering Amsterdam
svn path=/Customer/trunk/; revision=63251
This commit is contained in:
@@ -18190,6 +18190,8 @@ AS
|
||||
|
||||
CREATE OR REPLACE VIEW NYBU_V_RAP_DAGLIJST_TAFELPLAN
|
||||
(
|
||||
LOCATIECODE,
|
||||
LOCATIEOMSCHRIJVING,
|
||||
RESERVERING,
|
||||
DATUM,
|
||||
DAG,
|
||||
@@ -18209,7 +18211,9 @@ CREATE OR REPLACE VIEW NYBU_V_RAP_DAGLIJST_TAFELPLAN
|
||||
MEDEWERKER
|
||||
)
|
||||
AS
|
||||
SELECT r.res_reservering_key || '/' || r.res_rsv_ruimte_volgnr
|
||||
SELECT locatie.alg_locatie_code,
|
||||
locatie.alg_locatie_omschrijving,
|
||||
r.res_reservering_key || '/' || r.res_rsv_ruimte_volgnr
|
||||
reservering,
|
||||
TRUNC (res_rsv_artikel_levering)
|
||||
datum,
|
||||
@@ -18371,11 +18375,12 @@ AS
|
||||
AND v.alg_verdieping_key = r.alg_verdieping_key) locatie,
|
||||
nybu_v_rap_paraplu_res p
|
||||
WHERE locatie.alg_ruimte_key = r2a.alg_ruimte_key
|
||||
AND locatie.alg_locatie_key = 29 -- Vermaat doet alleen locatie Breukelen
|
||||
AND r.res_rsv_ruimte_key = r2a.res_rsv_ruimte_key(+)
|
||||
AND r.res_rsv_ruimte_key = p.break_rsv_ruimte_key(+)
|
||||
UNION ALL
|
||||
SELECT r.res_reservering_key || '/' || r.res_rsv_ruimte_volgnr
|
||||
SELECT locatie.alg_locatie_code,
|
||||
locatie.alg_locatie_omschrijving,
|
||||
r.res_reservering_key || '/' || r.res_rsv_ruimte_volgnr
|
||||
reservering,
|
||||
TRUNC (res_rsv_artikel_levering)
|
||||
datum,
|
||||
@@ -18565,7 +18570,6 @@ AS
|
||||
AND v.alg_verdieping_key = r.alg_verdieping_key) locatie,
|
||||
nybu_v_rap_paraplu_res p
|
||||
WHERE locatie.alg_ruimte_key = r2a.alg_ruimte_key
|
||||
AND locatie.alg_locatie_key = 29 -- Vermaat doet alleen locatie Breukelen
|
||||
AND r.res_rsv_ruimte_key = r2a.res_rsv_ruimte_key(+)
|
||||
AND r.res_rsv_ruimte_key = p.break_rsv_ruimte_key(+);
|
||||
|
||||
@@ -19641,6 +19645,8 @@ CREATE OR REPLACE VIEW NYBU_V_RAP_VERMAAT_GROEPERING
|
||||
(
|
||||
HIDE_F_DATUM,
|
||||
HIDE_F_RSV_RUIMTE,
|
||||
LOCATIECODE,
|
||||
LOCATIEOMSCHRIJVING,
|
||||
RESNR,
|
||||
DAG,
|
||||
RUIMTE,
|
||||
@@ -19663,6 +19669,8 @@ AS
|
||||
SELECT DISTINCT
|
||||
res_rsv_artikel_levering,
|
||||
r.res_rsv_ruimte_key,
|
||||
locatie.alg_locatie_code,
|
||||
locatie.alg_locatie_omschrijving,
|
||||
r.res_reservering_key || '/' || r.res_rsv_ruimte_volgnr,
|
||||
TO_CHAR (res_rsv_ruimte_van, 'DAY')
|
||||
dag,
|
||||
@@ -19884,8 +19892,7 @@ AS
|
||||
AND g.alg_gebouw_key = v.alg_gebouw_key
|
||||
AND v.alg_verdieping_key = r.alg_verdieping_key) locatie,
|
||||
nybu_v_rap_paraplu_res paraplu
|
||||
WHERE locatie.alg_ruimte_key = r2a.alg_ruimte_key
|
||||
AND locatie.alg_locatie_key = 29 -- Vermaat doet alleen locatie Breukelen
|
||||
WHERE locatie.alg_ruimte_key = r2a.alg_ruimte_key
|
||||
AND r.res_rsv_ruimte_key = r2a.res_rsv_ruimte_key(+)
|
||||
AND r.res_rsv_ruimte_key = paraplu.break_rsv_ruimte_key(+);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user