SUTF#85195 Foutmelding bij importeren nieuwe afdelingen in AFAS-systeem
svn path=/Customer/; revision=66255
This commit is contained in:
40
onces/SUTF/SUTF#85195.sql
Normal file
40
onces/SUTF/SUTF#85195.sql
Normal file
@@ -0,0 +1,40 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- Korte beschrijving wat het script doet
|
||||
-- Voor dbuser invullen: - De import van persoonsgegevens is aangepast met SUTF#85195: ipv veel klantspecifieke sql wordt nu prs.update_perslid gebruikt
|
||||
-- - De import maakte ook nog gebruik van een eigen tabel (sutf_imp_prs), maar dat is niet meer nodig.
|
||||
-- - Nadat de import al twee weken goed loopt (behoudens een foutmelding dat met FCLT#80469 in de core wordt opgelost),
|
||||
-- - wordt het nu tijd om de tijdelijke tabel op te schonen
|
||||
|
||||
DEFINE thisfile = 'SUTF#85195.SQL'
|
||||
DEFINE dbuser = '^SUTF'
|
||||
|
||||
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 ------
|
||||
|
||||
DROP TABLE sutf_imp_prs;
|
||||
|
||||
------ 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