YASK#71491 -- Inrichting Renewi in MC+ (financieel)
svn path=/Customer/; revision=55422
This commit is contained in:
51
onces/YASK/YASK#71491.sql
Normal file
51
onces/YASK/YASK#71491.sql
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
--
|
||||||
|
-- Aanpassingen
|
||||||
|
-- Script om de financiele administratie ook geschikt te maken voor Renewi.
|
||||||
|
|
||||||
|
DEFINE thisfile = 'YASK#71491.SQL'
|
||||||
|
DEFINE dbuser = '^YASK'
|
||||||
|
|
||||||
|
SET ECHO ON
|
||||||
|
SET DEFINE ON
|
||||||
|
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
|
||||||
|
COLUMN fcltcusterr NEW_VALUE fcltcusterr NOPRINT;
|
||||||
|
WHENEVER SQLERROR CONTINUE;
|
||||||
|
SELECT adm.getscriptspoolfile('&thisfile') AS fcltlogfile FROM DUAL;
|
||||||
|
SPOOL &fcltlogfile
|
||||||
|
WHENEVER SQLERROR EXIT;
|
||||||
|
SELECT adm.checkscriptcust('&dbuser') AS fcltcusterr FROM DUAL;
|
||||||
|
WHENEVER SQLERROR CONTINUE;
|
||||||
|
PROMPT &fcltcusterr
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
------ payload begin ------
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE yask_exp_factuur
|
||||||
|
ADD alg_district_key NUMBER;
|
||||||
|
|
||||||
|
DROP PROCEDURE yask_select_exact_62;
|
||||||
|
DROP PROCEDURE yask_select_exact_63;
|
||||||
|
|
||||||
|
DROP VIEW yask_v_export_exact_62;
|
||||||
|
DROP VIEW yask_v_export_exact_63;
|
||||||
|
|
||||||
|
DROP PROCEDURE yask_export_exact_62;
|
||||||
|
DROP PROCEDURE yask_export_exact_63;
|
||||||
|
|
||||||
|
DROP VIEW yask_v_export_verwerk_exact_62;
|
||||||
|
DROP VIEW yask_v_export_verwerk_exact_63;
|
||||||
|
|
||||||
|
------ 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