AAIT#41903 -- Serviceheroes account aanmaken op alle omgevingen.

svn path=/Customer/; revision=35255
This commit is contained in:
Arthur Egberink
2017-09-08 11:24:11 +00:00
parent a404f0045e
commit 6137908096

View File

@@ -0,0 +1,44 @@
--
-- $Id$
--
-- Stel puo_bcc instelling in op archief@aa-fm.com
-- Voeg serviceheroes account toe aan alle omgevingen.
DEFINE thisfile = 'AAFM#41903.SQL'
DEFINE dbuser = '^AA|^ASMS|^GULU|^NMMS|^RABO|^ZKHM'
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 -----
SET DEFINE OFF;
Insert into PRS_PERSLID
(PRS_PERSLID_KEY, PRS_SRTPERSLID_KEY, PRS_AFDELING_KEY, PRS_PERSLID_NAAM, PRS_PERSLID_UPPER,
PRS_PERSLID_OSLOGIN, PRS_PERSLID_EMAIL,
PRS_PERSLID_INGIDS, PRS_PERSLID_FLAGS, PRS_PERSLID_APIKEY)
Values
(12, (SELECT prs_srtperslid_key FROM prs_srtperslid WHERE PRS_SRTPERSLID_UPPER = 'ONBEKEND'),
(SELECT prs_afdeling_key FROM prs_afdeling WHERE prs_afdeling_upper = 'ONBEKEND'), 'ServiceHeroes', 'SERVICEHEROES',
'_SERVICEHEROES', 'voorbeeld@serviceheroes.nl',
NULL, 0, 'BKTZsCSnZHtpWrmAECiEFuFppcIglWAl');
------ 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