STPH#38624: Digitale facturen zonder kostensoort

svn path=/Customer/trunk/; revision=32928
This commit is contained in:
Marcel Bourseau
2017-02-23 16:51:01 +00:00
parent 2c58172da9
commit 64923abc54

View File

@@ -1,14 +1,22 @@
-- Script containing customer specific configuration sql statements for STPH: Stichting het Parkhuis
-- (c) 2014 SG|facilitor
-- $Revision$
--
-- $Id$
--
-- Support: +31 53 4800710
-- Stichting Parkhuis Main SQL
set echo on
DEFINE thisfile = 'STPH.SQL'
DEFINE dbuser = '^STPH'
DEFINE custid = 'STPH'
spool stph.lst
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 ------
--
-- Personen import
--
@@ -2805,7 +2813,7 @@ BEGIN
-- STPH#38624: als er GEEN of een FOUTE/ONBEKENDE kostensoort bij de import wordt meegegeven, dat dan de status op "Ingevoerd" terug wordt gezet.
UPDATE fin_factuur
SET fin_factuur_statuses_key = 2
WHERE fin_factuur_key = (SELECT fin_factuur_key FROM fin_factuurregel fr WHERE fr.fin_factuurregel_key = rc.fin_factuurregel_key)
WHERE fin_factuur_key = (SELECT fin_factuur_key FROM fin_factuurregel fr WHERE fr.fin_factuurregel_key = rc.fin_factuurregel_key);
END IF;
EXCEPTION
@@ -2829,18 +2837,14 @@ BEGIN
END;
/
BEGIN fac.registercustversion('STPH', 12); END;
------ payload end ------
SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 1); END;
/
BEGIN adm.systrackscriptId('$Id$', 0); END;
/
show errors;
commit;
spool off;
COMMIT;
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile