Skip to content
Snippets Groups Projects
Commit 9b74c175 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

Calendar openEvent Fix

parent 6a1c3cec
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ import("system.neon");
var appointmentSelect = newSelect("APPOINTMENT_ID").from("AB_APPOINTMENTLINK");
var appointmentUids;
if(vars.get("$local.idvalues") != null && vars.get("$local.idvalues") != "")
if(vars.get("$sys.recordstate") != neon.OPERATINGSTATE_NEW && vars.get("$local.idvalues") != null && vars.get("$local.idvalues") != "")
{
var selectedids = vars.get("$local.idvalues");
result.object([buildEntry(calendars.getEntry(selectedids, null, null), null)]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment