STAM#52962 AVG GDPR: overzicht anonimiseren

svn path=/Customer/trunk/; revision=43826
This commit is contained in:
Suzan Wiegerinck
2019-08-19 11:42:37 +00:00
parent 30bc624dff
commit 7162361eb3

View File

@@ -1136,6 +1136,24 @@ AS
WHERE ud.fac_usrtab_key = 481) station
WHERE bc.ins_deel_key = d.ins_deel_key
AND bc.destination = TO_CHAR (station.fac_usrdata_key(+));
CREATE OR REPLACE VIEW STAM_V_RAP_ANONYMIZE
(
datum,
module,
aantal
)
AS
SELECT TRUNC (ft.fac_tracking_datum),
sn.fac_srtnotificatie_xmlnode,
COUNT (ft.fac_tracking_refkey) aantal
FROM fac_tracking ft, fac_srtnotificatie sn
WHERE ft.fac_srtnotificatie_key = sn.fac_srtnotificatie_key
AND ft.fac_srtnotificatie_key IN
(SELECT fac_srtnotificatie_key
FROM fac_srtnotificatie
WHERE fac_srtnotificatie_code LIKE ('%ANO'))
GROUP BY TRUNC (ft.fac_tracking_datum), sn.fac_srtnotificatie_xmlnode;
BEGIN