From 1a65ff07bbd875594ade03d4a83afff5996b2c91 Mon Sep 17 00:00:00 2001 From: edvbachg <gerhard.bachmaier@hama.de> Date: Thu, 29 Oct 2020 13:49:06 +0100 Subject: [PATCH] Bugfix 1066187: Gebiet - auto-zuordnung --- .../entityfields/district_autoadd/valueProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/District_entity/entityfields/district_autoadd/valueProcess.js b/entity/District_entity/entityfields/district_autoadd/valueProcess.js index 4808df1d6a..c6c5c2d619 100644 --- a/entity/District_entity/entityfields/district_autoadd/valueProcess.js +++ b/entity/District_entity/entityfields/district_autoadd/valueProcess.js @@ -2,5 +2,5 @@ import("system.result"); import("system.neon"); import("system.vars"); -if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW) +if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null) result.string("0"); \ No newline at end of file -- GitLab