MARE#75564 Uitbreiding Contractmodule
svn path=/Customer/trunk/; revision=60498
This commit is contained in:
@@ -1187,9 +1187,9 @@ CREATE OR REPLACE VIEW MARE_V_NOTI_CNTREMINDER
|
||||
PRS_BEDRIJFADRES_KEY
|
||||
)
|
||||
AS
|
||||
SELECT '',
|
||||
SELECT '',
|
||||
'',
|
||||
c.prs_perslid_key_beh, -- Contractbeheerder
|
||||
beh.prs_perslid_key, -- Contractbeheerders
|
||||
'Rappel: Contract '
|
||||
|| c.cnt_contract_nummer_intern
|
||||
|| DECODE (cnt_contract_versie,
|
||||
@@ -1220,10 +1220,11 @@ AS
|
||||
xsender,
|
||||
NULL
|
||||
prs_bedrijfadres_key
|
||||
FROM cnt_v_aanwezigcontract c, prs_bedrijf b
|
||||
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 (SYSDATE BETWEEN cnt.cnt_getrappeldatum (c.cnt_contract_key)
|
||||
AND cnt.cnt_getopzegdatum (c.cnt_contract_key))
|
||||
UNION ALL
|
||||
@@ -1270,7 +1271,7 @@ AS
|
||||
UNION ALL
|
||||
SELECT '',
|
||||
'',
|
||||
c.prs_perslid_key_beh,
|
||||
mt.prs_perslid_key,
|
||||
'Rappel: Contract '
|
||||
|| c.cnt_contract_nummer_intern
|
||||
|| DECODE (cnt_contract_versie,
|
||||
|
||||
Reference in New Issue
Block a user