YKPN#74726 -- Factuurnotificatie Hago Next loopt niet
svn path=/Customer/trunk/; revision=57973
This commit is contained in:
@@ -12866,18 +12866,21 @@ CREATE OR REPLACE VIEW ykpn_v_noti_revBilling
|
||||
receiver,
|
||||
text,
|
||||
key,
|
||||
xkey
|
||||
xkey,
|
||||
xemail,
|
||||
xmobile
|
||||
)
|
||||
AS
|
||||
|
||||
SELECT DISTINCT sn.fac_srtnotificatie_code,
|
||||
NULL,
|
||||
gg.prs_perslid_key, -- Yask-contactpersonen
|
||||
REPLACE (REPLACE (sn.fac_srtnotificatie_oms, '##LEV##', v.prs_bedrijf_naam), '##MND##', v.maand),
|
||||
r.fac_usrrap_key,
|
||||
v.extra_key
|
||||
FROM ykpn_v_frozen_fact v,
|
||||
fac_gebruikersgroep gg,
|
||||
SELECT DISTINCT sn.fac_srtnotificatie_code,
|
||||
NULL sender,
|
||||
NULL receiver,
|
||||
REPLACE (REPLACE (sn.fac_srtnotificatie_oms, '##LEV##', v.prs_bedrijf_naam), '##MND##', v.maand) text,
|
||||
r.fac_usrrap_key key,
|
||||
v.extra_key xkey,
|
||||
'gerlinda.vanlangevelde@yask.nl;Shahla.Eleveld@yask.nl;soukaina.elmaadory@yask.nl;omar.murselovic@yask.nl' xemail,
|
||||
NULL mobile
|
||||
FROM ykpn_v_frozen_fact v,
|
||||
fac_usrrap r,
|
||||
fac_srtnotificatie sn
|
||||
WHERE TO_CHAR (SYSDATE, 'dd') = '11' -- Op de ochtend na 10e van de maand!
|
||||
@@ -12887,8 +12890,7 @@ AS
|
||||
WHERE kc.cnt_contract_key = v.cnt_contract_key
|
||||
AND kc.cnt_kenmerk_key=(SELECT DECODE(c.ins_discipline_key, 421,162, 461, 161, 2221, 221) -- vast=421(kenm key=162),var=461(kenm key=161),suppletie=2221(kenm key=221)
|
||||
FROM cnt_contract c
|
||||
WHERE cnt_contract_key = v.cnt_contract_key))
|
||||
AND gg.fac_groep_key = 3161 -- Yask Rev Bil Fact Noti=3161 was voorheen YASK YASK applicatie beheer=32
|
||||
WHERE cnt_contract_key = v.cnt_contract_key))
|
||||
AND UPPER (r.fac_usrrap_omschrijving) = UPPER('BEHEER: Hidden rapportage tbv. rev billing notificatie')
|
||||
AND sn.fac_srtnotificatie_code = 'CUST16'
|
||||
ORDER BY v.extra_key;
|
||||
|
||||
Reference in New Issue
Block a user