FSN#39393 SQL expressie kolommen niet verwijderen of wijzigen
svn path=/Website/branches/v2016.3/; revision=32762
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user