FCLT#66686 Incidenteel gemiste notificaties?
svn path=/Database/trunk/; revision=51284
This commit is contained in:
@@ -391,9 +391,9 @@ END;
|
||||
CREATE_TRIGGER(fac_t_fac_notificatie_A_U)
|
||||
AFTER UPDATE ON fac_notificatie
|
||||
BEGIN
|
||||
-- Ruim alle totaal verwerkte notificaties op.
|
||||
DELETE FROM fac_notificatie
|
||||
WHERE fac_notificatie_status=0
|
||||
-- Ruim alle totaal verwerkte notificaties op.
|
||||
DELETE FROM fac_notificatie
|
||||
WHERE fac_notificatie_status IN (0,16)
|
||||
AND fac_notificatie_systeemadres IS NULL
|
||||
AND prs_bedrijfadres_key IS NULL;
|
||||
END;
|
||||
|
||||
@@ -593,6 +593,12 @@ INSERT INTO prs_perslid (prs_perslid_module,
|
||||
WHERE prs_perslid_oslogin = '_FACILITOR'
|
||||
AND NOT EXISTS (SELECT 1 FROM prs_perslid WHERE prs_perslid_oslogin = '_PUTORDERS');
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#66686
|
||||
DELETE FROM fac_notificatie
|
||||
WHERE fac_notificatie_status IN (0,16)
|
||||
AND fac_notificatie_systeemadres IS NULL
|
||||
AND prs_bedrijfadres_key IS NULL;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#*****
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user