Skip to content
Snippets Groups Projects
Commit 4223884b authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1059952][db.getColumnTypes im xRM nicht mehr verwenden]

parent 805e126b
No related branches found
No related tags found
No related merge requests found
......@@ -51,12 +51,12 @@ function _delete()
table = ["CLASSIFICATIONGRADING"];
var multiplicand = maxScore/gradingTable[0][1];
var update = newWhere("CLASSIFICATIONGRADING.CLASSIFICATIONGRADINGID", gradingTable[0][0])
.updateData(true, table, column, db.getColumnTypes("CLASSIFICATIONGRADING", column, db.getCurrentAlias()), [maxScore]);
.updateData(true, table, column, null, [maxScore]);
for (let i = 1; i < gradingTable.length; i++)
{
update = newWhere("CLASSIFICATIONGRADING.CLASSIFICATIONGRADINGID", gradingTable[i][0])
.updateData(true, table, column, db.getColumnTypes("CLASSIFICATIONGRADING", column, db.getCurrentAlias()), [parseInt(gradingTable[i][1] * multiplicand)]);
.updateData(true, table, column, null, [parseInt(gradingTable[i][1] * multiplicand)]);
}
}
}
......
......@@ -21,12 +21,12 @@ try
var table = ["CLASSIFICATIONGRADING"];
var multiplicand = maxScore/gradingTable[0][1];
var update = newWhere("CLASSIFICATIONGRADING.CLASSIFICATIONGRADINGID", gradingTable[0][0])
.updateData(true, table, column, db.getColumnTypes("CLASSIFICATIONGRADING", column, db.getCurrentAlias()), [maxScore]);
.updateData(true, table, column, null, column, db.getCurrentAlias()), [maxScore]);
for (let i = 1; i < gradingTable.length; i++)
{
update = newWhere("CLASSIFICATIONGRADING.CLASSIFICATIONGRADINGID", gradingTable[i][0])
.updateData(true, table, column, db.getColumnTypes("CLASSIFICATIONGRADING", column, db.getCurrentAlias()), [parseInt(gradingTable[i][1] * multiplicand)]);
.updateData(true, table, column, null, [parseInt(gradingTable[i][1] * multiplicand)]);
}
}
}
......
......@@ -20,12 +20,12 @@ try
var table = ["CLASSIFICATIONGRADING"];
var multiplicand = maxScore/gradingTable[0][1];
var update = newWhere("CLASSIFICATIONGRADING.CLASSIFICATIONGRADINGID", gradingTable[0][0])
.updateData(true, table, column, db.getColumnTypes("CLASSIFICATIONGRADING", column, db.getCurrentAlias()), [maxScore]);
.updateData(true, table, column, null, [maxScore]);
for (let i = 1; i < gradingTable.length; i++)
{
update = newWhere("CLASSIFICATIONGRADING.CLASSIFICATIONGRADINGID", gradingTable[i][0])
.updateData(true, table, column, db.getColumnTypes("CLASSIFICATIONGRADING", column, db.getCurrentAlias()), [parseInt(gradingTable[i][1] * multiplicand)]);
.updateData(true, table, column, null, [parseInt(gradingTable[i][1] * multiplicand)]);
}
}
}
......
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