FCLT#54738 AiAi ARAI bij upload mobiele opdracht bijlage
svn path=/Website/branches/v2018.1/; revision=39213
This commit is contained in:
@@ -223,10 +223,10 @@ function model_custom_fields(formodel, flexModel, flexParams)
|
|||||||
|
|
||||||
if (typ != "M" && parent_key > 0)
|
if (typ != "M" && parent_key > 0)
|
||||||
{
|
{
|
||||||
var sql = "BEGIN flx.setflex({0}".format(safe.quoted_sql(this.module))
|
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(the_key) // == jsondata.propertyid
|
||||||
+ " , {0}".format(parent_key)
|
+ " , {0}".format(parent_key)
|
||||||
+ " , {0}".format(safe.quoted_sql(flexParams.pNiveau))
|
+ " , {0}".format(this.module == "MLD" && flexParams.pNiveau == "O" ? "NULL" : safe.quoted_sql(flexParams.pNiveau))
|
||||||
+ " , {0});".format(safe.quoted_sql(jsondata.value))
|
+ " , {0});".format(safe.quoted_sql(jsondata.value))
|
||||||
+ "END;"
|
+ "END;"
|
||||||
var err = Oracle.Execute(sql, true);
|
var err = Oracle.Execute(sql, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user