Skip to content
Snippets Groups Projects
Commit 527ac665 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong: Committed by Sebastian Pongratz
Browse files

#1061243-Bugfix_LöschenAllerDatensätze Verwendung des Alias

(cherry picked from commit 2e142812)
parent bcd87795
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ function _deleteData (pTableName, pleadimportId, pdateADayBefor)
{
let uTableName = pTableName.charAt(0);
newWhere(pTableName + "." + pTableName + "ID",
newSelect(pTableName + "." + pTableName + "ID")
newSelect(uTableName + "." + pTableName + "ID")
.from(pTableName, uTableName)
.join("LEADLOG", "LEADLOG.DATE_NEW = " + uTableName + ".DATE_NEW")
.where(uTableName + ".USER_NEW = LEADLOG.USER_NEW")
......
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