From adc1662eaa450f2a2ddd0a7bdcc9dbe96183abe2 Mon Sep 17 00:00:00 2001 From: "b.ulrich" <b.ulrich@adito.de> Date: Mon, 6 Sep 2021 09:09:39 +0200 Subject: [PATCH] [Projekt: xRM-Sales][TicketNr.: 1075673][Bei Neuanlage von Angebot kann Wahrscheinlichkeit nicht angepasst werden] --- entity/Offer_entity/Offer_entity.aod | 1 + entity/Offer_entity/entityfields/probability/valueProcess.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/entity/Offer_entity/Offer_entity.aod b/entity/Offer_entity/Offer_entity.aod index 339c61499b..374dc68a17 100644 --- a/entity/Offer_entity/Offer_entity.aod +++ b/entity/Offer_entity/Offer_entity.aod @@ -67,6 +67,7 @@ <minValue v="0" /> <outputFormat>0'%'</outputFormat> <groupable v="true" /> + <textInputAllowed v="true" /> <stateProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/stateProcess.js</stateProcess> <valueProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/valueProcess.js</valueProcess> </entityField> diff --git a/entity/Offer_entity/entityfields/probability/valueProcess.js b/entity/Offer_entity/entityfields/probability/valueProcess.js index 72e0517304..9ae444393c 100644 --- a/entity/Offer_entity/entityfields/probability/valueProcess.js +++ b/entity/Offer_entity/entityfields/probability/valueProcess.js @@ -4,5 +4,5 @@ import("system.vars"); if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null) { - result.string("0.00"); + result.string("0"); } \ No newline at end of file -- GitLab