Skip to content
Snippets Groups Projects
Commit bdb10a19 authored by Pascal Neub's avatar Pascal Neub
Browse files

[Projekt: xRM-Sales][TicketNr.: 1080452][Automatische Wahrscheinlichkeit soll...

[Projekt: xRM-Sales][TicketNr.: 1080452][Automatische Wahrscheinlichkeit soll nicht höhere Werte überschreiben]
parent 06d429ee
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ vars.get("$local.changed").forEach(function(fieldName) {
if(!isNaN(parseInt(autoProbab)))
{
newWhere("SALESPROJECT.SALESPROJECTID", vars.get("$field.SALESPROJECTID"))
.and("SALESPROJECT.PROBABILITY", autoProbab, SqlBuilder.LESS())
.updateFields({
"PROBABILITY": autoProbab
}, "SALESPROJECT");
......
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