Skip to content
Snippets Groups Projects
Commit 03f682a6 authored by Markus Escher's avatar Markus Escher
Browse files

fix BINDATA_UPLOAD only mandatory when OPERATINGSTATE_NEW

parent 12499659
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,8 @@
<name>BINDATA_UPLOAD</name>
<title>File</title>
<contentType>FILE</contentType>
<mandatory v="true" />
<mandatory v="false" />
<mandatoryProcess>%aditoprj%/entity/Document_entity/entityfields/bindata_upload/mandatoryProcess.js</mandatoryProcess>
<onValueChange>%aditoprj%/entity/Document_entity/entityfields/bindata_upload/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
......
import("system.neon");
import("system.vars");
import("system.result");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
result.string("true");
else
result.string("false");
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