HCAS#88267 Inefficiëntie in Putorders door BEZDON notificatie triggers

svn path=/Database/branches/DB50/; revision=68530
This commit is contained in:
Jos Groot Lipman
2025-03-25 15:02:14 +00:00
parent d6881fe219
commit ddc1067bf7

View File

@@ -407,7 +407,7 @@ CREATE_TRIGGER(fac_t_fac_notificatie_A_IU)
BEGIN
IF INSERTING OR UPDATING ('fac_notificatie_notbefore')
THEN
IF BITAND(:NEW.fac_notificatie_status, 255 - 64) > 0 -- Alleen custom-queue negeren we
IF BITAND(:NEW.fac_notificatie_status, 2 + 4 + 32) > 0 -- Alleen EMAIL, SMS of APPPUSH
OR :NEW.prs_bedrijfadres_key IS NOT NULL
OR :NEW.fac_notificatie_systeemadres IS NOT NULL
THEN