KW1C#81204 implementatie FMIS (gebouwbeheer) KW1C --> ruimtegebruik opnieuw inlezen
svn path=/Customer/; revision=64902
This commit is contained in:
48
onces/KW1C/KW1C#81204_4.sql
Normal file
48
onces/KW1C/KW1C#81204_4.sql
Normal file
@@ -0,0 +1,48 @@
|
||||
--
|
||||
-- $Id$
|
||||
--
|
||||
-- KW1C#81204 Implementatie FMIS KW1C
|
||||
-- Ruimtegebruik is niet juist aangeleverd (ingangsdatum nieuwe OE's pas vanaf 1-8-2024)
|
||||
--
|
||||
DEFINE thisfile = 'KW1C#81204_4.SQL'
|
||||
DEFINE dbuser = '^KW1C'
|
||||
|
||||
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 ------
|
||||
|
||||
DELETE fac_tracking t
|
||||
WHERE t.fac_srtnotificatie_key = 169
|
||||
AND upper(t.fac_tracking_oms) like '%RUIMTEGEBRUIKER%';
|
||||
|
||||
DELETE prs_ruimteafdeling;
|
||||
|
||||
------ 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