KFNS#35384 KPI-module
svn path=/Customer/trunk/; revision=30436
This commit is contained in:
@@ -8683,20 +8683,21 @@ AS
|
||||
*/
|
||||
CREATE OR REPLACE VIEW kfns_v_rap_kpi_details
|
||||
AS
|
||||
SELECT s.kpi_score_datum periode,
|
||||
SELECT TO_CHAR (s.kpi_score_datum, 'yyyy') || '-K' || TO_CHAR (s.kpi_score_datum, 'q')
|
||||
periode,
|
||||
d.kpi_definitie_code kpi_code,
|
||||
d.kpi_definitie_omschrijving kpi_oms,
|
||||
d.kpi_definitie_drempels definitie,
|
||||
s.kpi_score_refkey melding,
|
||||
s.totaal,
|
||||
s.score1,
|
||||
s.score2,
|
||||
s.score3,
|
||||
s.score4,
|
||||
s.score5,
|
||||
s.score6,
|
||||
s.kpi_score_drempels ongenormaliseerd,
|
||||
s.kpi_score_score genormeerd
|
||||
TO_CHAR (s.kpi_score_refkey) melding,
|
||||
TO_CHAR (s.totaal) totaal,
|
||||
TO_CHAR (s.score1) score1,
|
||||
TO_CHAR (s.score2) score2,
|
||||
TO_CHAR (s.score3) score3,
|
||||
TO_CHAR (s.score4) score4,
|
||||
TO_CHAR (s.score5) score5,
|
||||
TO_CHAR (s.score6) score6,
|
||||
TO_CHAR (s.kpi_score_drempels, '0D999') ongenormaliseerd,
|
||||
TO_CHAR (s.kpi_score_score, '990D9') genormeerd
|
||||
FROM kpi_definitie d, kfns_v_kpi_all s
|
||||
WHERE d.kpi_definitie_key = s.kpi_definitie_key
|
||||
ORDER BY 2, 1;
|
||||
|
||||
Reference in New Issue
Block a user