ARAI#38043 MISSING_COLUMNS na wijzigen rapport gegevens
svn path=/Website/branches/v2016.2/; revision=31161
This commit is contained in:
@@ -199,7 +199,7 @@ function model_reportsx(usrrap_key, rapparams)
|
||||
|
||||
var beztrack = api2.process_includes(params, this, jsondata, the_key);
|
||||
|
||||
if (old_view != jsondata.viewname)
|
||||
if ("viewname" in jsondata && old_view.toUpperCase() != jsondata.viewname.toUpperCase())
|
||||
{ // Verwijder alle kolommen als er een nieuwe view is ingevuld, maar laat de expressies staan.
|
||||
var sql = "DELETE fac_usrrap_cols"
|
||||
+ " WHERE fac_usrrap_cols_expression IS NULL"
|
||||
|
||||
Reference in New Issue
Block a user