FSN#38736 Workflowstappen slecht te herkennen zonder prefix

svn path=/Website/trunk/; revision=31957
This commit is contained in:
Ruud Lipper
2016-12-13 14:59:18 +00:00
parent 68ce519508
commit 5174dfed61

View File

@@ -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"