Something went wrong on our end
-
[Projekt: xRM-ContactManagement][TicketNr.: 1080529][Termin aus Person: Firma wird nicht automatisch mit verknüpft] - Added linking to contacts org, when creating an new appointment for this contact.
[Projekt: xRM-ContactManagement][TicketNr.: 1080529][Termin aus Person: Firma wird nicht automatisch mit verknüpft] - Added linking to contacts org, when creating an new appointment for this contact.
onActionProcess.js 789 B
import("system.calendars");
import("system.vars");
import("system.neon");
import("system.date");
import("system.util");
import("Calendar_lib");
import("Context_lib");
var links = [
{
"OBJECT_ID":vars.get("$field.CONTACTID"),
"OBJECT_TYPE":ContextUtils.getCurrentContextId()
},
{
"OBJECT_ID":vars.get("$field.ORGANISATION_CONTACTID"),
"OBJECT_TYPE":"Organisation"
}
];
var params = {
"Entry_param":JSON.stringify(CalendarUtil.createEntry("", "", links, undefined, undefined, undefined, undefined, undefined, undefined, undefined,
undefined, undefined, undefined, undefined))
};
neon.openContext("Appointment", "AppointmentEdit_view", null, neon.OPERATINGSTATE_NEW, params);