diff --git a/entity/Order_entity/entityfields/object_rowid/valueProcess.js b/entity/Order_entity/entityfields/object_rowid/valueProcess.js index 723534005cbad486fd9b7d83ab029f1a8a0bf8d0..2d2ca846a93d9699b21edd9cd1b1588ee72d7fdd 100644 --- a/entity/Order_entity/entityfields/object_rowid/valueProcess.js +++ b/entity/Order_entity/entityfields/object_rowid/valueProcess.js @@ -1,4 +1,3 @@ -import("system.logging"); import("system.neon"); import("system.vars"); import("system.result"); @@ -29,7 +28,6 @@ if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this. .from("SALESPROJECT") .where("SALESPROJECT.CONTACT_ID", contactId) .arrayColumn(); - if(salesProjectIds.length == 1) { result.string(salesProjectIds[0]);