RWSN#30975 M2M-koppeling vanuit printer

svn path=/Customer/trunk/; revision=44913
This commit is contained in:
Maarten van der Heide
2019-11-14 10:26:02 +00:00
parent 6f1de1dcea
commit 9365389df3

View File

@@ -27473,7 +27473,7 @@ BEGIN
v_errormsg := 'Fout bepalen printer';
v_ci := TRIM (SUBSTR (psubject,
INSTR (psubject, 'EX'),
INSTR (SUBSTR (REPLACE (REPLACE (REPLACE (psubject, ' ', '#'), CHR(13), '#'), CHR(10), '#'), INSTR (psubject, 'EX')), '#') - 1));
INSTR (REPLACE (REPLACE (REPLACE (SUBSTR (psubject, INSTR (psubject, 'EX')), ' ', '#'), CHR(13), '#'), CHR(10), '#') || '#', '#') - 1));
-- Bepaal persoon met loginnaam _HMAIL.
v_errormsg := 'Fout bepalen Printer-melder';
@@ -27486,12 +27486,12 @@ BEGIN
v_errormsg := 'Fout bepalen Printer-onderwerp';
v_onderwerp := psubject;
-- Bepaal de afgesproken Soortmelding met key=8357.
-- Bepaal de afgesproken Soortmelding met key=5462 (was 8357).
v_errormsg := 'Fout bepalen Printer-soortmelding';
SELECT mld_ins_discipline_key, mld_stdmelding_key
INTO v_discipline_key, v_stdmelding_key
FROM mld_discipline md, mld_stdmelding sm
WHERE sm.mld_stdmelding_key = 8357
WHERE sm.mld_stdmelding_key = 5462 -- Bijvullen kopiëren/printen
AND sm.mld_ins_discipline_key = md.ins_discipline_key
--AND md.ins_srtdiscipline_key = 1 -- Facilitair
AND md.ins_discipline_verwijder IS NULL;