Skip to content
Snippets Groups Projects
Commit 53aa7981 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch '2021.0_PlanningModul' into '2021.0'

1075759, 1075756 planning modul

See merge request xrm/basic!812
parents 985bea50 b33dc9a5
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