WOXX#91655: Facilitor: Problemen bij taakvoltooiing WOST voor begroting 2026.

svn path=/Website/branches/v2025.3/; revision=71097
This commit is contained in:
Maykel Geerdink
2025-12-01 10:50:59 +00:00
parent 3382bd328e
commit 101c57e6e7

View File

@@ -6057,7 +6057,9 @@ ins = {checkAutLevel:
+ " WHERE idsc2.ins_deel_key = xcp.ins_deel_key" + " WHERE idsc2.ins_deel_key = xcp.ins_deel_key"
+ " AND idsc2.ins_srtcontrole_key = xcp.ins_srtcontrole_key" + " AND idsc2.ins_srtcontrole_key = xcp.ins_srtcontrole_key"
+ " AND idsc2.ins_scenario_key = xcp.ins_scenario_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) if (pricechange)
mjblist_sql += " AND (xcp.ins_srtcontroledl_xcp_eind IS NULL OR xcp.ins_srtcontroledl_xcp_eind >= SYSDATE)"; // 1) Prijswijziging: Niet vervallen. mjblist_sql += " AND (xcp.ins_srtcontroledl_xcp_eind IS NULL OR xcp.ins_srtcontroledl_xcp_eind >= SYSDATE)"; // 1) Prijswijziging: Niet vervallen.