Skip to content
Snippets Groups Projects
Commit b5d62241 authored by Dominik Lechner's avatar Dominik Lechner
Browse files

Activity - Preset Entrydate with sys.date

parent 9e908450
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
<resolution>DAY</resolution>
<mandatory v="true" />
<groupable v="true" />
<valueProcess>%aditoprj%/entity/Activity_entity/entityfields/entrydate/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>ACTIVITYID</name>
......
import("system.vars");
import("system.result");
import("system.neon");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
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