FSN#33025: Ook BO-notificatie naar MLDBO3.
svn path=/Database/trunk/; revision=25774
This commit is contained in:
@@ -3064,18 +3064,18 @@ CREATE OR REPLACE PACKAGE BODY fac AS
|
||||
AND mp.mld_ins_discipline_key = d.ins_discipline_key
|
||||
AND m.mld_melding_key = prefkey;
|
||||
|
||||
IF lbonotify = 1 AND (lcode = 'MLDNEW' OR lcode = 'MLDFWD')-- Bij aanmaak of doorsturen van de melding.
|
||||
IF lbonotify > 0 AND (lcode = 'MLDNEW' OR lcode = 'MLDFWD' OR lcode = 'MLDACP') -- Bij aanmaak, doorsturen of accepteren van de melding.
|
||||
THEN
|
||||
-- merk op: bij doorsturen binnen dezelfde discipline of met dezelfde bo-ers ontvangt men
|
||||
-- dan dus nogmaals een notificatie. Dat accepteren we vooralsnog gewoon maar.
|
||||
mld.notifybackoffice (prefkey);
|
||||
mld.notifybackoffice (prefkey, lcode);
|
||||
END IF;
|
||||
|
||||
-- We sturen soms TWEE notificaties, naar melder en nieuwe behandelaar
|
||||
-- De normale notificatie gaat naar de melder
|
||||
-- Moeten dus kijken of psrtnotificatiekey naar MLDBEH wijst
|
||||
-- Dan moeten we ook MLDBE2 versturen naar de behandelaar, al was ik het zelf.
|
||||
IF lbenotify = 1 AND lcode = 'MLDBEH' AND lmldbehandelaar IS NOT NULL
|
||||
IF lbenotify > 0 AND lcode = 'MLDBEH' AND lmldbehandelaar IS NOT NULL
|
||||
THEN
|
||||
lcode2 := 'MLDBE2';
|
||||
lreceiver2 := lmldbehandelaar;
|
||||
|
||||
Reference in New Issue
Block a user