From 3a1a0699b29b764cec95fae17d217f20e96d1475 Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Thu, 19 Dec 2019 09:20:26 +0000
Subject: [PATCH] =?UTF-8?q?[Projekt:=20Entwicklung=20-=20Neon][TicketNr.:?=
 =?UTF-8?q?=201047246][Terminverkn=C3=BCpfung=20bei=20Anlage=20aus=20Firma?=
 =?UTF-8?q?]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

(cherry picked from commit 7a2bc982ff02755df52ef036c69ad452fce32a65)
---
 .../children/linkedobjectid_param/valueProcess.js               | 2 +-
 .../entityfields/newappointment/onActionProcess.js              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/entity/Organisation_entity/entityfields/linkedappointments/children/linkedobjectid_param/valueProcess.js b/entity/Organisation_entity/entityfields/linkedappointments/children/linkedobjectid_param/valueProcess.js
index 5631e4c72e..18cdb55d5f 100644
--- a/entity/Organisation_entity/entityfields/linkedappointments/children/linkedobjectid_param/valueProcess.js
+++ b/entity/Organisation_entity/entityfields/linkedappointments/children/linkedobjectid_param/valueProcess.js
@@ -2,4 +2,4 @@ import("system.result");
 import("system.vars");
 
 
-result.string(vars.get("$field.ORGANISATIONID"));
\ No newline at end of file
+result.string(vars.get("$field.CONTACTID"));
\ No newline at end of file
diff --git a/entity/Organisation_entity/entityfields/newappointment/onActionProcess.js b/entity/Organisation_entity/entityfields/newappointment/onActionProcess.js
index 3ff7a20482..75442aa564 100644
--- a/entity/Organisation_entity/entityfields/newappointment/onActionProcess.js
+++ b/entity/Organisation_entity/entityfields/newappointment/onActionProcess.js
@@ -8,7 +8,7 @@ import("system.util");
 
 
 var params = {};
-params["Entry_param"] = JSON.stringify(CalendarUtil.createEntry(util.getNewUUID(), calendars.VEVENT, "", "", false, ContextUtils.getCurrentContextId(), vars.get("$field.ORGANISATIONID")));
+params["Entry_param"] = JSON.stringify(CalendarUtil.createEntry(util.getNewUUID(), calendars.VEVENT, "", "", false, ContextUtils.getCurrentContextId(), vars.get("$field.CONTACTID")));
 
 neon.openContext("Appointment", "AppointmentEdit_view", null, neon.OPERATINGSTATE_NEW, params);
 
-- 
GitLab