Skip to content
Snippets Groups Projects
Commit a7c04cfb authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

Merge branch 'm_1082237_bulkmailanalysis_sql_fix' into '2021.1'

[Projekt: xRM-Marketing][TicketNr.: 1082237][Serienmail: Grafiken liefern unter MSSQL Fehler]

See merge request xrm/basic!1060
parents 59008406 2d371ce7
No related branches found
No related tags found
No related merge requests found
......@@ -123,5 +123,5 @@ BulkMailAnalysisSql.countSelects =
HARDBOUNCECOUNT:"count (distinct case when MAIL_LOG.STATUS ='EMAILBOUNCED_HARD' then MAIL_LOG.MAIL_LOGID else null end)",
SENDCOUNT:"count (distinct MAIL_LOG.MAIL_LOGID)",
RECEIVEDCOUNT:"count (distinct case when MAIL_LOG.STATUS='"+$KeywordRegistry.bulkMailRecipientStatus$sent()+"' then MAIL_LOG.MAIL_LOGID else null end)",
UNSUBSCRIBECOUNT:"count (distinct case when WEBLINK_CLICK.WEBLINK_ID = (select WEBLINKID from WEBLINK where WEBLINK.PLACEHOLDER ='rejectEmail') then WEBLINK_CLICK.MAIL_LOG_ID else null end)"
UNSUBSCRIBECOUNT:"count (distinct case when WEBLINK_CLICK.WEBLINK_ID = '"+newSelect(["WEBLINK.WEBLINKID"]).from("WEBLINK").where("WEBLINK.PLACEHOLDER","rejectEmail").cell()+"' then WEBLINK_CLICK.MAIL_LOG_ID else null end)"
}
\ No newline at end of file
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