Skip to content
Snippets Groups Projects
Commit 8fe01bdb authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch 'sales_pn_2001137_postponed_task_requester' into '2021.2'

[Projekt: xRM-Sales][TicketNr.: 2001137][Anforderer der Salesproject vertagt...

See merge request xrm/basic!1375
parents a1ef8a0e 311ede38
No related branches found
No related tags found
No related merge requests found
import("Employee_lib");
import("MSTeams_lib");
import("ActivityTask_lib");
import("system.tools");
......@@ -89,7 +90,7 @@ vars.get("$local.changed").forEach(function(fieldName) {
var inSixMonths = new Date();
inSixMonths = JSON.stringify(inSixMonths.setMonth(inSixMonths.getMonth() + 6));
TaskUtils.createNewTaskSilent({"requestorContactId": contactId
TaskUtils.createNewTaskSilent({"requestorContactId": EmployeeUtils.getCurrentContactId()
, "editorContactId": contactId
, "startDate": vars.get("$sys.date")
, "marturityDate": inSixMonths
......
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