HCAS#51953: Wijzigen reeds voltooide periodieke taak lukt niet. Datum is fout.

svn path=/Website/branches/v2017.2/; revision=36681
This commit is contained in:
Maykel Geerdink
2018-01-23 11:51:48 +00:00
parent 12f52ca65a
commit bb1f42e005
2 changed files with 2 additions and 0 deletions

View File

@@ -869,6 +869,7 @@ if (!catclose && ins_key_arr.length == 1)
+ " AND ins_deelsrtcontrole_key > " + ingeslotendsc[0]
+ " AND idsc.ins_scenario_key = 1"
+ " AND xcp.ins_scenario_key(+) = 1"
+ " AND idsc.ins_deelsrtcontrole_status >= 5"
+ " GROUP BY isc.ins_srtcontrole_mode"
+ " , xcp.ins_srtcontroledl_xcp_eenheid"
+ " , isc.ins_srtcontrole_eenheid";

View File

@@ -478,6 +478,7 @@ else
+ " AND ins_deelsrtcontrole_key > " + dlsrtcont_key
+ " AND idsc.ins_scenario_key = 1" // Status >= 0 dus kan geen scenario zijn.
+ " AND xcp.ins_scenario_key(+) = 1" // Status >= 0 dus kan geen scenario zijn.
+ " AND idsc.ins_deelsrtcontrole_status >= 5"
+ " GROUP BY isc.ins_srtcontrole_mode"
+ " , xcp.ins_srtcontroledl_xcp_eenheid"
+ " , isc.ins_srtcontrole_eenheid";