PCHD#41213 -- view toegevoegd voor rapportages t.b.v. het tonen van de totale korting per onderwerp
svn path=/Customer/trunk/; revision=34691
This commit is contained in:
@@ -1720,8 +1720,26 @@ EXCEPTION
|
||||
'OTHERS (error ' || SQLCODE || '/' || SUBSTR (SQLERRM, 1, 100) || ')');
|
||||
END;
|
||||
/
|
||||
|
||||
--Klant specifieke view voor het tonen van het totaal korting per onderwerp
|
||||
CREATE OR REPLACE VIEW PCHA_V_TOTAAL_KORTING_OND
|
||||
AS
|
||||
SELECT ins_discipline_omschrijving,
|
||||
DECODE (
|
||||
UPPER (ins_discipline_omschrijving),
|
||||
'COMFORT', 'FTRC',
|
||||
'FUNCTIONALITEIT', 'FTRC',
|
||||
'TOEGANKELIJKHEID', 'FTRC',
|
||||
'REPRESENTATIVITEIT', 'FTRC',
|
||||
'VEILIGHEID ' || CHR (38) || ' GEZONDHEID', 'V' || CHR (38) || 'G',
|
||||
'WET ' || CHR (38) || ' REGELGEVING', 'W' || CHR (38) || 'R',
|
||||
'Dienst')
|
||||
onderwerp, totaal
|
||||
FROM pchx_v_monitoring m, mld_discipline d
|
||||
where m.discipline_key = d.ins_discipline_key
|
||||
AND totaal is not null;
|
||||
|
||||
|
||||
|
||||
|
||||
------ payload end ------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user