FSN#38836 Opleveren WZUV

svn path=/Customer/; revision=34106
This commit is contained in:
Suzan Wiegerinck
2017-06-01 13:09:00 +00:00
parent 5827385339
commit 6694f4ed1f
2 changed files with 86 additions and 0 deletions

48
onces/WZUV/FSN#38836.sql Normal file
View File

@@ -0,0 +1,48 @@
/* Formatted on 12-12-2016 11:16:30 (QP5 v5.136.908.31019) */
--
-- $Id$
--
-- Aanmaken import persoonsgegevens
DEFINE thisfile = 'FSN#38836.SQL'
DEFINE dbuser = '^QUAW'
DEFINE custid = 'QUAW'
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 ------
UPDATE fac_import_app i
SET fac_import_app_folder = 'D:Apps\Facilitor\Fplace5i\CUST\WZUV\import',
fac_import_app_files = 'import medewerkers WZUV*.csv',
fac_import_app_charset = 'utf-8'
WHERE fac_import_app_code = 'PRS';
COMMIT;
------ 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
@@ &custid

View File

@@ -0,0 +1,38 @@
--
-- $Id$
--
-- Scriptje om de tabs uit de personeelsnummer te verwijderen
DEFINE thisfile = 'FSN#3886_2.SQL'
DEFINE dbuser = '^WZUV'
DEFINE custid = 'WZUV'
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 ------
UPDATE PRS_PERSLID
set prs_perslid_nr = REPLACE (prs_perslid_nr, chr(9) );
COMMIT;
------ 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
@@ &custid