HPJI#67531 mail direct in Facilitor als melding

svn path=/Customer/trunk/; revision=57300
This commit is contained in:
Sander Schepers
2022-09-15 10:29:04 +00:00
parent fb271d85f4
commit 0da3d023ae

View File

@@ -3063,23 +3063,37 @@ BEGIN
|| v_attachorigin
|| '\');
-- -- Originele email wordt opgeslagen bij de opdracht
-- v_errormsg := '(0x232`)' || v_mldkey || psubject;
--
-- INSERT INTO fac_result (fac_result_sessionid,
-- fac_result_naam,
-- fac_result_waarde)
-- VALUES (
-- psessionid,
-- 'kenmerkpath',
-- 'MLD\M'
-- || TO_CHAR (TRUNC (v_mldkey / 1000),
-- 'FM0000')
-- || '___\M'
-- || v_mldkey
-- || '\'
-- || v_mailorigin
-- || '\');
-- Notificatie MLDNEW versturen
v_errormsg := '(0x232)' || v_mldkey || psubject;
IF v_sender <> 4
THEN
FAC.trackaction ('MLDNEW',
v_mldkey,
NULL,
NULL,
NULL);
INSERT INTO fac_notificatie (
fac_srtnotificatie_key,
fac_notificatie_status,
fac_notificatie_receiver_email,
prs_perslid_key_receiver,
fac_notificatie_oms,
fac_notificatie_refkey,
fac_notificatie_extrakey,
fac_notificatie_prioriteit)
VALUES (
26, -- MLDNEW
2, -- mail
NULL,
v_sender,
'Uw melding '
|| v_mldkey
|| '(ICT/ICT-vraag/melding) is geregistreerd',
v_mldkey,
NULL,
2);
END IF;
END;
END IF;
ELSE