From 101c57e6e702f8ae6688c04cb1be6ef100c940f0 Mon Sep 17 00:00:00 2001 From: Maykel Geerdink Date: Mon, 1 Dec 2025 10:50:59 +0000 Subject: [PATCH] WOXX#91655: Facilitor: Problemen bij taakvoltooiing WOST voor begroting 2026. svn path=/Website/branches/v2025.3/; revision=71097 --- APPL/INS/ins.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/APPL/INS/ins.inc b/APPL/INS/ins.inc index cd1e665137..83ff38d6ce 100644 --- a/APPL/INS/ins.inc +++ b/APPL/INS/ins.inc @@ -6057,7 +6057,9 @@ ins = {checkAutLevel: + " WHERE idsc2.ins_deel_key = xcp.ins_deel_key" + " AND idsc2.ins_srtcontrole_key = xcp.ins_srtcontrole_key" + " AND idsc2.ins_scenario_key = xcp.ins_scenario_key)" - + " AND idsc1.ins_deelsrtcontrole_status IN (2" + (finish? ", 3" : "") + "))"); + + " AND idsc1.ins_deelsrtcontrole_status IN (2" + (finish? ", 3" : "") + ")" + + " AND EXTRACT(YEAR FROM idsc1.ins_deelsrtcontrole_freezedate) <= " + mjb_freeze_or_sys_year + + " )"); if (pricechange) mjblist_sql += " AND (xcp.ins_srtcontroledl_xcp_eind IS NULL OR xcp.ins_srtcontroledl_xcp_eind >= SYSDATE)"; // 1) Prijswijziging: Niet vervallen.