MDUX#55781: Business Unit budget ophogen werkt niet.

svn path=/Website/branches/v2018.2/; revision=40460
This commit is contained in:
Maykel Geerdink
2019-01-09 12:41:23 +00:00
parent 9287d20103
commit aa2f625326

View File

@@ -289,7 +289,7 @@ prs =
{
sql = "SELECT SUM(k.prs_kostenplaats_limiet) totaal_kp_budget"
+ " FROM prs_kostenplaatsgrp kpg"
+ " , prs_kostenplaats k"
+ " , prs_v_aanwezigkostenplaats k"
+ " WHERE kpg.prs_kostenplaatsgrp_key = k.prs_kostenplaatsgrp_key"
+ " AND kpg.prs_kostenplaatsgrp_key = " + kpg_key;
oRs = Oracle.Execute(sql);
@@ -314,7 +314,7 @@ prs =
sql = "SELECT SUM(k.prs_kostenplaats_limiet) totaal_kp_budget"
+ " FROM prs_kostenplaatsgrp kpg"
+ " , prs_kostenplaats k"
+ " , prs_v_aanwezigkostenplaats k"
+ " WHERE kpg.prs_kostenplaatsgrp_key(+) = k.prs_kostenplaatsgrp_key"
+ (kp_key > 0
? " AND k.prs_kostenplaats_key <> " + kp_key