Skip to content
Snippets Groups Projects
Commit 1d3bba0b authored by Alexander Vögl's avatar Alexander Vögl
Browse files

Preset date

parent 9750ab5d
No related branches found
No related tags found
No related merge requests found
......@@ -14,5 +14,5 @@
<include relativeToChangelogFile="true" file="basic/2020.1.0/changelog.xml"/>
<!--enable this only when you definetly want to overwrite the existing data with demo records:-->
<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>
<!--<include relativeToChangelogFile="true" file="basic/_demoData/changelog.xml" context="example"/>-->
</databaseChangeLog>
\ No newline at end of file
......@@ -435,6 +435,7 @@
<contentType>DATE</contentType>
<resolution>DAY</resolution>
<stateProcess>%aditoprj%/entity/Order_entity/entityfields/dunningdate/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Order_entity/entityfields/dunningdate/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>DUNNINGLEVEL</name>
......
import("system.logging");
import("system.neon");
import("system.vars");
import("system.result");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_EDIT && vars.get("$this.value") == "")
result.string(vars.get("$sys.date"));
\ No newline at end of file
......@@ -3,5 +3,5 @@ import("system.neon");
import("system.vars");
import("system.result");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_EDIT && vars.get("$this.value") == "")//we need "", because we are in EditMode
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_EDIT && vars.get("$this.value") == "")
result.string(vars.get("$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