MARE#75564 Uitbreiding Contractmodule

svn path=/Customer/trunk/; revision=60714
This commit is contained in:
Sander Schepers
2023-06-09 09:20:30 +00:00
parent b66963c6ab
commit f8673f51f8

View File

@@ -1189,7 +1189,8 @@ CREATE OR REPLACE VIEW MARE_V_NOTI_CNTREMINDER
AS
SELECT '',
'',
beh.prs_perslid_key, -- Contractbeheerders
c.prs_perslid_key_beh, -- Contractbeheerder
--beh.prs_perslid_key, -- Contractbeheerders
'Rappel: Contract '
|| c.cnt_contract_nummer_intern
|| DECODE (cnt_contract_versie,
@@ -1220,11 +1221,11 @@ AS
xsender,
NULL
prs_bedrijfadres_key
FROM cnt_v_aanwezigcontract c, prs_bedrijf b, fac_gebruikersgroep beh
FROM cnt_v_aanwezigcontract c, prs_bedrijf b--, fac_gebruikersgroep beh
WHERE b.prs_bedrijf_key = c.cnt_prs_bedrijf_key
AND cnt_contract_verwijder IS NULL
AND cnt_contract_status = 0
AND beh.fac_groep_key = 81 -- Autorisatiegroep Contractbeheerders
--AND beh.fac_groep_key = 81 -- Autorisatiegroep Contractbeheerders
AND (SYSDATE BETWEEN cnt.cnt_getrappeldatum (c.cnt_contract_key)
AND cnt.cnt_getopzegdatum (c.cnt_contract_key))
UNION ALL