diff --git a/APPL/API2/model_mld_workflowstep.inc b/APPL/API2/model_mld_workflowstep.inc index 0a6d5585a7..c29ea74926 100644 --- a/APPL/API2/model_mld_workflowstep.inc +++ b/APPL/API2/model_mld_workflowstep.inc @@ -83,6 +83,8 @@ function model_mld_workflowstep(mystart_key) + " from mld_stdmelding m" + " , mld_v_aanwezigdiscipline d" + " where m.mld_ins_discipline_key = d.ins_discipline_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" + " , m.mld_stdmelding_omschrijving asc)", "key": "mld_stdmelding_key",