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

Merge branch '1054054-Leadimport-Rückgängig-machen-anpassungen' into 'master'

1054054 leadimport rückgängig machen anpassungen

See merge request xrm/basic!170
parents 13396f1d 8e9b2866
No related branches found
No related tags found
No related merge requests found
......@@ -343,6 +343,7 @@
<name>LeadimportReset</name>
<title>Leadimport Reset</title>
<onActionProcess>%aditoprj%/entity/Leadimport_entity/entityfields/leadimportreset/onActionProcess.js</onActionProcess>
<iconId>VAADIN:ARROW_BACKWARD</iconId>
<state>INVISIBLE</state>
<stateProcess>%aditoprj%/entity/Leadimport_entity/entityfields/leadimportreset/stateProcess.js</stateProcess>
</entityActionField>
......
......@@ -45,7 +45,7 @@ function _deleteData (pTableName, pleadimportId, pdateADayBefor)
newSelect(pTableName + "." + pTableName + "ID")
.from(pTableName)
.join("LEADLOG", "LEADLOG.DATE_NEW = " + pTableName + ".DATE_NEW")
.where(pTableName + ".USER_NEW", "LEADLOG.USER_NEW")
.where(pTableName + ".USER_NEW = LEADLOG.USER_NEW")
.and("LEADLOG.LEADIMPORT_ID", pleadimportId)
.and("LEADLOG.DATE_NEW", pdateADayBefor.getTime(), "# >= ?"), SqlBuilder.IN())
.from(pTableName)
......
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