ARAI#59522 -- Compliance dashboard nu ook met taken meer dan 30 dagen te laat
svn path=/Customer/trunk/; revision=48878
This commit is contained in:
@@ -13118,8 +13118,12 @@ AS
|
||||
s.ins_srtcontrole_omschrijving,
|
||||
dl.ins_deelsrtcontrole_plandatum,
|
||||
CASE
|
||||
WHEN ROUND (TRUNC (SYSDATE) - dl.ins_deelsrtcontrole_plandatum) >
|
||||
0
|
||||
WHEN ROUND (TRUNC (SYSDATE) - dl.ins_deelsrtcontrole_plandatum) >
|
||||
30
|
||||
THEN
|
||||
'Te laat > 30 dagen'
|
||||
WHEN ROUND (TRUNC (SYSDATE) - dl.ins_deelsrtcontrole_plandatum) BETWEEN
|
||||
0 AND 30
|
||||
THEN
|
||||
'Te laat'
|
||||
ELSE
|
||||
@@ -13274,7 +13278,12 @@ AS
|
||||
CASE
|
||||
WHEN ROUND(TRUNC (SYSDATE)
|
||||
- fac.nextcyclusdatedeel (i.ins_deel_key,
|
||||
s.ins_srtcontrole_key, 1)) > 0
|
||||
s.ins_srtcontrole_key, 1)) > 30
|
||||
THEN
|
||||
'Te laat > 30 dagen'
|
||||
WHEN ROUND(TRUNC (SYSDATE)
|
||||
- fac.nextcyclusdatedeel (i.ins_deel_key,
|
||||
s.ins_srtcontrole_key, 1)) BETWEEN 0 AND 30
|
||||
THEN
|
||||
'Te laat'
|
||||
ELSE
|
||||
@@ -13355,7 +13364,7 @@ AS
|
||||
AND NOT EXISTS (SELECT 'x' FROM ins_deelsrtcontrole
|
||||
WHERE i.ins_deel_key = ins_deel_key
|
||||
AND s.ins_srtcontrole_key = ins_srtcontrole_key
|
||||
AND fac.nextcyclusdatedeel (i.ins_deel_key, s.ins_srtcontrole_key, 1) = ins_deelsrtcontrole_datum_org);
|
||||
AND fac.nextcyclusdatedeel (i.ins_deel_key, s.ins_srtcontrole_key, 1) = ins_deelsrtcontrole_datum_org);
|
||||
|
||||
CREATE OR REPLACE VIEW arai_v_graph_com_totaal
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user