CSUN#87104 Optimalisatie notificatiesysteem voor Rayonmanagers

In putorders zag ik vermeldingen 'Email not sent because from or to is empty.' Waarschijnlijk de from, die nu gevuld.

svn path=/Customer/trunk/; revision=71023
This commit is contained in:
Sander Schepers
2025-11-21 05:34:58 +00:00
parent d32ac89f75
commit 91588a14b7

View File

@@ -8556,6 +8556,8 @@ AS
CREATE OR REPLACE PROCEDURE csun_noti_rm_noshow
AS
v_frommailaddr VARCHAR2 (256);
CURSOR CUST14 IS
SELECT p.prs_perslid_key AS receiver,
'Nieuwe melding aangemaakt: '
@@ -8675,6 +8677,8 @@ AS
AND t.fac_tracking_oms LIKE
'%Melding nog niet afgemeld na 24 uur na registratie:%');
BEGIN
v_frommailaddr := fac.getsetting ('puo_fromaddress');
FOR rec IN CUST14
LOOP
-- de notificatie klaarzetten
@@ -8682,6 +8686,7 @@ BEGIN
fac_notificatie_status,
fac_notificatie_receiver_email,
prs_perslid_key_receiver,
fac_notificatie_sender_email,
fac_notificatie_oms,
fac_notificatie_refkey,
fac_notificatie_extrakey,
@@ -8690,6 +8695,7 @@ BEGIN
2,
NULL,
rec.receiver,
v_frommailaddr,
rec.text,
rec.key,
NULL,
@@ -8703,6 +8709,7 @@ BEGIN
fac_notificatie_status,
fac_notificatie_receiver_email,
prs_perslid_key_receiver,
fac_notificatie_sender_email,
fac_notificatie_oms,
fac_notificatie_refkey,
fac_notificatie_extrakey,
@@ -8711,6 +8718,7 @@ BEGIN
2,
NULL,
rec.receiver,
v_frommailaddr,
rec.text,
rec.key,
NULL,
@@ -8724,6 +8732,7 @@ BEGIN
fac_notificatie_status,
fac_notificatie_receiver_email,
prs_perslid_key_receiver,
fac_notificatie_sender_email,
fac_notificatie_oms,
fac_notificatie_refkey,
fac_notificatie_extrakey,
@@ -8732,6 +8741,7 @@ BEGIN
2,
NULL,
rec.receiver,
v_frommailaddr,
rec.text,
rec.key,
NULL,