YKPN#67361 -- notificatie job tbv nieuwe notes bij facturen
svn path=/Customer/trunk/; revision=52795
This commit is contained in:
@@ -14007,6 +14007,24 @@ AS
|
||||
8 -- geaccepteerd
|
||||
);
|
||||
|
||||
CREATE OR REPLACE VIEW ykpn_v_noti_fact_note
|
||||
(code, sender, receiver, text, key, xkey, xemail, xmobile, attachments, xsender)
|
||||
AS
|
||||
SELECT 'CUST18' code,
|
||||
NULL sender,
|
||||
NULL receiver,
|
||||
'Factuur '||fin.fin_factuur_nr||' heeft een nieuwe notitie: '|| fnn.fin_factuur_note_omschrijving,
|
||||
fin.fin_factuur_key key,
|
||||
NULL xkey,
|
||||
'kpn@yask.nl' xemail,
|
||||
NULL xmobile,
|
||||
NULL attachments,
|
||||
NULL xsender
|
||||
FROM fin_factuur fin, fin_factuur_note fnn
|
||||
WHERE fnn.fin_factuur_key = fin.fin_factuur_key
|
||||
AND fnn.fin_factuur_note_aanmaak> SYSDATE-1;
|
||||
|
||||
|
||||
-- Herinnering naar de winkel als de actie meer dan 7 dagen bij de winkel staat.
|
||||
CREATE OR REPLACE VIEW ykpn_v_noti_retail_winkel
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user