FSN#38973 fac_srtnotificatie_oms moet voortaan via lcl.x()
svn path=/Customer/trunk/; revision=32514
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
-- Script containing customer specific configuration sql statements for PRIS
|
||||
-- (c) 2010 SG|facilitor bv
|
||||
-- $Revision$
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Support: +31 53 4800700
|
||||
-- Script containing customer specific db-configuration for PRIS.
|
||||
DEFINE thisfile = 'PRIS.SQL'
|
||||
DEFINE dbuser = '^PRIS'
|
||||
DEFINE custid = 'PRIS'
|
||||
|
||||
set echo on
|
||||
|
||||
spool xpris.lst
|
||||
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 ------
|
||||
CREATE OR REPLACE VIEW pris_v_label_ruimteafd (
|
||||
alg_ruimte_key,
|
||||
waarde
|
||||
@@ -260,7 +267,8 @@ AS
|
||||
TO_CHAR (t.fac_tracking_datum, 'dd-mm-yyyy') datum,
|
||||
TO_CHAR (t.fac_tracking_datum, 'hh24:mi:ss') tijdstip,
|
||||
sn.fac_srtnotificatie_code code,
|
||||
COALESCE (t.fac_tracking_oms, sn.fac_srtnotificatie_oms) actie,
|
||||
--COALESCE (t.fac_tracking_oms, sn.fac_srtnotificatie_oms) actie,
|
||||
COALESCE (t.fac_tracking_oms, lcl.x('fac_srtnotificatie_oms', sn.fac_srtnotificatie_key, sn.fac_srtnotificatie_oms)) actie,
|
||||
pf.prs_perslid_naam_full door
|
||||
FROM fac_tracking t,
|
||||
fac_srtnotificatie sn,
|
||||
@@ -286,7 +294,8 @@ AS
|
||||
TO_CHAR (t.fac_tracking_datum, 'dd-mm-yyyy') datum,
|
||||
TO_CHAR (t.fac_tracking_datum, 'hh24:mi:ss') tijdstip,
|
||||
sn.fac_srtnotificatie_code code,
|
||||
COALESCE (t.fac_tracking_oms, sn.fac_srtnotificatie_oms) actie,
|
||||
--COALESCE (t.fac_tracking_oms, sn.fac_srtnotificatie_oms) actie,
|
||||
COALESCE (t.fac_tracking_oms, lcl.x('fac_srtnotificatie_oms', sn.fac_srtnotificatie_key, sn.fac_srtnotificatie_oms)) actie,
|
||||
pf.prs_perslid_naam_full door
|
||||
FROM fac_tracking t,
|
||||
fac_srtnotificatie sn,
|
||||
@@ -409,9 +418,14 @@ EXCEPTION
|
||||
END;
|
||||
/
|
||||
|
||||
BEGIN adm.systrackscriptId('$Id$', 0); END;
|
||||
/
|
||||
BEGIN fac.registercustversion('PRIS', 4); END;
|
||||
------ payload end ------
|
||||
|
||||
SET DEFINE OFF
|
||||
BEGIN adm.systrackscriptId ('$Id$', 0); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
spool off
|
||||
SET ECHO OFF
|
||||
SPOOL OFF
|
||||
SET DEFINE ON
|
||||
PROMPT Logfile of this upgrade is: &fcltlogfile
|
||||
|
||||
Reference in New Issue
Block a user