FCLT#55749 AiAi in logging NYBU

svn path=/Website/branches/v2018.2/; revision=40207
This commit is contained in:
Alex Tiehuis
2018-12-12 15:16:38 +00:00
parent 4856b9acff
commit 5e6721d06c

View File

@@ -220,13 +220,12 @@ function model_custom_fields(formodel, flexModel, flexParams)
}
}
}
if (typ != "M" && parent_key > 0)
{
var sql = "BEGIN flx.setflex({0}".format(this.module == "MLD" && flexParams.pNiveau == "O" ? "'OPD'" : safe.quoted_sql(this.module))
+ " , {0}".format(the_key) // == jsondata.propertyid
+ " , {0}".format(parent_key)
+ " , {0}".format(this.module == "MLD" && flexParams.pNiveau == "O" ? "NULL" : safe.quoted_sql(flexParams.pNiveau))
+ " , {0}".format(this.module == "MLD" ? "NULL" : safe.quoted_sql(flexParams.pNiveau))
+ " , {0});".format(safe.quoted_sql(jsondata.value))
+ "END;"
var err = Oracle.Execute(sql, true);