LPNL#89990 Pre-putorders aangevuld met filter voor bezoekers registraties.
svn path=/Customer/trunk/; revision=69865
This commit is contained in:
@@ -1228,6 +1228,18 @@ CREATE OR REPLACE PROCEDURE lpnl_pre_putorders
|
||||
AS
|
||||
BEGIN
|
||||
LPNL.mld_ord_after_insert;
|
||||
|
||||
-- Locatie Rotterdam wil graag van iedere bezoeker een email ontvangen. Dat kan via systeem adres maar daar ziet voor
|
||||
-- bezoekers nog geen restrictie op locatie op. Daarom worden ongewenste notificaties op andere locaties hier verwijderd.\
|
||||
-- LPNL#90079
|
||||
DELETE fac_notificatie
|
||||
WHERE fac_notificatie_key IN
|
||||
(SELECT fac_notificatie_key
|
||||
FROM bez_afspraak a, fac_notificatie n
|
||||
WHERE n.fac_notificatie_refkey = a.bez_afspraak_key
|
||||
AND n.fac_srtnotificatie_key IN (30, 31) -- BEZMUT, BEZUPD
|
||||
AND alg_locatie_key <> 41 -- Rotterdam
|
||||
AND fac_notificatie_systeemadres IS NOT NULL);
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user