AKZA#36031: Object actief/inactief kunnen maken (taken automatisch deactiveren).
svn path=/Website/trunk/; revision=30596
This commit is contained in:
@@ -1030,7 +1030,7 @@ ins = {checkAutLevel:
|
|||||||
+ " FROM ins_deelsrtcontrole idsc2"
|
+ " FROM ins_deelsrtcontrole idsc2"
|
||||||
+ " WHERE idsc2.ins_deel_key = di.ins_deel_key"
|
+ " WHERE idsc2.ins_deel_key = di.ins_deel_key"
|
||||||
+ " AND idsc2.ins_srtcontrole_key = di.ins_srtcontrole_key"
|
+ " AND idsc2.ins_srtcontrole_key = di.ins_srtcontrole_key"
|
||||||
+ " AND idsc2.ins_deelsrtcontrole_status = 6))"
|
+ " AND idsc2.ins_deelsrtcontrole_status IN (5, 6)))"
|
||||||
+ " ins_controlemode_success"
|
+ " ins_controlemode_success"
|
||||||
+ " , di.ctr_discipline_key ctr_disc_key"
|
+ " , di.ctr_discipline_key ctr_disc_key"
|
||||||
+ " , (SELECT ins_discipline_omschrijving"
|
+ " , (SELECT ins_discipline_omschrijving"
|
||||||
@@ -1056,7 +1056,7 @@ ins = {checkAutLevel:
|
|||||||
+ " FROM ins_deelsrtcontrole idsc2"
|
+ " FROM ins_deelsrtcontrole idsc2"
|
||||||
+ " WHERE idsc2.ins_deel_key = di.ins_deel_key"
|
+ " WHERE idsc2.ins_deel_key = di.ins_deel_key"
|
||||||
+ " AND idsc2.ins_srtcontrole_key = di.ins_srtcontrole_key"
|
+ " AND idsc2.ins_srtcontrole_key = di.ins_srtcontrole_key"
|
||||||
+ " AND idsc2.ins_deelsrtcontrole_status = 6))" + (insSuccessY? " = 1" : " IS NULL"))
|
+ " AND idsc2.ins_deelsrtcontrole_status IN (5, 6)))" + (insSuccessY? " = 1" : " IS NULL"))
|
||||||
+ " AND di.ctr_discipline_key IN (SELECT w.ins_discipline_key"
|
+ " AND di.ctr_discipline_key IN (SELECT w.ins_discipline_key"
|
||||||
+ " FROM fac_v_webgebruiker w"
|
+ " FROM fac_v_webgebruiker w"
|
||||||
+ " , fac_functie f"
|
+ " , fac_functie f"
|
||||||
|
|||||||
Reference in New Issue
Block a user