VNOG#87348 -- Notificatie bij verwijderen catering na fiattering
svn path=/Customer/trunk/; revision=67899
This commit is contained in:
@@ -1250,6 +1250,47 @@ AS
|
||||
AND m.mld_melding_datum > nj.fac_notificatie_job_lastrun
|
||||
AND sn.fac_srtnotificatie_code = 'CUST06'
|
||||
AND nj.fac_notificatie_job_view = 'VNOG_V_NOTI_GMO';
|
||||
|
||||
CREATE OR REPLACE VIEW VNOG_V_NOTI_CATCHANGE
|
||||
(
|
||||
CODE,
|
||||
SENDER,
|
||||
RECEIVER,
|
||||
TEXT,
|
||||
KEY,
|
||||
XKEY,
|
||||
XSENDER,
|
||||
XEMAIL,
|
||||
XMOBILE,
|
||||
ATTACHMENTS
|
||||
)
|
||||
AS
|
||||
SELECT DISTINCT sn.fac_srtnotificatie_code,
|
||||
NULL,
|
||||
NULL,
|
||||
'Gefiatteerde reservering met catering '
|
||||
|| rr.res_reservering_key
|
||||
|| '/'
|
||||
|| rr.res_rsv_ruimte_volgnr
|
||||
|| ' is verwijderd'
|
||||
text,
|
||||
rr.res_rsv_ruimte_key,
|
||||
NULL,
|
||||
NULL,
|
||||
'servicedesk@vnog.nl',
|
||||
NULL xmobile,
|
||||
NULL attachments
|
||||
FROM fac_tracking f,
|
||||
res_rsv_ruimte rr,
|
||||
fac_srtnotificatie sn,
|
||||
fac_notificatie_job nj
|
||||
WHERE f.fac_srtnotificatie_key = 128 -- RESFOK
|
||||
AND f.fac_tracking_refkey = rr.res_rsv_ruimte_key
|
||||
AND rr.res_rsv_ruimte_van > sysdate
|
||||
AND rr.res_rsv_ruimte_verwijder > f.fac_tracking_datum -- verwijderd na fiat
|
||||
AND rr.res_rsv_ruimte_verwijder > nj.fac_notificatie_job_lastrun
|
||||
AND sn.fac_srtnotificatie_code = 'CUST07'
|
||||
AND nj.fac_notificatie_job_view = 'VNOG_V_NOTI_CATCHANGE';
|
||||
|
||||
CREATE OR REPLACE PACKAGE VNOG
|
||||
AS
|
||||
|
||||
Reference in New Issue
Block a user