From 5174dfed610618634c49573d29e14962722b72b1 Mon Sep 17 00:00:00 2001 From: Ruud Lipper Date: Tue, 13 Dec 2016 14:59:18 +0000 Subject: [PATCH] FSN#38736 Workflowstappen slecht te herkennen zonder prefix svn path=/Website/trunk/; revision=31957 --- APPL/API2/model_mld_workflowstep.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/APPL/API2/model_mld_workflowstep.inc b/APPL/API2/model_mld_workflowstep.inc index c29ea74926..19620670ba 100644 --- a/APPL/API2/model_mld_workflowstep.inc +++ b/APPL/API2/model_mld_workflowstep.inc @@ -79,10 +79,12 @@ function model_mld_workflowstep(mystart_key) "typ": "key", "foreign": { "tbl": "(select m.mld_stdmelding_key" - + " , d.ins_discipline_omschrijving || '/ ' || m.mld_stdmelding_omschrijving stdmelding_omschr" + + " , case when srt.ins_srtdiscipline_prefix is not null then srt.ins_srtdiscipline_prefix || '-' end || d.ins_discipline_omschrijving || '/ ' || m.mld_stdmelding_omschrijving stdmelding_omschr" + " from mld_stdmelding m" + " , mld_v_aanwezigdiscipline d" + + " , ins_srtdiscipline srt" + " where m.mld_ins_discipline_key = d.ins_discipline_key" + + " and srt.ins_srtdiscipline_key = d.ins_srtdiscipline_key" + " and (mld_stdmelding_vervaldatum IS NULL OR mld_stdmelding_vervaldatum > SYSDATE)" + " and m.mld_stdmelding_verwijder IS NULL" + " order by d.ins_discipline_omschrijving asc"