AAIT#89829 -- Aanpassing aantal notificatiejobs ivm aanpassing van de naamgeving van de autorisatiegroep Heyday Servicedesk door heyday - Gaan nu sturen op extern_id
svn path=/Customer/trunk/; revision=69755
This commit is contained in:
28
AA/aaxx.sql
28
AA/aaxx.sql
@@ -19721,7 +19721,7 @@ AS
|
||||
-- Opdracht in status 9 (na ORDOOK)
|
||||
-- 'opdracht bij melding wanneer automatische offerteafhandeling uitgeschakeld is' --> mld_disc_params_offerteauto = 0
|
||||
-- Opdracht (RFQ) sinds de vorige check goedgekeurd (eenmalig sturen) - 2 views voor beschikbaar. Notificatie naar Gebouwbeheerder + naar ORDOAP-rechthebbenden
|
||||
-- Bestemming zijn de personen(0..n) in autorisatiegroep HEYDAY Servicedesk.
|
||||
-- Bestemming zijn de personen(0..n) in autorisatiegroep HEYDAY Servicedesk. -> 14-7-2025 - #89829 - autorisatiegroep_ExternID = ‘BO_SERVICEDESK’
|
||||
CREATE OR REPLACE VIEW aaxx_v_noti_offerte_accepted
|
||||
(
|
||||
sender,
|
||||
@@ -19748,7 +19748,9 @@ AS
|
||||
mld_disc_params dp,
|
||||
fac_srtnotificatie sn,
|
||||
fac_tracking t,
|
||||
fac_groep g,
|
||||
(SELECT g.fac_groep_key
|
||||
FROM fac_groep g
|
||||
WHERE g.fac_groep_externid = 'BO_SERVICEDESK') g,
|
||||
fac_gebruikersgroep gg
|
||||
WHERE o.mld_statusopdr_key = 9
|
||||
AND m.mld_melding_key = o.mld_melding_key
|
||||
@@ -19765,7 +19767,6 @@ AS
|
||||
AND (SELECT fac_notificatie_job_nextrun
|
||||
FROM fac_notificatie_job
|
||||
WHERE fac_notificatie_job_view = 'AAXX_V_NOTI_OFFERTE_ACCEPTED')
|
||||
AND g.fac_groep_upper = 'HEYDAY SERVICEDESK'
|
||||
AND gg.fac_groep_key = g.fac_groep_key;
|
||||
|
||||
-- Bij HEYDAY drie smaken voor notificatie van mensen als er Offertes goedgekeurd moeten worden
|
||||
@@ -20798,7 +20799,8 @@ AS
|
||||
(SELECT gg.prs_perslid_key
|
||||
FROM fac_gebruikersgroep gg, fac_groep g
|
||||
WHERE gg.fac_groep_key = g.fac_groep_key
|
||||
AND g.fac_groep_upper = 'HEYDAY SERVICEDESK')
|
||||
AND g.fac_groep_externid = 'BO_SERVICEDESK'
|
||||
GROUP BY gg.prs_perslid_key)
|
||||
AND mn2.mld_melding_note_aanmaak >=
|
||||
COALESCE (
|
||||
( SELECT MAX (fac_tracking_datum)
|
||||
@@ -20842,7 +20844,8 @@ AS
|
||||
(SELECT gg.prs_perslid_key
|
||||
FROM fac_gebruikersgroep gg, fac_groep g
|
||||
WHERE gg.fac_groep_key = g.fac_groep_key
|
||||
AND g.fac_groep_upper = 'HEYDAY SERVICEDESK')
|
||||
AND g.fac_groep_externid = 'BO_SERVICEDESK'
|
||||
GROUP BY gg.prs_perslid_key)
|
||||
) v
|
||||
;
|
||||
|
||||
@@ -20919,7 +20922,8 @@ AS
|
||||
(SELECT gg.prs_perslid_key
|
||||
FROM fac_gebruikersgroep gg, fac_groep g
|
||||
WHERE gg.fac_groep_key = g.fac_groep_key
|
||||
AND g.fac_groep_upper = 'HEYDAY SERVICEDESK')
|
||||
AND g.fac_groep_externid = 'BO_SERVICEDESK'
|
||||
GROUP BY gg.prs_perslid_key)
|
||||
AND on2.mld_opdr_note_aanmaak >=
|
||||
COALESCE (
|
||||
( SELECT MAX (fac_tracking_datum)
|
||||
@@ -20949,7 +20953,9 @@ AS
|
||||
(SELECT gg.prs_perslid_key
|
||||
FROM fac_gebruikersgroep gg, fac_groep g
|
||||
WHERE gg.fac_groep_key = g.fac_groep_key
|
||||
AND g.fac_groep_upper = 'HEYDAY SERVICEDESK')
|
||||
AND g.fac_groep_externid = 'BO_SERVICEDESK'
|
||||
GROUP BY gg.prs_perslid_key
|
||||
)
|
||||
AND on1.prs_perslid_key = p.prs_perslid_key AND p.prs_perslid_verwijder is null
|
||||
AND on1.mld_opdr_note_aanmaak >=
|
||||
COALESCE (
|
||||
@@ -21118,7 +21124,8 @@ SELECT -- Voor notities
|
||||
(SELECT gg.prs_perslid_key
|
||||
FROM fac_gebruikersgroep gg, fac_groep g
|
||||
WHERE gg.fac_groep_key = g.fac_groep_key
|
||||
AND (g.fac_groep_upper = 'HEYDAY SERVICEDESK' OR g.fac_groep_key = 263) -- ALLR - groep FSP
|
||||
AND (g.fac_groep_externid = 'BO_SERVICEDESK' OR g.fac_groep_key = 263) -- ALLR - groep FSP
|
||||
GROUP BY gg.prs_perslid_key
|
||||
)
|
||||
UNION
|
||||
SELECT -- Voor status
|
||||
@@ -21254,7 +21261,8 @@ SELECT -- Voor status
|
||||
(SELECT gg.prs_perslid_key
|
||||
FROM fac_gebruikersgroep gg, fac_groep g
|
||||
WHERE gg.fac_groep_key = g.fac_groep_key
|
||||
AND (g.fac_groep_upper = 'HEYDAY SERVICEDESK' OR g.fac_groep_key = 263) -- ALLR - groep FSP
|
||||
AND (g.fac_groep_externid = 'BO_SERVICEDESK' OR g.fac_groep_key = 263) -- ALLR - groep FSP
|
||||
GROUP BY gg.prs_perslid_key
|
||||
)
|
||||
;
|
||||
|
||||
@@ -21305,6 +21313,8 @@ AS
|
||||
'AAIT', 1863,
|
||||
'ALLR', 1381,
|
||||
'THHD', 761,
|
||||
'MENZ', 881,
|
||||
'BFNL', 741,
|
||||
9999)
|
||||
key,
|
||||
v.extra_key
|
||||
|
||||
Reference in New Issue
Block a user