Newer
Older
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()

Daniel Tran
committed
},
{
"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);