PIVP#83532 -- Uitbereiding met extra res catalogus
svn path=/Customer/trunk/; revision=64796
This commit is contained in:
@@ -3170,7 +3170,7 @@ CREATE OR REPLACE VIEW PIVP_V_RESEXPORT
|
||||
ponummer
|
||||
)
|
||||
AS
|
||||
SELECT rrr.res_rsv_ruimte_key,
|
||||
SELECT DISTINCT rrr.res_rsv_ruimte_key,
|
||||
rrr.res_reservering_key,
|
||||
rrr.RES_RSV_RUIMTE_VOLGNR,
|
||||
rr.res_ruimte_nr,
|
||||
@@ -3203,11 +3203,11 @@ AS
|
||||
WHERE rrr.res_status_bo_key=5
|
||||
AND rro.res_ruimte_opstel_key = rrr.res_ruimte_opstel_key
|
||||
AND rr.res_ruimte_key = rro.res_ruimte_key
|
||||
AND ra.res_activiteit_key=10
|
||||
AND ra.res_activiteit_key IN (10, 50)
|
||||
AND ra.res_activiteit_key=rrr.res_activiteit_key
|
||||
AND rad.res_activiteit_key=ra.res_activiteit_key
|
||||
AND rdi.ins_discipline_key = rad.res_discipline_key
|
||||
AND UPPER(rdi.ins_discipline_omschrijving)='PIVOT PARK (BETAALDE ZALEN)' -- alleen betaalde zalen
|
||||
AND UPPER(rdi.ins_discipline_omschrijving) IN ('PIVOT PARK (BETAALDE ZALEN)','PIVOT PARK (SPECIALE ZALEN)') -- alleen betaalde zalen
|
||||
AND p.prs_perslid_key=rrr.res_rsv_ruimte_host_key
|
||||
AND pa.prs_afdeling_key=p.prs_afdeling_key
|
||||
AND pa.prs_bedrijf_key=pb.prs_bedrijf_key
|
||||
|
||||
Reference in New Issue
Block a user