DJIN#63265 Notificatiejob afhandeling klachten (nog een bugfix tbv. DJIN27)

svn path=/Customer/trunk/; revision=50986
This commit is contained in:
Maarten van der Heide
2021-04-21 11:53:18 +00:00
parent f7decb91ff
commit 40801323ac

View File

@@ -12334,7 +12334,7 @@ AS
o.mld_opdr_key,
NULL, NULL, NULL
FROM lopendeklachten o, fac_srtnotificatie sn
WHERE o.ordnew = TRUNC (SYSDATE - 1) -- Volgende dag nog niet geaccepteerd
WHERE TRUNC (o.ordnew) = TRUNC (SYSDATE - 1) -- Volgende dag nog niet geaccepteerd
AND o.prs_perslid_key_verantw IS NOT NULL
AND sn.fac_srtnotificatie_code = 'CUST11'
UNION ALL
@@ -12345,7 +12345,7 @@ AS
o.mld_opdr_key,
NULL, NULL, NULL
FROM lopendeklachten o, fac_srtnotificatie sn
WHERE o.ordnew = TRUNC (SYSDATE - 7) -- Na 7 dagen nog niet geaccepteerd
WHERE TRUNC (o.ordnew) = TRUNC (SYSDATE - 7) -- Na 7 dagen nog niet geaccepteerd
AND o.prs_perslid_key_verantw IS NOT NULL
AND sn.fac_srtnotificatie_code = 'CUST12'
UNION ALL
@@ -12356,7 +12356,7 @@ AS
o.mld_opdr_key,
NULL, NULL, NULL
FROM lopendeklachten o, fac_srtnotificatie sn
WHERE o.ordnew = TRUNC (SYSDATE - 14) -- Na 14 dagen nog niet geaccepteerd
WHERE TRUNC (o.ordnew) = TRUNC (SYSDATE - 14) -- Na 14 dagen nog niet geaccepteerd
AND o.prs_perslid_key_verantw IS NOT NULL
AND sn.fac_srtnotificatie_code = 'CUST13'
UNION ALL
@@ -12367,7 +12367,7 @@ AS
o.mld_opdr_key,
NULL, NULL, NULL
FROM lopendeklachten o, fac_srtnotificatie sn
WHERE o.ordnew = TRUNC (SYSDATE - 14) -- Na 14 dagen nog niet geaccepteerd
WHERE TRUNC (o.ordnew) = TRUNC (SYSDATE - 14) -- Na 14 dagen nog niet geaccepteerd
AND o.prs_perslid_key_verantw2 IS NOT NULL
AND sn.fac_srtnotificatie_code = 'CUST13';
/*