FSN#38973 fac_srtnotificatie_oms moet voortaan via lcl.x()
svn path=/Customer/trunk/; revision=32513
This commit is contained in:
@@ -1,9 +1,21 @@
|
||||
-- Script containing customer specific db-configuration for MAYF.
|
||||
-- (c) 2011 SG|facilitor bv
|
||||
--
|
||||
-- Support: +31 53 4800700
|
||||
set echo on
|
||||
spool xmayf.lst
|
||||
-- $Id$
|
||||
--
|
||||
-- Script containing customer specific db-configuration for MAYF.
|
||||
DEFINE thisfile = 'MAYF.SQL'
|
||||
DEFINE dbuser = '^MAYF'
|
||||
DEFINE custid = 'MAYF'
|
||||
|
||||
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 PROCEDURE mayf_export_nachtwerk (p_applname IN VARCHAR2,
|
||||
p_applrun IN VARCHAR2,
|
||||
@@ -239,7 +251,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,
|
||||
@@ -265,7 +278,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,
|
||||
@@ -957,9 +971,14 @@ AS
|
||||
FCLT_F_OPDRACHT_TYPE,
|
||||
FCLT_F_STATUS;
|
||||
|
||||
BEGIN adm.systrackscriptId('$Id$', 0); END;
|
||||
/
|
||||
BEGIN fac.registercustversion('MAYF', 11); 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