Skip to content
Snippets Groups Projects
Commit 4cdff8ea authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Activity: preset entry date only once

parent e5df0a68
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,5 @@ import("system.vars");
import("system.result");
import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null)
result.string(vars.getString("$sys.date"));
\ No newline at end of file
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