Skip to content
Snippets Groups Projects
Commit 0d07971d authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

Lead import: bugfix - missing .build()

parent ed718e80
No related branches found
No related tags found
No related merge requests found
import("system.logging");
import("system.eMath");
import("system.question");
import("system.neon");
......@@ -42,7 +43,7 @@ if (binMetadatas.length > 0)
var toInsert = [];
db.deleteData(insertTable, "ROW_ID = '" + assignmentRowId + "'");//delete existing
db.deleteData(insertTable, newWhere([insertTable, "ROW_ID"], assignmentRowId).build());//delete existing
for (i = 0; i < table.length; i++)//and load new
{
......@@ -67,7 +68,7 @@ if (binMetadatas.length > 0)
var updCols = ["STATUS"];
var updTypes = db.getColumnTypes(updTable, updCols);
db.updateData(updTable, updCols, updTypes, [$KeywordRegistry.importStatus$loaded()], newWhere([updTable, "LEADIMPORTID"], assignmentRowId));
db.updateData(updTable, updCols, updTypes, [$KeywordRegistry.importStatus$loaded()], newWhere([updTable, "LEADIMPORTID"], assignmentRowId).build());
neon.refreshAll();
......
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