FSN#35446 in de telling of er contracten zijn ook de status en fase meenemen

svn path=/Website/trunk/; revision=28150
This commit is contained in:
Ruud Lipper
2016-02-12 16:21:11 +00:00
parent 2c78954a18
commit 16af1ecc23

View File

@@ -315,7 +315,11 @@ oRs.Close();
+ " (SELECT cnt_contract_key"
+ " FROM cnt_v_aanwezigcontract_plaats)"
+ " OR COALESCE (d.ins_alg_ruimte_type_org,"
+ " ins_alg_ruimte_type) != 'R'))";
+ " ins_alg_ruimte_type) != 'R')) cobj,"
+ " cnt_contract c"
+ " WHERE c.cnt_contract_key = cobj.cnt_contract_key"
+ " AND TRUNC (cnt_contract_looptijd_tot) >= TRUNC (SYSDATE)"
+ " AND c.cnt_contract_status = 0";
oRs = Oracle.Execute(sql);
this_ins.contracts = oRs(0).Value;