Skip to content
Snippets Groups Projects
Commit 311ede38 authored by Pascal Neub's avatar Pascal Neub
Browse files

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

[Projekt: xRM-Sales][TicketNr.: 2001137][Anforderer der Salesproject vertagt Aufgabe soll der sein der gerade den Status verändert hat]
parent bd2a58bc
No related branches found
No related tags found
No related merge requests found
import("Employee_lib");
import("MSTeams_lib"); import("MSTeams_lib");
import("ActivityTask_lib"); import("ActivityTask_lib");
import("system.tools"); import("system.tools");
...@@ -89,7 +90,7 @@ vars.get("$local.changed").forEach(function(fieldName) { ...@@ -89,7 +90,7 @@ vars.get("$local.changed").forEach(function(fieldName) {
var inSixMonths = new Date(); var inSixMonths = new Date();
inSixMonths = JSON.stringify(inSixMonths.setMonth(inSixMonths.getMonth() + 6)); inSixMonths = JSON.stringify(inSixMonths.setMonth(inSixMonths.getMonth() + 6));
TaskUtils.createNewTaskSilent({"requestorContactId": contactId TaskUtils.createNewTaskSilent({"requestorContactId": EmployeeUtils.getCurrentContactId()
, "editorContactId": contactId , "editorContactId": contactId
, "startDate": vars.get("$sys.date") , "startDate": vars.get("$sys.date")
, "marturityDate": inSixMonths , "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