diff --git a/entity/Offeritem_entity/entityfields/quantity/valueProcess.js b/entity/Offeritem_entity/entityfields/quantity/valueProcess.js index ebd4664e6124e2b62ca40d0d0e97e43003cf22f0..72e8e990dec55f1e9efab9d25b53672c5b6a6d7e 100644 --- a/entity/Offeritem_entity/entityfields/quantity/valueProcess.js +++ b/entity/Offeritem_entity/entityfields/quantity/valueProcess.js @@ -2,7 +2,7 @@ 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("1"); } \ No newline at end of file