Skip to content
Snippets Groups Projects
Commit 2e2c9772 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong: Committed by Johannes Goderbauer
Browse files

#1057314-SupportticketAnzeigen hinzufügen eines Objectes

parent 4864e8ed
No related branches found
No related tags found
No related merge requests found
......@@ -589,6 +589,20 @@ ContextUtils.getSelectMap = function()
$KeywordRegistry.taskStatus$customerChecks(),
])
.setCreationDateField("TASK.START_DATE")
,"SupportTicket": ContextSelector.create("TICKET", "TICKETID", "TASK.SUBJECT")
.setJoinExpression("left join TASK on TASK.TASKID = TICKET.TASK_ID left join TASKLINK on TASKLINK.TASK_ID = TASK.TASKID")
.setCondition(newWhere("TICKET.TICKETTYPE", $KeywordRegistry.ticketType$supportTicket()))
.setContactIdField("TASKLINK.OBJECT_ROWID")
.setStateField("TASK.STATUS")
.setActiveStates([
$KeywordRegistry.taskStatus$new(),
$KeywordRegistry.taskStatus$unassigned(),
$KeywordRegistry.taskStatus$assigned(),
$KeywordRegistry.taskStatus$inProgress(),
$KeywordRegistry.taskStatus$waiting(),
$KeywordRegistry.taskStatus$customerChecks(),
])
.setCreationDateField("TASK.START_DATE")
,"BulkMail" : ContextSelector.create("BULKMAIL", "BULKMAILID", "NAME")
,"SerialLetter" : ContextSelector.create("SERIALLETTER", "SERIALLETTERID", "TITLE")
,"Leadimport": ContextSelector.create("LEADIMPORT", "LEADIMPORTID")
......
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