Skip to content
Snippets Groups Projects
Commit e84d2eb9 authored by Mohamed Mansour's avatar Mohamed Mansour
Browse files

Fixed optional bug in Orderitem.

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