PCHE#63215 -- Verwijder onterecht aangemaakte facturen
svn path=/Customer/; revision=47496
This commit is contained in:
38
onces/PCHE/PCHE#63215.sql
Normal file
38
onces/PCHE/PCHE#63215.sql
Normal file
@@ -0,0 +1,38 @@
|
||||
--
|
||||
-- $Id: PCHE#62772.sql 36063 2020-06-15 12:50:05Z sandersc$
|
||||
--
|
||||
-- Verwijder onterecht aangemaakte facturen.
|
||||
|
||||
DEFINE thisfile = 'PCHE#63215.SQL'
|
||||
DEFINE dbuser = '^PCHE'
|
||||
|
||||
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 ------
|
||||
|
||||
DELETE fin_verkoopfactuurkop
|
||||
WHERE fin_verkoopfactuurkop_key > 27767;
|
||||
|
||||
DELETE fin_verkoopfactuur
|
||||
WHERE fin_verkoopfactuur_key > 22039;
|
||||
|
||||
------ payload end ------
|
||||
|
||||
SET DEFINE OFF
|
||||
BEGIN adm.systrackscriptId ('$Id: PCHE#62772.sql 36063 2020-06-15 12:50:05Z sandersc$', 1); END;
|
||||
/
|
||||
|
||||
COMMIT;
|
||||
SET ECHO OFF
|
||||
SPOOL OFF
|
||||
SET DEFINE ON
|
||||
PROMPT Logfile of this upgrade is: &fcltlogfile
|
||||
|
||||
--@@ &custid
|
||||
Reference in New Issue
Block a user