From df68c35ac1c7c06f2e3473c13fcf943b5f581ea1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alexander=20V=C3=B6gl?= <a.voegl@adito.de>
Date: Fri, 11 Dec 2020 12:22:27 +0000
Subject: [PATCH] =?UTF-8?q?[Projekt:=20Entwicklung=20-=20xRM][TicketNr.:?=
 =?UTF-8?q?=201069542][(Neon/=20intern)=20Bei=20Person=20l=C3=A4sst=20sich?=
 =?UTF-8?q?=20bei=20360=20=C3=BCber=20+=20Neuanlage=20nichts=20hinzuf?=
 =?UTF-8?q?=C3=BCgen]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../children/objecttype_param/valueProcess.js | 21 ++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/entity/360Degree_entity/entityfields/personobjects/children/objecttype_param/valueProcess.js b/entity/360Degree_entity/entityfields/personobjects/children/objecttype_param/valueProcess.js
index 0764eff7f7..3d9c6d75f1 100644
--- a/entity/360Degree_entity/entityfields/personobjects/children/objecttype_param/valueProcess.js
+++ b/entity/360Degree_entity/entityfields/personobjects/children/objecttype_param/valueProcess.js
@@ -4,11 +4,22 @@ import("system.result");
 var res = { 
     "Offer": {}, 
     "Order": {
-        "setGroupBy":"ORDERTYPE"
+        "setGroupBy":"ORDERTYPE",
+        "groupByKeyword":"OrderType"
     }, 
     "Contract": {}, 
-    "SupportTicket": {},
-    "Campaign": {}
-}
+    "SupportTicket": {        
+        "subContext":"TaskLink",
+        "childField":"TASK_ID",
+        "parentField":"TASK_TASKID",
+        "contactIdField":"OBJECT_ROWID"
+    },
+    "Campaign": {        
+        "subContext":"CampaignParticipant",
+        "childField":"CAMPAIGN_ID",
+        "parentField":"CAMPAIGNID",
+        "contactIdField":"CONTACT_ID"
+    }
+};
 
-result.string(JSON.stringify(res))
\ No newline at end of file
+result.string(JSON.stringify(res));
\ No newline at end of file
-- 
GitLab