NYBU#33916 -- Goedkeuring Catering

svn path=/Customer/; revision=27102
This commit is contained in:
Arthur Egberink
2015-11-25 11:25:41 +00:00
parent 430723853b
commit 185571d253

38
onces/NYBU/nybu31.sql Normal file
View File

@@ -0,0 +1,38 @@
-- Customer specific once-script
SET ECHO ON
SPOOL xNYBU31.lst
SET DEFINE OFF
-- we zijn overgeschakeld van een noti view naar een procedure omdat tracking nodig is.
DELETE fac_notificatie_job
WHERE fac_notificatie_job_view = 'NYBU_V_NOTI_GOEDKEURING_CAT';
DROP view nybu_v_noti_goedkeuring_cat;
-- NYBU#33454 goedkeuring catering
INSERT INTO fac_srtnotificatie (fac_srtnotificatie_code,
fac_srtnotificatie_mode,
fac_srtnotificatie_oms,
fac_srtnotificatie_xmlnode,
fac_srtnotificatie_url,
fac_srtnotificatie_groep,
fac_srtnotificatie_delay)
VALUES ('CUST01',
2,
'Goedkeuring voor reservering ##KEY## (##DESC##) is vereist',
'reservering',
'res/res_reservering.asp?rsv_ruimte_key=',
'0',
0);
-- pas het type verkoopfactuur aan zodat we in de toekomst onderscheid kunnen maken in
-- catering verkoopfacturen en ruimte/voorzieningen verkoopfacturen.
UPDATE fin_verkoopfactuur
SET fin_verkoopfactuur_c4 = 'ruimte/voorz';
BEGIN adm.systrackscriptId('$Id$'); END;
/
COMMIT;
SPOOL OFF