FSN#41521 usertellingnotificatiejob werd iedere dag gestuurd ipv elke 90 dagen
svn path=/Database/branches/DB31/; revision=34823
This commit is contained in:
@@ -9,7 +9,7 @@ COMMIT;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////// FSN#39780
|
||||
INSERT INTO fac_notificatie_job (fac_notificatie_job_view, fac_notificatie_job_oms, fac_notificatie_job_mode, fac_notificatie_job_interval, fac_notificatie_job_nextrun, fac_notificatie_job_flags)
|
||||
VALUES ('FAC_V_NOTI_LICENTIE', 'Notificatie bij afwijkende licenties.', 2, 24, (select add_months (trunc(SYSDATE, 'Q') + 0, 4) + 3/4 from dual), 1);
|
||||
VALUES ('FAC_V_NOTI_LICENTIE', 'Notificatie bij afwijkende licenties.', 2, 2160, (select add_months (trunc(SYSDATE, 'Q') + 0, 4) + 3/4 from dual), 1);
|
||||
|
||||
DEF_FAC_SRTNOT('ADMLIC', 0, 'lcl_noti_ADMLIC', '', '0', null, 10);
|
||||
|
||||
|
||||
35
_UP/DB31dto31e.sql
Normal file
35
_UP/DB31dto31e.sql
Normal file
@@ -0,0 +1,35 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Notification interval was initialized as daily but should be approximately quarterly.
|
||||
|
||||
DEFINE thisfile = 'DB31cto31d.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 ------
|
||||
|
||||
UPDATE fac_notificatie_job
|
||||
SET fac_notificatie_job_interval = 2160
|
||||
WHERE fac_notificatie_job_interval = 24
|
||||
AND fac_notificatie_job_view = 'FAC_V_NOTI_LICENTIE';
|
||||
|
||||
------ 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