Skip to content
Snippets Groups Projects
Commit b33dc9a5 authored by Jessica Luginger's avatar Jessica Luginger Committed by Benjamin Ulrich
Browse files

Added Entity Planning with Views, ...

Serial Action Add Planning to Organisations
parent 6153c86d
No related branches found
No related tags found
No related merge requests found
......@@ -47,9 +47,10 @@ else if(responsible)
vals = [responsible];
}
db.updateData(table, cols, null, vals, newWhere("FORECAST.FORECASTID", planningIds, SqlBuilder.IN()).toString());
if(planningIds.length > 0)
{
db.updateData(table, cols, null, vals, newWhere("FORECAST.FORECASTID", planningIds, SqlBuilder.IN()).toString());
}
var notUpdatedRecordsLength = (planningObj.length - planningIds.length);
var descriptionText = "%0 out of %1 records were changed to \"%2\".\n %3 record/s could not be updated.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment