SZDB#75972 -- Inrichten beleef-o-theek
svn path=/Customer/trunk/; revision=61086
This commit is contained in:
@@ -232,8 +232,9 @@ AS
|
||||
|
||||
PROCEDURE res_after_insert (p_res_rsv_ruimte_key IN NUMBER)
|
||||
AS
|
||||
v_count NUMBER;
|
||||
v_onderwerp VARCHAR2(100);
|
||||
v_count NUMBER;
|
||||
v_onderwerp VARCHAR2(100);
|
||||
v_reservering_key NUMBER;
|
||||
BEGIN
|
||||
SELECT COUNT (*)
|
||||
INTO v_count
|
||||
@@ -245,8 +246,9 @@ AS
|
||||
IF v_count = 0
|
||||
THEN
|
||||
|
||||
SELECT 'Nieuwe reservering (' || rrr.res_reservering_key || '/' || rrr.res_rsv_ruimte_volgnr || ') ' || rd.res_deel_omschrijving || ' op ' || to_char(res_rsv_ruimte_van, 'dd-mm-yyyy')
|
||||
INTO v_onderwerp
|
||||
SELECT 'Nieuwe reservering (' || rrr.res_reservering_key || '/' || rrr.res_rsv_ruimte_volgnr || ') ' || rd.res_deel_omschrijving || ' op ' || to_char(res_rsv_ruimte_van, 'dd-mm-yyyy'),
|
||||
rrr.res_reservering_key
|
||||
INTO v_onderwerp, v_reservering_key
|
||||
FROM res_rsv_ruimte rrr, res_rsv_deel rrd, res_deel rd
|
||||
WHERE rrr.res_rsv_ruimte_key = rrd.res_rsv_ruimte_key
|
||||
AND rrd.res_deel_key = rd.res_deel_key
|
||||
@@ -263,12 +265,12 @@ AS
|
||||
fac.putnotificationsrtprio (NULL,
|
||||
10981, -- Notificatie user beleef-o-theek
|
||||
'RES2BO',
|
||||
p_res_rsv_ruimte_key,
|
||||
v_reservering_key,
|
||||
v_onderwerp,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
p_res_rsv_ruimte_key,
|
||||
2,
|
||||
NULL);
|
||||
END IF;
|
||||
|
||||
Reference in New Issue
Block a user