FMHN#67972 Minimumcapaciteit voor reservering kunnen instellen
svn path=/Database/trunk/; revision=52495
This commit is contained in:
@@ -6407,6 +6407,7 @@ FAC_LCL('res_v_aanwezigruimte_m', 'Reserveerbare ruimten', 'Reservable rooms')
|
||||
FAC_LCL('res_ruimte_nr', 'Ruimte naam', 'Room name')
|
||||
FAC_LCL('res_ruimte_omschrijving', 'Omschrijving', 'Description')
|
||||
FAC_LCL('res_ruimte_volgnummer', 'Volgnummer', 'Sequence number')
|
||||
FAC_LCL('res_ruimte_minbezoekers', 'Minimum aantal personen', 'Minimum nr of persons')
|
||||
FAC_LCL('res_ruimte_info_url', 'Omschrijvings URL', 'Description URL')
|
||||
FAC_LCL('res_ruimte_cv', 'Ook voor losse catering e.d.', 'Individual catering etc. allowed')
|
||||
FAC_LCL('res_ruimte_begintijd', 'Openingstijd', 'Opening hours')
|
||||
|
||||
@@ -7902,6 +7902,8 @@ AS
|
||||
v_opstelling res_opstelling.res_opstelling_omschrijving%TYPE;
|
||||
v_res_ruimte_key res_ruimte_opstelling.res_ruimte_key%TYPE;
|
||||
v_resruimte res_ruimte.res_ruimte_omschrijving%TYPE;
|
||||
v_volgnummer res_ruimte.res_ruimte_volgnummer%TYPE;
|
||||
v_minbezoekers res_ruimte.res_ruimte_minbezoekers%TYPE;
|
||||
v_verwijder res_ruimte.res_ruimte_verwijder%TYPE;
|
||||
v_res_ruimte_nr res_ruimte.res_ruimte_nr%TYPE;
|
||||
v_begintijd res_ruimte.res_ruimte_begintijd%TYPE;
|
||||
@@ -7953,7 +7955,9 @@ AS
|
||||
res_ruimte_extern_id,
|
||||
res_ruimte_externsyncdate,
|
||||
COALESCE(res_ruimte_opstel_image, res_ruimte_image),
|
||||
res_ruimte_graphhooksecret
|
||||
res_ruimte_graphhooksecret,
|
||||
res_ruimte_volgnummer,
|
||||
res_ruimte_minbezoekers
|
||||
INTO v_bezoekers,
|
||||
v_opstelling,
|
||||
v_res_ruimte_key,
|
||||
@@ -7973,7 +7977,9 @@ AS
|
||||
v_extern_id,
|
||||
v_externsyncdate,
|
||||
v_image,
|
||||
v_graphhooksecret
|
||||
v_graphhooksecret,
|
||||
v_volgnummer,
|
||||
v_minbezoekers
|
||||
FROM res_ruimte_opstelling ro, res_opstelling o, res_ruimte r
|
||||
WHERE o.res_opstelling_key = ro.res_opstelling_key
|
||||
AND r.res_ruimte_key = ro.res_ruimte_key
|
||||
@@ -7983,6 +7989,8 @@ AS
|
||||
createxmltagvalue ('opstelling', v_opstelling);
|
||||
createxmltagvalue ('bezoekers', v_bezoekers);
|
||||
createxmltagvalue ('omschrijving', v_resruimte);
|
||||
createxmltagvalue ('volgnummer', v_volgnummer);
|
||||
createxmltagvalue ('minbezoekers', v_minbezoekers);
|
||||
createxmltagvalue ('nr', v_res_ruimte_nr);
|
||||
mydatetochar ('verwijder', v_verwijder);
|
||||
createxmltagvalue ('begintijd', v_begintijd);
|
||||
|
||||
@@ -48,6 +48,10 @@ CREATE_TABLE(res_ruimte,0)
|
||||
VARCHAR2(1000),
|
||||
res_ruimte_volgnummer
|
||||
NUMBER(3),
|
||||
res_ruimte_minbezoekers
|
||||
NUMBER(5)
|
||||
DEFAULT 0
|
||||
NOT_NULL(res_ruimte_minbezoekers, res_c_ruimte_minbezoekers),
|
||||
res_ruimte_info_url
|
||||
VARCHAR2(1000),
|
||||
res_ruimte_image
|
||||
|
||||
41
_UP/DB40eto40f.sql
Normal file
41
_UP/DB40eto40f.sql
Normal file
@@ -0,0 +1,41 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Aanpassingen om DB40e (prod) naar de () DB40f te brengen
|
||||
-- Merk op dat de recreate er nog bij komt die de DB-version bijwerkt
|
||||
--
|
||||
-- MOET OOK ZIJN/WORDEN OPGENOMEN IN DB39TO40f.src !!!
|
||||
|
||||
DEFINE thisfile = 'DB40eto40f.sql'
|
||||
DEFINE dbuser = '*'
|
||||
|
||||
SET ECHO ON
|
||||
SET DEFINE ON
|
||||
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
|
||||
WHENEVER SQLERROR EXIT;
|
||||
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
|
||||
WHENEVER SQLERROR CONTINUE;
|
||||
SPOOL &fcltlogfile
|
||||
SET DEFINE OFF
|
||||
|
||||
------ payload begin ------
|
||||
-- /////////////////////////////////////////////////////////////////////////////////////////// FMHN#67972
|
||||
ALTER TABLE res_ruimte ADD res_ruimte_minbezoekers
|
||||
NUMBER(5)
|
||||
DEFAULT 0
|
||||
CONSTRAINT res_c_ruimte_minbezoekers CHECK(res_ruimte_minbezoekers IS NOT NULL);
|
||||
|
||||
-- /////////////////////////////////////////////////////////////////////////////////////////// FMHN#67970
|
||||
|
||||
|
||||
------ payload end ------
|
||||
|
||||
SET DEFINE OFF
|
||||
BEGIN adm.systrackscriptId ('$Id$', 1); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
SET ECHO OFF
|
||||
SPOOL OFF
|
||||
SET DEFINE ON
|
||||
PROMPT Logfile of this upgrade is: &fcltlogfile
|
||||
Reference in New Issue
Block a user