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 5631e4c72e5afa912988df44fd17d7e5067928b7..18cdb55d5f138cf19832a538801cd462c1c61246 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 3ff7a2048218969c4342861d018dd62dff8de122..75442aa5646ebe8cd8d019c944c2e92d556b42f9 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);