FSN#39393 SQL expressie kolommen niet verwijderen of wijzigen

svn path=/Website/branches/v2016.3/; revision=32762
This commit is contained in:
Erik Groener
2017-02-09 09:12:49 +00:00
parent 42cd267e18
commit 6407b6d33b

View File

@@ -99,6 +99,7 @@ function model_reportcolumns(usrrap_key, params)
dbs: "fac_usrrap_cols_expression",
typ: "memo",
label: "sql-expressie",
required: true,
readonly: true
}
};
@@ -162,6 +163,9 @@ function model_reportcolumns(usrrap_key, params)
{
this.fields.expression.readonly = false;
this.fields.name.insertonly = false;
// Een zelf toegevoegd veld mag ook verwijderd worden.
if (obj.expression)
this.REST_DELETE = this._REST_DELETE;
}
};
@@ -444,7 +448,6 @@ function model_reportcolumns(usrrap_key, params)
if (params.internal || user.has("WEB_FACTAB"))
{
this.REST_POST = this._REST_POST; // Voor de clone-report
this.REST_DELETE = this._REST_DELETE;
}
}